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

build(deps): bump github.com/go-sprout/sprout from 0.6.0 to 1.0.0 #152

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 20, 2025

Bumps github.com/go-sprout/sprout from 0.6.0 to 1.0.0.

Release notes

Sourced from github.com/go-sprout/sprout's releases.

v1.0.0: Sprout Genesis ⚡🌱

🌱 A New Era of Functionality, Flexibility, and Performance!

We’re thrilled to announce the v1.0.0 release of Sprout, marking a significant step forward in our mission to create the most powerful and flexible templating library for Go developers. This release introduces major features, critical fixes, and exciting new tools to help you build more efficient and secure templates.

🌟 Key Features & Changes

This section's comparisons are based on Sprig v3.2.3. If you're totally new, welcome! Go ahead with Getting started

🚀 New Core Features

  • Migration to Function Handler: All functions have been migrated under a unified function handler to streamline function management. Documentation.
  • Registry System (Loader): Introduced a new registry system for modular function management, supporting easier extension and organization of functions. Documentation.
  • Registry System (Group): With the new registry system, a solution for grouping registries are born to organize your registries. Documentation.
  • Safe Functions: New safe versions of functions that follow Go's template standards, providing flexible error handling options. Documentation.
  • Function Notices: Added real-time notices when specific functions are called to warn or inform users of critical behavior. Documentation.
  • Function Aliases: Added function aliases to ensure smooth transition and backward compatibility. Documentation.

🔄 Backward Compatibility

  • Reimport Functions from Sprig: Maintained backward compatibility by reimporting core functions from Sprig. Documentation.
  • Backward Compatibility Documentation: Updated docs to ensure seamless migration and backward compatibility. Documentation.

🛠 Enhancements and Fixes

  • Optimized Memory Footprint: Performance improvements were made to reduce memory usage across the board. Benchmarks.
  • Fixed CamelCase Logic: Updated CamelCase and PascalCase transformation logic to handle edge cases better. Documentation
  • Never more panics: Rework functions how cause panics on template engines to ensure a better stability. Documentation.

🌐 New Utilities

  • Batch of New Functions: Introduced a wide range of functions for slices, regex manipulations, and conversions, expanding Sprout's toolkit significantly. See PR 70.
  • Network Registry: New functions for handling IP, CIDR, and MAC address manipulations in templates. See PR 71.
  • SHA512 Checksums: Added sha512sum to the checksum registry with useful notices for end-users. See PR 59.
  • New Struct Method hasField: Added a method for checking struct fields dynamically. See PR 61.
  • String Capitalization Functions: New string capitalization functions with full Unicode and Latin rune support. See PR 62.
  • toDuration Conversion Function: A new utility to simplify time conversions across templates. See PR 27.
  • toIndentYAML: Added support for indentation in YAML output, enabling better structured and formatted YAML data. See PR 82.

📚 Documentation

  • Fancy and complete documentation: Create a fancy and complete documentatio, ensuring they’re up to date and aligned with Sprout’s growth. Documentation

🏆 A Special Thanks to Our Contributors

A heartfelt thank you to everyone who contributed to this v1.0.0 journey, particularly @​42atomys, whose tireless work and commitment have made this release possible. Special thanks to @​mbezhanov, @​andig, @​ccoVeille for their valuable contributions and to @​caarlos0 for the support in making decisions and for being the second maintainer of the Sprout organization.


Full Changelog: View all changes.

v1.0.0-rc.3

🌱 A New Era of Functionality, Flexibility, and Performance!

... (truncated)

Changelog

Sourced from github.com/go-sprout/sprout's changelog.

Release v1.0.0: Sprout Genesis 🌱 (2025-01-16)

🌱 A New Era of Functionality, Flexibility, and Performance!

We’re thrilled to announce the v1.0.0-rc1 release of Sprout, marking a significant step forward in our mission to create the most powerful and flexible templating library for Go developers. This release introduces major features, critical fixes, and exciting new tools to help you build more efficient and secure templates.

This section's comparisons are based on Sprig v3.2.3. If you're totally new, welcome! Go ahead with Getting started

