# Change Log

All notable changes to this project will be documented in this file
automatically by Versionist. DO NOT EDIT THIS FILE MANUALLY!
This project adheres to [Semantic Versioning](http://semver.org/).

## 4.5.3 - 2020-05-19

* Enforce strict type checking [Pagan Gazzard]

## 4.5.2 - 2020-05-18


<details>
<summary> Dev: Update to @balena/sbvr-parser 1.x [Pagan Gazzard] </summary>

> ### sbvr-parser-1.0.1 - 2020-05-11
> 
> * Update to mocha 7.x [Pagan Gazzard]

> ### sbvr-parser-1.0.0 - 2020-05-08
> 
> * Convert coffeescript tests to javascript [Pagan Gazzard]
> * Drop support for node 6/8 [Pagan Gazzard]
> * Rename to @balena/sbvr-parser [Pagan Gazzard]

> ### sbvr-parser-0.2.11 - 2020-05-08
> 
> * CI: Add nodejs 14 to the test matrix [Pagan Gazzard]
> * CI: Remove circleci publishing in favor of balenaCI [Pagan Gazzard]

> ### sbvr-parser-0.2.10 - 2020-05-08
> 
> * Update to to @balena/sbvr-types [Pagan Gazzard]

> ### sbvr-parser-0.2.9 - 2020-05-08
> 
> * Update to @balena/lint 5.x [Pagan Gazzard]
</details>

## 4.5.1 - 2020-05-18


<details>
<summary> Dev: Update to @balena/lf-to-abstract-sql 4.x [Pagan Gazzard] </summary>

> ### lf-to-abstract-sql-4.0.0 - 2020-05-11
> 
> * Include linting as part of the tests [Pagan Gazzard]
> * Convert from UMD module to commonjs module [Pagan Gazzard]
> * Rename to @balena/lf-to-abstract-sql [Pagan Gazzard]
> * Drop support for node 8 [Pagan Gazzard]
> * Move @balena/sbvr-parser to production dependencies [Pagan Gazzard]
</details>

## 4.5.0 - 2020-05-12


<details>
<summary> Update to @balena/odata-parser 2.x [Pagan Gazzard] </summary>

> ### odata-parser-2.0.0 - 2020-05-11
> 
> * Rename to @balena/odata-parser [Pagan Gazzard]
> * Update to @balena/lint 5.x [Pagan Gazzard]
> * Drop support for nodejs 8 [Pagan Gazzard]
> * CI: Add nodejs 14 to the test matrix [Pagan Gazzard]
> * CI: Remove circleci publishing in favor of balenaCI [Pagan Gazzard]
</details>

## 4.4.7 - 2020-05-12


<details>
<summary> Dev: Update lf-to-abstract-sql to 3.x [Pagan Gazzard] </summary>

> ### lf-to-abstract-sql-3.2.6 - 2020-05-11
> 
> 
<details>
<summary> Update to @balena/sbvr-parser [Pagan Gazzard] </summary>

>> #### sbvr-parser-1.0.1 - 2020-05-11
>> 
>> * Update to mocha 7.x [Pagan Gazzard]

>> #### sbvr-parser-1.0.0 - 2020-05-08
>> 
>> * Convert coffeescript tests to javascript [Pagan Gazzard]
>> * Drop support for node 6/8 [Pagan Gazzard]
>> * Rename to @balena/sbvr-parser [Pagan Gazzard]

>> #### sbvr-parser-0.2.11 - 2020-05-08
>> 
>> * CI: Add nodejs 14 to the test matrix [Pagan Gazzard]
>> * CI: Remove circleci publishing in favor of balenaCI [Pagan Gazzard]

>> #### sbvr-parser-0.2.10 - 2020-05-08
>> 
>> * Update to to @balena/sbvr-types [Pagan Gazzard]

>> #### sbvr-parser-0.2.9 - 2020-05-08
>> 
>> * Update to @balena/lint 5.x [Pagan Gazzard]

>> #### sbvr-parser-0.2.8 - 2020-04-27
>> 
>> * Reduce lodash usage [Pagan Gazzard]
</details>

> 

> ### lf-to-abstract-sql-3.2.5 - 2020-05-08
> 
> * CI: Add nodejs 14 to the test matrix [Pagan Gazzard]

> ### lf-to-abstract-sql-3.2.4 - 2020-05-08
> 
> 
<details>
<summary> Update to @balena/sbvr-types 3.0.0 [Pagan Gazzard] </summary>

>> #### sbvr-types-3.0.0 - 2020-05-08
>> 
>> * Convert `fetchProcessing` to synchronous functions [Pagan Gazzard]
>> * Update to bcrypt 4.x [Pagan Gazzard]
>> * Enable strict tsconfig [Pagan Gazzard]
>> * Make use of `import type` where relevant [Pagan Gazzard]
>> * Update to balena-lint 5.x [Pagan Gazzard]
>> * Rename to @balena/sbvr-types [Pagan Gazzard]
>> * Drop node 8 support [Pagan Gazzard]
>> * Update tsconfig target to es2018 [Pagan Gazzard]
>> * Convert all returned promises to native promises instead of bluebird [Pagan Gazzard]

>> #### sbvr-types-2.0.9 - 2020-05-07
>> 
>> * Switch to balena-lint [Pagan Gazzard]

>> #### sbvr-types-2.0.8 - 2020-05-05
>> 
>> * Improve typings [Pagan Gazzard]

>> #### sbvr-types-2.0.7 - 2020-04-30
>> 
>> * Remove unused imports [Pagan Gazzard]

>> #### sbvr-types-2.0.6 - 2020-04-27
>> 
>> * Remove production lodash dependency [Pagan Gazzard]
</details>

> 

> ### lf-to-abstract-sql-3.2.3 - 2020-04-20
> 
> * Switch to native some [Pagan Gazzard]
> * Switch to native findIndex [Pagan Gazzard]
> * Switch to native every [Pagan Gazzard]
> * Switch to native find [Pagan Gazzard]
> * Switch to native forEach where possible [Pagan Gazzard]
> * Switch to native includes [Pagan Gazzard]
> * Switch to native array type checking [Pagan Gazzard]
> * Switch to native string type checking [Pagan Gazzard]
> * Switch to native Object.assign [Pagan Gazzard]

> ### lf-to-abstract-sql-3.2.2 - 2020-04-16
> 
> * Always treat numbered terms as if they're used [Pagan Gazzard]

> ### lf-to-abstract-sql-3.2.1 - 2020-04-14
> 
> 
<details>
<summary> Update dependencies [Pagan Gazzard] </summary>

>> #### sbvr-types-2.0.5 - 2020-03-17
>> 
>> * CI: Remove circleci deploy in favor of balenaCI [Pagan Gazzard]
>> * CI: Add node 12 to the test matrix [Pagan Gazzard]
>> * CI: Remove node 6 from the test matrix [Pagan Gazzard]
>> * Update dependencies and use resin-lint for automatic lint fixes [Pagan Gazzard]

>> #### sbvr-types-2.0.4 - 2020-01-22
>> 
>> * Add node 12 to the test matrix [Pagan Gazzard]
>> * Update dependencies [Pagan Gazzard]
>> * Add CODEOWNERS [Pagan Gazzard]

>> #### sbvr-parser-0.2.7 - 2020-01-22
>> 
>> * Add CODEOWNERS [Pagan Gazzard]

>> #### sbvr-parser-0.2.6 - 2019-12-30
>> 
>> * Add support for using `of` instead of `that is of` [Pagan Gazzard]

>> #### sbvr-parser-0.2.5 - 2019-12-30
>> 
>> * Add support for `a given` as a universal quantification [Pagan Gazzard]

>> #### sbvr-parser-0.2.4 - 2019-12-27
>> 
>> * Allow including terms as part of a verb by using `[]` brackets [Pagan Gazzard]
</details>

> 

> ### lf-to-abstract-sql-3.2.0 - 2020-04-13
> 
> * Only add the destination of a link table if it's actually necessary [Pagan Gazzard]

> ### lf-to-abstract-sql-3.1.2 - 2020-02-26
> 
> * CI: Remove circleci publishing in favor of balenaCI [Pagan Gazzard]

> ### lf-to-abstract-sql-3.1.1 - 2020-01-22
> 
> * Add CODEOWNERS [Pagan Gazzard]

> ### lf-to-abstract-sql-3.1.0 - 2019-11-01
> 
> * Add support for enum definitions on fact types [Pagan Gazzard]

> ### lf-to-abstract-sql-3.0.2 - 2019-06-14
> 
> * Fix `updateModifiedAt` formatting [Pagan Gazzard]

> ### lf-to-abstract-sql-3.0.1 - 2019-05-08
> 
> * Add node 12 tests [Pagan Gazzard]
> * Add repo.yml for upstream changelogs [Pagan Gazzard]
> * Add .versionbot/CHANGELOG.yml for downstream changelogs [Pagan Gazzard]

> ### lf-to-abstract-sql-3.0.0 - 2019-03-08
> 
> * Add automatic modified at fields [Pagan Gazzard]
</details>

## 4.4.6 - 2020-05-08


<details>
<summary> Update to @balena/sbvr-types 3.0.0 [Pagan Gazzard] </summary>

> ### sbvr-types-3.0.0 - 2020-05-08
> 
> * Convert `fetchProcessing` to synchronous functions [Pagan Gazzard]
> * Update to bcrypt 4.x [Pagan Gazzard]
> * Enable strict tsconfig [Pagan Gazzard]
> * Make use of `import type` where relevant [Pagan Gazzard]
> * Update to balena-lint 5.x [Pagan Gazzard]
> * Rename to @balena/sbvr-types [Pagan Gazzard]
> * Drop node 8 support [Pagan Gazzard]
> * Update tsconfig target to es2018 [Pagan Gazzard]
> * Convert all returned promises to native promises instead of bluebird [Pagan Gazzard]

> ### sbvr-types-2.0.9 - 2020-05-07
> 
> * Switch to balena-lint [Pagan Gazzard]

> ### sbvr-types-2.0.8 - 2020-05-05
> 
> * Improve typings [Pagan Gazzard]
</details>

## 4.4.5 - 2020-05-05


<details>
<summary> Optimize `getRelationships` [Pagan Gazzard] </summary>

> ### abstract-sql-compiler-6.13.4 - 2020-04-30
> 
> * Reduce lodash usage [Pagan Gazzard]

> ### abstract-sql-compiler-6.13.3 - 2020-04-14
> 
> 
<details>
<summary> Update dependencies [Pagan Gazzard] </summary>

>> #### sbvr-types-2.0.5 - 2020-03-17
>> 
>> * CI: Remove circleci deploy in favor of balenaCI [Pagan Gazzard]
>> * CI: Add node 12 to the test matrix [Pagan Gazzard]
>> * CI: Remove node 6 from the test matrix [Pagan Gazzard]
>> * Update dependencies and use resin-lint for automatic lint fixes [Pagan Gazzard]

>> #### odata-parser-1.4.1 - 2020-04-10
>> 
>> * Update dependencies [Pagan Gazzard]

>> #### odata-parser-1.4.0 - 2020-03-02
>> 
>> * ✨: Add support for canAccess method call on resource [Andreas Fitzek]
</details>

> 
</details>

## 4.4.4 - 2020-04-27

* Reduce lodash usage [Pagan Gazzard]

## 4.4.3 - 2020-04-20

* Switch to native forEach where possible [Pagan Gazzard]
* Switch to native map [Pagan Gazzard]
* Switch to native find [Pagan Gazzard]
* Switch to native some [Pagan Gazzard]
* Switch to native includes [Pagan Gazzard]
* Switch to native string type check [Pagan Gazzard]
* Switch to native number type check [Pagan Gazzard]
* Switch to native array type check [Pagan Gazzard]

## 4.4.2 - 2020-04-14

* Fix linting and make use of import type [Pagan Gazzard]

## 4.4.1 - 2020-04-14


<details>
<summary> Update dependencies [Pagan Gazzard] </summary>

> ### sbvr-parser-0.2.7 - 2020-01-22
> 
> * Add CODEOWNERS [Pagan Gazzard]

> ### sbvr-parser-0.2.6 - 2019-12-30
> 
> * Add support for using `of` instead of `that is of` [Pagan Gazzard]

> ### sbvr-parser-0.2.5 - 2019-12-30
> 
> * Add support for `a given` as a universal quantification [Pagan Gazzard]

> ### sbvr-parser-0.2.4 - 2019-12-27
> 
> * Allow including terms as part of a verb by using `[]` brackets [Pagan Gazzard]

> ### odata-parser-1.4.1 - 2020-04-10
> 
> * Update dependencies [Pagan Gazzard]

> ### sbvr-types-2.0.5 - 2020-03-17
> 
> * CI: Remove circleci deploy in favor of balenaCI [Pagan Gazzard]
> * CI: Add node 12 to the test matrix [Pagan Gazzard]
> * CI: Remove node 6 from the test matrix [Pagan Gazzard]
> * Update dependencies and use resin-lint for automatic lint fixes [Pagan Gazzard]

> ### sbvr-types-2.0.4 - 2020-01-22
> 
> * Add node 12 to the test matrix [Pagan Gazzard]
> * Update dependencies [Pagan Gazzard]
> * Add CODEOWNERS [Pagan Gazzard]

> ### abstract-sql-compiler-6.13.2 - 2020-03-25
> 
> * 📝♻️ : Improve RelationshipMapping typing and docs [Andreas Fitzek]

> ### abstract-sql-compiler-6.13.1 - 2020-02-26
> 
> * Only create functions if they don't already exist [Pagan Gazzard]

> ### abstract-sql-compiler-6.13.0 - 2020-02-21
> 
> * Add support for sum [Pagan Gazzard]
> * Add support for average [Pagan Gazzard]
> * Add tests for count [Pagan Gazzard]

> ### abstract-sql-compiler-6.12.0 - 2020-02-21
> 
> * Add support for coalesce [Pagan Gazzard]

> ### abstract-sql-compiler-6.11.6 - 2020-02-21
> 
> 
<details>
<summary> Update dependencies [Pagan Gazzard] </summary>

>> #### sbvr-types-2.0.4 - 2020-01-22
>> 
>> * Add node 12 to the test matrix [Pagan Gazzard]
>> * Update dependencies [Pagan Gazzard]
>> * Add CODEOWNERS [Pagan Gazzard]
</details>

> 

> ### abstract-sql-compiler-6.11.5 - 2020-02-06
> 
> * Update resin-lint to 3.x and use it for auto-linting [Pagan Gazzard]

> ### abstract-sql-compiler-6.11.4 - 2020-02-06
> 
> * Fix query type check [Pagan Gazzard]

> ### abstract-sql-compiler-6.11.3 - 2020-01-22
> 
> * Add CODEOWNERS [Pagan Gazzard]

> ### abstract-sql-compiler-6.11.2 - 2020-01-09
> 
> * Trim trigger names to the max of 63 characters [Pagan Gazzard]

> ### abstract-sql-compiler-6.11.1 - 2019-11-22
> 
> * Update dev dependencies [Pagan Gazzard]
</details>

## 4.4.0 - 2020-03-02

* ✨: Add custom resource functions [Andreas Fitzek]

## 4.3.0 - 2020-02-11

* Remove unsupported node 6 from the test matrix [Pagan Gazzard]
* Add support for computed field when selecting from a resource alias [Pagan Gazzard]

## 4.2.1 - 2020-01-22

* Add CODEOWNERS [Pagan Gazzard]

## 4.2.0 - 2019-11-22

* Add support for `/$count` in filters [Pagan Gazzard]

## 4.1.2 - 2019-09-23


<details>
<summary> Optimise generating resource mappings [Pagan Gazzard] </summary>

> ### odata-parser-1.2.3 - 2019-09-20
> 
> * Optimise merging of operands in `FilterByExpressionLoop` [Pagan Gazzard]
</details>

## 4.1.1 - 2019-09-19

* Improve error messages on failing to resolve relationships [Pagan Gazzard]

## 4.1.0 - 2019-08-29

* Add support for `TableNode` definitions [Pagan Gazzard]

<details>
<summary> Add typings support for `ResourceNode`s in join nodes [Pagan Gazzard] </summary>

> ### abstract-sql-compiler-6.8.0 - 2019-08-29
> 
> * Add support for inner/left/right/full joins [Pagan Gazzard]
</details>

## 4.0.1 - 2019-08-22

* Update dependencies [Pagan Gazzard]

## 4.0.0 - 2019-06-14

* Update tsconfig target to es2018 [Pagan Gazzard]
* Use `IsDistinctFrom`/`IsNotDistinctFrom` for odata `eq`/`ne` [Pagan Gazzard]

## 3.3.0 - 2019-06-07

* Make use of odata-parser types [Pagan Gazzard]

<details>
<summary> View details </summary>

### odata-parser-1.1.1 - 2019-06-07

* Improve typings [Pagan Gazzard]

### odata-parser-1.1.0 - 2019-06-06

* Add typings [Pagan Gazzard]

### abstract-sql-compiler-6.6.0 - 2019-06-03

* Improve aliased from handling in `getReferencedFields` [Pagan Gazzard]

### abstract-sql-compiler-6.5.1 - 2019-06-03

* Use an abstract-sql-optimiser prepass to simplify getReferencedFields [Pagan Gazzard]

### sbvr-parser-0.2.3 - 2019-06-04

* Optimise exactly 0 to not exists [Pagan Gazzard]
</details>

## 3.2.0 - 2019-05-31

* Add support for computed fields [Pagan Gazzard]

## 3.1.3 - 2019-05-31

* Unify the handling of adding fields with or without a $select [Pagan Gazzard]

<details>
<summary> View details </summary>

### odata-parser-1.0.4 - 2019-05-27

* Fix adding parameter alias to the options object [Pagan Gazzard]

### odata-parser-1.0.3 - 2019-05-08

* Add .versionbot/CHANGELOG.yml for downstream changelogs [Pagan Gazzard]

### abstract-sql-compiler-6.5.0 - 2019-05-30

* Add support for computed fields [Pagan Gazzard]

### abstract-sql-compiler-6.4.3 - 2019-05-30

* Add tests for `getReferencedFields` [Pagan Gazzard]

### abstract-sql-compiler-6.4.2 - 2019-05-09

* Update and fix lodash typings [Pagan Gazzard]
* Update husky/mocha dev dependencies [Pagan Gazzard]

### abstract-sql-compiler-6.4.1 - 2019-05-08

* Fix typescript compilation [Pagan Gazzard]

<details>
<summary> View details </summary>

#### sbvr-parser-0.2.2 - 2019-05-08

* Add .versionbot/CHANGELOG.yml for downstream changelogs [Pagan Gazzard]
</details>

* Add node 12 tests [Pagan Gazzard]
* Add repo.yml for upstream changelogs [Pagan Gazzard]
* Add .versionbot/CHANGELOG.yml for downstream changelogs [Pagan Gazzard]
</details>

## 3.1.2 - 2019-05-08

* Add node 12 tests [Pagan Gazzard]
* Add repo.yml for upstream changelogs [Pagan Gazzard]
* Add .versionbot/CHANGELOG.yml for downstream changelogs [Pagan Gazzard]

## 3.1.1 - 2019-04-22

* Fix off-by-one error when having to resort to a random alias [Pagan Gazzard]

## 3.1.0 - 2019-03-04

* Add path key where statements to the select subquery for inserts [Pagan Gazzard]
* Add support for definitions for the target table of insert queries [Pagan Gazzard]

## 3.0.1 - 2019-01-28

* Improve typings, typing `tree` as the `AbstractSqlQuery` it is [Pagan Gazzard]

## 3.0.0 - 2018-12-07

* Add support for automatically resolved `ResourceNode`s in definitions [Pagan Gazzard]
* Convert the translator into typescript [Pagan Gazzard]

## 2.4.3 - 2018-11-16

* Further optimise `generateShortAliases` [Pagan Gazzard]

## 2.4.2 - 2018-11-15

* Optimise `generateShortAliases` [Pagan Gazzard]

## 2.4.1 - 2018-11-14

* Add typescript linting and prettier commit hook [Pagan Gazzard]

## v2.4.0 - 2018-11-03

* Update dev dependencies [Pagan Gazzard]
* Switch to using a prepare script so npm git installs can work [Pagan Gazzard]
* Switch to generating commonjs format [Pagan Gazzard]

## v2.3.0 - 2018-10-18

* Add typings [Pagan Gazzard]

## v2.2.6 - 2018-10-17

* Fix adding the id to body vars for PUT requests [Pagan Gazzard]

## v2.2.5 - 2018-09-17

* Throw an error when trying to directly reference a virtual field [Pagan Gazzard]

## v2.2.4 - 2018-09-14

* Optimise `ResolveRelationship` call to `_.get` [Pagan Gazzard]

## v2.2.3 - 2018-09-06

* Support navigation properties that only appear as method args [Pagan Gazzard]

## v2.2.2 - 2018-08-28

* Avoid unnecessarily adding the path key to update queries [Pagan Gazzard]

## v2.2.1 - 2018-06-15

* Apply inserts/updates/deletes direct to the base table, whilst respecting the definition for filters on them. #21 [Pagan Gazzard]

## v2.2.0 - 2018-06-08

* Add support for native `in` statements. #20 [Pagan Gazzard]

## v2.1.2 - 2018-05-10

* Update dependencies #19 [Pagan Gazzard]

## v2.1.1 - 2018-05-10

* Require npm 4+ to publish, to avoid issues with publishing #18 [Pagan Gazzard]

## v2.1.0 - 2018-05-01

* Update to memoizee ^0.4.12 #17 [Pagan Gazzard]

## v2.0.1 - 2018-04-30

* Add node 10 to the circleci tests. #16 [Pagan Gazzard]
* Move circle.yml to .circleci/config.yml #16 [Pagan Gazzard]

## v2.0.0 - 2018-04-25

* Update to lf-to-abstract-sql 2.x and make use of the relationship lookup being the resource name. #14 [Pagan Gazzard]

## v1.2.1 - 2018-04-25

* Memoize `sqlNameToODataName` and `odataNameToSqlName` #15 [Pagan Gazzard]

## v1.2.0 - 2018-04-20

* Add support for more query options in PUT/PATCH/DELETE queries. #13 [Pagan Gazzard]

## v1.1.1 - 2018-03-02

* Cast nulls to the correct type as well, since nulls can also cause problems in some queries if not cast #12 [Pagan Gazzard]

## v1.1.0 - 2018-01-05

* Add support for resources which are defined via an abstract SQL chunk. #11 [Pagan Gazzard]

## v1.0.2 - 2017-11-29

* Set up circleci auto-publishing #10 [Pagan Gazzard]

## v1.0.1 - 2017-10-27

* Added versionist #8 [Giovanni Garufi]

## v1.0.0

* As a last resort use a random string to shorten the alias if the other methods were unable to shorten it enough
* Add more levels of alias shortening in order to be able to more aggressively shortern aliases whilst still maintaining some readability (as aliases quickly get a lot longer now the verb is included)
* Added `sqlNameToODataName` and `odataNameToSqlName` for converting between odata and abstract sql resource names.
* Switched to using the abstract sql model directly as the client model, this adds support for
	* Synonymous form navigation, meaning we can navigate both `pilot trained pilot` and `pilot was trained by pilot` to specify a direction.
	* Synonyms, meaning we can use both aircraft and plane interchangeably, eg `aircraft` instead of `plane`, `pilot__can_fly__aircraft` instead of `pilot__can_fly__plane`, etc
* Switched to generating the client model in the tests, rather than committing it.

## v0.4.1

* Fixed the `all` lambda for cases where there are more than one of the parent resource

## v0.4.0

* Changed to requiring an array of body keys rather than an object of key/value pairs. This makes the cache hit rate on memoisation reasonable.
* Changed to return an object containing the tree and an object of key/value pairs that should be added to the body.

## v0.3.7

* Added support for parsing binds in the odata tree.
* Made sure parsing fails if the path.key is invalid.

## v0.3.6

* Added functionality to sensibly shorten table aliases (requires using the new `setClientModel` function), to handle cases where aliases can grow too large for the database.

## v0.3.5

* Fixed an undefined variable issue on an unknown mapping.
* Added support for /$count
* Added tests for count

## v0.3.4

* Switched to using sensible aliases for tables so that self-references can be handled.
* Fixed cases where prop.property or prop.lambda could be ignored.
* Switched to throwing errors rather than strings so that we get stack traces

## v0.3.3

* Added support for duration literals.
* Added support for the majority of OData 4 functions.

## v0.3.2

* Updated to lodash v4

## v0.3.1

* Updated ometa-js

## v0.3.0

* Added support for lambda operations on nested properties.
* Fixed issues with field scoping of foreign keys with `$expand($select)` queries that do not include the foreign key in the select.
* Fixed database error on insert filter with navigation property.

## v0.2.6

* Added support for nested expands like `$expand=resource($expand=subresource)`

## v0.2.5

* Switched to a scoped package.

## v0.2.4

* Fixed an issue when an expand references its parent in an option (eg. `/pilot?$expand=licence($filter=pilot/id eq 1)`)

## v0.2.3

* Fixed some cases where failing to parse was silently ignored.

## v0.2.2

* Added support for $filter, $orderby, $top, $skip, and $select as expand options.
* Updated lodash to ^3.0.0

## v0.2.1

* Added support for true/false/null

## v0.2.0

* Implemented support for PUT filters.
* Added support for resource names with underscores.

## v0.1.1

* Cast bind vars in inserts in order to guarantee the database knows the correct type in cases where it could be ambiguous.

## v0.1.0

* Fixed id fields that had spaces.
* Implemented support for POST filters.
* Proper support for keys in $links
