Skip to content

Commit d3c65ef

Browse files
author
Bruce Hauman
committed
release 0.2.5
1 parent 5425d72 commit d3c65ef

19 files changed

+97
-52
lines changed

CHANGES.md

+52
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,55 @@
1+
# 0.2.5 Much better NPM support with new CLJS :bundle target
2+
3+
> support for the new :bundle target requires clojurescript >= 1.10.764
4+
5+
The latest ClojureScript updated the Google Closure library which
6+
included some breaking changes when it comes to reloading. This
7+
release fixes those problems and also fixes fighweel-main problems
8+
that interfered with the support of the new :bundle target.
9+
10+
You can currently learn more about the new bundle target in the Clojruescript guide
11+
12+
https://clojurescript.org/guides/webpack
13+
14+
Using the bundle target will break auto-testing and the default index
15+
page. You will have to have your own host page.
16+
17+
There still needs to be some work done on Extra mains to get them to
18+
work properly with the new bundle target.
19+
20+
The main problem for many of these automated features is that figwheel
21+
has no idea of where the output file of webpack is because the webpack
22+
config is exterior to figwheel itself.
23+
24+
The new :bundle target probably deprecates the :npm-deps way of doing
25+
things. We'll need to take some time with this way of doing things to
26+
see what makes sense.
27+
28+
# 0.2.4
29+
30+
* Add :open-url-wait-ms option to delay launching the browser when :open-url is enabled
31+
* fix repl hanging on error
32+
* get rid of another glog/warning call
33+
* allow the Jetty :configurator option
34+
35+
# 0.2.3 Minor release
36+
37+
* fix connection race condition when the load event has already fired
38+
* add repl-env function for compatability
39+
40+
# 0.2.1 Minor release
41+
42+
* fix goog warning
43+
* fix warning notification bug
44+
* update ring dependency to 1.7.1
45+
* fix goog/warning reference
46+
* fix dangling colon in connect url
47+
* up the message size limit for the Websocket to 16M
48+
49+
* handle css imports in css-realoding
50+
* some :npm-deps fixes
51+
* output cljsc_opts ot help with bootstrapping clojurescript
52+
153
# 0.2.0 Minor updates
254

355
So nothing groundbreaking in this release, just firming things up and

README.md

+5-12
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,6 @@ Learn even more by watching a 45 minute
1515

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

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

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

209202
```
210-
clj -Sdeps "{:deps {com.bhauman/figwheel-main {:mvn/version \"0.2.4\"}}}}" -m figwheel.main
203+
clj -Sdeps "{:deps {com.bhauman/figwheel-main {:mvn/version \"0.2.5\"}}}}" -m figwheel.main
211204
```
212205

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

233226
```
234-
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
227+
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
235228
```
236229

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

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

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

458451
```clojure
459-
{:deps {com.bhauman/figwheel-main {:mvn/version "0.2.4"}
452+
{:deps {com.bhauman/figwheel-main {:mvn/version "0.2.5"}
460453
com.bhauman/rebel-readline-cljs {:mvn/version "0.1.4"}
461454
;; adding re-frame
462455
re-frame {:mvn/version "1.10.5"}}

deps.edn

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
;; DEV for now its easier to use cider with top level deps
55
;; com.bhauman/figwheel-core {:local/root "/Users/bhauman/workspace/figwheel/figwheel-core"}
66
;; com.bhauman/figwheel-repl {:local/root "/Users/bhauman/workspace/figwheel/figwheel-repl"}
7-
com.bhauman/figwheel-repl {:mvn/version "0.2.5-SNAPSHOT"}
8-
com.bhauman/figwheel-core {:mvn/version "0.2.5-SNAPSHOT"}
7+
com.bhauman/figwheel-repl {:mvn/version "0.2.5"}
8+
com.bhauman/figwheel-core {:mvn/version "0.2.5"}
99

1010
;; server
1111
ring {:mvn/version "1.7.1"}
@@ -47,7 +47,7 @@
4747
{:extra-deps {com.bhauman/rebel-readline-cljs {:mvn/version "0.1.3"}}}
4848
:dev
4949
{:extra-deps
50-
{org.clojure/clojurescript {:mvn/version "1.10.339"}
50+
{org.clojure/clojurescript {:mvn/version #_"1.10.339" "1.10.764"}
5151
com.bhauman/figwheel-core {:local/root "/Users/bhauman/workspace/figwheel/figwheel-core"}
5252
com.bhauman/figwheel-repl {:local/root "/Users/bhauman/workspace/figwheel/figwheel-repl"}
5353
;; for testing static cljsjs resources

docs/README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ On Mac OSX with brew:
200200
Now launch a ClojureScript REPL with:
201201

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

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

226226
```
227-
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
227+
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
228228
```
229229

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

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

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

451451
```clojure
452-
{:deps {com.bhauman/figwheel-main {:mvn/version "0.2.4"}
452+
{:deps {com.bhauman/figwheel-main {:mvn/version "0.2.5"}
453453
com.bhauman/rebel-readline-cljs {:mvn/version "0.1.4"}
454454
;; adding re-frame
455455
re-frame {:mvn/version "1.10.5"}}

docs/assets/compiled/js/main.js

+5-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)