🚀 New Core Features

  • Migration to Function Handler: All functions have been migrated under a unified function handler to streamline function management. Documentation.
  • Registry System (Loader): Introduced a new registry system for modular function management, supporting easier extension and organization of functions. Documentation.
  • Safe Functions: New safe versions of functions that follow Go's template standards, providing flexible error handling options. Documentation.
  • Function Notices: Added real-time notices when specific functions are called to warn or inform users of critical behavior. Documentation.
  • Function Aliases: Added function aliases to ensure smooth transition and backward compatibility. Documentation.

🔄 Backward Compatibility

  • Reimport Functions from Sprig: Maintained backward compatibility by reimporting core functions from Sprig. Documentation.
  • Backward Compatibility Documentation: Updated docs to ensure seamless migration and backward compatibility. Documentation.

🛠 Enhancements and Fixes

  • Optimized Memory Footprint: Performance improvements were made to reduce memory usage across the board. Benchmarks.
  • Fixed CamelCase Logic: Updated CamelCase and PascalCase transformation logic to handle edge cases better. Documentation
  • Never more panics: Rework functions how cause panics on template engines to ensure a better stability. Documentation.

🌐 New Utilities

  • Batch of New Functions: Introduced a wide range of functions for slices, regex manipulations, and conversions, expanding Sprout's toolkit significantly. See PR 70.
  • Network Registry: New functions for handling IP, CIDR, and MAC address manipulations in templates. See PR 71.
  • SHA512 Checksums: Added sha512sum to the checksum registry with useful notices for end-users. See PR 59.
  • New Struct Method hasField: Added a method for checking struct fields dynamically. See PR 61.
  • String Capitalization Functions: New string capitalization functions with full Unicode and Latin rune support. See PR 62.
  • toDuration Conversion Function: A new utility to simplify time conversions across templates. See PR 27.

📚 Documentation

  • Fancy and complete documentation: Create a fancy and complete documentation, ensuring they are up-to-date and aligned with Sprout’s growth. Documentation

🏆 A Special Thanks to Our Contributors

A heartfelt thank you to everyone who contributed to this v1.0.0 journey, particularly @​42atomys, whose tireless work and commitment have made this release possible. Special thanks to @​mbezhanov, @​andig, @​ccoVeille for their valuable contributions and to @​caarlos0 for the support in making decisions and for being the second maintainer of the Sprout organization.


🔮 Looking Ahead

This release candidate is a crucial step towards the official v1.0.0 release. We encourage you to test the new features, provide feedback, and help us fine-tune the final version. We’re incredibly excited for what’s to come and can’t wait to see how Sprout will evolve with your help!

Let’s continue growing Sprout together and make this library the best tool for Go developers everywhere!

Commits
  • dedb3cf chore: prepare v1.0.0
  • fe11a17 chore(deps): bump github.com/spf13/cast from 1.7.0 to 1.7.1 (#106)
  • e31a8b4 chore(deps): bump codecov/codecov-action from 5.1.1 to 5.1.2 (#107)
  • 8b8faeb chore(deps): bump golang.org/x/crypto from 0.31.0 to 0.32.0 (#108)
  • 5f8850e fix(date): use available timezone if any (#94)
  • 1fb3882 chore(deps): bump golang.org/x/crypto from 0.29.0 to 0.31.0 (#105)
  • a523ad2 chore(deps): bump codecov/codecov-action from 5.0.7 to 5.1.1 (#102)
  • 73a3714 chore(deps): bump golang.org/x/text from 0.20.0 to 0.21.0 (#100)
  • fe39cc7 docs: use the correct function signature (#99)
  • f62ee09 feat: use uppercase acronyms in template functions (#98)
  • 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/go-sprout/sprout](https://github.com/go-sprout/sprout) from 0.6.0 to 1.0.0.
- [Release notes](https://github.com/go-sprout/sprout/releases)
- [Changelog](https://github.com/go-sprout/sprout/blob/main/CHANGELOG.md)
- [Commits](go-sprout/sprout@v0.6.0...v1.0.0)

---
updated-dependencies:
- dependency-name: github.com/go-sprout/sprout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from nikaro as a code owner January 20, 2025 03:30
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Jan 20, 2025
@nikaro nikaro closed this Jan 21, 2025
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 21, 2025

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/go-sprout/sprout-1.0.0 branch January 21, 2025 17:21
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