Bump propshaft from 1.1.0 to 1.2.1 #11

Closed
dependabot[bot] wants to merge 1 commit from dependabot/bundler/propshaft-1.2.1 into main
dependabot[bot] commented 2025-07-22 11:53:07 +00:00 (Migrated from github.com)

Bumps propshaft from 1.1.0 to 1.2.1.

Release notes

Sourced from propshaft's releases.

v1.2.1

What's Changed

• Only sweep the cache if cache sweeping is enabled by @​gaffneyc in #245 • Change stylesheet_link_tag and javascript_include_tag to extract options from sources
• Add a method to delete manifest entries

New Contributors

• @​gaffneyc made their first contribution in #245

Full Changelog: https://github.com/rails/propshaft/compare/v1.2.0...v1.2.1

v1.2.0

📝 Manifest Format Update

The manifest format has been enhanced in v1.2.0 to support Subresource Integrity. While this change is backwards compatible and doesn't affect regular usage, if you or any libraries/tools you use were manually parsing the .manifest.json file, you should be aware of the new format.

Previous format:

{ "logical_path.js": "logical_path-digest123.js" }

New format:

{ "logical_path.js": { "digested_path": "logical_path-digest123.js", "integrity": "sha384-hash..." } }

What you need to know:

  • No action required for most users - Propshaft helper methods continue to work unchanged
  • If you or your tools manually parse the manifest: Update code to access manifest[logical_path]["digested_path"] instead of manifest[logical_path] directly
  • Third-party libraries: Check if any gems or tools in your stack parse the manifest directly and may need updates
  • Backwards compatibility: Propshaft can still read manifests in the old format
  • New feature: The integrity field provides Subresource Integrity hashes when enabled

What's Changed

New Contributors

... (truncated)

