dependabot[bot] opened a new pull request, #1632:
URL: https://github.com/apache/apisix-ingress-controller/pull/1632

   Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.7.1 
to 2.8.0.
   <details>
   <summary>Release notes</summary>
   <p><em>Sourced from <a 
href="https://github.com/onsi/ginkgo/releases";>github.com/onsi/ginkgo/v2's 
releases</a>.</em></p>
   <blockquote>
   <h2>v2.8.0</h2>
   <h2>2.8.0</h2>
   <h3>Features</h3>
   <ul>
   <li>Introduce GinkgoHelper() to track and exclude helper functions from 
potential CodeLocations [e19f556]</li>
   </ul>
   <p>Modeled after <code>testing.T.Helper()</code>.  Now, rather than write 
code like:</p>
   <pre lang="go"><code>func helper(model Model) {
       Expect(model).WithOffset(1).To(BeValid())
       Expect(model.SerialNumber).WithOffset(1).To(MatchRegexp(/[a-f0-9]*/))
   }
   </code></pre>
   <p>you can stop tracking offsets (which makes nesting composing helpers 
nearly impossible) and simply write:</p>
   <pre lang="go"><code>func helper(model Model) {
       GinkgoHelper()
       Expect(model).To(BeValid())
       Expect(model.SerialNumber).To(MatchRegexp(/[a-f0-9]*/))
   }
   </code></pre>
   <ul>
   <li>Introduce GinkgoLabelFilter() and Label().MatchesLabelFilter() to make 
