Skip to content

Commit

Permalink
Minor updates to changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
noam-honig committed Apr 8, 2024
1 parent d4bc636 commit 7ddf8ac
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ All notable changes to this project will be documented in this file.

## [0.26.0] 2024-04-08

### Features
## Features

- Added support for migrations. See [Migrations](https://remult.dev/docs/migrations.html).
- Added an `error` hook to `RemultServerOptions` that is called whenever there is an error in the API lifecycle. See [RemultServerOptions](https://remult.dev/docs/ref_remultserveroptions.html#error).
- Added `ForbiddenError` to the API, you can throw it anywhere in the request lifecycle to sdisplay a forbidden 401 error.
- Added [`@Fields.literal`] (https://remult.dev/docs/field-types.html#literal-fields-union-of-string-values) and [`@Fields.enum`](https://remult.dev/docs/field-types.html#enum-field).
- Added `ForbiddenError` to the API, you can throw it anywhere in the request lifecycle to display a forbidden 401 error.
- Added [`@Fields.literal`](https://remult.dev/docs/field-types.html#literal-fields-union-of-string-values) and [`@Fields.enum`](https://remult.dev/docs/field-types.html#enum-field).
- Added support for `better-sqlite3` without knex, see [Connection a Database](https://remult.dev/docs/quickstart.html#connecting-a-database).
- Added support for `bun:sqlite` [#387](https://github.com/remult/remult/issues/387#issuecomment-2030070423).
- Added a generic implementation for `sqlite` that can be easily extended to any provider.
Expand All @@ -18,7 +18,7 @@ All notable changes to this project will be documented in this file.
- 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
## 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.
Expand All @@ -27,7 +27,7 @@ All notable changes to this project will be documented in this file.
- 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
## Documentation Updates

- Added or rewrote the following articles:
- [Migrations](https://remult.dev/docs/migrations.html)
Expand All @@ -37,20 +37,20 @@ All notable changes to this project will be documented in this file.
- [Extensibility](https://remult.dev/docs/custom-options.html)
- Lots of `jsdocs` improvements

### Bug Fixes
## 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
## 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
## New Contributors

- @eylonshm made their first contribution in https://github.com/remult/remult/pull/376
- @daan-vdv made their first contribution in https://github.com/remult/remult/pull/397
Expand Down

0 comments on commit 7ddf8ac

Please sign in to comment.