Commits
  • e49a9de Prepare for 1.2.1 release
  • 5aa907a Add a method to delete manifest entries
  • b17c7fc Change stylesheet_link_tag and javascript_include_tag to extract options from...
  • 83437cf Add unit test for Propshaft::Helper
  • 4af2f12 Merge pull request #245 from gaffneyc/main
  • cdf2b96 Only attempt to sweep the cache when cache sweeping is enabled
  • 74a0705 Prepare for release 1.2.0
  • 9bcad5f Merge pull request #238 from zcei/feat/integrity
  • 6c47eb2 Document Propshaft::Manifest as part of the public API
  • 90e6592 Add transform_values method to Propshaft::Manifest
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps [propshaft](https://github.com/rails/propshaft) from 1.1.0 to 1.2.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/rails/propshaft/releases">propshaft's releases</a>.</em></p> <blockquote> <h2>v1.2.1</h2> <h2>What's Changed</h2> <p>• Only sweep the cache if cache sweeping is enabled by <a href="https://github.com/gaffneyc"><code>@​gaffneyc</code></a> in <a href="https://redirect.github.com/rails/propshaft/issues/245">#245</a> • Change stylesheet_link_tag and javascript_include_tag to extract options from sources<br /> • Add a method to delete manifest entries</p> <h2>New Contributors</h2> <p>• <a href="https://github.com/gaffneyc"><code>@​gaffneyc</code></a> made their first contribution in <a href="https://redirect.github.com/rails/propshaft/issues/245">#245</a></p> <p><strong>Full Changelog</strong>: <a href="https://github.com/rails/propshaft/compare/v1.2.0...v1.2.1">https://github.com/rails/propshaft/compare/v1.2.0...v1.2.1</a></p> <h2>v1.2.0</h2> <h2>📝 Manifest Format Update</h2> <p>The manifest format has been enhanced in v1.2.0 to support Subresource Integrity. While this change is backwards compatible and doesn't affect regular usage, if you or any libraries/tools you use were manually parsing the <code>.manifest.json</code> file, you should be aware of the new format.</p> <p><strong>Previous format:</strong></p> <pre lang="json"><code>{ &quot;logical_path.js&quot;: &quot;logical_path-digest123.js&quot; } </code></pre> <p><strong>New format:</strong></p> <pre lang="json"><code>{ &quot;logical_path.js&quot;: { &quot;digested_path&quot;: &quot;logical_path-digest123.js&quot;, &quot;integrity&quot;: &quot;sha384-hash...&quot; } } </code></pre> <p><strong>What you need to know:</strong></p> <ul> <li><strong>No action required for most users</strong> - Propshaft helper methods continue to work unchanged</li> <li><strong>If you or your tools manually parse the manifest</strong>: Update code to access <code>manifest[logical_path][&quot;digested_path&quot;]</code> instead of <code>manifest[logical_path]</code> directly</li> <li><strong>Third-party libraries</strong>: Check if any gems or tools in your stack parse the manifest directly and may need updates</li> <li><strong>Backwards compatibility</strong>: Propshaft can still read manifests in the old format</li> <li><strong>New feature</strong>: The <code>integrity</code> field provides Subresource Integrity hashes when enabled</li> </ul> <h2>What's Changed</h2> <ul> <li>Read asset content in binary mode to suppress CRLF conversion on Windows by <a href="https://github.com/thloe2"><code>@​thloe2</code></a> in <a href="https://redirect.github.com/rails/propshaft/pull/222">rails/propshaft#222</a></li> <li>Add quotes to etags by <a href="https://github.com/zarqman"><code>@​zarqman</code></a> in <a href="https://redirect.github.com/rails/propshaft/pull/220">rails/propshaft#220</a></li> <li>Fix CSS Asset Compiler to work with files started with data and http by <a href="https://github.com/brenogazzola"><code>@​brenogazzola</code></a> in <a href="https://redirect.github.com/rails/propshaft/pull/224">rails/propshaft#224</a></li> <li>Server should also sweep cache by <a href="https://github.com/brenogazzola"><code>@​brenogazzola</code></a> in <a href="https://redirect.github.com/rails/propshaft/pull/232">rails/propshaft#232</a></li> <li>Remove railties runtime dependency by <a href="https://github.com/zcei"><code>@​zcei</code></a> in <a href="https://redirect.github.com/rails/propshaft/pull/239">rails/propshaft#239</a></li> <li>Add Subresource Integrity value to manifest by <a href="https://github.com/zcei"><code>@​zcei</code></a> in <a href="https://redirect.github.com/rails/propshaft/pull/238">rails/propshaft#238</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/jrochkind"><code>@​jrochkind</code></a> made their first contribution in <a href="https://redirect.github.com/rails/propshaft/pull/216">rails/propshaft#216</a></li> <li><a href="https://github.com/thloe2"><code>@​thloe2</code></a> made their first contribution in <a href="https://redirect.github.com/rails/propshaft/pull/222">rails/propshaft#222</a></li> <li><a href="https://github.com/zarqman"><code>@​zarqman</code></a> made their first contribution in <a href="https://redirect.github.com/rails/propshaft/pull/220">rails/propshaft#220</a></li> <li><a href="https://github.com/zcei"><code>@​zcei</code></a> made their first contribution in <a href="https://redirect.github.com/rails/propshaft/pull/239">rails/propshaft#239</a></li> <li><a href="https://github.com/TimeTravelerFromNow"><code>@​TimeTravelerFromNow</code></a> made their first contribution in <a href="https://redirect.github.com/rails/propshaft/pull/240">rails/propshaft#240</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/rails/propshaft/commit/e49a9de659ff27462015e54dd832e86e762a6ddc"><code>e49a9de</code></a> Prepare for 1.2.1 release</li> <li><a href="https://github.com/rails/propshaft/commit/5aa907adf170f160bdc03d1f70305f33763e672d"><code>5aa907a</code></a> Add a method to delete manifest entries</li> <li><a href="https://github.com/rails/propshaft/commit/b17c7fc243a3799cf86398f893b6a4dbaf40ec61"><code>b17c7fc</code></a> Change stylesheet_link_tag and javascript_include_tag to extract options from...</li> <li><a href="https://github.com/rails/propshaft/commit/83437cf6348d5ff96775ffcef1ea2d040ade8c52"><code>83437cf</code></a> Add unit test for Propshaft::Helper</li> <li><a href="https://github.com/rails/propshaft/commit/4af2f121c0be156d2c967d8595416e5b4f08ca63"><code>4af2f12</code></a> Merge pull request <a href="https://redirect.github.com/rails/propshaft/issues/245">#245</a> from gaffneyc/main</li> <li><a href="https://github.com/rails/propshaft/commit/cdf2b96aa7f67b9dd30c9ac45911bf27cec31047"><code>cdf2b96</code></a> Only attempt to sweep the cache when cache sweeping is enabled</li> <li><a href="https://github.com/rails/propshaft/commit/74a07056fba7a5824bfcc34fb5972b81cfb6f96a"><code>74a0705</code></a> Prepare for release 1.2.0</li> <li><a href="https://github.com/rails/propshaft/commit/9bcad5fa48efac2f26568e5d019409a1784839d0"><code>9bcad5f</code></a> Merge pull request <a href="https://redirect.github.com/rails/propshaft/issues/238">#238</a> from zcei/feat/integrity</li> <li><a href="https://github.com/rails/propshaft/commit/6c47eb2adbe1837ef18f37a29fae183e92e38a97"><code>6c47eb2</code></a> Document Propshaft::Manifest as part of the public API</li> <li><a href="https://github.com/rails/propshaft/commit/90e659209fd6fbc7b3c1d1744ea044bda6bbb341"><code>90e6592</code></a> Add transform_values method to Propshaft::Manifest</li> <li>Additional commits viewable in <a href="https://github.com/rails/propshaft/compare/v1.1.0...v1.2.1">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=propshaft&package-manager=bundler&previous-version=1.1.0&new-version=1.2.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
dependabot[bot] commented 2025-09-06 14:52:54 +00:00 (Migrated from github.com)

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting `@dependabot ignore this major version` or `@dependabot ignore this minor version`. You can also ignore all major, minor, or patch releases for a dependency by adding an [`ignore` condition](https://docs.github.com/en/code-security/supply-chain-security/configuration-options-for-dependency-updates#ignore) with the desired `update_types` to your config file. If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

Pull request closed

Sign in to join this conversation.
No description provided.