Skip to content

Commit

Permalink
Update view_component requirement from >= 3.9, < 3.10 to >= 3.9, < 3.…
Browse files Browse the repository at this point in the history
…11 (#498)

Updates the requirements on
[view_component](https://github.com/viewcomponent/view_component) to
permit the latest version.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/viewcomponent/view_component/releases">view_component's
releases</a>.</em></p>
<blockquote>
<h2>v3.10.0</h2>
<ul>
<li>
<p>Fix html escaping in <code>#call</code> for non-strings.</p>
<p><em>Reegan Viljoen, Cameron Dutro</em></p>
</li>
<li>
<p>Add <code>output_preamble</code> to match
<code>output_postamble</code>, using the same safety checks.</p>
<p><em>Kali Donovan, Michael Daross</em></p>
</li>
<li>
<p>Exclude html escaping of I18n reserved keys with
<code>I18n::RESERVED_KEYS</code> rather than
<code>I18n.reserved_keys_pattern</code>.</p>
<p><em>Nick Coyne</em></p>
</li>
<li>
<p>Update CI configuration to use <code>Appraisal</code>.</p>
<p><em>Hans Lemuet, Simon Fish</em></p>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/ViewComponent/view_component/blob/main/docs/CHANGELOG.md">view_component's
changelog</a>.</em></p>
<blockquote>
<h2>3.10.0</h2>
<ul>
<li>
<p>Fix html escaping in <code>#call</code> for non-strings.</p>
<p><em>Reegan Viljoen, Cameron Dutro</em></p>
</li>
<li>
<p>Add <code>output_preamble</code> to match
<code>output_postamble</code>, using the same safety checks.</p>
<p><em>Kali Donovan, Michael Daross</em></p>
</li>
<li>
<p>Exclude html escaping of I18n reserved keys with
<code>I18n::RESERVED_KEYS</code> rather than
<code>I18n.reserved_keys_pattern</code>.</p>
<p><em>Nick Coyne</em></p>
</li>
<li>
<p>Update CI configuration to use <code>Appraisal</code>.</p>
<p><em>Hans Lemuet, Simon Fish</em></p>
</li>
</ul>
<h2>3.9.0</h2>
<ul>
<li>
<p>Don’t break <code>rails stats</code> if ViewComponent path is
missing.</p>
<p><em>Claudio Baccigalupo</em></p>
</li>
<li>
<p>Add deprecation warnings for EOL ruby and Rails versions and patches
associated with them.</p>
<p><em>Reegan Viljoen</em></p>
</li>
<li>
<p>Add support for Ruby 3.3.</p>
<p><em>Reegan Viljoen</em></p>
</li>
<li>
<p>Allow translations to be inherited and overridden in subclasses.</p>
<p><em>Elia Schito</em></p>
</li>
<li>
<p>Resolve console warnings when running test suite.</p>
<p><em>Joel Hawksley</em></p>
</li>
<li>
<p>Fix spelling in a local variable.</p>
<p><em>Olle Jonsson</em></p>
</li>
<li>
<p>Avoid duplicating rendered string when <code>output_postamble</code>
is blank.</p>
<p><em>Mitchell Henke</em></p>
</li>
<li>
<p>Ensure HTML output safety.</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/ViewComponent/view_component/commit/591977dd450f5de788fb1e8ed254a08b56b6abbd"><code>591977d</code></a>
release 3.10.0 (<a
href="https://redirect.github.com/viewcomponent/view_component/issues/1967">#1967</a>)</li>
<li><a
href="https://github.com/ViewComponent/view_component/commit/aca32f36c6bb1363c6f99c61d3988bb912d26b5d"><code>aca32f3</code></a>
Fix html escaping non strings (<a
href="https://redirect.github.com/viewcomponent/view_component/issues/1961">#1961</a>)</li>
<li><a
href="https://github.com/ViewComponent/view_component/commit/cc7c3133bcb334b52b765700857589536b476a77"><code>cc7c313</code></a>
Add output_preamble to match postamble (<a
href="https://redirect.github.com/viewcomponent/view_component/issues/1960">#1960</a>)</li>
<li><a
href="https://github.com/ViewComponent/view_component/commit/5a55ad5c875ff499aea06ea79384d831b14631e7"><code>5a55ad5</code></a>
Exclude I18n reserved keys from html escaping (<a
href="https://redirect.github.com/viewcomponent/view_component/issues/1953">#1953</a>)</li>
<li><a
href="https://github.com/ViewComponent/view_component/commit/1d19f88dd018535999c8e3203ba9aa5d5b1f101c"><code>1d19f88</code></a>
Bump errata-ai/vale-action (<a
href="https://redirect.github.com/viewcomponent/view_component/issues/1957">#1957</a>)</li>
<li><a
href="https://github.com/ViewComponent/view_component/commit/d76f5dbfcd2c269f6dd9d9475518a7999bc905af"><code>d76f5db</code></a>
Use Appraisal in CI (<a
href="https://redirect.github.com/viewcomponent/view_component/issues/1308">#1308</a>)</li>
<li>See full diff in <a
href="https://github.com/viewcomponent/view_component/compare/v3.9.0...v3.10.0">compare
view</a></li>
</ul>
</details>
<br />

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>
  • Loading branch information
peteryates authored Feb 2, 2024
2 parents 403b821 + 9864953 commit aed7ff3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion govuk-components.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Gem::Specification.new do |spec|

spec.add_dependency("html-attributes-utils", "~> 1.0.0", ">= 1.0.0")
spec.add_dependency("pagy", "~> 6.0")
spec.add_dependency("view_component", ">= 3.9", "< 3.10")
spec.add_dependency("view_component", ">= 3.9", "< 3.11")

spec.add_development_dependency "deep_merge"
spec.add_development_dependency "pry-byebug"
Expand Down

0 comments on commit aed7ff3

Please sign in to comment.