Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: rails/importmap-rails
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.2.1
Choose a base ref
...
head repository: rails/importmap-rails
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.2.2
Choose a head ref
  • 10 commits
  • 12 files changed
  • 1 contributor

Commits on Jul 31, 2025

  1. Extract common regexp to constants and methods

    This make sure we are not duplicating the same regexp in multiple places
    with slightly different variations.
    rafaelfranca committed Jul 31, 2025
    Configuration menu
    Copy the full SHA
    b5f5271 View commit details
    Browse the repository at this point in the history
  2. Use each_with_object

    rafaelfranca committed Jul 31, 2025
    Configuration menu
    Copy the full SHA
    af71ded View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    56f84e7 View commit details
    Browse the repository at this point in the history
  4. Fix character group for package target

    No need to exclude `[` or `]`.
    rafaelfranca committed Jul 31, 2025
    Configuration menu
    Copy the full SHA
    a151881 View commit details
    Browse the repository at this point in the history
  5. 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.
    rafaelfranca committed Jul 31, 2025
    Configuration menu
    Copy the full SHA
    5e25781 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #310 from rails/rm-update-keep-options

    Keep options when updating packages in importmap
    rafaelfranca authored Jul 31, 2025
    Configuration menu
    Copy the full SHA
    ae67187 View commit details
    Browse the repository at this point in the history
  7. 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.
    rafaelfranca committed Jul 31, 2025
    Configuration menu
    Copy the full SHA
    41339ab View commit details
    Browse the repository at this point in the history
  8. Merge pull request #312 from rails/rm-opt-in-integrity

    Make integrity calculation opt-in
    rafaelfranca authored Jul 31, 2025
    Configuration menu
    Copy the full SHA
    b51f709 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    40d0dc5 View commit details
    Browse the repository at this point in the history
  10. Bump version for 2.2.2

    rafaelfranca committed Jul 31, 2025
    Configuration menu
    Copy the full SHA
    dcdb5fe View commit details
    Browse the repository at this point in the history
Loading