Skip to content

Commit

Permalink
release 0.2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruce Hauman committed May 14, 2020
1 parent 5425d72 commit d3c65ef
Show file tree
Hide file tree
Showing 19 changed files with 97 additions and 52 deletions.
52 changes: 52 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,55 @@
# 0.2.5 Much better NPM support with new CLJS :bundle target

> support for the new :bundle target requires clojurescript >= 1.10.764
The latest ClojureScript updated the Google Closure library which
included some breaking changes when it comes to reloading. This
release fixes those problems and also fixes fighweel-main problems
that interfered with the support of the new :bundle target.

You can currently learn more about the new bundle target in the Clojruescript guide

https://clojurescript.org/guides/webpack

Using the bundle target will break auto-testing and the default index
page. You will have to have your own host page.

There still needs to be some work done on Extra mains to get them to
work properly with the new bundle target.

The main problem for many of these automated features is that figwheel
has no idea of where the output file of webpack is because the webpack
config is exterior to figwheel itself.

The new :bundle target probably deprecates the :npm-deps way of doing
things. We'll need to take some time with this way of doing things to
see what makes sense.

# 0.2.4

* Add :open-url-wait-ms option to delay launching the browser when :open-url is enabled
* fix repl hanging on error
* get rid of another glog/warning call
* allow the Jetty :configurator option

# 0.2.3 Minor release

* fix connection race condition when the load event has already fired
* add repl-env function for compatability

# 0.2.1 Minor release

* fix goog warning
* fix warning notification bug
* update ring dependency to 1.7.1
* fix goog/warning reference
* fix dangling colon in connect url
* up the message size limit for the Websocket to 16M

* handle css imports in css-realoding
* some :npm-deps fixes
* output cljsc_opts ot help with bootstrapping clojurescript

# 0.2.0 Minor updates

So nothing groundbreaking in this release, just firming things up and
Expand Down
17 changes: 5 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,6 @@ Learn even more by watching a 45 minute

Read the [introductory blog post][flappy-bird-blog-post].

> Figwheel main does not support the latest
> `[org.clojure/clojurescript "1.10.741"]` yet.
>
> `com.bhauman/figwheel-main "0.2.5-SNAPSHOT"` is working with CLJS
> "1.10.741" and greater, but is under daily development, so your
> milage may vary.
## Support Work on Figwheel and other Clojure tools

I contribute a significant amount of time writing tools and libraries
Expand Down Expand Up @@ -207,7 +200,7 @@ On Mac OSX with brew:
Now launch a ClojureScript REPL with:

```
clj -Sdeps "{:deps {com.bhauman/figwheel-main {:mvn/version \"0.2.4\"}}}}" -m figwheel.main
clj -Sdeps "{:deps {com.bhauman/figwheel-main {:mvn/version \"0.2.5\"}}}}" -m figwheel.main
```

This will first compile browser REPL code to a temp directory, and
Expand All @@ -231,7 +224,7 @@ available. So, you can get Rebel Readline behavior by simply adding it
to your dependencies.

```
clojure -Sdeps "{:deps {com.bhauman/figwheel-main {:mvn/version \"0.2.4\"} com.bhauman/rebel-readline-cljs {:mvn/version \"0.1.4\"}}}}" -m figwheel.main
clojure -Sdeps "{:deps {com.bhauman/figwheel-main {:mvn/version \"0.2.5\"} com.bhauman/rebel-readline-cljs {:mvn/version \"0.1.4\"}}}}" -m figwheel.main
```

As of right now using Rebel readline does create some startup overhead
Expand All @@ -252,7 +245,7 @@ directory of your project.
Ensure your `deps.edn` file has the `figwheel.main` dependencies:

