# Change Log

All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [1.10.4](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.10.3...@standardnotes/scheduler-server@1.10.4) (2022-07-29)

**Note:** Version bump only for package @standardnotes/scheduler-server

## [1.10.3](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.10.2...@standardnotes/scheduler-server@1.10.3) (2022-07-29)

**Note:** Version bump only for package @standardnotes/scheduler-server

## [1.10.2](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.10.1...@standardnotes/scheduler-server@1.10.2) (2022-07-29)

**Note:** Version bump only for package @standardnotes/scheduler-server

## [1.10.1](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.10.0...@standardnotes/scheduler-server@1.10.1) (2022-07-27)

**Note:** Version bump only for package @standardnotes/scheduler-server

# [1.10.0](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.9.2...@standardnotes/scheduler-server@1.10.0) (2022-07-26)

### Features

* **scheduler:** enable discount applying and withdraw for everyone ([04bf414](https://github.com/standardnotes/server/commit/04bf414de41ecba255b068fd8e72bc569ace9ed1))

## [1.9.2](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.9.1...@standardnotes/scheduler-server@1.9.2) (2022-07-26)

### Bug Fixes

* **scheduler:** change the discount code to an absolute discount ([1fa94ef](https://github.com/standardnotes/server/commit/1fa94efa02f169ee25d11e9403ab3368b696cc33))

## [1.9.1](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.9.0...@standardnotes/scheduler-server@1.9.1) (2022-07-26)

### Bug Fixes

* **scheduler:** eliminate read/write concurrency hazzard while updating predicate status ([4ab0d24](https://github.com/standardnotes/server/commit/4ab0d24d24b62babf5d0e36fbcb3a6364abb71bc))

# [1.9.0](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.8.2...@standardnotes/scheduler-server@1.9.0) (2022-07-25)

### Features

* **scheduler:** add job interpreting logs ([bf12687](https://github.com/standardnotes/server/commit/bf12687f63738a6eac46ab1778826de5d076e4ab))

## [1.8.2](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.8.1...@standardnotes/scheduler-server@1.8.2) (2022-07-25)

**Note:** Version bump only for package @standardnotes/scheduler-server

## [1.8.1](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.8.0...@standardnotes/scheduler-server@1.8.1) (2022-07-25)

### Bug Fixes

* **scheduler:** checking for predicates fullfillment on applying discount ([6374248](https://github.com/standardnotes/server/commit/637424813278b7dd81969e1783cbc38d1a916cab))

# [1.8.0](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.7.0...@standardnotes/scheduler-server@1.8.0) (2022-07-25)

### Features

* **scheduler:** add feature flag behind applying and withdrawing discounts ([0a5b956](https://github.com/standardnotes/server/commit/0a5b956cb9586d353ac68c79e8473d74f8d9796a))

# [1.7.0](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.6.0...@standardnotes/scheduler-server@1.7.0) (2022-07-25)

### Features

* **scheduler:** add creating discount apply/withdraw events ([7168435](https://github.com/standardnotes/server/commit/71684350e94053d884ae907e5d3deba4bc027f1b))
* **scheduler:** add publishing discount apply/withdraw events ([48af9e7](https://github.com/standardnotes/server/commit/48af9e7c1cfb582389af83e15977b930bf067f8d))

# [1.6.0](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.5.23...@standardnotes/scheduler-server@1.6.0) (2022-07-22)

### Features

* **scheduler:** schedule apply and withdraw subscription discounts upon registration ([fc20697](https://github.com/standardnotes/server/commit/fc20697d81419827c4f51c5c80804dd98804f33f))

## [1.5.23](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.5.22...@standardnotes/scheduler-server@1.5.23) (2022-07-15)

**Note:** Version bump only for package @standardnotes/scheduler-server

## [1.5.22](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.5.21...@standardnotes/scheduler-server@1.5.22) (2022-07-15)

**Note:** Version bump only for package @standardnotes/scheduler-server

## [1.5.21](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.5.20...@standardnotes/scheduler-server@1.5.21) (2022-07-15)

**Note:** Version bump only for package @standardnotes/scheduler-server

## [1.5.20](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.5.19...@standardnotes/scheduler-server@1.5.20) (2022-07-14)

**Note:** Version bump only for package @standardnotes/scheduler-server

## [1.5.19](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.5.18...@standardnotes/scheduler-server@1.5.19) (2022-07-14)

**Note:** Version bump only for package @standardnotes/scheduler-server

## [1.5.18](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.5.17...@standardnotes/scheduler-server@1.5.18) (2022-07-14)

**Note:** Version bump only for package @standardnotes/scheduler-server

## [1.5.17](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.5.16...@standardnotes/scheduler-server@1.5.17) (2022-07-14)

**Note:** Version bump only for package @standardnotes/scheduler-server

## [1.5.16](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.5.15...@standardnotes/scheduler-server@1.5.16) (2022-07-14)

**Note:** Version bump only for package @standardnotes/scheduler-server

## [1.5.15](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.5.14...@standardnotes/scheduler-server@1.5.15) (2022-07-14)

**Note:** Version bump only for package @standardnotes/scheduler-server

## [1.5.14](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.5.13...@standardnotes/scheduler-server@1.5.14) (2022-07-14)

**Note:** Version bump only for package @standardnotes/scheduler-server

## [1.5.13](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.5.12...@standardnotes/scheduler-server@1.5.13) (2022-07-14)

**Note:** Version bump only for package @standardnotes/scheduler-server

## [1.5.12](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.5.11...@standardnotes/scheduler-server@1.5.12) (2022-07-13)

**Note:** Version bump only for package @standardnotes/scheduler-server

## [1.5.11](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.5.10...@standardnotes/scheduler-server@1.5.11) (2022-07-13)

**Note:** Version bump only for package @standardnotes/scheduler-server

## [1.5.10](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.5.9...@standardnotes/scheduler-server@1.5.10) (2022-07-13)

**Note:** Version bump only for package @standardnotes/scheduler-server

## [1.5.9](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.5.8...@standardnotes/scheduler-server@1.5.9) (2022-07-13)

**Note:** Version bump only for package @standardnotes/scheduler-server

## [1.5.8](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.5.7...@standardnotes/scheduler-server@1.5.8) (2022-07-13)

**Note:** Version bump only for package @standardnotes/scheduler-server

## [1.5.7](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.5.6...@standardnotes/scheduler-server@1.5.7) (2022-07-13)

**Note:** Version bump only for package @standardnotes/scheduler-server

## [1.5.6](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.5.5...@standardnotes/scheduler-server@1.5.6) (2022-07-12)

**Note:** Version bump only for package @standardnotes/scheduler-server

## [1.5.5](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.5.4...@standardnotes/scheduler-server@1.5.5) (2022-07-12)

**Note:** Version bump only for package @standardnotes/scheduler-server

## [1.5.4](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.5.3...@standardnotes/scheduler-server@1.5.4) (2022-07-12)

**Note:** Version bump only for package @standardnotes/scheduler-server

## [1.5.3](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.5.2...@standardnotes/scheduler-server@1.5.3) (2022-07-12)

**Note:** Version bump only for package @standardnotes/scheduler-server

## [1.5.2](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.5.1...@standardnotes/scheduler-server@1.5.2) (2022-07-12)

**Note:** Version bump only for package @standardnotes/scheduler-server

## [1.5.1](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.5.0...@standardnotes/scheduler-server@1.5.1) (2022-07-11)

**Note:** Version bump only for package @standardnotes/scheduler-server

# [1.5.0](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.4.0...@standardnotes/scheduler-server@1.5.0) (2022-07-06)

### Features

* add common package ([fd4ee21](https://github.com/standardnotes/server/commit/fd4ee2123dc72b4d8755504d57bced608c1ab928))

# [1.4.0](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.3.2...@standardnotes/scheduler-server@1.4.0) (2022-07-06)

### Features

* add time package ([565e890](https://github.com/standardnotes/server/commit/565e890973b1d96544bb750fdd700d58f8dad088))

## [1.3.2](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.3.1...@standardnotes/scheduler-server@1.3.2) (2022-07-06)

**Note:** Version bump only for package @standardnotes/scheduler-server

## [1.3.1](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.3.0...@standardnotes/scheduler-server@1.3.1) (2022-07-06)

**Note:** Version bump only for package @standardnotes/scheduler-server

# [1.3.0](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.2.7...@standardnotes/scheduler-server@1.3.0) (2022-07-06)

### Bug Fixes

* scheduler to predicates imports ([1b35cf7](https://github.com/standardnotes/server/commit/1b35cf7a392fbe6c4b49889f92ffab6ddd7bb181))

### Features

* add predicates package ([ed62ed5](https://github.com/standardnotes/server/commit/ed62ed516f5cf8784975f41680366bf0518ce491))

## [1.2.7](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.2.6...@standardnotes/scheduler-server@1.2.7) (2022-07-06)

**Note:** Version bump only for package @standardnotes/scheduler-server

## [1.2.6](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.2.5...@standardnotes/scheduler-server@1.2.6) (2022-07-06)

### Bug Fixes

* testing project packages ([d818799](https://github.com/standardnotes/server/commit/d818799418d3681c60ba1758b9d5dda945aed5a7))

## [1.2.5](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.2.4...@standardnotes/scheduler-server@1.2.5) (2022-07-06)

### Bug Fixes

* publishing setup ([caaad92](https://github.com/standardnotes/server/commit/caaad9205cbf5e7fcec8d703d6257c3e616133e4))

## [1.2.4](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.2.3...@standardnotes/scheduler-server@1.2.4) (2022-07-04)

**Note:** Version bump only for package @standardnotes/scheduler-server

## [1.2.3](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.2.2...@standardnotes/scheduler-server@1.2.3) (2022-06-28)

**Note:** Version bump only for package @standardnotes/scheduler-server

## [1.2.2](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.2.1...@standardnotes/scheduler-server@1.2.2) (2022-06-27)

**Note:** Version bump only for package @standardnotes/scheduler-server

## [1.2.1](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.2.0...@standardnotes/scheduler-server@1.2.1) (2022-06-27)

### Bug Fixes

* change subscription encouragement scheduled from 14 to 30 days ([e12c9c4](https://github.com/standardnotes/server/commit/e12c9c47a73efa5e5af15144e653195455f90591))

# [1.2.0](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.1.5...@standardnotes/scheduler-server@1.2.0) (2022-06-27)

### Features

* add context for requesting email message ([8d4280f](https://github.com/standardnotes/server/commit/8d4280f4ca57151198880620cc9504aba720f2f3))

## [1.1.5](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.1.4...@standardnotes/scheduler-server@1.1.5) (2022-06-27)

### Bug Fixes

* upgrade sentry node sdk ([b6db194](https://github.com/standardnotes/server/commit/b6db194a22ff1d0afe96c291d545b408c0a5c373))

## [1.1.4](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.1.3...@standardnotes/scheduler-server@1.1.4) (2022-06-24)

### Bug Fixes

* newrelic deps and setup db and cache for local development purposes ([ff09ae0](https://github.com/standardnotes/server/commit/ff09ae0a47747eaf7977ce5d3937ad385101eaeb))

## [1.1.3](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.1.2...@standardnotes/scheduler-server@1.1.3) (2022-06-23)

### Bug Fixes

* curl in the final image ([0d67c55](https://github.com/standardnotes/server/commit/0d67c55e124eed08bca16824750152b895fceca7))

## [1.1.2](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.1.1...@standardnotes/scheduler-server@1.1.2) (2022-06-23)

**Note:** Version bump only for package @standardnotes/scheduler-server

## [1.1.1](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.1.0...@standardnotes/scheduler-server@1.1.1) (2022-06-23)

**Note:** Version bump only for package @standardnotes/scheduler-server

# [1.1.0](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.1.0-alpha.16...@standardnotes/scheduler-server@1.1.0) (2022-06-23)

**Note:** Version bump only for package @standardnotes/scheduler-server

# [1.1.0-alpha.16](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.1.0-alpha.15...@standardnotes/scheduler-server@1.1.0-alpha.16) (2022-06-23)

**Note:** Version bump only for package @standardnotes/scheduler-server

# [1.1.0-alpha.15](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.1.0-alpha.14...@standardnotes/scheduler-server@1.1.0-alpha.15) (2022-06-23)

**Note:** Version bump only for package @standardnotes/scheduler-server

# [1.1.0-alpha.14](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.1.0-alpha.13...@standardnotes/scheduler-server@1.1.0-alpha.14) (2022-06-23)

### Bug Fixes

* add missing curl to docker image for healthcheck purposes ([7efb48d](https://github.com/standardnotes/server/commit/7efb48dd2a6066c29601d34bfcbfe6231f644c50))

# [1.1.0-alpha.13](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.1.0-alpha.12...@standardnotes/scheduler-server@1.1.0-alpha.13) (2022-06-22)

**Note:** Version bump only for package @standardnotes/scheduler-server

# [1.1.0-alpha.12](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.1.0-alpha.11...@standardnotes/scheduler-server@1.1.0-alpha.12) (2022-06-22)

**Note:** Version bump only for package @standardnotes/scheduler-server

# [1.1.0-alpha.11](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.1.0-alpha.10...@standardnotes/scheduler-server@1.1.0-alpha.11) (2022-06-22)

**Note:** Version bump only for package @standardnotes/scheduler-server

# [1.1.0-alpha.10](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.1.0-alpha.9...@standardnotes/scheduler-server@1.1.0-alpha.10) (2022-06-22)

**Note:** Version bump only for package @standardnotes/scheduler-server

# [1.1.0-alpha.9](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.1.0-alpha.8...@standardnotes/scheduler-server@1.1.0-alpha.9) (2022-06-22)

**Note:** Version bump only for package @standardnotes/scheduler-server

# [1.1.0-alpha.8](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.1.0-alpha.7...@standardnotes/scheduler-server@1.1.0-alpha.8) (2022-06-22)

### Features

* add auth server package ([8e50120](https://github.com/standardnotes/server/commit/8e5012009be86094f5b8be65615c3fb811a4cec5))

# [1.1.0-alpha.7](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.1.0-alpha.6...@standardnotes/scheduler-server@1.1.0-alpha.7) (2022-06-22)

### Bug Fixes

* update node version to latest lts ([2a1b9a6](https://github.com/standardnotes/server/commit/2a1b9a66797b046565b63183cb17e4b335de492f))

# [1.1.0-alpha.6](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.1.0-alpha.5...@standardnotes/scheduler-server@1.1.0-alpha.6) (2022-06-22)

### Bug Fixes

* build the app before packagin into a Docker image ([e8d1362](https://github.com/standardnotes/server/commit/e8d13627f807e71bd3777595137a6f1ecd43c5ed))

# [1.1.0-alpha.5](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.1.0-alpha.4...@standardnotes/scheduler-server@1.1.0-alpha.5) (2022-06-21)

### Bug Fixes

* dockerfile entrypoint and cmd ([263dc8a](https://github.com/standardnotes/server/commit/263dc8a98dd42377c1a6dccf24e6b004eee1893f))

# [1.1.0-alpha.4](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.1.0-alpha.3...@standardnotes/scheduler-server@1.1.0-alpha.4) (2022-06-21)

### Bug Fixes

* docker image building ([c205ebb](https://github.com/standardnotes/server/commit/c205ebb7101705572d8be96173b02870893a2630))
* jest setup ([1a8670c](https://github.com/standardnotes/server/commit/1a8670cdaa8e9aec3b7e6e179dfeef30d7922f3a))
* linter setup ([c62ff8f](https://github.com/standardnotes/server/commit/c62ff8f5c99f894dcd6a6ee93b3cd4671f6c594f))
* typescript setup ([6e1e6fa](https://github.com/standardnotes/server/commit/6e1e6fa2916cac01fe6147803c84fb29c2e3b2f1))

# [1.1.0-alpha.3](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.1.0-alpha.2...@standardnotes/scheduler-server@1.1.0-alpha.3) (2022-06-20)

### Bug Fixes

* add default value for db migrations path ([1c4c609](https://github.com/standardnotes/server/commit/1c4c609865f834f09106e934c85350a9ea276b6d))

# [1.1.0-alpha.2](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.1.0-alpha.1...@standardnotes/scheduler-server@1.1.0-alpha.2) (2022-06-20)

### Bug Fixes

* docker building for scheduler ([a982c78](https://github.com/standardnotes/server/commit/a982c785419b70e6b3f4595070edc21acade6d19))

# [1.1.0-alpha.1](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.1.0-alpha.0...@standardnotes/scheduler-server@1.1.0-alpha.1) (2022-06-20)

### Bug Fixes

* remove pure lockfile flag from yarn installs ([586cded](https://github.com/standardnotes/server/commit/586cdedf13332677520d891392c65368f5dc2f1b))

# 1.1.0-alpha.0 (2022-06-20)

### Bug Fixes

* add dev release workflow for scheduler ([24a4cc7](https://github.com/standardnotes/server/commit/24a4cc79ae44d436581efa42dd4c3162014fbe4c))
* missing async ([e6295ed](https://github.com/standardnotes/server/commit/e6295ed76425842d871081fbb23783e29ae3563e))
* package dependencies setup ([ebcd69b](https://github.com/standardnotes/server/commit/ebcd69bdae6a0391416b4caa95f052fef1cc2057))
* starting scheduler ([b6b06ac](https://github.com/standardnotes/server/commit/b6b06acce507af466a3384ab8fb888870b2c20b8))

### Features

* add scheduler server ([e197908](https://github.com/standardnotes/server/commit/e197908a56fccc7be4544431f8912e398c0cef99))
