- Fix #57 - Fix
select
root model fields not being respected when related fields are specified
- Set transaction parameter to optional PR #54
- Add jsonb attribute filtering PR #37
- Fix #51
- Fix #47
- Change ci platform from travisci to circleci
- Optimized the sql query so that belongsTo and hasOne relations both perform similarly when filtering
- Added support for Node v14 PR #34
- Optimized the sql query so that when only joining onto belongsTo relations, it doesn't create a separate filter query. This significantly improves performance in some specific use cases.
- Exported the
getPropertiesFromExpression
function on the main interface
I've made this a major version bump due to the Typescript update, and the removal of Node version 8 support. There are no new features additions though, so no need for migration.
- Remove support for Node.js 8.x.x (only supports v10 and v12 at the moment)
- Refactor main codebase to Typescript
- Implement precommit hooks for eslint and prettier
- Updated some dev dependencies
- Update to objection 2.1.2
- Fix incorrect documentation around aggregations
- Update dev dependencies
- Fix bug when aggregating on a base model with a composite id
- Add aggregations feature
- Fix bug with count
- Tests now run with sqlite, postgresql and msyql drivers
- Fix bug with ambiguous column name
- Fix bug with order expression spaces
- Tidy up eslint configuration
- Can now use models which have composite id keys
- Allow filtering on related models on the root model and eagerly loaded models
- Operators can now be applied before and after a property name
- Added filtering using nested or/and logical expressions
- Added object-notation for eager loading and filtering