Skip to content

Releases: webroo/dummy-json

Dependency fix

03 Apr 10:30
Compare
Choose a tag to compare

Fix dependency vulnerabilities (#43, #44)

Dependency fix

15 Jun 18:48
Compare
Choose a tag to compare

Fix dependency vulnerability (#42)

Dependency fix

13 May 18:21
Compare
Choose a tag to compare

Fix dependency vulnerability (#39)

Dependency fix

14 Apr 14:57
Compare
Choose a tag to compare

Fix dependency vulnerability (#38)

Bug fix

14 Jul 19:30
Compare
Choose a tag to compare

Fix to TypeScript declaration file (#35)

Version 3

11 Jul 12:30
Compare
Choose a tag to compare

For version 3 there are no breaking changes to the dummy-json api, only backwards-compatible additions, however the underlying dependencies for number and date formatting have been bumped by major versions which may affect the generated output. If you are relying on dummy-json for mocks in tests then this might cause them to break. For this reason dummy-json has been bumped by a major version.

New features:

  • Formalised the syntax for the random repeat block helper: {{#repeat min=4 max=8}} ... {{/repeat}}
  • The lorem helper now allows a random number of words to be generated: {{lorem min=10 max=20}}
  • The hexColor helper now supports an optional leading hash symbol {{hexColor withHash=false}}
  • Added TypeScript declaration file

New helpers:

Bug fixes:

  • Bug with spaces in email when using custom names (#30)

Misc updates:

  • Updated list of countries
  • Minor update to the latest version of Handlebars
  • Major update to the number and date formatting dependencies
  • Major update to the random number generator dependency