CHANGELOG.md in js_from_routes-1.0.3 vs CHANGELOG.md in js_from_routes-2.0.0
- old
+ new
@@ -1,18 +1,34 @@
-## JsFromRoutes 1.0.3 (2021-03-10) ##
+# [2.0.0](https://github.com/ElMassimo/js_from_routes/compare/v1.0.3...js_from_routes@2.0.0) (2021-03-13)
+### Features ⚡️
+
+- Path helpers now support both making a request or obtaining the path
+- Auto-detect the folder where javascript files live (`frontend`, `packs`, `javascript`, or `assets`)
+- The new default template is more flexible and can be easily customized using the `client_library` setting
+
+### Breaking Changes 💥
+
+- Created client libraries that provide the necessary functionality out of the box (optional)
+- Changed the default template, now using `definePathHelper`
+- Defaults for code generation have changed (`Requests` → `Api`)
+- `path_only?` and `request_method?` have been removed from `Route` during code generation
+ - You may still check for it in your custom templates, using `route.export == :path_only`
+
+## 1.0.3 (2021-03-10) ##
+
* Use `~/` instead of `@/` in the default template imports.
-## JsFromRoutes 1.0.2 (2021-03-10) ##
+## 1.0.2 (2021-03-10) ##
* Ensure a default `template.js.erb` ships with the gem.
-## JsFromRoutes 1.0.1 (2020-06-21) ##
+## 1.0.1 (2020-06-21) ##
* Expose `export_setting` in the `Route` API, to support custom workflows.
-## JsFromRoutes 1.0.0 (2020-06-21) ##
+## 1.0.0 (2020-06-21) ##
* Initial Release.