|
| 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 | + |
1 | 40 | ## 0.5.13 Small updates |
2 | 41 |
|
3 | 42 | * remove the use of a deprecated Google Closure library function |
|
0 commit comments