Releases: jmrashed/go-slugger
Releases · jmrashed/go-slugger
Intial Release
Release Notes for Go Slugger
[v1.0.0] - 2024-11-22
Added
- Initial release of Go Slugger package.
- Added core functionality to generate slugs from input strings.
- Supports multiple languages and custom delimiters.
- Option to remove diacritics (accents) from the string.
Features
- Customizable Delimiters: You can specify a custom delimiter (e.g.,
-
,_
) to replace spaces and non-alphanumeric characters. - Diacritic Removal: The package removes accents from characters for cleaner slugs, making it suitable for various languages.
Fixes
- No issues or bugs fixed yet.
[v1.1.0] - 2024-11-30
Added
- Test Suite: Added comprehensive unit tests for slug generation.
- Documentation: Improved usage documentation with examples.
Changed
- Refactored the code for better performance when generating slugs with long strings.
Fixed
- Minor bug fix in diacritic removal logic.
Deprecated
- No deprecations in this release.
[v1.2.0] - 2024-12-05
Added
- Support for more languages (e.g., Russian, Arabic) in diacritic removal.
- Optimized regular expressions for slug generation.
Changed
- The package now automatically trims excessive delimiters from the start and end of the slug.
Fixed
- Fixed an issue where certain characters were not being properly replaced with the delimiter.
Removed
- Removed deprecated and unused functions from earlier versions.
Future Releases
- v2.0.0: Introducing support for custom input types (e.g., URLs, filenames).
- v2.1.0: Will include additional language support and more advanced customization options.