-
Notifications
You must be signed in to change notification settings - Fork 124
Comparing changes
Open a pull request
base repository: rails/importmap-rails
base: v2.2.0
head repository: rails/importmap-rails
compare: v2.2.2
- 13 commits
- 12 files changed
- 1 contributor
Commits on Jul 30, 2025
-
Remove the static integrity download from the `pin` and related commands. This can't work because we modify the asset when vendoring in the application to add a comment about the source of the asset. Instead, we are by default delegating integrity calculation to the Rails asset pipeline. Fixes #308.
Configuration menu - View commit details
-
Copy full SHA for 19094ec - Browse repository at this point
Copy the full SHA 19094ecView commit details -
Merge pull request #309 from rails/rm-fix-integrity
Improve SRI support
Configuration menu - View commit details
-
Copy full SHA for 358ae58 - Browse repository at this point
Copy the full SHA 358ae58View commit details -
Configuration menu - View commit details
-
Copy full SHA for ebed9bd - Browse repository at this point
Copy the full SHA ebed9bdView commit details
Commits on Jul 31, 2025
-
Extract common regexp to constants and methods
This make sure we are not duplicating the same regexp in multiple places with slightly different variations.
Configuration menu - View commit details
-
Copy full SHA for b5f5271 - Browse repository at this point
Copy the full SHA b5f5271View commit details -
Configuration menu - View commit details
-
Copy full SHA for af71ded - Browse repository at this point
Copy the full SHA af71dedView commit details -
Configuration menu - View commit details
-
Copy full SHA for 56f84e7 - Browse repository at this point
Copy the full SHA 56f84e7View commit details -
Fix character group for package target
No need to exclude `[` or `]`.
Configuration menu - View commit details
-
Copy full SHA for a151881 - Browse repository at this point
Copy the full SHA a151881View commit details -
Keep options when updating packages in importmap
The only option that is relevant to keep is the `preload` option. Not all cases are kept though. If the option is set to a variable or complex expression, it is not kept. Only simple values like `true`, `false`, or a string/array of strings are preserved.
Configuration menu - View commit details
-
Copy full SHA for 5e25781 - Browse repository at this point
Copy the full SHA 5e25781View commit details -
Merge pull request #310 from rails/rm-update-keep-options
Keep options when updating packages in importmap
Configuration menu - View commit details
-
Copy full SHA for ae67187 - Browse repository at this point
Copy the full SHA ae67187View commit details -
Make integrity calculation opt-in
This commits introduces a new `enable_integrity!` method to the importmap configuration, allowing users to opt-in to automatic integrity hash calculation. This change ensures that integrity hashes are not calculated by default, giving developers control over when to enable this feature. This is already opt-in for Propshaft users, but now it is also opt-in for Sprockets users.
Configuration menu - View commit details
-
Copy full SHA for 41339ab - Browse repository at this point
Copy the full SHA 41339abView commit details -
Merge pull request #312 from rails/rm-opt-in-integrity
Make integrity calculation opt-in
Configuration menu - View commit details
-
Copy full SHA for b51f709 - Browse repository at this point
Copy the full SHA b51f709View commit details -
Configuration menu - View commit details
-
Copy full SHA for 40d0dc5 - Browse repository at this point
Copy the full SHA 40d0dc5View commit details -
Configuration menu - View commit details
-
Copy full SHA for dcdb5fe - Browse repository at this point
Copy the full SHA dcdb5feView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v2.2.0...v2.2.2