The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
#Β Changes:
- Remove warnings from Swift 5
# Fixed:
- Support for Single quote around .env values
# Fixed:
- Fix dependencies
# Changes since 0.2.2:
### New Model functions:
- `query(by:, on:, withSoftDeleted:)` to create a query for the model and apply a filter of criteria.
- `findAll(sortBy:, on:, withSoftDeleted:)` to find all models and apply some sorting criteria.
- `find(by:, sortBy:, on:, withSoftDeleted:)` to find models and apply some filters and sorting criteria.
- `findOne(by:, on:, withSoftDeleted:)` to find first model that matches the filters criteria.
- `count(on:, withSoftDeleted:)` to count the number of registers of the model.
- `count(by:, on:, withSoftDeleted:)` to count the number of registers of the model that matches some criteria.
### New sort methods:
- `sort(by:)` to apply some sorting criteria.
# Changes:
- Fix Request filter extensions
# Changes:
- Improved params extraction to avoid problems with values with `:`
# Changes since 0.1.4:
- New Request extensions to build `FilterOperator` and `QuerySort` from query params (Usefull if you use a Repository system):
- `filter(keyPath:, at parameter:)` to build FilterOperator based in query params
- `sort(keyPath:, at queryParam:, as parameter:)` to build QuerySort based in query params
- `sort(keyPath:, at queryParam:, as parameter:, default direction:)` to build QuerySort based in query params
- `sort(keyPath:, as parameter:)` to build QuerySort based in query params
- `sort(keyPath:, as parameter:, default direction:)` to build QuerySort based in query params
# Changes since 0.1.3:
- Fix bug when try to filter a optional string field using `ct`, `nct`, `sw`, `nsw`, `ew`, `new`
# Changes since 0.1.2:
- Improved `sort` method with default direction argument.