Releases: bouwe77/temba
v0.38.0
v0.37.0
New feature
Fixes #85
Next to configuring resources
as strings, you can now also configure them as extended objects, so you can provide extra info for better OpenAPI spec generation:
const config = {
resources: [
"movies",
{
"resourcePath": "people",
"singularName": "person",
"pluralName": "people",
}
]
}
With this config, your Temba API supports both the movies and people resources, and requesting any other resource will return a 404 Not Found
.
v0.36.0
New feature
Added Open API support for APIs that don't have any resources
configured.
The main difference from before is that the resource name in the request URL is now a path parameter. So if you use Swagger UI, before testing out a request you have to specify the resource name first.
v0.35.1
Update dependencies
- updating @typescript-eslint/eslint-plugin from ^7.2.0 to ^8.4.0
- updating @typescript-eslint/parser from ^7.2.0 to ^8.4.0
- updating prettier from ^3.2.5 to ^3.3.3
- updating supertest from ^6.3.4 to ^7.0.0
- updating tsc-alias from ^1.8.8 to ^1.8.10
- updating typescript from ^5.4.2 to ^5.5.4
- updating vitest from ^1.4.0 to ^2.0.5
- updating ajv from ^8.12.0 to ^8.17.1
- updating express from ^4.18.3 to ^4.19.2
v0.35.0
New feature
OpenAPI spec for APIs created with Temba, see also #74
This is a first version, some more iterations to come.
The limitation of this first version is that it only works if you explicitely configured resources
for your API.
As this OpenAPI feature is still a work in progress, the Temba docs (readme) will be updated later.
v0.34.2
Dependency updates
- updating @typescript-eslint/eslint-plugin from ^7.2.0 to ^8.4.0
- updating @typescript-eslint/parser from ^7.2.0 to ^8.4.0
- updating prettier from ^3.2.5 to ^3.3.3
- updating supertest from ^6.3.4 to ^7.0.0
- updating tsc-alias from ^1.8.8 to ^1.8.10
- updating typescript from ^5.4.2 to ^5.5.4
- updating vitest from ^1.4.0 to ^2.0.5
- updating ajv from ^8.12.0 to ^8.17.1
- updating express from ^4.18.3 to ^4.19.2