Skip to content

Releases: poppinss/string

Add toUnixSlash helper to the StringBuilder class

05 Jul 06:51
Compare
Choose a tag to compare

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

23 May 09:56
Compare
Choose a tag to compare

1.6.0 (2025-05-23)

Features

Full Changelog: v1.5.0...v1.6.0

Update return types of bytes and time formats to have strict types

22 May 11:28
Compare
Choose a tag to compare

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

22 May 10:47
Compare
Choose a tag to compare

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

05 May 14:23
Compare
Choose a tag to compare

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

03 Jan 07:15
Compare
Choose a tag to compare

1.2.0 (2025-01-03)

Features

Full Changelog: v1.1.0...v1.2.0

Extracted from Poppinss/utils package

27 Dec 04:34
Compare
Choose a tag to compare