Skip to content

Releases: purescript/purescript-strings

v6.0.1

16 Aug 22:32
Compare
Choose a tag to compare

Bugfixes:

v6.0.0

27 Apr 21:25
4bc6954
Compare
Choose a tag to compare

Breaking changes:

Other improvements:

  • Surround code with backticks in documentation (#148)
  • Make RegexFlags a newtype and a Newtype instance for it(#159 by @mhmdanas)

v5.0.0

26 Feb 18:56
157e372
Compare
Choose a tag to compare

Breaking changes:

  • Added support for PureScript 0.14 and dropped support for all previous versions (#129)
  • Updated replace' to reflect the existence of optional capturing groups (#126)

New features:

  • Replaced unsafeCoerce with coerce where appropriate (#130)
  • Replaced monomorphic proxies with Type.Proxy.Proxy and polymorphic variables (#134)
  • Added a dotAll regexp flag (#133)

Bugfixes:

  • Removed the bounds check from the foreign implementation of lastIndexOf' (#137)

Other improvements:

  • Fix line endings to match overall project style (#132)
  • Removed references to codePointToInt, which no longer exists (#135)
  • Migrated CI to GitHub Actions and updated installation instructions to use Spago (#136)
  • Added a changelog and pull request template (#140, #141)

v4.0.2

13 May 20:34
ec6da8f
Compare
Choose a tag to compare

v4.0.1

11 Nov 11:16
94c843b
Compare
Choose a tag to compare
  • Fixed out of bounds access in unsafeCodePointAt0Fallback (@zyla)
  • Fixed slice when end index equals string length (@abaco)

v4.0.0

23 May 23:01
80dcf7e
Compare
Choose a tag to compare
  • Updated for PureScript 0.12
  • splitAt now always returns a value (#78, @MonoidMusician)
  • Added slice (@themattchan)
  • Added more String Gens to correspond with Char Gens (@matthewleon)
  • Regex match now returns NonEmptyArray
  • All string functions now operate on code points now rather than code units. The old functions are available via the .CodeUnits modules
  • fromCharCode can return Nothing now if given a value out of range

v3.5.0

12 Feb 17:31
06e048c
Compare
Choose a tag to compare
  • Added Data.String.NonEmpty

v3.4.0

28 Dec 19:53
Compare
Choose a tag to compare
  • Add Show CodePoint instance (@csicar)
  • Add codePointFromChar (@csicar)
  • Expanded docs for most functions in Data.String and Data.String.CodePoints (@csicar)

v3.3.2

19 Nov 19:23
Compare
Choose a tag to compare

Performance improvement in Data.String.Regex.match (@fehrenbach)

v3.3.1

06 Aug 18:46
Compare
Choose a tag to compare

Fix some Show instances (@Rufflewind)