Full-stack CRUD, simplified, with SSOT TypeScript entities
Full Changelog: https://github.com/remult/remult/compare/v0.26.8...v0.26.9
describeEntity
and describeBackendMethods
for better decorator-less supportFull Changelog: https://github.com/remult/remult/compare/v0.26.6...v0.26.7
Full Changelog: https://github.com/remult/remult/compare/v0.26.5...v0.26.6
updateMany
to receive a set
option, instead of second parameter for the setdbNamesOf
in entity sqlExpression
did not workFull Changelog: https://github.com/remult/remult/compare/v0.26.4...v0.26.5
getValueList
now supports @Fields.literal
& @Fields.enum
(on top of ValueListType
)Full Changelog: https://github.com/remult/remult/compare/v0.26.3...v0.26.4
Full Changelog: https://github.com/remult/remult/compare/v0.26.2...v0.26.3
Full Changelog: https://github.com/remult/remult/compare/v0.26.1...v0.26.2
Full Changelog: https://github.com/remult/remult/compare/v0.26.0...v0.26.1
error
hook to RemultServerOptions
that is called whenever there is an error in the API lifecycle. See RemultServerOptions.ForbiddenError
to the API, you can throw it anywhere in the request lifecycle to display a forbidden 401 error.@Fields.literal
and @Fields.enum
.better-sqlite3
without knex, see Connection a Database.bun:sqlite
#387.sqlite
that can be easily extended to any provider.apiPreprocessFilter
and backendPreprocessFilter
, see access control.Filter.getPreciseValues
, which returns a FilterPreciseValues
object containing the precise values for each property. see access control.updateMany
or deleteMany
without a filter - to protect against accidental deleting/updating all data.@Fields.number
& Fields.integer
that the value is a valid number.rawFilter
so it can now return the SQL where to be added to the command. see Leveraging Custom Filters for Enhanced Data Filtering
KnexDataProvider
now supports all execute
and createCommand
and can be used with any SqlDatabase
functionality.timestamptz
instead of timestamp
.@Fields.object
to text
(varchar max) instead of string 255 in knex
and sqlite
.jsdocs
improvementsrepo(Entity,dataProvider)
- where saving wasn't fired because of wrong isProxy
inference.ValueConverters
Number
fromInput
handle 0 as a valid value.updateMany
and deleteMany
to require a where
parameter: repo(Task).delete({ where: { completed: true } })
.getDb
to receive DataProvider
as a parameter instead of Remult
.where
key in the body - previously, it included the filter as the body itself.Full Changelog: https://github.com/remult/remult/compare/v0.25.8...v0.26.0
skipLibCheck: false
Full Changelog: https://github.com/remult/remult/compare/v0.25.7...v0.25.8