Skip to content

Releases: remult/remult

v0.22.8

27 Sep 10:03
Compare
Choose a tag to compare

What's Changed

  • Fixed an issue with rest call that had both and & or
  • Fixed an issue regarding the usage of ManyToOne fields as part of the id

New Contributors

Full Changelog: v0.22.7...v0.22.8

v0.22.7

18 Sep 07:16
Compare
Choose a tag to compare
  • Fixed max stack reached in case of reference to self
  • Improved graphql one to many relations
  • Fixed live-query issue with complex filters
  • Refactored tests to use vitest, and latest typescript version
  • Fixed issue with postgres schema builder
  • Fixed schema build to support table name with schema name
  • Cleaned up code and removed angular dependency

v0.22.6

10 Aug 14:48
Compare
Choose a tag to compare

What's Changed

  • Implemented $contains for mongo
  • Implemented contains for graphql

Full Changelog: v0.22.5...v0.22.6

v0.22.5

09 Aug 15:20
Compare
Choose a tag to compare

Full Changelog: v0.22.4...v0.22.5

v0.22.4

03 Aug 05:50
Compare
Choose a tag to compare
  • Fixed an issue where an update with only a few fields, would update all other fields to their default values.

Full Changelog: v0.22.3...v0.22.4

v0.22.3

02 Aug 14:49
Compare
Choose a tag to compare
  • Fixed an issue with the many-to-one relation where the 'many' table did not store the ID as a string in cases where the 'one' table's ID column was not an integer
  • Added tests for MariaDB and fixed issues

v0.22.2

30 Jul 06:45
Compare
Choose a tag to compare
  • Fixed #216 wrong date type saved on update

Full Changelog: v0.22.1...v0.22.2

v0.22.1

25 Jul 05:27
Compare
Choose a tag to compare

Fixed issue #215 - DisableTransactions in MongoDB, debugging Cosmos DB for MongoDB

Full Changelog: v0.22.0...v0.22.1

v0.22.0

16 Jul 12:24
Compare
Choose a tag to compare
  • Added ToJson and FromJson methods the the Repository object. These are extremely useful in the context of SSR (next etc...) where you need to send plain json over the wire, but still want to have dates and other cool stuff in your app
  • Fixed an issue with the many-to-one relation where the 'many' table did not store the ID as an 'integer' in cases where the 'one' table's ID column was an integer
  • Fixed issue where using displayValue or validate on a spread object, marked it as new, and always triggered a post call
  • Added Remult.run
  • isBackend will return true or false based on dataProvider.isProxy equal false or runningOnServer member
  • Backend method will call backend based on isBackend method,
  • Replaced deprecated cuid with paralleldrive/cuid2
  • Fixed an issue where when getDb was called without a remult parameter, it wouldn't use the default remult
  • Fixed liveQuery's apply changes to also support state that it's initial value is undefined.
  • Typescript 5 style decorators are now supported in development, but to deploy you still need experimentalDecorators .
    • Also, the decorators now do type checking, so if you put @fields.string() on a number, it'll give you an error
    • And - no longer need for the Generics in the decorators setting.
      • @Entity<Task>(...) is now @Entity(...)
      • @Fields.string<Task>(...) is now @Fields.string(...)
    • Why didn't we implement typescript 5 decorators in runtime? the implementation for that is not yet fully supported with tools such as esbuild etc... so implementing it is trying to hit a moving target.
      At this time we recommend using experimentalDecorator:false for development, to get the typing, but experimentalDecorator:true for deploying and functionality.
  • Added 404 on missing route for next app router - issue #211
  • Fixed an issue where live query would not unsubscribe automatically to a query that failed to fetch.
  • Fixed an issue where, when using the cache with findId or findFirst, and requesting to load fields, if the cache contained a row without those fields, it would return the cached row without those fields.
  • Fixed an issue where in a filter that contained multiple instances of the same custom filter, with an 'and' condition did not work correctly
  • Graphql Mutations now display validation errors in the graphql way

v0.21.1

25 Jun 17:25
Compare
Choose a tag to compare
  • Fixed issue with Field.Json fails to insert in case of array

Full Changelog: v0.21.0...v0.21.1