Releases: remult/remult
Releases · remult/remult
v0.22.8
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
- 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
What's Changed
- Implemented $contains for mongo
- Implemented contains for graphql
Full Changelog: v0.22.5...v0.22.6
v0.22.5
- Fixed issue #220
Full Changelog: v0.22.4...v0.22.5
v0.22.4
- 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
- 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
- Fixed #216 wrong date type saved on update
Full Changelog: v0.22.1...v0.22.2
v0.22.1
Fixed issue #215 - DisableTransactions in MongoDB, debugging Cosmos DB for MongoDB
Full Changelog: v0.22.0...v0.22.1
v0.22.0
- Added
ToJson
andFromJson
methods the theRepository
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 aremult
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 usingexperimentalDecorator:false
for development, to get the typing, butexperimentalDecorator: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
- Fixed issue with
Field.Json
fails to insert in case of array
Full Changelog: v0.21.0...v0.21.1