Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Nov 3, 2025

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-version: 1.5.0
  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 Nov 3, 2025
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant