Skip to content

Commit 2dc9d0f

Browse files
author
Bruce Hauman
committed
0.5.14
1 parent 396cb4e commit 2dc9d0f

10 files changed

Lines changed: 51 additions & 12 deletions

File tree

CHANGES.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,42 @@
1+
## 0.5.14 Faster loading for complex dependency trees
2+
3+
Figwheel inherited a topo sort algorithm from the CLJS compiler. It
4+
turned out that this graph sorting algorithm missed a very important
5+
optimization, which is fixed in this release. If you have project that
6+
has a lot of namespaces and have experienced slower load times when
7+
you change a file that is deeper in your dependency chain, you should
8+
notice a big improvement when using this release.
9+
10+
Added JavaScript environment hooks for tools like `re-natal` to
11+
customize the websocket implementation and the script loading behavior.
12+
13+
* improved topo-sort algorithm
14+
* CLJS compile option: the `:entries` key is no longer required in the
15+
`:modules` configs
16+
* new `:repl-eval-timeout` allows you to increase or lower the
17+
Figwheel REPL eval timeout as a top level config setting
18+
* added `goog.global.FIGWHEEL_WEBSOCKET_CLASS` to allow one to
19+
override or supply a websocket implementation for the figwheel
20+
client
21+
* added `goog.global.FIGWHEEL_IMPORT_SCRIPT` to allow one to override
22+
or supply a function to the figwheel client, that is responsible for
23+
loading a namespace into the JavaScript runtime.
24+
* added two new namespaces that can be supplied the ClojureScript
25+
compiler's `:preloads` option.
26+
27+
The two namespaces are only different in that one set's up figwheel
28+
while the other both sets up and starts figwheel. These are
29+
currently meant to clean up how the figwheel client is injected into
30+
the build. The next release of Figwheel will do away with generating
31+
a small ClojureScript file to inject the Figwheel client into build.
32+
- `figwheel.connect` which will take a configuration from
33+
`:external-tooling` > `:figwheel/config` and supply a
34+
`figwheel.connect/start` function which contains the supplied
35+
config options. This function is exported so that it can be easily
36+
called from JavaScript.
37+
- `figwheel.preload` which simply calls the above `figwheel.connect/start`
38+
function
39+
140
## 0.5.13 Small updates
241

342
* remove the use of a deprecated Google Closure library function

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ Then include `lein-figwheel` in the `:plugins`
189189
section of your project.clj.
190190

191191
```clojure
192-
[lein-figwheel "0.5.13"]
192+
[lein-figwheel "0.5.14"]
193193
```
194194

195195
#### Configure your builds
@@ -572,7 +572,7 @@ Figwheel has a Clojure
572572
that makes it easy to start, stop and control Figwheel from Clojure.
573573

574574
In order for the following examples to work, you will need to have
575-
`[figwheel-sidecar "0.5.13"]` in your dependencies.
575+
`[figwheel-sidecar "0.5.14"]` in your dependencies.
576576

577577
To start Figwheel from a script, you will need to require the
578578
`figwheel-sidecar.repl-api` and provide your build configuration to

example/project.clj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
:plugins [[lein-ring "0.8.13" :exclusions [org.clojure/clojure]]
2424
#_[lein-cljsbuild "1.1.2"]
25-
[lein-figwheel "0.5.14-SNAPSHOT"]
25+
[lein-figwheel "0.5.14"]
2626
#_[lein-npm "0.4.0"]]
2727

2828
:node-dependencies [[source-map-support "0.2.8"]
@@ -116,7 +116,7 @@
116116
}}}}
117117

118118
:profiles { :dev { :dependencies [[com.cemerick/piggieback "0.2.1"]
119-
[figwheel-sidecar "0.5.14-SNAPSHOT"]
119+
[figwheel-sidecar "0.5.14"]
120120
[org.clojure/tools.namespace "0.2.11"]
121121
[org.clojure/tools.nrepl "0.2.12"]
122122
[leiningen-core "2.6.1"]]

plugin/project.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
(defproject lein-figwheel "0.5.14-SNAPSHOT"
1+
(defproject lein-figwheel "0.5.14"
22
:description "ClojureScript Autobuilder/Server which pushes changed files to the browser. This is the lein plugin."
33
:url "https://github.com/bhauman/lein-figwheel"
44
:license {:name "Eclipse Public License - v 1.0"

plugin/src/leiningen/figwheel.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
[leiningen.figwheel.fuzzy :as fuz]
1111
[simple-lein-profile-merge.core :as lm]))
1212

13-
(def _figwheel-version_ "0.5.14-SNAPSHOT")
13+
(def _figwheel-version_ "0.5.14")
1414

1515
(defn make-subproject [project paths-to-add]
1616
(with-meta

sidecar/project.clj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
(defproject figwheel-sidecar "0.5.14-SNAPSHOT"
1+
(defproject figwheel-sidecar "0.5.14"
22
:description "ClojureScript Autobuilder/Server which pushes changed files to the browser."
33
:url "https://github.com/bhauman/lein-figwheel"
44
:license {:name "Eclipse Public License - v 1.0"
@@ -23,7 +23,7 @@
2323
[org.clojure/tools.reader
2424
org.clojure/clojure]]
2525
[clj-stacktrace "0.2.8"]
26-
[figwheel "0.5.14-SNAPSHOT"
26+
[figwheel "0.5.14"
2727
:exclusions [org.clojure/tools.reader]]
2828
[hawk "0.2.11" :exclusions [org.clojure/clojure]]
2929

sidecar/resources/compiled-utils/figwheel-helper-deploy.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sidecar/src/figwheel_sidecar/config.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
#_(remove-ns 'figwheel-sidecar.config)
2020

21-
(def _figwheel-version_ "0.5.14-SNAPSHOT")
21+
(def _figwheel-version_ "0.5.14")
2222

2323
;; file stamping pattern
2424

support/project.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
(defproject figwheel "0.5.14-SNAPSHOT"
1+
(defproject figwheel "0.5.14"
22
:description "This project contains the client side code for Figwheel."
33
:url "https://github.com/bhauman/lein-figwheel"
44
:license {:name "Eclipse Public License - v 1.0"

support/src/figwheel/client.cljs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
[cljs.core.async.macros :refer [go go-loop]])
1717
(:import [goog]))
1818

19-
(def _figwheel-version_ "0.5.14-SNAPSHOT")
19+
(def _figwheel-version_ "0.5.14")
2020

2121
(def js-stringify
2222
(if (and (exists? js/JSON) (some? js/JSON.stringify))

0 commit comments

Comments
 (0)