- ✏️ doc updates
- 🐛 when fixing a bug
- 🚀 when making general improvements
- ✅ when adding tests
- ⬆️ when upgrading dependencies
- 🎉 when adding new features
- ⬆️ Update all deps
- 🚀 Use @types/express@5 TS definitions
- ⬆️ Update all deps
- 🚀 Add back Type.Any() for api.js
- 🚀 Ignore
Type.Any
orType.Unknown
- :data: Don't validate API response body
- :data: Enfoce
res.json
with AJV
- 🐛 Properties that are not defined in the Schema are always removed
- 🐛 Switch to AJV for ability to cast
- 🐛 Fix router verbs
- 🚀 Add Response Body Type
- 🚀 Remove skipLibCheck for further TS checking
- 🚀 Add a couple internal types that threw from calling lib
- 🚀 Add types to blueprint and take direct function
- 🐛 Differentiate
main
andtypes
in package.json
- 🐛 Include dist files in npm bundle
- 🚀 Very rough support for Typescript based routes
- 🚀 Add support for
private
key which will hide endpoint in swagger
- 🚀 Coerce types on output
- 🚀 Use Defaults in response middleware
- 🚀 Only attempt to load js and ts files
- 🚀 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
- 🐛 Fix loads call & add
Promise
to ESLint
- 🚀 Load imports faster by using an async call
- :data: Remove APIDoc support in favour of OpenAPI Route
- 🐛 Explicit AJV strict: false
- 🎉 Update Core Deps
- 🎉 Add support for inline JSON Schemas
- 🎉 Add experimental
blueprint()
function
- ⬆️
res.json
will automatically serialize Generic objects
- 🎉 Preliminary support for automatically generated an APIDoc definitions file
- 🐛 Only validate response on 200 status
- 🚀 Remove PublicError class to it's own package
- 🚀
Schema
is now exposed as the default
- 🚀 Remove additional properties if they are not present in
res
andadditionalProperties: false
is set
- 🚀 Support
URL
inSchema.load
- 🎉 Logging and body parsing enabled by default
- 🚀 Add ability to take a
URL
as a schemas directory
- ⬆️ Update base deps
- 🎉 Support casting query param arrays into
integer
,number
, orboolean
- ⬆️ Update base deps
- 🎉 Add
load()
function for loading routes dir
- 🐛 Ensure
default: false
is still applied - ⬆️ Update base deps
- ✅ Update schema validator to latest version (AJV 8)
- 🚀 Remove
got
in favour offetch
- 🚀 Add automated releases
- 🐛 Internal schema path
- 🐛 Internal schema path
- 🚀 Add
.main
property to package.json
- 🚀 Update to ES Module System
- 🎉 Add
schema.not_found()
- ⬆️ Update base deps
- 🚀 Name exports explicitly instead of returning object for ES module compat.
- 🐛 Fix a status code error handling bug which would crash express
- :arrow_Up: Update Base Deps
- ⬆️ Update Base Deps
- 🚀 Remove babel in favour of ESLint's new ECMA13 support
- 🎉 Add support for errors with
status
set from external libraries (IE OpenAddresses/tilebase)
- 🎉 Add more detailed schema error messages
- 🎉 Add support for populating
default
keys in schema - ⬆️ General Dep Update
- 🐛 Check for schema in library before looking for schema in calling project
- 🚀 Intial Release