Skip to content

Latest commit

 

History

History
100 lines (64 loc) · 3.36 KB

RELEASES.md

File metadata and controls

100 lines (64 loc) · 3.36 KB

Release Notes

Next

0.9.0

  • ✨ Add Webpack.createLoader() in macro context, allowing custom macros to create code splitting points.
  • ✅ Originally main module updates were ignored, now the page is reloaded. (It is still possible to accept updates to the main entrypoint and handle them gracefully if you set it up).

0.8.0

  • ✨: Add sizeReport option to generate JSON and HTML size reports.

0.7.4

  • 🐛 Fix issue with macros needing to be wrapped in quotes. Macros which use double quotes will still not work until (#31)[jasononeil#31] is fixed.
  • ✅ Upgraded to haxe-modular 0.10.9, for improved splitting logic
  • ✅ Add console error if using -lib modular in combination with webpack-haxe-loader.
  • ✅ Project maintenance: set up Travis CI and automated testing.

0.7.3

  • ✅ Documentation improvements.

0.7.2

  • 🐛 Fix sourcemap paths on Mac.
  • 🐛 Fix NPM release - the last release included code that had not been committed to Github.

0.7.1

  • 🐛: Upgrade to Haxe Modular 0.9.3 as the 0.9.2 release was buggy.

0.7.0

0.6.0

  • 💔: Revert change from 0.5.0. Now, as was the case in 0.4.1, NodeJS files will also be compiled by webpack. If you would like to avoid compiling NodeJS files, you can use -D prevent-webpack-js-output in your hxml file.
  • 🐛: Upgraded to Haxe Modular 0.8.0 to fix issue with nested async requires. See jasononeil#16

0.5.0

  • ✨: Treat NodeJS builds the same as non-JS builds - watch and recompile, but don't process with webpack.

0.4.1

  • ✅: Update to haxe-module 0.6.0, which fixed the error "Expecting single root statement in program". See jasononeil#7
  • ✅: Updated haxelib release (0.2.1) - Hotfix for relative paths on Windows. See jasononeil#8
  • ✅: Updated haxelib release (0.2.0) - Rename Webpack.async() to Webpack.load()

0.4.0

  • ✨ React HMR (Hot Module Replacement) support. This allows you to deep refresh the provided React component when a module is reloaded.

    Usage:

    var rootComponent = ReactDOM.render(...);
    #if debug
    ReactHMR.autoRefresh(rootComponent);
    #end
  • ✅: Updated haxelib release (0.1.0)

0.3.3

  • ✅: Now auto-detecting the Main class and some other codegen optimisations (sharing of requires)
  • ✅: Pointing to released Haxe Modular

0.3.2

  • ✅: Haxe modular has been refactored and now requires the main class as 1st module

0.3.1

  • 🐛: Add loader-utils as a dependency.

0.3.0

  • 💔: Rename Webpack.load() to Webpack.bundle() so the API is less ambiguous when using 'import Webpack.*'
  • ✨: Adding code splitting capability
  • ✨: Add Webpack.require() macro for requiring files relative to the hx file.
  • ✨: Loader options: add 'extra' with extra haxe compiler options.
  • 🐛: Fix error where "watch" stopped watching after a Haxe error.
  • ✅: Removed tink_macro dependency

Legend

  • 💔: Breaking change
  • ✨: New feature
  • 🐛: Bugfix