2.4 KiB
2.4 KiB
Changelog
All notable changes to the restloom packages are documented here. The packages are versioned together.
The format is based on Keep a Changelog, and the packages follow Semantic Versioning.
[Unreleased]
[0.4.0] - 2026-11-03
Added
- A top-level
writeoption turns writes on for every exposed table at once:write: true, or{ create, update, delete, bulk }. A resource's ownwritereplaces it, and views stay read-only unless their resource allows writes. - Every write example in the docs states its status, and the security page describes sensitive columns and how to serve one.
[0.3.1] - 2026-11-03
Changed
- Each dialect's driver (
pg,mysql2,mssql,better-sqlite3) is an optional peer dependency: you pass the driver object in, so npm no longer installs one you did not choose. A dialect works with any object offering the driver's API, the SQLite one with sql.js in a browser for example. - The docs use a to-do app as their example schema.
[0.3.0] - 2026-11-02
Added
matchandimatchregular expression filters, on Postgres and MySQL; SQLite and SQL Server answerunsupported.ov,csandcdfilters on Postgres array columns.- GET procedures (
method: 'GET'): arguments from the query string, run read-only.
[0.2.0] - 2026-11-02
Added
Prefer: count=exact(orestimated) counts a list, as thecountparameter does.- A declared procedure's function is read wherever it lives, not only in an exposed schema.
Changed
Dialect.introspecttakes the declared functions asfunctions.
[0.1.0] - 2026-11-02
Added
@crudy/restloom: discovery from the catalog, relations from foreign keys and junction tables, the read grammar, the overridable SQL renderer,createRESTand a Nodehttplistener.- Writes: create, update and delete by key, bulk by filter where enabled, scope applied, rows read back with
Prefer: return=representation. - Procedures: database functions at declared paths, arguments checked by name and type.
@crudy/restloom-postgres: the Postgres dialect.@crudy/restloom-mysql,@crudy/restloom-mssqland@crudy/restloom-sqlite: MySQL 8, SQL Server 2022 and SQLite dialects, each passing the conformance suite.@crudy/restloom-fastifyand@crudy/restloom-express: framework adapters.