```clojure
{:deps {com.bhauman/figwheel-main {:mvn/version "0.2.4"}
{:deps {com.bhauman/figwheel-main {:mvn/version "0.2.5"}
com.bhauman/rebel-readline-cljs {:mvn/version "0.1.4"}}
;; setup some development paths
:paths ["src" "target" "resources"]
Expand Down Expand Up @@ -318,7 +311,7 @@ directory of your project.
Ensure your `project.clj` file has `figwheel.main` dependencies:

```clojure
:dependencies [[com.bhauman/figwheel-main "0.2.4"]
:dependencies [[com.bhauman/figwheel-main "0.2.5"]
[com.bhauman/rebel-readline-cljs "0.1.4"]]
;; setup target as a resource path
:resource-paths ["target" "resources"]
Expand Down Expand Up @@ -456,7 +449,7 @@ ClojureScript searches for source files on the Classpath. When you add
a `re-frame` dependency like so:

```clojure
{:deps {com.bhauman/figwheel-main {:mvn/version "0.2.4"}
{:deps {com.bhauman/figwheel-main {:mvn/version "0.2.5"}
com.bhauman/rebel-readline-cljs {:mvn/version "0.1.4"}
;; adding re-frame
re-frame {:mvn/version "1.10.5"}}
Expand Down
6 changes: 3 additions & 3 deletions deps.edn
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
;; DEV for now its easier to use cider with top level deps
;; com.bhauman/figwheel-core {:local/root "/Users/bhauman/workspace/figwheel/figwheel-core"}
;; com.bhauman/figwheel-repl {:local/root "/Users/bhauman/workspace/figwheel/figwheel-repl"}
com.bhauman/figwheel-repl {:mvn/version "0.2.5-SNAPSHOT"}
com.bhauman/figwheel-core {:mvn/version "0.2.5-SNAPSHOT"}
com.bhauman/figwheel-repl {:mvn/version "0.2.5"}
com.bhauman/figwheel-core {:mvn/version "0.2.5"}

;; server
ring {:mvn/version "1.7.1"}
Expand Down Expand Up @@ -47,7 +47,7 @@
{:extra-deps {com.bhauman/rebel-readline-cljs {:mvn/version "0.1.3"}}}
:dev
{:extra-deps
{org.clojure/clojurescript {:mvn/version "1.10.339"}
{org.clojure/clojurescript {:mvn/version #_"1.10.339" "1.10.764"}
com.bhauman/figwheel-core {:local/root "/Users/bhauman/workspace/figwheel/figwheel-core"}
com.bhauman/figwheel-repl {:local/root "/Users/bhauman/workspace/figwheel/figwheel-repl"}
;; for testing static cljsjs resources
Expand Down
10 changes: 5 additions & 5 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ On Mac OSX with brew:
Now launch a ClojureScript REPL with:

```
clj -Sdeps "{:deps {com.bhauman/figwheel-main {:mvn/version \"0.2.4\"}}}}" -m figwheel.main
clj -Sdeps "{:deps {com.bhauman/figwheel-main {:mvn/version \"0.2.5\"}}}}" -m figwheel.main
```

This will first compile browser REPL code to a temp directory, and
Expand All @@ -224,7 +224,7 @@ available. So, you can get Rebel Readline behavior by simply adding it
to your dependencies.

```
clojure -Sdeps "{:deps {com.bhauman/figwheel-main {:mvn/version \"0.2.4\"} com.bhauman/rebel-readline-cljs {:mvn/version \"0.1.4\"}}}}" -m figwheel.main
clojure -Sdeps "{:deps {com.bhauman/figwheel-main {:mvn/version \"0.2.5\"} com.bhauman/rebel-readline-cljs {:mvn/version \"0.1.4\"}}}}" -m figwheel.main
```

As of right now using Rebel readline does create some startup overhead
Expand All @@ -245,7 +245,7 @@ directory of your project.
Ensure your `deps.edn` file has the `figwheel.main` dependencies:

```clojure
{:deps {com.bhauman/figwheel-main {:mvn/version "0.2.4"}
{:deps {com.bhauman/figwheel-main {:mvn/version "0.2.5"}
com.bhauman/rebel-readline-cljs {:mvn/version "0.1.4"}}
;; setup some development paths
:paths ["src" "target" "resources"]
Expand Down Expand Up @@ -311,7 +311,7 @@ directory of your project.
Ensure your `project.clj` file has `figwheel.main` dependencies:

```clojure
:dependencies [[com.bhauman/figwheel-main "0.2.4"]
:dependencies [[com.bhauman/figwheel-main "0.2.5"]
[com.bhauman/rebel-readline-cljs "0.1.4"]]
;; setup target as a resource path
:resource-paths ["target" "resources"]
Expand Down Expand Up @@ -449,7 +449,7 @@ ClojureScript searches for source files on the Classpath. When you add
a `re-frame` dependency like so:

```clojure
{:deps {com.bhauman/figwheel-main {:mvn/version "0.2.4"}
{:deps {com.bhauman/figwheel-main {:mvn/version "0.2.5"}
com.bhauman/rebel-readline-cljs {:mvn/version "0.1.4"}
;; adding re-frame
re-frame {:mvn/version "1.10.5"}}
Expand Down
10 changes: 5 additions & 5 deletions docs/assets/compiled/js/main.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit d3c65ef

Please sign in to comment.