Skip to content

Latest commit

 

History

History
241 lines (128 loc) · 4.16 KB

CHANGELOG.md

File metadata and controls

241 lines (128 loc) · 4.16 KB

CHANGELOG

Emoji Cheatsheet

  • ✏️ doc updates
  • 🐛 when fixing a bug
  • 🚀 when making general improvements
  • ✅ when adding tests
  • ⬆️ when upgrading dependencies
  • 🎉 when adding new features

Version History

v10.10.0

  • ⬆️ Update all deps
  • 🚀 Use @types/express@5 TS definitions

v10.9.0

  • ⬆️ Update all deps

v10.8.1

  • 🚀 Add back Type.Any() for api.js

v10.8.0

  • 🚀 Ignore Type.Any or Type.Unknown

v10.7.1

  • :data: Don't validate API response body

v10.7.0

  • :data: Enfoce res.json with AJV

v10.6.0

  • 🐛 Properties that are not defined in the Schema are always removed

v10.5.0

  • 🐛 Switch to AJV for ability to cast

v10.4.0

  • 🐛 Fix router verbs

v10.3.0

  • 🚀 Add Response Body Type

v10.2.0

  • 🚀 Remove skipLibCheck for further TS checking
  • 🚀 Add a couple internal types that threw from calling lib

v10.1.0

  • 🚀 Add types to blueprint and take direct function

v10.0.2

  • 🐛 Differentiate main and types in package.json

v10.0.1

  • 🐛 Include dist files in npm bundle

v10.0.0

  • 🚀 Very rough support for Typescript based routes

v9.4.0

  • 🚀 Add support for private key which will hide endpoint in swagger

v9.3.0

  • 🚀 Coerce types on output

v9.2.0

  • 🚀 Use Defaults in response middleware

v9.1.0

  • 🚀 Only attempt to load js and ts files

v9.0.0

  • 🚀 Only JSON parse body if body of JSON Schema is set. If body is not set it is up to the caller to parse the body

v8.1.1

  • 🐛 Fix loads call & add Promise to ESLint

v8.1.0

  • 🚀 Load imports faster by using an async call

v8.0.0

  • :data: Remove APIDoc support in favour of OpenAPI Route

v7.6.1

  • 🐛 Explicit AJV strict: false

v7.6.0

  • 🎉 Update Core Deps

v7.5.0

  • 🎉 Add support for inline JSON Schemas

v7.4.0

  • 🎉 Add experimental blueprint() function

v7.3.0

  • ⬆️ res.json will automatically serialize Generic objects

v7.2.0

  • 🎉 Preliminary support for automatically generated an APIDoc definitions file

v7.1.0

  • 🐛 Only validate response on 200 status

v7.0.0

  • 🚀 Remove PublicError class to it's own package
  • 🚀 Schema is now exposed as the default

v6.0.0

  • 🚀 Remove additional properties if they are not present in res and additionalProperties: false is set

v5.1.0

  • 🚀 Support URL in Schema.load

v5.0.0

  • 🎉 Logging and body parsing enabled by default

v4.4.0

  • 🚀 Add ability to take a URL as a schemas directory

v4.3.0

  • ⬆️ Update base deps
  • 🎉 Support casting query param arrays into integer, number, or boolean

v4.2.0

  • ⬆️ Update base deps
  • 🎉 Add load() function for loading routes dir

v4.1.0

  • 🐛 Ensure default: false is still applied
  • ⬆️ Update base deps

v4.0.0

  • ✅ Update schema validator to latest version (AJV 8)
  • 🚀 Remove got in favour of fetch

v3.1.3

  • 🚀 Add automated releases

v3.1.2

  • 🐛 Internal schema path

v3.1.1

  • 🐛 Internal schema path

v3.0.1

  • 🚀 Add .main property to package.json

v3.0.0

  • 🚀 Update to ES Module System

v2.4.0

  • 🎉 Add schema.not_found()

v2.3.4

  • ⬆️ Update base deps

v2.3.3

  • 🚀 Name exports explicitly instead of returning object for ES module compat.

v2.3.2

  • 🐛 Fix a status code error handling bug which would crash express
  • :arrow_Up: Update Base Deps

v2.3.1

  • ⬆️ Update Base Deps

v2.3.0

  • 🚀 Remove babel in favour of ESLint's new ECMA13 support

v2.2.0

  • 🎉 Add support for errors with status set from external libraries (IE OpenAddresses/tilebase)

v2.1.0

  • 🎉 Add more detailed schema error messages

v2.0.0

  • 🎉 Add support for populating default keys in schema
  • ⬆️ General Dep Update

v1.0.1

  • 🐛 Check for schema in library before looking for schema in calling project

v1.0.0

  • 🚀 Intial Release