- βοΈ doc updates
- π when fixing a bug
- π when making general improvements
- β when adding tests
- β¬οΈ when upgrading dependencies
- π when adding new features
- β¬οΈ Update all core deps
- π Include type defs in dependencies
- π Fix upstream type issue with default export
- β¬οΈ Update all deps
- β¬οΈ Update all deps
- β¬οΈ 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