remult

Full-stack CRUD, simplified, with SSOT TypeScript entities

MIT License

Downloads
18.3K
Stars
2.7K
Committers
36

Bot releases are hidden (Show)

remult - v0.26.21 Latest Release

Published by noam-honig 3 months ago

  • Fixed a bug with startsWith and endsWith worked like contains

Full Changelog: https://github.com/remult/remult/compare/v0.26.20...v0.26.21

remult - v0.26.20

Published by noam-honig 3 months ago

  • Added support for $not, $startsWith & $ endsWith

Full Changelog: https://github.com/remult/remult/compare/v0.26.19...v0.26.20

remult - v0.26.19

Published by noam-honig 3 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/remult/remult/compare/v0.26.18...v0.26.19

remult - v0.26.18

Published by noam-honig 3 months ago

What's Changed

Full Changelog: https://github.com/remult/remult/compare/v0.26.17...v0.26.18

remult - v0.26.17

Published by noam-honig 4 months ago

  • Added support for DuckDB #465

Full Changelog: https://github.com/remult/remult/compare/v0.26.16...v0.26.17

remult - v0.26.16

Published by noam-honig 4 months ago

What's Changed

  • Many improvements to remult-admin
  • HUGE thanks to @jycouet & @celikovic for their amazing work on remult-admin

New Contributors

Full Changelog: https://github.com/remult/remult/compare/v0.26.15...v0.26.16

remult - v0.26.15

Published by noam-honig 4 months ago

What's Changed

Full Changelog: https://github.com/remult/remult/compare/v0.26.14...v0.26.15

remult - v0.26.14

Published by noam-honig 4 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/remult/remult/compare/v0.26.13...v0.26.14

remult - v0.26.13

Published by yoni-rapoport 5 months ago

  • fix validators with args type-check error in ts 5.4
remult - v0.26.12

Published by noam-honig 5 months ago

  • Fixed an issue with stack overflow when calling withRemult from within getUser - relevant to next auth - session hook
  • The "static" withRemult will now use the dataProvider provided in the remultServer options by default
  • The "static" withRemult now supports promise of data provider etc...
  • Changed JSON storage to save JSON in a non-formatted way (condensed) and added a formatted option to control it. By default JsonFile storage is formatted
  • Improved error handling in the request lifecycle
remult - v0.26.11

Published by noam-honig 5 months ago

What's Changed

  • Fixed error in sqlite with reserved column names such as order etc...
  • #427 - Changed the retry on error 500, to 4 times instead of 50 or infinite that was before.
  • Potential breaking change #426 - Fixed to not trigger all relations to one load before saving and around read write json
  • Fixed error when id was not found in ArrayEntityDataProvider to include the entity name
  • Fixed filterToRaw to use the current database wrapIdentifier when none is provided.
  • Fixed endless retry on error 500 - now it'll retry 4 times 500ms apart.
  • Fixed error when sql expression sometimes translated wrongfully to a recursion error
  • Added support for Turso db

Full Changelog: https://github.com/remult/remult/compare/v0.26.9...v0.26.11

remult - v0.26.9

Published by noam-honig 6 months ago

What's Changed

  • Fix order by error with multiple id columns

Full Changelog: https://github.com/remult/remult/compare/v0.26.8...v0.26.9

remult - v0.26.7

Published by noam-honig 6 months ago

  • Fixed issue with id being empty in some cases in the saved hook
  • Added describeEntity and describeBackendMethods for better decorator-less support

Full Changelog: https://github.com/remult/remult/compare/v0.26.6...v0.26.7

remult - v0.26.6

Published by noam-honig 6 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/remult/remult/compare/v0.26.5...v0.26.6

remult - v0.26.5

Published by noam-honig 6 months ago

What's Changed

  • Breaking change - changed the api of updateMany to receive a set option, instead of second parameter for the set
  • Fixed issue where dbNamesOf in entity sqlExpression did not work

New Contributors

Full Changelog: https://github.com/remult/remult/compare/v0.26.4...v0.26.5

remult - v0.26.4

Published by noam-honig 6 months ago

What's Changed

  • 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

remult - v0.26.3

Published by noam-honig 6 months ago

What's Changed

Full Changelog: https://github.com/remult/remult/compare/v0.26.2...v0.26.3

remult - v0.26.2

Published by noam-honig 6 months ago

What's Changed

Full Changelog: https://github.com/remult/remult/compare/v0.26.1...v0.26.2

remult - v0.26.1

Published by noam-honig 6 months ago

What's Changed

Full Changelog: https://github.com/remult/remult/compare/v0.26.0...v0.26.1

remult - v0.26.0

Published by noam-honig 6 months ago

Features

  • Added support for migrations. See Migrations.
  • Added an error hook to RemultServerOptions that is called whenever there is an error in the API lifecycle. See RemultServerOptions.
  • Added ForbiddenError to the API, you can throw it anywhere in the request lifecycle to display a forbidden 401 error.
  • Added @Fields.literal and @Fields.enum.
  • Added support for better-sqlite3 without knex, see Connection a Database.
  • Added support for bun:sqlite #387.
  • Added a generic implementation for sqlite that can be easily extended to any provider.
  • Added apiPreprocessFilter and backendPreprocessFilter, see access control.
  • Added a way to analyze filter and query it - Filter.getPreciseValues, which returns a FilterPreciseValues object containing the precise values for each property. see access control.
  • Added an exception when calling updateMany or deleteMany without a filter - to protect against accidental deleting/updating all data.
  • Added updateMany and deleteMany to OpenAPI (swagger) & graphql

Improvements

  • Added validation for @Fields.number & Fields.integer that the value is a valid number.
  • Added "basic" supports for environments where async hooks doesn't work well - mostly for web based dev machines.
  • Improved the API of 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.
  • Changed postgres schema builder to use timestamptz instead of timestamp.
  • Changed the default storage of @Fields.object to text (varchar max) instead of string 255 in knex and sqlite.

Documentation Updates

Bug Fixes

  • Fixed an issue with entity ids that included date.
  • Fixed an issue with repo(Entity,dataProvider) - where saving wasn't fired because of wrong isProxy inference.
  • Fixed an issue with chaining of validators that in some cases caused a validator to be overwritten.
  • Fixed ValueConverters Number fromInput handle 0 as a valid value.

Breaking Changes

  • Changed the signature of updateMany and deleteMany to require a where parameter: repo(Task).delete({ where: { completed: true } }).
  • Changed the signature of getDb to receive DataProvider as a parameter instead of Remult.
  • Changed the POST REST API queries to include the filter under the where key in the body - previously, it included the filter as the body itself.

New Contributors

Full Changelog: https://github.com/remult/remult/compare/v0.25.8...v0.26.0