Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump github.com/huandu/xstrings from 1.3.1 to 1.5.0 #74

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Jun 24, 2024

Bumps github.com/huandu/xstrings from 1.3.1 to 1.5.0.

Release notes

Sourced from github.com/huandu/xstrings's releases.

API Change: New API ToPascalCase and make ToCamelCase camelCase

Per discuss in #56, I decide to change the result of ToCamelCase to make it align with common sense. In the past, ToCamelCase converts camel_case_string to CamelCaseString, in which the first letter is upper case; Starting from this release, ToCamelCase returns camelCaseString instead. If we want to convert string to "upper" camel case, we can use new API ToPascalCase.

If you have any concern, please feel free to send issue to me. Thanks.

Full Changelog: huandu/xstrings@v1.4.0...v1.5.0

API Change: ToCamelCase preserves source string case

As ToCamelCase is a port of RoR's String#camelize, this change makes the return value of this method consistent with its origin. Thanks @​dbainbri-ciena for raising this issue in #54.

This is a breaking API change. The return value of ToCamelCase("toCamelCase") was Tocamelcase and then it's ToCamelCase now. If this change breaks your code, please let me know and open new issue against this change. Thanks.

Use strings.Builder for better performance if it's available

See #46 for details. Thanks, @​ninedraft.

Commits
  • 1040c04 fix #56: New api ToPascalCase and change camelCase to correct value
  • 6ae33fe Merge pull request #55 from huandu/feature-tocamelcase-preserve-case
  • 1707565 ToCamelCase preserves cases; gofmt all files
  • 472f541 Merge pull request #52 from jwhitaker-swiftnav/fix-number-words
  • a062ad6 fix snakecase's behaviour on already-snakecased numbers
  • fd7496f Merge pull request #50 from huandu/huandu-github-actions
  • e2578a7 tweak github actions
  • 05d8f1b tweak github actions
  • a79a8a1 tweak github actions
  • 4412b22 update readme for github action badges
  • 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 [github.com/huandu/xstrings](https://github.com/huandu/xstrings) from 1.3.1 to 1.5.0.
- [Release notes](https://github.com/huandu/xstrings/releases)
- [Commits](huandu/xstrings@v1.3.1...v1.5.0)

---
updated-dependencies:
- dependency-name: github.com/huandu/xstrings
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Jun 24, 2024
Copy link

This pull request has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in 2 weeks if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions!

@github-actions github-actions bot added the stale label Jul 25, 2024
Copy link

github-actions bot commented Aug 8, 2024

This pull request has been automatically closed because it has not had activity in the last 2 weeks. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions!

@github-actions github-actions bot closed this Aug 8, 2024
Copy link
Author

dependabot bot commented on behalf of github Aug 8, 2024

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.

@dependabot dependabot bot deleted the dependabot/go_modules/github.com/huandu/xstrings-1.5.0 branch August 8, 2024 02:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file go Pull requests that update Go code stale
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants