Skip to content

Releases: unjs/magic-regexp

v0.8.0

07 Mar 00:18
Compare
Choose a tag to compare

   🚀 Features

    View changes on GitHub

v0.7.0

05 May 09:50
Compare
Choose a tag to compare

   🚀 Features

   🐞 Bug Fixes

    View changes on GitHub

v0.6.3

28 Feb 11:52
Compare
Choose a tag to compare

   🚀 Features

    View changes on GitHub

v0.6.2

29 Jan 13:27
Compare
Choose a tag to compare

0.6.2 (2023-01-29)

Bug Fixes

v0.6.1

16 Nov 22:35
72db10b
Compare
Choose a tag to compare

0.6.1 (2022-11-16)

Bug Fixes

  • nuxt: use rc14+ compatible nuxt module (98c4dc9)

v0.6.0

28 Oct 10:50
f374f10
Compare
Choose a tag to compare

0.6.0 (2022-10-28)

⚠ BREAKING CHANGES

  • if you are using the types, there is now a hard dependency on TypeScript 4.7+ - see #79 for more

Features

  • implement letter.lowercase and letter.uppercase (#77) (70afa5b)

Bug Fixes

  • update interface Input type parameter to contravariant type (#79) (c9707a2)

v0.5.0

16 Sep 06:19
f08cfdb
Compare
Choose a tag to compare

0.5.0 (2022-09-16)

Features

  • default to non-capture, add grouped and groupedAs (#42) (6b8d4dc)
  • type-safe String.match (#68) (1a2d5d4)

v0.4.1

05 Aug 22:15
6829602
Compare
Choose a tag to compare

0.4.1 (2022-08-05)

Bug Fixes

  • types: differentiate symbols from generics (d92393d)

v0.4.0

25 Jul 15:57
94194d4
Compare
Choose a tag to compare

0.4.0 (2022-07-25)

🎉 Massive thanks to @didavid61202 for lots of great contributions in this release! 🎉

⚠ BREAKING CHANGES

  • do not create wrap single chars in parentheses (#27)
  • word has been renamed to wordChar

Features

  • add wordBoundary helper input (#20) (040c940)
  • add chained input and.referenceToGroup (#21) (a18fccb)
  • do not create wrap single chars in parentheses (#27) (a02645b)
  • types: respect global flag for .match and .matchAll types (#29) (2211a83)
  • update IfSingle and wrap to not wrap wrapped input (#33) (cd233ab)

Bug Fixes

  • order of generic types for param of createInput (#31) (545d725)
  • rename word to wordChar and add semantic word helper (#23) (033ee5c)
  • types: include flags in generated RegExp type (c78c4e1)
  • types: infer group names from param with Input type (#32) (6131ac6)

v0.3.0

20 Jul 12:20
79c5d62
Compare
Choose a tag to compare

0.3.0 (2022-07-20)

Features

  • support string/Set as flags from createRegExp (231dfa1)

Bug Fixes

  • transform: add cjs stub for compatibility (07a6ff7), closes #11