Skip to content

Releases: JakeSidSmith/tsurl

v3 - Enums and no empty arrays

Choose a tag to compare

@JakeSidSmith JakeSidSmith released this 29 Sep 16:07
419fb9c

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

Choose a tag to compare

@JakeSidSmith JakeSidSmith released this 10 Sep 14:09
73f8b60

Original PR: #28
Fix in PR: #29

Add support for :splat* URL parts

Choose a tag to compare

@JakeSidSmith JakeSidSmith released this 08 Sep 12:08
6240969

TSURL groups and basePath option

Choose a tag to compare

@JakeSidSmith JakeSidSmith released this 07 Aug 18:09
2cadd91

See #26 for notes

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

Choose a tag to compare

@JakeSidSmith JakeSidSmith released this 02 Aug 12:53
fedcacf

See #23 for breaking changes and other notes

TypeScript 4 support and improved types

Choose a tag to compare

@JakeSidSmith JakeSidSmith released this 09 Jul 11:26
78cbc56

Initial release

Choose a tag to compare

@JakeSidSmith JakeSidSmith released this 08 Mar 17:02
2feb642
Merge pull request #7 from JakeSidSmith/initial-release

Initial release (0.1.0)