Releases: Goldziher/go-utils
Releases · Goldziher/go-utils
v1.9.1
1.9.1
- Restore deprecated helpers removed in 1.9.0 (sliceutils FindIndexOf/Includes/Merge/Insert/Copy; dateutils BeforeOrEqual/AfterOrEqual) and point users to stdlib equivalents.
- Re-add docs and mkdocs navigation for those deprecated helpers, with guidance toward slices/maps replacements.
- Refine stringutils.Stringify for typed nils/pointers and clearer flow; fix lint issues.
- Correct typo in dateutils.Ceil comment.
- Add project CHANGELOG in Keep a Changelog format.
v1.9.0
📚 Complete Documentation Coverage
This release brings comprehensive documentation for all utility functions across the entire library.
Newly Documented Packages
mathutils (7 functions)
- Clamp, Abs, InRange, Average, Gcd, Lcm, IsPrime
ptrutils (9 functions)
- To, Deref, Equal, Coalesce, IsNil, ToSlice, DerefSlice, NonNilSlice, ToPointerSlice
excutils (13 functions)
- Must, MustResult, Try, Catch, RecoverWithValue
- IgnoreErr, FirstErr, AllErr, ReturnAnyErr
- ReturnNotNil, MustNotNil, Retry, RetryWithResult
sliceutils (18 new docs)
- GroupBy, Partition, DistinctBy, CountBy
- Take, Skip, TakeLast, SkipLast, TakeWhile, SkipWhile
- MinBy, MaxBy, Head, Tail, Last, Initial, Compact, Windows
maputils (10 new docs)
- Map, MapKeys, Invert, Pick, Omit, Has, Get, ToEntries, FromEntries, GroupBy
Documentation Infrastructure
- Material theme: Professional documentation site matching Kreuzberg styling
- Automatic deployment: Docs auto-deploy to GitHub Pages on every main branch push
- Full navigation: 110+ documentation pages with logical categorization
- Search enabled: Fast search across all documentation
CI/CD Improvements
- Updated pre-commit hooks to ai-rulez v2.4.1
- Enhanced docs workflow with all required MkDocs plugins
- Improved gitignore for build artifacts
Documentation Site
📖 Visit the complete documentation at: https://goldziher.github.io/go-utils/
Full Changelog: v1.8.1...v1.9.0
What's Changed
- Bump golangci/golangci-lint-action from 5 to 6 by @dependabot[bot] in #47
- Bump golangci/golangci-lint-action from 6 to 8 by @dependabot[bot] in #51
- Bump actions/download-artifact from 4 to 5 by @dependabot[bot] in #52
- Bump actions/checkout from 3 to 5 by @dependabot[bot] in #53
- Bump gopkg.in/yaml.v3 from 3.0.0 to 3.0.1 by @dependabot[bot] in #54
- Bump actions/setup-python from 5 to 6 by @dependabot[bot] in #56
- Bump actions/setup-go from 5 to 6 by @dependabot[bot] in #55
- Bump github/codeql-action from 3 to 4 by @dependabot[bot] in #57
- Bump actions/upload-artifact from 4 to 5 by @dependabot[bot] in #59
Full Changelog: v1.8.1...v1.9.0
v1.8.1
What's Changed
- Fix: adding link to sliceutils.Chunk by @vhoen in #45
- Chore: bump golangci/golangci-lint-action from 4 to 5 by @dependabot in #46
- Fix: FindLastIndex function to iterate over the entire slice by @dan1elhughes in #48
New Contributors
- @dan1elhughes made their first contribution in #48
Full Changelog: v1.8.0...v1.8.1
v1.8.0
What's Changed
- (chore): add capitalize function to stringutils by @K-A-I-L-A-S-H in #28
- (chore): update the mkdocs to add stringutils/capitalize by @K-A-I-L-A-S-H in #29
- chore: fix pre-commit install commands in CONTRIBUTING.md by @deansg in #43
- feat: add a FlatMap function to sliceutils by @deansg in #41
- chore: update documentation for new sliceutils.FlatMap function by @deansg in #44
New Contributors
- @K-A-I-L-A-S-H made their first contribution in #28
- @deansg made their first contribution in #43
Full Changelog: v1.7.4...v1.8.0
v1.7.4
v1.7.3
v1.7.2
v1.7.1
v1.7.0
v1.6.0
What's Changed
- Bump actions/setup-go from 3 to 4 by @dependabot in #21
- Optimize performance and memory allocations by @VadimKulagin in #22
New Contributors
- @VadimKulagin made their first contribution in #22
Full Changelog: v1.5.0...v1.6.0