Skip to content

Releases: rails/sprockets-rails

v3.4.2

11 Dec 07:31
@dhh dhh
Compare
Choose a tag to compare

What's Changed

  • Fix protocol relative URLs amended accidentally by @PikachuEXE in #485
  • Add assets.resolve_assets_in_css_urls configuration option to allow disabling AssetUrlProcessor by @rmacklin in #489

New Contributors

Full Changelog: v3.4.1...v3.4.2

v3.4.1

22 Nov 19:31
@dhh dhh
Compare
Choose a tag to compare

What's Changed

  • expose dependencies from AssetUrlProcessor by @zarqman in #480
  • Fix issues with relative paths from AssetUrlProcessor by @jcoyne in #482
  • Fix sourcemapping url replacement by @dhh in #484

Full Changelog: v3.4.0...v3.4.1

v3.4.0

15 Nov 15:47
@dhh dhh
Compare
Choose a tag to compare

What's Changed

  • Ensure source mapping URLs set by transpilers are not broken by appending a semicolon to their path and translate the paths to the digested versions for deployment by @dhh in #479

This makes sprockets-rails compatible out of the box with sourcemap generation from jsbundling-rails.

v3.3.0

11 Nov 14:30
@dhh dhh
Compare
Choose a tag to compare

What's Changed

  • Process css files so that they get digested paths for asset files by @jcoyne in #476. This allows you to use sprockets-rails together with cssbundling-rails and be able to reference assets in the asset pipeline without additional compilation.
  • Raise the error that includes an error message by @ghiculescu in #472

Full Changelog: v3.2.2...v3.3.0

3.2.2

12 Sep 07:49
1bf94e2
Compare
Choose a tag to compare
  • Fix extending ActionView::Base instances with Sprockets::Rails::Helper on Rails 6.1
  • Fix deprecation warning on Ruby 2.7 [#454]
  • action_view/base is no longer required when rake tasks are loaded [#455]
  • Asset not precompiled error exception renamed to AssetNotPrecompiledError [#414]

3.2.1

31 Aug 20:35
v3.2.1
Compare
Choose a tag to compare
  • Fix load error with ActionView::Helpers. [#383]

3.2.0

31 Aug 20:34
Compare
Choose a tag to compare
  • Add new config option config.assets.unknown_asset_fallback when set to a falsy value will error when a requested asset is not in the pipeline. [#375]

3.1.1

29 Jun 03:26
v3.1.1
df59500
Compare
Choose a tag to compare
  • Only set the gzip option if the sprockets version supports it.

3.1.0

28 Jun 01:31
v3.1.0
606c39d
Compare
Choose a tag to compare
  • Improve error message when manifest file is not present.
  • Improve error message when asset is not linked.
  • Allow gzip compression to be disabled from Rails configuration.
Rails.application.config.assets.gzip = false
  • Add option to make raising exception for missing assets optional.
Rails.application.config.assets.check_precompiled_asset = false
  • Merge quite_assets gem feature.
Rails.application.config.assets.quiet = true
  • Allow SRI integrity attribute on localhost.

3.0.4

02 Mar 17:19
Compare
Choose a tag to compare
  • Fix cache per environment.
    Now the Rails environment is part of the cache key.