- Added support for multiple
or
filters through use of a newand
field
- Fixed nullString for json filtering
- Fixed issue with nullString for filter by not null
- Replaced
.
with_
for join tables relationship filters
- Added support for specifying a different null string other than 'null'
- Bumped lodash version, regenerated lock files
- Allowing a string to be given for group, automatically converting it to an array of strings
- Fixed bug for nesting
or
filtering with relationship filters. The joins for the relationships were not being added to the query.
- Bug fix for aggregate functions
- Allowed for bookshelf-page plugin from core in Bookshelf 1.* to be used, no longer overwriting the plugin.
- Fixed bug for
or
filtering. Filters that were intended forand
was switched toor
when an or filter was present
- Added support for
or
filtering
- Added support for passing in an array for filtering (previous support was only comma separated string)
- Fixed issue where including a relationship with a query build that did not have a select clause, did not select
*
, but intead only the required id columns
- Fixed issue with belongsTo().through() where the foreign key is not set and a default key needs to be created
- Fixed issue where
type
parameter was not being used - Fixed issue with selection columns on a relationship of type belongsTo().through()
- Ensure the original options parameter does not get modified by deep cloning before processing
- Updated README
- Added ability to select fields on an included relationship n-levels deep by use of the
fields
parameter - Updated jsonb
like
filtering to support gin indexing
- Changed 'like' queries to use ilike, for gin indexing support
- Added support for JSONB filtering/sorting/selecting (Postgres only)
- Extended tests to support postgres
- Fixed issue with filtering by strings that contain quotes
- Fixed bugs with formatting columns for database
- Fixed bugs with "null or" filtering
- Added filtering for null and not null values
- Fixed relation filtering query bugs
- Support for filtering on n-level deep relationships
- Support for sorting on n-level deep relationships
- Support for filtering operators (like, gt, gte, lt, lte, not)
- Resolves an issue where sorting on a multi-word column name (ex: startsAt) doesn't work properly.
- Botched NPM publish. Use 0.6.2.
- Reverted previous ability to pass in your own
withRelated
options as it was stupid and more complicated than it needed to be. Instead, you can just override theinclude
parameter to be a Knex function with the relationship name as the key.
- Added the ability to pass in your own
withRelated
options to Bookshelf and have it override a relation with the same name that was passed viainclude
. This is useful when you may need to do something with a relation that is out of the realm of Bookshelf's defaults. - Dependency updates
- Fixed an issue where multiple filters were not applied properly
- Fixed an issue where multiple filters were not applied properly
- Botched release! Upgrade to 0.3.3 immediately!
- Fixed an issue where ambiguous columns could cause an error
- Added tests/documentation on disabling paging for a specific call.
- #4 [BUGFIX/ENHANCEMENT] Removes unreliable, automatic detection of collections.