You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "dependabot[bot] (via GitHub)" <gi...@apache.org> on 2023/06/19 09:03:38 UTC

[GitHub] [arrow-datafusion] dependabot[bot] opened a new pull request, #6716: chore(deps): update strum requirement from 0.24 to 0.25

dependabot[bot] opened a new pull request, #6716:
URL: https://github.com/apache/arrow-datafusion/pull/6716

   Updates the requirements on [strum](https://github.com/Peternator7/strum) to permit the latest version.
   <details>
   <summary>Changelog</summary>
   <p><em>Sourced from <a href="https://github.com/Peternator7/strum/blob/master/CHANGELOG.md">strum's changelog</a>.</em></p>
   <blockquote>
   <h2>0.25.0</h2>
   <h3>Breaking Changes</h3>
   <ul>
   <li>
   <p><a href="https://redirect.github.com/Peternator7/strum/pull/261">#261</a> Upgrade syn dependency to version 2. This bumps the msrv to
   1.56. It's impractical to maintain a package where a core dependency of the ecosystem has a different msrv than this one.</p>
   </li>
   <li>
   <p><a href="https://redirect.github.com/Peternator7/strum/pull/270">270</a> Change the <code>to_string</code> behavior when using <code>default</code>. Now, when
   using <code>default</code>, the <code>display</code> method will return the display version of the value contained in the enum rather than
   the name of the variant.</p>
   <pre lang="rust"><code>#[derive(strum::Display)]
   enum Color {
     Red,
     Blue,
     Green,
     #[strum(default)]
     Other(String)
   }
   <p>fn main() {
   // This used to print &quot;Other&quot;, now it prints &quot;Purple&quot;
   assert_eq!(Color::Other(&quot;Purple&quot;.to_string()).to_string(), &quot;Purple&quot;);
   }
   </code></pre></p>
   <p>If you want the old behavior, you can use the <code>to_string</code> attribute to override this behavior. See the PR for an example.</p>
   </li>
   <li>
   <p><a href="https://redirect.github.com/Peternator7/strum/pull/268">268</a> Update the behavior of <code>EnumCount</code> to exclude variants that are
   <code>disabled</code>. This is a breaking change, but the behavior makes it more consistent with other methods.</p>
   </li>
   </ul>
   <h3>New Features</h3>
   <ul>
   <li>
   <p><a href="https://redirect.github.com/Peternator7/strum/pull/257">#257</a> This PR adds the <code>EnumIs</code> macro that automatically implements
   <code>is_{variant_name}</code> methods for each variant.</p>
   <pre lang="rust"><code>#[derive(EnumIs)]
   enum Color {
       Red,
       Blue,
       Green,
   }
   <p>#[test]
   fn simple_test() {
   assert!(Color::Red.is_red());
   }
   </code></pre></p>
   </li>
   </ul>
   <!-- raw HTML omitted -->
   </blockquote>
   <p>... (truncated)</p>
   </details>
   <details>
   <summary>Commits</summary>
   <ul>
   <li>See full diff in <a href="https://github.com/Peternator7/strum/commits">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 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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-datafusion] alamb commented on pull request #6716: chore(deps): update strum requirement from 0.24 to 0.25

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb commented on PR #6716:
URL: https://github.com/apache/arrow-datafusion/pull/6716#issuecomment-1597207884

   @jackwener  do you plan to make a PR to update these dependencies? If not, no worries, I will do so


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-datafusion] dependabot[bot] commented on pull request #6716: chore(deps): update strum requirement from 0.24 to 0.25

Posted by "dependabot[bot] (via GitHub)" <gi...@apache.org>.
dependabot[bot] commented on PR #6716:
URL: https://github.com/apache/arrow-datafusion/pull/6716#issuecomment-1597200471

   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.


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-datafusion] jackwener closed pull request #6716: chore(deps): update strum requirement from 0.24 to 0.25

Posted by "jackwener (via GitHub)" <gi...@apache.org>.
jackwener closed pull request #6716: chore(deps): update strum requirement from 0.24 to 0.25
URL: https://github.com/apache/arrow-datafusion/pull/6716


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-datafusion] jackwener commented on pull request #6716: chore(deps): update strum requirement from 0.24 to 0.25

Posted by "jackwener (via GitHub)" <gi...@apache.org>.
jackwener commented on PR #6716:
URL: https://github.com/apache/arrow-datafusion/pull/6716#issuecomment-1597212206

   > #6717
   
   Yes, I create a PR #6717.


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org