Releases: poppinss/string
Releases · poppinss/string
Add toUnixSlash helper to the StringBuilder class
1.7.0 (2025-07-05)
Features
- add toUnixSlash method to the StringBuilder (98572b4)
Full Changelog: v1.6.0...v1.7.0
Add toUnixSlash helper
Update return types of bytes and time formats to have strict types
1.5.0 (2025-05-22)
Features
- return PrettyTime and PrettyBytes from formatting methods (2652fde)
Full Changelog: v1.4.0...v1.5.0
Add uuid helper, types for bytes and time expression and override random generator
1.4.0 (2025-05-22)
Features
- add uuid helper (b3fbbe1)
- allow using a custom generator for the random value (5cd4d85)
- export typescript helpers for time and bytes expressions (7d5a60c)
Full Changelog: v1.3.0...v1.4.0
Allow passing relatedWords to the StringBuilder suffix methods
The relatedWords
allows for removing suffix or prefix while ignoring the related words. For example, we could remove the mail
suffix while email the email
suffix (which has mail
) keyword inside it.
1.3.0 (2025-05-05)
Features
- add support for passing similar words to prefix and suffix methods (1155cca)
Add htmlEscape, justify and wordWrap utilities
Extracted from Poppinss/utils package
Features
- initial working version (e2a0612)
Full Changelog: https://github.com/poppinss/string/commits/v1.1.0