it possible to programmatically match filters (fixes <a 
href="https://github-redirect.dependabot.com/onsi/ginkgo/issues/1119";>#1119</a>)
 [2f6597c]</li>
   </ul>
   <p>You can now write code like this:</p>
   <pre lang="go"><code>BeforeSuite(func() {
        if Label(&quot;slow&quot;).MatchesLabelFilter(GinkgoLabelFilter()) {
                // do slow setup
        }
   <pre><code>if 
Label(&amp;quot;fast&amp;quot;).MatchesLabelFilter(GinkgoLabelFilter()) {
        // do fast setup
   }
   </code></pre>
   <p>})
   </code></pre></p>
   <p>to programmatically check whether a given set of labels will match the 
configured <code>--label-filter</code>.</p>
   <h3>Maintenance</h3>
   <ul>
   <li>Bump webrick from 1.7.0 to 1.8.1 in /docs (<a 
href="https://github-redirect.dependabot.com/onsi/ginkgo/issues/1125";>#1125</a>)
 [ea4966e]</li>
   <li>cdeql: add ruby language (<a 
href="https://github-redirect.dependabot.com/onsi/ginkgo/issues/1124";>#1124</a>)
 [9dd275b]</li>
   <li>dependabot: add bundler package-ecosystem for docs (<a 
href="https://github-redirect.dependabot.com/onsi/ginkgo/issues/1123";>#1123</a>)
 [14e7bdd]</li>
   </ul>
   </blockquote>
   </details>
   <details>
   <summary>Changelog</summary>
   <p><em>Sourced from <a 
href="https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md";>github.com/onsi/ginkgo/v2's
 changelog</a>.</em></p>
   <blockquote>
   <h2>2.8.0</h2>
   <h3>Features</h3>
   <ul>
   <li>Introduce GinkgoHelper() to track and exclude helper functions from 
potential CodeLocations [e19f556]</li>
   </ul>
   <p>Modeled after <code>testing.T.Helper()</code>.  Now, rather than write 
code like:</p>
   <pre lang="go"><code>func helper(model Model) {
       Expect(model).WithOffset(1).To(BeValid())
       Expect(model.SerialNumber).WithOffset(1).To(MatchRegexp(/[a-f0-9]*/))
   }
   </code></pre>
   <p>you can stop tracking offsets (which makes nesting composing helpers 
nearly impossible) and simply write:</p>
   <pre lang="go"><code>func helper(model Model) {
       GinkgoHelper()
       Expect(model).To(BeValid())
       Expect(model.SerialNumber).To(MatchRegexp(/[a-f0-9]*/))
   }
   </code></pre>
   <ul>
   <li>Introduce GinkgoLabelFilter() and Label().MatchesLabelFilter() to make 
it possible to programmatically match filters (fixes <a 
href="https://github-redirect.dependabot.com/onsi/ginkgo/issues/1119";>#1119</a>)
 [2f6597c]</li>
   </ul>
   <p>You can now write code like this:</p>
   <pre lang="go"><code>BeforeSuite(func() {
        if Label(&quot;slow&quot;).MatchesLabelFilter(GinkgoLabelFilter()) {
                // do slow setup
        }
   <pre><code>if 
Label(&amp;quot;fast&amp;quot;).MatchesLabelFilter(GinkgoLabelFilter()) {
        // do fast setup
   }
   </code></pre>
   <p>})
   </code></pre></p>
   <p>to programmatically check whether a given set of labels will match the 
configured <code>--label-filter</code>.</p>
   <h3>Maintenance</h3>
   <ul>
   <li>Bump webrick from 1.7.0 to 1.8.1 in /docs (<a 
href="https://github-redirect.dependabot.com/onsi/ginkgo/issues/1125";>#1125</a>)
 [ea4966e]</li>
   <li>cdeql: add ruby language (<a 
href="https://github-redirect.dependabot.com/onsi/ginkgo/issues/1124";>#1124</a>)
 [9dd275b]</li>
   <li>dependabot: add bundler package-ecosystem for docs (<a 
href="https://github-redirect.dependabot.com/onsi/ginkgo/issues/1123";>#1123</a>)
 [14e7bdd]</li>
   </ul>
   </blockquote>
   </details>
   <details>
   <summary>Commits</summary>
   <ul>
   <li><a 
href="https://github.com/onsi/ginkgo/commit/64c4110be0dc6dafd27cf362389e650ea6765432";><code>64c4110</code></a>
 v2.8.0</li>
   <li><a 
href="https://github.com/onsi/ginkgo/commit/2f6597cae9a748c92b7f5fde1e345e00f9d7b8d8";><code>2f6597c</code></a>
 Introduce GinkgoLabelFilter() and Label().MatchesLabelFilter() to make it 
pos...</li>
   <li><a 
href="https://github.com/onsi/ginkgo/commit/ea4966e1a619ead00a9e579b21de4dcc3923a75d";><code>ea4966e</code></a>
 Bump webrick from 1.7.0 to 1.8.1 in /docs (<a 
href="https://github-redirect.dependabot.com/onsi/ginkgo/issues/1125";>#1125</a>)</li>
   <li><a 
href="https://github.com/onsi/ginkgo/commit/9dd275b9a50e36aa4b4999a5314b974244ce3bce";><code>9dd275b</code></a>
 cdeql: add ruby language (<a 
href="https://github-redirect.dependabot.com/onsi/ginkgo/issues/1124";>#1124</a>)</li>
   <li><a 
href="https://github.com/onsi/ginkgo/commit/e19f556ef5e531279b60d707233f457fdedd9079";><code>e19f556</code></a>
 Introduce GInkgoHelper() to track and exclude helper functions from 
porential...</li>
   <li><a 
href="https://github.com/onsi/ginkgo/commit/14e7bddda2dce4416d6ef8000f309ae239f5ba67";><code>14e7bdd</code></a>
 dependabot: add bundler package-ecosystem for docs (<a 
href="https://github-redirect.dependabot.com/onsi/ginkgo/issues/1123";>#1123</a>)</li>
   <li>See full diff in <a 
href="https://github.com/onsi/ginkgo/compare/v2.7.1...v2.8.0";>compare 
view</a></li>
   </ul>
   </details>
   <br />
   
   
   [![Dependabot compatibility 
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/onsi/ginkgo/v2&package-manager=go_modules&previous-version=2.7.1&new-version=2.8.0)](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 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>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to