# Changelog

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

### [1.0.1](https://github.com/politics-rewired/pg-compose/compare/v1.0.0...v1.0.1) (2022-07-14)

## [1.0.0](https://github.com/politics-rewired/pg-compose/compare/v0.0.25...v1.0.0) (2021-04-15)

### [0.0.25](https://github.com/politics-rewired/pg-compose/compare/v0.0.24...v0.0.25) (2021-02-11)


### Bug Fixes

* add missing logger ([8764544](https://github.com/politics-rewired/pg-compose/commit/876454489f262296e62469d8143dfb3fcd516dcc))

### [0.0.24](https://github.com/politics-rewired/pg-compose/compare/v0.0.22...v0.0.24) (2021-02-11)


### Features

* **worker:** expose getSecret ([3cc7435](https://github.com/politics-rewired/pg-compose/commit/3cc74358b4cbfb9b81dd2c54ca8f8dbec21faaa4))


### Bug Fixes

* **set_secret:** on conflict do nothing ([#7](https://github.com/politics-rewired/pg-compose/issues/7)) ([41066af](https://github.com/politics-rewired/pg-compose/commit/41066af1cfcaf9bed078c5d22132c6717475fd7d))
* use configurable logger ([#6](https://github.com/politics-rewired/pg-compose/issues/6)) ([095b03a](https://github.com/politics-rewired/pg-compose/commit/095b03a8c8556235a6e6ec1778bddf76fa1581f0))

### [0.0.22](https://github.com/politics-rewired/pg-compose/compare/v0.0.21...v0.0.22) (2020-06-19)



### [0.0.21](https://github.com/politics-rewired/pg-compose/compare/v0.0.20...v0.0.21) (2020-06-08)



### [0.0.20](https://github.com/politics-rewired/pg-compose/compare/v0.0.19...v0.0.20) (2020-05-29)



### [0.0.19](https://github.com/politics-rewired/pg-compose/compare/v0.0.18...v0.0.19) (2020-05-13)


### Bug Fixes

* export PgComposeWorker interface ([b1a4f5a](https://github.com/politics-rewired/pg-compose/commit/b1a4f5afd9cf8b8cefda85888a6983be1f32e8d8))



### [0.0.18](https://github.com/politics-rewired/pg-compose/compare/v0.0.17...v0.0.18) (2020-05-13)


### Bug Fixes

* ComposeWorkerOpts.Logger type should match graphile-worker ([d8bc4a7](https://github.com/politics-rewired/pg-compose/commit/d8bc4a731657c3cd56944de00918c182d002f0ae))
* insignificant type error ([1650fe8](https://github.com/politics-rewired/pg-compose/commit/1650fe8080a015e028655a2f8fc44c3aa018dbc7))
* rollup modules in yaml loader ([d3ef357](https://github.com/politics-rewired/pg-compose/commit/d3ef357acfa47729bc241122108a02b108367ea1))


### Features

* export run migrations like graphile-worker does ([e7fd74b](https://github.com/politics-rewired/pg-compose/commit/e7fd74bbcb4efc6fb574bc5ecaf7990484ef1fb9))
* export run migrations like graphile-worker does ([2af1d95](https://github.com/politics-rewired/pg-compose/commit/2af1d95307ef58b46ff6ba7bd0f5c0fa6b6399a8))



### [0.0.17](https://github.com/politics-rewired/pg-compose/compare/v0.0.16...v0.0.17) (2020-05-12)


### Features

* export run migrations like graphile-worker does ([113450f](https://github.com/politics-rewired/pg-compose/commit/113450f968c3d49ab48a6da1898db978a631a3b3))



### [0.0.16](https://github.com/politics-rewired/pg-compose/compare/v0.0.15...v0.0.16) (2020-05-11)


### Bug Fixes

* partial via in function trait replacement ([4b10214](https://github.com/politics-rewired/pg-compose/commit/4b102145a6ef8a7521949ed6c417ce75b1e599be))


### Features

* add test for function bodyVars w/o via ([680561b](https://github.com/politics-rewired/pg-compose/commit/680561b42954491c5225853271e3b5637c76441c))



### [0.0.15](https://github.com/politics-rewired/pg-compose/compare/v0.0.14...v0.0.15) (2020-05-10)


### Bug Fixes

* use loader.default ([a8ce816](https://github.com/politics-rewired/pg-compose/commit/a8ce816793ca97e08efc321720f2357261660d94))



### [0.0.14](https://github.com/politics-rewired/pg-compose/compare/v0.0.13...v0.0.14) (2020-05-10)



### [0.0.13](https://github.com/politics-rewired/pg-compose/compare/v0.0.12...v0.0.13) (2020-05-10)


### Bug Fixes

* use loader.default ([821c361](https://github.com/politics-rewired/pg-compose/commit/821c36190c49efab469b23cbb1300e8ad02e9163))



### [0.0.12](https://github.com/politics-rewired/pg-compose/compare/v0.0.11...v0.0.12) (2020-05-10)


### Bug Fixes

* bogus varno error on bad pg_get_exprs ([0745b23](https://github.com/politics-rewired/pg-compose/commit/0745b23cf2b7f46fc72d267a4bb3290c72b60f31))
* module import by name ([b9c99d1](https://github.com/politics-rewired/pg-compose/commit/b9c99d15b2d03062234e1b19daadc1a2ca83c6ce))
* use require over dynamic import ([4eac132](https://github.com/politics-rewired/pg-compose/commit/4eac1320e7d317b8c68edaafcd0d0532d0a872e9))



### [0.0.11](https://github.com/politics-rewired/pg-compose/compare/v0.0.10...v0.0.11) (2020-05-10)


### Bug Fixes

* env declaration to cli ([39605ff](https://github.com/politics-rewired/pg-compose/commit/39605ff4494a4594ce809b2b68640b8d2db39bba))



### [0.0.10](https://github.com/politics-rewired/pg-compose/compare/v0.0.9...v0.0.10) (2020-05-07)


### Bug Fixes

* yaml loading with empty trait.requires ([79f637d](https://github.com/politics-rewired/pg-compose/commit/79f637d30c1ec9ff398e788a1d26009b758ebd93))



### [0.0.9](https://github.com/politics-rewired/pg-compose/compare/v0.0.8...v0.0.9) (2020-05-07)


### Features

* make trait requirement nullable for 0 requirement fallback tables ([db1e574](https://github.com/politics-rewired/pg-compose/commit/db1e57465ee83a4783cf095219ec010875f1faff))



### [0.0.8](https://github.com/politics-rewired/pg-compose/compare/v0.0.7...v0.0.8) (2020-05-07)


### Features

* function fallbacks ([554cd88](https://github.com/politics-rewired/pg-compose/commit/554cd888d9aaba1c1296d295a72f5cb0b6e2a12a))



### [0.0.7](https://github.com/politics-rewired/pg-compose/compare/v0.0.6...v0.0.7) (2020-05-01)


### Bug Fixes

* optional trait.provides, stringifying after functions ([ad44754](https://github.com/politics-rewired/pg-compose/commit/ad447540ba881582c7933594a32354180a80f196))


### Features

* functions can require traits ([a40c0e1](https://github.com/politics-rewired/pg-compose/commit/a40c0e1c311be5209c625fd481733948d8029f55))



### [0.0.6](https://github.com/politics-rewired/pg-compose/compare/v0.0.5...v0.0.6) (2020-05-01)


### Bug Fixes

* contract import ([6ce4d20](https://github.com/politics-rewired/pg-compose/commit/6ce4d204ff53f215d586ebfd22830f80d4f67792))
* remove commit inside of secret encryption - was interfering with testing ([0d426a5](https://github.com/politics-rewired/pg-compose/commit/0d426a550a727f8c3f50492b7eac9ecbe65e2916))
* **functions:** add type aliases for argument reconciliation ([c805191](https://github.com/politics-rewired/pg-compose/commit/c80519159b945eb89e95e2e45350039e951af286))
* **test:** clean up transaction control ([7ce83b3](https://github.com/politics-rewired/pg-compose/commit/7ce83b39d6b9be3812f45b0ea00569be8ed52dd6))
* build process to include graphile-secrets.yaml ([a9b9649](https://github.com/politics-rewired/pg-compose/commit/a9b9649ddbc6dfcf861b0bac549ef47999a782cc))


### Features

* add run command ([5f89738](https://github.com/politics-rewired/pg-compose/commit/5f8973830760c71af8a684cedf0dd642f7e76afe))
* basic sexp compilation with type functions ([7aa0e8e](https://github.com/politics-rewired/pg-compose/commit/7aa0e8ec1ccfe3e966b6d1561f2d90fdc352f447))
* fallback tables ([44f3539](https://github.com/politics-rewired/pg-compose/commit/44f3539fe1b7c7c19436608c133e40fce611e1e4))
* function contracts ([8894f39](https://github.com/politics-rewired/pg-compose/commit/8894f39b3c427f0117e0572d7afd1f005b7bda62))
* module dependencies ([5628de8](https://github.com/politics-rewired/pg-compose/commit/5628de8e2bb89c693c4d6533d6509b37a342e83f))
* sexp basics ([ea3a264](https://github.com/politics-rewired/pg-compose/commit/ea3a2646929679bdc1915d88436dc21c1f457410))
* **worker:** __after and __context special keys ([c578615](https://github.com/politics-rewired/pg-compose/commit/c578615ede9b9b96e696c45d2e82eb31b4c2d257))



### [0.0.5](https://github.com/politics-rewired/pg-compose/compare/v0.0.4...v0.0.5) (2020-04-20)


### Bug Fixes

* set data type ([9c9b127](https://github.com/politics-rewired/pg-compose/commit/9c9b127c5e52cf0914e85516e5476cabc8c2c17d))


### Features

* cli factory for running workflows with custom tasks ([eadaf6e](https://github.com/politics-rewired/pg-compose/commit/eadaf6e0d3074011222d2d60a097f991082cf596))
* watch mode ([ed8b57b](https://github.com/politics-rewired/pg-compose/commit/ed8b57b55a32ad5faf6ca366541d92a0832cdb1b))



### [0.0.4](https://github.com/politics-rewired/pg-compose/compare/v0.0.3...v0.0.4) (2020-04-18)


### Features

* export load yaml ([b56cf73](https://github.com/politics-rewired/pg-compose/commit/b56cf73abc32a77d98d153dfdfe615ec7e207634))



### [0.0.3](https://github.com/politics-rewired/pg-compose/compare/v0.0.2...v0.0.3) (2020-04-18)



### [0.0.2](https://github.com/politics-rewired/pg-compose/compare/v0.0.1...v0.0.2) (2020-04-18)


### Bug Fixes

* bin ([d855166](https://github.com/politics-rewired/pg-compose/commit/d8551669c2f4a4bf85b1c8cca1cb535456b466e3))
* export worker.run ([8b62086](https://github.com/politics-rewired/pg-compose/commit/8b620869d7040215dc6de57654279de2bc41b59e))
* include cronjobs folder ([309f8e0](https://github.com/politics-rewired/pg-compose/commit/309f8e062a725072d593463745493384ccb19d02))
* typing errors ([15103ab](https://github.com/politics-rewired/pg-compose/commit/15103ab64280bc94b35e615ac13568fa5ac1c97d))


### Features

* add property testing ([82bdf55](https://github.com/politics-rewired/pg-compose/commit/82bdf55136629d3c83e8114e7a0327f6f50e0fb9))
* all index tests passing ([de67727](https://github.com/politics-rewired/pg-compose/commit/de6772787d6906f79bec76502301b7d65d8349e0))
* basic cli ([55e5013](https://github.com/politics-rewired/pg-compose/commit/55e501365eb7e8193b40d084db1e453fa3ca7e8a))
* foreign keys ([90f8ee2](https://github.com/politics-rewired/pg-compose/commit/90f8ee2b40bc2fd77bf1493d97a6d3a7262552e2))
* full worker functionality and tests ([ced1f22](https://github.com/politics-rewired/pg-compose/commit/ced1f2296fd9d0f5ec5563d32f76758c791263db))
* functions ([cee238c](https://github.com/politics-rewired/pg-compose/commit/cee238c16877c60a4ea20e50bab13d33e715394a))
* idempotency tests passing ([521ccff](https://github.com/politics-rewired/pg-compose/commit/521ccff4cdc77e4cc614d9b9eddb3ce87ad8e6a0))
* include implementation in yaml loader ([47aba1b](https://github.com/politics-rewired/pg-compose/commit/47aba1b75e95af67758efc0174784974250eaa36))
* index changes draft ([f013d99](https://github.com/politics-rewired/pg-compose/commit/f013d99a711b9be8cf783341bb7db4925cb44ca5))
* modules with provider refactor ([7da446a](https://github.com/politics-rewired/pg-compose/commit/7da446a6e41339c0997c2de468f75b2b600297c0))
* secret setting and functions ([cbb45d6](https://github.com/politics-rewired/pg-compose/commit/cbb45d66eade0fd8f71b64da6927f8c082161104))
* table extensions ([34f7639](https://github.com/politics-rewired/pg-compose/commit/34f76394051266cde8e7f270c40bc99531b0a25a))
* tests ([2c9ba17](https://github.com/politics-rewired/pg-compose/commit/2c9ba17385cf029199cefb0c3778c63eec6f455c))
* trait triggers ([f7803cb](https://github.com/politics-rewired/pg-compose/commit/f7803cba518ef78226f2a754f011e6afd7901d6c))
* triggers ([aee4a19](https://github.com/politics-rewired/pg-compose/commit/aee4a19545ff48d397411c38fc1787272af04e92))
* wrapTask ([8918eb1](https://github.com/politics-rewired/pg-compose/commit/8918eb19e4ecc8918ebd89a8bd477f6f445fc821))
* yaml loader ([f22167e](https://github.com/politics-rewired/pg-compose/commit/f22167e16de037ee2ccf4153ac4fc27dac408320))
* yaml loader tests ([c6dbbff](https://github.com/politics-rewired/pg-compose/commit/c6dbbffc17c25bd8e76081be7b4db30793c13a74))
