Figwheel Main Versions Save

Figwheel Main provides tooling for developing ClojureScript applications

v0.213

3 years ago
  • webpack 5 compatibility by adding --entry flag to npx webpack command
  • upgrade to ring 1.9.1, there was an internal api and a jetty server version change in ring 1.9.0 that requires an upgrade
  • fix logging errors caused by CLJS 1.10.844

v0.2.11

3 years ago

v0.2.10

3 years ago

0.2.10 React Native support and SSL certificate generation

New React Native support which includes support for React Native CLI and Expo as well as MacOS. See the docs here: https://figwheel.org/docs/react-native.html

  • :ssl-valid-hosts allows you to specify what hosts the generated certificate should support
  • :use-ssl now creates a local dev certificate if one isn't supplied
  • added some improvements to using npm on windows

v0.2.9

3 years ago
  • added :use-ssl figwheel configuration option as sugar to make setting up https easier

v0.2.8

3 years ago

Fixed a major bug introduced in 0.2.7 that caused extra-mains to overwrite the builds :output-to.

Also added the :clean-outputs Figwheel option that will clean the compiler's output targets before compiling and starting the build.

Also added the --clean command line option that does the same thing.

Here are some examples of using the --clean CLI option:

# this cleans before building
clojure -m figwheel.main --clean -b dev -r

# this cleans all the builds
clojure -m figwheel.main --clean

# this only cleans the dev build
clojure -m figwheel.main --clean dev

v0.2.7

3 years ago

Pushed :bundle target support forward a bit further.

  • added :bundle-freq figwheel-option with :once, :always and :smart which bundles when output-to or npm_deps.js changes
  • added :auto-bundle figwheel-option so supply basic default bundle config
  • log the bundle command and the bunder output when a bundle command fails
  • added a warning to ensure the :output-to is inside the :output-dir for the bundle target
  • added --install-deps cli support to the schema

v0.2.6

3 years ago

Got extra-mains and auto-testing up and running for the new bundle target along with an intial docs page https://figwheel.org/docs/npm.html to help get started with an NPM based ClojureScript project.

  • Added templating to :bundle-cmd cljs option: it interpolates :output-to and :final-output-to
  • :bundle-cmd only bundles one time when watching and compiling
  • set the fighweel option :bundle-once to false to have bundling occur on every compile
  • set the fighweel option :final-output-to if you don't want the default of :output-to + "_bundle"
  • logs the bundle command when it runs for easier debugging

v0.2.5

3 years ago

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.

v0.2.4

4 years ago

Minor updates

v0.2.0

5 years ago

So nothing groundbreaking in this release, just firming things up and pushing out changes because they have sat in the repo long enough.

  • bump up to ring 0.1.7
  • optionaly serve static cljsjs resources see https://figwheel.org/config-options#cljsjs-resources
  • experimental - support for a cross over :nodejs Extra Main target to compile a project for the browser and node -- this more than likely wont work in many cases
  • change the way that figwheel.main detects whether clj is launching figwheel from a project directory
  • CSS reloading improvement
  • ensure not zero exit when not watching or building once
  • make syntax errors log at level :warn