CHANGELOG.md in react_on_rails-9.0.0.beta.11 vs CHANGELOG.md in react_on_rails-9.0.0.beta.12

- old
+ new

@@ -12,15 +12,20 @@ ## 9.0 from 8.x. Upgrade Instructions All 9.0.0 beta versions can be viewed in [PR 908](https://github.com/shakacode/react_on_rails/pull/908) -- Update the gemfile. Switch over to using Webpacker on the ShakaCode branch: +- Breaking Configuration Changes + 1. Added `config.node_modules_location` which defaults to `""` if Webpacker is installed. You may want to set this to 'client'` to `config/initializers/react_on_rails.rb` to keep your node_modules inside of `/client` + 2. Renamed + * config.npm_build_test_command ==> config.build_test_command + * config.npm_build_production_command ==> config.build_production_command +- Update the gemfile. Switch over to using the webpacker gem. + ```rb -gem "webpacker", git: "https://github.com/shakacode/webpacker.git", - branch: "issue-464-merge-webpacker-lite-into-webpacker-v5" +gem "webpacker" ``` - Update for the renaming in the `WebpackConfigLoader` in your webpack configuration. You will need to rename the following object properties: - webpackOutputPath ==> output.path @@ -78,26 +83,30 @@ - See the example `spec/dummy/config/webpacker.yml`. - Remove keys `hot_reloading_host` and `hot_reloading_enabled_by_default`. These are replaced by the `dev_server` key. - Rename `webpack_public_output_dir` to `public_output_path`. - Edit your Procfile.dev - - For static loading, either: - - Comment out or remove the dev_server area of your config. - - Edit your static procfile to set env value WEBPACKER_DEV_SERVER=FALSE - - For hot loading, either: + - Remove the env value WEBPACKER_DEV_SERVER as it's not used + - For hot loading: - Set the `hmr` key in your `webpacker.yml` to `true`. - - Edit your hot procfile to set env value WEBPACKER_HMR=TRUE #### Troubleshooting -* Be sure to ### [9.0.0] *Diffs for the beta to master* +### [9.0.0-beta.12] +- Updated for latest rails/webpacker using the official gem +- hot reloading working in generator + +### [9.0.0-beta.11] +- Updated for latest rails_webpacker. +- hot reloading working in spec/dummy + ### [9.0.0-beta.10] - Updated for the latest rails/webpacker. Added the cache_manifest setting. ### [9.0.0-beta.9] - Fixes precompile task going to Webpacker's. You need to set `custom_compile: true` in your `webpacker.yml`. @@ -129,10 +138,14 @@ - Fixed problems when running in development mode for both the generator and spec/dummy. ### [9.0.0-beta.1] - First version of depending on Webpacker rather than Webpacker Lite +### [8.0.7] +#### fixed +- Fixes generator bug by keeping blank line at top in case existing .gitignore does not end in a newline. [#916](https://github.com/shakacode/react_on_rails/pull/916) by [justin808](https://github.com/justin808). + ### [8.0.6] #### fixed - Fixes server rendering when using a CDN. Server rendering would try to fetch a file with the "asset_host". This change updates the webpacker_lite dependency to 2.1.0 which has a new helper `pack_path`. [#901](https://github.com/shakacode/react_on_rails/pull/901) by [justin808](https://github.com/justin808). Be sure to update webpacker_lite to 2.1.0. - The package.json file created by the generator now creates minified javascript production builds by default. This was done by adding the -p flag to webpack on the build:production script. [#895](https://github.com/shakacode/react_on_rails/pull/895) by [serodriguez68 ](https://github.com/serodriguez68) - Fixes GitUtils.uncommitted_changes? throwing an error when called in an environment without Git, and allows install generator to be run successfully with `--ignore-warnings` [#878](https://github.com/shakacode/react_on_rails/pull/878) by [jasonblalock](https://github.com/jasonblalock). @@ -749,10 +762,11 @@ ##### Fixed - Fix several generator related issues. [Unreleased]: https://github.com/shakacode/react_on_rails/compare/rails-webpacker...9.0.0-beta.11 [9.0.0]: https://github.com/shakacode/react_on_rails/compare/master...9.0.0-beta.11 +[9.0.0-beta.12]: https://github.com/shakacode/react_on_rails/compare/9.0.0-beta.11...9.0.0-beta.12 [9.0.0-beta.11]: https://github.com/shakacode/react_on_rails/compare/9.0.0-beta.10...9.0.0-beta.11 [9.0.0-beta.10]: https://github.com/shakacode/react_on_rails/compare/9.0.0-beta.9...9.0.0-beta.10 [9.0.0-beta.9]: https://github.com/shakacode/react_on_rails/compare/9.0.0-beta.8...9.0.0-beta.9 [9.0.0-beta.8]: https://github.com/shakacode/react_on_rails/compare/9.0.0-beta.7...9.0.0-beta.8 [9.0.0-beta.7]: https://github.com/shakacode/react_on_rails/compare/9.0.0-beta.6...9.0.0-beta.7 @@ -760,9 +774,10 @@ [9.0.0-beta.5]: https://github.com/shakacode/react_on_rails/compare/9.0.0-beta.4...9.0.0-beta.5 [9.0.0-beta.4]: https://github.com/shakacode/react_on_rails/compare/9.0.0-beta.3...9.0.0-beta.4 [9.0.0-beta.3]: https://github.com/shakacode/react_on_rails/compare/9.0.0-beta.2...9.0.0-beta.3 [9.0.0-beta.2]: https://github.com/shakacode/react_on_rails/compare/9.0.0-beta.1...9.0.0-beta.2 [9.0.0-beta.1]: https://github.com/shakacode/react_on_rails/compare/master...9.0.0-beta.1 +[8.0.7]: https://github.com/shakacode/react_on_rails/compare/8.0.6...8.0.7 [8.0.6]: https://github.com/shakacode/react_on_rails/compare/8.0.5...8.0.6 [8.0.5]: https://github.com/shakacode/react_on_rails/compare/8.0.3...8.0.5 [8.0.3]: https://github.com/shakacode/react_on_rails/compare/8.0.2...8.0.3 [8.0.2]: https://github.com/shakacode/react_on_rails/compare/8.0.1...8.0.2 [8.0.1]: https://github.com/shakacode/react_on_rails/compare/8.0.0...8.0.1