Skip to content

Commit

Permalink
upgrading: @rubyonejets/ujs-compat
Browse files Browse the repository at this point in the history
  • Loading branch information
tongueroo committed Sep 5, 2021
1 parent 9702a4a commit 300395b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/_docs/extras/upgrading.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ The following table summarizes the releases and upgrade paths.

Version | Notes | Blue-Green? | Run jets upgrade?
--- | --- | --- | ---
3.0.14 | Using @rubyonjets/ujs-compat. Will need to make some manual changes. See details below. Manually changes are not needed for newly generated projects. | No | No
3.0.12 | Using @rails/ujs. Will need to make some manual changes. See details below. Manually changes are not needed for newly generated projects. | No | No
3.0.0 | Added Ruby 2.7 support. Use Serverless Gems for binary gems. | No | No
2.1.1 | Change `config.extra_autoload_paths` to `config.autoload_paths` | No | Yes
Expand All @@ -30,6 +31,15 @@ Version | Notes | Blue-Green? | Run jets upgrade?

The following section provides a little more detail on each version upgrade. Note, not all versions required more details.

### 3.0.14

* Use @rubyonjets/ujs-compat to handle delete of CRUD.

For apps going from Jets 3.0.12 and below, you must make some manual changes.

1. Run `yarn install @rubyonjets/ujs-compact`
2. Add instead: `import Jets from "@rubyonjets/ujs-compat"` and `Jets.start()` at the bottom of `app/javascript/packs/application.js`

### 3.0.12

* Use @rails/ujs to handle basic CRUD.
Expand Down

0 comments on commit 300395b

Please sign in to comment.