Releases: JakeSidSmith/tsurl
Releases · JakeSidSmith/tsurl
v3 - Enums and no empty arrays
- Add
requiredEnum
,optionalEnum
,requiredEnumArray
, andoptionalEnumArray
- Add
ignoreInvalidEnum
deconstruct option
Breaking changes:
- Rename
allowSubPaths
toignoreSubPaths
- 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
Add support for :splat* URL parts
TSURL groups and basePath option
See #26 for notes
Remove protocol option, add baseURL option, change how deconstruct works
See #23 for breaking changes and other notes
TypeScript 4 support and improved types
Initial release
Merge pull request #7 from JakeSidSmith/initial-release Initial release (0.1.0)