Releases: balazsbotond/urlcat
3.1.0
3.0.0
urlcat 3.0.0
Summary
Use qs for more advanced and configurable query string generation.
This is a major release which means that:
- there are breaking changes
- you test your project carefully after upgrading
How to install
npm install urlcat
2.0.4 (October 2, 2020)
urlcat 2.0.4
Summary
Because path parameter validation was too strict in the previous version, urlcat would fail for paths containing a port number. This release fixes this bug.
This is a patch release which means that:
- there are no breaking changes
- there are no new features
Changelog
- Allow port numbers in the base template
How to install
npm install urlcat
2.0.3 (October 1, 2020)
urlcat 2.0.3
Summary
This release fixes two bugs where nonsensical parameter values were accepted.
This is a patch release which means that:
- there are no breaking changes
- there are no new features
Changelog
- Restrict the allowed types of path parameters to string, number and boolean
- Don't allow missing, null or undefined path parameters
How to install
npm install urlcat
2.0.2
2.0.1
urlcat 2.0.1
Summary
This release fixes a bug in the urlcat(pathTemplate, params)
overload and makes it usable again.
This is a patch release which means that:
- there are no breaking changes
- there are no new features
Changelog
- Fix
urlcat(pathTemplate, params)
overload
How to install
npm install urlcat
2.0.0
urlcat 2.0.0
Summary
A major internal refactoring, a bugfix and some minor but breaking changes.
This is a major release which means that it contains breaking changes.
Changelog
- Use
URL
andURLSearchParams
internally - Breaking change:
basePath
andbaseTemplate
parameters are validated. If they are not valid URLs (baseTemplate
is validated after path param substitution), an error is thrown. - Breaking change: The query string is now escaped correctly which means that spaces are escaped using
+
instead of%20
.
How to install
npm install urlcat
1.0.1
urlcat 1.0.1
Summary
This release allows the project to support older Node versions. We can officially support Node 10 and above (mocha doesn't run on older versions and we don't want to downgrade). Older versions might work but are not officially supported.
This is a patch release which means that:
- there are no breaking changes
- there are no new features.
Changelog
- Avoid using Object.fromEntries to support older Node versions
How to install
npm install urlcat
1.0.0
This is the first production-ready release. It contains a complete overhaul of the API (which is why this is a major version). After this, the API should be fairly stable; I don't see any big changes coming.
Zip/tar.gz/CDN releases are not yet supported, please install using npm
:
npm install --save urlcat