Skip to content

Releases: balazsbotond/urlcat

3.1.0

17 Jan 18:52
v3.1.0
d95336c
Compare
Choose a tag to compare

urlcat 3.1.0

Summary

Support ESM and CJS in an interoperable way.

This is a minor release which means that:

  • there are no breaking changes
  • there are new features

How to install

npm install urlcat

3.0.0

19 Nov 19:51
Compare
Choose a tag to compare

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)

02 Oct 04:56
Compare
Choose a tag to compare

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)

01 Oct 08:06
Compare
Choose a tag to compare

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

26 Sep 10:22
Compare
Choose a tag to compare

urlcat 2.0.2

Summary

This release fixes a bug where '//' could not be passed as the path template.

This is a patch release which means that:

  • there are no breaking changes
  • there are no new features

Changelog

  • Fix #7 ('//' cannot be used as path template)

How to install

npm install urlcat

2.0.1

24 Sep 10:25
Compare
Choose a tag to compare

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

24 Sep 09:46
Compare
Choose a tag to compare

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 and URLSearchParams internally
  • Breaking change: basePath and baseTemplate 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

24 Sep 07:32
Compare
Choose a tag to compare

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

23 Sep 11:44
Compare
Choose a tag to compare

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