Skip to content

Releases: JakeSidSmith/tsurl

v3 - Enums and no empty arrays

29 Sep 16:07
419fb9c
Compare
Choose a tag to compare

Includes #31 and #32

  • Add requiredEnum, optionalEnum, requiredEnumArray, and optionalEnumArray
  • Add ignoreInvalidEnum deconstruct option

Breaking changes:

  • Rename allowSubPaths to ignoreSubPaths
  • For optional arrays undefined is returned instead of an empty array if there are no values
  • For required arrays an error is throw if there are no values

Add allowSubPaths option when deconstructing

10 Sep 14:09
73f8b60
Compare
Choose a tag to compare

Add support for :splat* URL parts

08 Sep 12:08
6240969
Compare
Choose a tag to compare

TSURL groups and basePath option

07 Aug 18:09
2cadd91
Compare
Choose a tag to compare

Remove protocol option, add baseURL option, change how deconstruct works

02 Aug 12:53
fedcacf
Compare
Choose a tag to compare

TypeScript 4 support and improved types

09 Jul 11:26
78cbc56
Compare
Choose a tag to compare

Initial release

08 Mar 17:02
2feb642
Compare
Choose a tag to compare
Merge pull request #7 from JakeSidSmith/initial-release

Initial release (0.1.0)