@coko/server
Version:
Reusable server for use by Coko's projects
945 lines (483 loc) • 68.2 kB
Markdown
# 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.
### [5.1.1](https://github.com/Coko-Foundation/cokoserver/compare/v5.1.0...v5.1.1) (2026-06-24)
### Bug Fixes
* **db:** do not drop pgcrypto extension as it runs before pgboss schema migration ([8a7eeeb](https://github.com/Coko-Foundation/cokoserver/commit/8a7eeebbf29db91c7e24958324ed58f132f41d2b))
## [5.1.0](https://github.com/Coko-Foundation/cokoserver/compare/v5.0.0...v5.1.0) (2026-06-12)
### Features
* **job manager:** add job queue to optionally have a distinct db connection ([f5356b9](https://github.com/Coko-Foundation/cokoserver/commit/f5356b9ab1132749282f93519c62a4a0b31a0657))
## [5.0.0](https://github.com/Coko-Foundation/cokoserver/compare/v5.0.0-beta.2...v5.0.0) (2026-06-10)
## [5.0.0-beta.2](https://github.com/Coko-Foundation/cokoserver/compare/v5.0.0-beta.1...v5.0.0-beta.2) (2026-06-09)
### Bug Fixes
* **cli:** add skipLibCheck in the cli tsconfig ([4041299](https://github.com/Coko-Foundation/cokoserver/commit/4041299e308e1097cb2ee483f15bd8ab2603bfae))
## [5.0.0-beta.1](https://github.com/Coko-Foundation/cokoserver/compare/v5.0.0-beta.0...v5.0.0-beta.1) (2026-06-09)
### Bug Fixes
* **cli:** exclude tmp folder from copyfiles ([a7f720e](https://github.com/Coko-Foundation/cokoserver/commit/a7f720e756c1d445f913f072c236356d6652b81a))
* **cli:** fix build command rootdir ([c6e9676](https://github.com/Coko-Foundation/cokoserver/commit/c6e9676644588ec80c260b390c405ea27f87d42b))
## [5.0.0-beta.0](https://github.com/Coko-Foundation/cokoserver/compare/v5.0.0-alpha.17...v5.0.0-beta.0) (2026-06-08)
## [5.0.0-alpha.17](https://github.com/Coko-Foundation/cokoserver/compare/v5.0.0-alpha.16...v5.0.0-alpha.17) (2026-05-18)
### Bug Fixes
* **db:** make sure to await alter table statements in pg boss meta column migration ([20a0263](https://github.com/Coko-Foundation/cokoserver/commit/20a02635f0381b7397623479a2a8784146b3b5b8))
## [5.0.0-alpha.16](https://github.com/Coko-Foundation/cokoserver/compare/v5.0.0-alpha.15...v5.0.0-alpha.16) (2026-05-18)
### Bug Fixes
* **db:** use db helpers to avoid column issues when editing the meta table ([09f620f](https://github.com/Coko-Foundation/cokoserver/commit/09f620f89dee93675763650f37b91b545899617e))
## [5.0.0-alpha.15](https://github.com/Coko-Foundation/cokoserver/compare/v5.0.0-alpha.14...v5.0.0-alpha.15) (2026-05-18)
### Bug Fixes
* **server:** fix migrating from existing checkpoint with extension to no extension ([f537f0e](https://github.com/Coko-Foundation/cokoserver/commit/f537f0eb1469ce68fd9bfbeda446ba7d8c975ff7))
## [5.0.0-alpha.14](https://github.com/Coko-Foundation/cokoserver/compare/v5.0.0-alpha.13...v5.0.0-alpha.14) (2026-05-11)
### Bug Fixes
* **fileStorage:** fix url signing mismatch ([01536a3](https://github.com/Coko-Foundation/cokoserver/commit/01536a3805784618d8323444373f78c9efc6217a))
## [5.0.0-alpha.13](https://github.com/Coko-Foundation/cokoserver/compare/v5.0.0-alpha.12...v5.0.0-alpha.13) (2026-05-11)
### Features
* **fileStorage:** allow s3 public url to allow browser and compose network mismatch ([affb93d](https://github.com/Coko-Foundation/cokoserver/commit/affb93db342822ac2d8716eb4ba51b0e48138f4c))
## [5.0.0-alpha.12](https://github.com/Coko-Foundation/cokoserver/compare/v5.0.0-alpha.11...v5.0.0-alpha.12) (2026-05-05)
### ⚠ BREAKING CHANGES
* **graphql:** revert permissions fallback change
### Bug Fixes
* **graphql:** graphql permissions fallback should not be deny ([9bfd3b6](https://github.com/Coko-Foundation/cokoserver/commit/9bfd3b68c7f9782fdeb41a9bc5a7a608ed413274))
## [5.0.0-alpha.11](https://github.com/Coko-Foundation/cokoserver/compare/v5.0.0-alpha.10...v5.0.0-alpha.11) (2026-05-05)
### Bug Fixes
* **server:** read component config after config has been initialized ([d8ff789](https://github.com/Coko-Foundation/cokoserver/commit/d8ff789862a2ac4b993d4cf484692b7c48b8d449))
## [5.0.0-alpha.10](https://github.com/Coko-Foundation/cokoserver/compare/v5.0.0-alpha.9...v5.0.0-alpha.10) (2026-05-05)
### Bug Fixes
* **graphql:** fix loaders not being awaited ([c347fd8](https://github.com/Coko-Foundation/cokoserver/commit/c347fd842331c34b318905b98f407bf404693bcd))
## [5.0.0-alpha.9](https://github.com/Coko-Foundation/cokoserver/compare/v5.0.0-alpha.8...v5.0.0-alpha.9) (2026-04-29)
## [5.0.0-alpha.8](https://github.com/Coko-Foundation/cokoserver/compare/v5.0.0-alpha.7...v5.0.0-alpha.8) (2026-04-29)
### Bug Fixes
* **server:** skip admin creation if adminUser is set to false ([3168dd5](https://github.com/Coko-Foundation/cokoserver/commit/3168dd5e2333ab9984406c506345e983e070f3bf))
## [5.0.0-alpha.7](https://github.com/Coko-Foundation/cokoserver/compare/v5.0.0-alpha.6...v5.0.0-alpha.7) (2026-04-29)
### Features
* expose team roles and display names enum functions ([dc62618](https://github.com/Coko-Foundation/cokoserver/commit/dc62618d60751aa6ed1bcccd5017efda205afca1))
## [5.0.0-alpha.6](https://github.com/Coko-Foundation/cokoserver/compare/v5.0.0-alpha.5...v5.0.0-alpha.6) (2026-04-29)
### Bug Fixes
* fix zod union syntax ([06acff4](https://github.com/Coko-Foundation/cokoserver/commit/06acff40c242f964cf2fcf6c03f192cad183ae03))
## [5.0.0-alpha.5](https://github.com/Coko-Foundation/cokoserver/compare/v5.0.0-alpha.4...v5.0.0-alpha.5) (2026-04-29)
### Features
* make admin config optional ([0dd2a7f](https://github.com/Coko-Foundation/cokoserver/commit/0dd2a7ffa6fc73b310d86ddc554a89d14881df8b))
## [5.0.0-alpha.4](https://github.com/Coko-Foundation/cokoserver/compare/v5.0.0-alpha.3...v5.0.0-alpha.4) (2026-04-28)
### ⚠ BREAKING CHANGES
* **graphql:** graphql permissions will block all queries not explicitly defined
### Features
* **graphql:** make graphql-shield fallback deny ([de9609d](https://github.com/Coko-Foundation/cokoserver/commit/de9609d8ab9910c999e7a0b4f8678abd31ac8ed3))
## [5.0.0-alpha.3](https://github.com/Coko-Foundation/cokoserver/compare/v5.0.0-alpha.2...v5.0.0-alpha.3) (2026-04-23)
### Bug Fixes
* make sure an error when creating mailer transport is caught ([5d8afe5](https://github.com/Coko-Foundation/cokoserver/commit/5d8afe564b6b02e400a24ae44116d661de3181ff))
* **server:** copy assets during production build ([c3f2e9b](https://github.com/Coko-Foundation/cokoserver/commit/c3f2e9bdc5350c8b3f1e574702bfab54ba1d659b))
* **server:** log email errors but don't let it throw ([057db7a](https://github.com/Coko-Foundation/cokoserver/commit/057db7adf2fdba6851f33cef7fa92471573601fc))
## [5.0.0-alpha.2](https://github.com/Coko-Foundation/cokoserver/compare/v5.0.0-alpha.1...v5.0.0-alpha.2) (2026-01-30)
### ⚠ BREAKING CHANGES
* **server:** user.getDisplayName is dropped from model, but getDisplayName controller remains
### Bug Fixes
* **server:** fix user display name in subscriptions ([8ea8d4c](https://github.com/Coko-Foundation/cokoserver/commit/8ea8d4c195bb6e30df5dc8329686797ba103b013))
## [5.0.0-alpha.1](https://github.com/Coko-Foundation/cokoserver/compare/v5.0.0-alpha.0...v5.0.0-alpha.1) (2026-01-30)
### Bug Fixes
* **server:** fix issue where tsx is reading both dist and src files ([17689dd](https://github.com/Coko-Foundation/cokoserver/commit/17689dd6e83ac8921863375cf2046415bc49a3ec))
## [5.0.0-alpha.0](https://github.com/Coko-Foundation/cokoserver/compare/v4.22.0...v5.0.0-alpha.0) (2026-01-20)
### ⚠ BREAKING CHANGES
* dropped logger configuration and the stream, configure and getRawLogger methods
### Features
* typescript support ([299fe53](https://github.com/Coko-Foundation/cokoserver/commit/299fe533ba6264a93fb60777659e506eee47278e))
## [4.22.0](https://github.com/Coko-Foundation/cokoserver/compare/v4.21.1...v4.22.0) (2025-12-12)
### Features
* **job manager:** add wait for jobs to finish method ([1df9bab](https://github.com/Coko-Foundation/cokoserver/commit/1df9bab6729d82a5606946624cc73c95331ce6ba))
### [4.21.1](https://github.com/Coko-Foundation/cokoserver/compare/v4.21.0...v4.21.1) (2025-12-10)
### Bug Fixes
* **job manager:** fix method name typo ([ba4df19](https://github.com/Coko-Foundation/cokoserver/commit/ba4df19e9503bb4ec6b785e1c81e98130f057665))
## [4.21.0](https://github.com/Coko-Foundation/cokoserver/compare/v4.20.0...v4.21.0) (2025-12-09)
### Features
* **job manager:** add getQueueSize and waitForQueueToEmpty methods ([b8bd673](https://github.com/Coko-Foundation/cokoserver/commit/b8bd6731039dc443ee5e6c25cd7400ccca373a85))
## [4.20.0](https://github.com/Coko-Foundation/cokoserver/compare/v4.19.0...v4.20.0) (2025-11-26)
### Features
* **server:** add sentry environment variable ([d549ad4](https://github.com/Coko-Foundation/cokoserver/commit/d549ad42efd134197c23f3674f7db38794167a40))
## [4.19.0](https://github.com/Coko-Foundation/cokoserver/compare/v4.18.0...v4.19.0) (2025-11-20)
### Features
* **server:** add sentry support ([2dec5f5](https://github.com/Coko-Foundation/cokoserver/commit/2dec5f53838a7e41951da4685a256fd576391cf2))
## [4.18.0](https://github.com/Coko-Foundation/cokoserver/compare/v4.17.0...v4.18.0) (2025-08-22)
### Features
* **models:** add integerZeroOrPositive type ([28b1c1f](https://github.com/Coko-Foundation/cokoserver/commit/28b1c1fc2f23d6b27bf3b80408eb7115c58db607))
### Bug Fixes
* **models:** tags should be optional in UpdateFileInput ([ba550e4](https://github.com/Coko-Foundation/cokoserver/commit/ba550e46ed973193d37ec52d0a8358ed6c481c40))
## [4.17.0](https://gitlab.coko.foundation/cokoapps/server/compare/v4.16.0...v4.17.0) (2025-07-11)
### Features
* **fileStorage:** pass meta to createfile ([ac31b4a](https://gitlab.coko.foundation/cokoapps/server/commit/ac31b4a3a938eb8a2a83efef9f9da1d426affaaf))
* **models:** add meta column to file model ([12e5e3f](https://gitlab.coko.foundation/cokoapps/server/commit/12e5e3f35c0144ce0a140b1fe1d098a0e8fe2bbe))
* **models:** add objectDefaultEmpty to json schema types ([a032ada](https://gitlab.coko.foundation/cokoapps/server/commit/a032ada11cd7928b4651a8f3887d0bf2b7f65877))
### Bug Fixes
* **fileStorage:** return rotated image buffer ([3ce9f53](https://gitlab.coko.foundation/cokoapps/server/commit/3ce9f53f5736f53f79d439e3c1dd8e3be3a1750b))
## [4.16.0](https://gitlab.coko.foundation/cokoapps/server/compare/v4.15.2...v4.16.0) (2025-07-08)
### Features
* **fileStorage:** export file storage constructor ([31e43f2](https://gitlab.coko.foundation/cokoapps/server/commit/31e43f20f202517dc2ca09588115f98210ea3aea))
### [4.15.2](https://gitlab.coko.foundation/cokoapps/server/compare/v4.15.1...v4.15.2) (2025-06-27)
### Bug Fixes
* **graphql:** add caption to UpdateFileInput ([92e5fb8](https://gitlab.coko.foundation/cokoapps/server/commit/92e5fb8881a96739f327ed62a2fe779c7c22ec15))
### [4.15.1](https://gitlab.coko.foundation/cokoapps/server/compare/v4.15.0...v4.15.1) (2025-06-18)
### Bug Fixes
* **fileStorage:** await image rotation ([ac10452](https://gitlab.coko.foundation/cokoapps/server/commit/ac10452d8747c897e223b9742e9dac3d44d2a8da))
## [4.15.0](https://gitlab.coko.foundation/cokoapps/server/compare/v4.14.0...v4.15.0) (2025-06-03)
### Features
* export clearDb util ([c1beefe](https://gitlab.coko.foundation/cokoapps/server/commit/c1beefe8298aeb6eee09035b856232fc48382a25))
## [4.14.0](https://gitlab.coko.foundation/cokoapps/server/compare/v4.13.0...v4.14.0) (2025-05-22)
### Features
* **fileStorage:** check if images need to be rotated ([8d5947b](https://gitlab.coko.foundation/cokoapps/server/commit/8d5947bfd6511c52b5598e8cd70a2b31ddf8aa2e))
## [4.13.0](https://gitlab.coko.foundation/cokoapps/server/compare/v4.12.0...v4.13.0) (2025-05-22)
### Features
* **models:** add public option to createFile controller ([1ac8055](https://gitlab.coko.foundation/cokoapps/server/commit/1ac8055ce733612347ea72ac5c75680688a33cee))
## [4.12.0](https://gitlab.coko.foundation/cokoapps/server/compare/v4.11.1...v4.12.0) (2025-05-22)
### Features
* **fileStorage:** allow uploading of public-read files ([8793748](https://gitlab.coko.foundation/cokoapps/server/commit/87937480d336dbe04bd6f746b17db4c48f3a7c55))
### [4.11.1](https://gitlab.coko.foundation/cokoapps/server/compare/v4.11.0...v4.11.1) (2025-05-15)
### Bug Fixes
* **models:** fix invalid spread operator when updating user email ([d79c8c7](https://gitlab.coko.foundation/cokoapps/server/commit/d79c8c7743b3ea0da709d3d4af12fe095dc9318e))
## [4.11.0](https://gitlab.coko.foundation/cokoapps/server/compare/v4.10.0...v4.11.0) (2025-05-15)
### Features
* **graphql:** add identityId to UpdateUserInput ([769a07c](https://gitlab.coko.foundation/cokoapps/server/commit/769a07c0dacb7b8228aebb53ab08702039f52e2a))
## [4.10.0](https://gitlab.coko.foundation/cokoapps/server/compare/v4.9.0...v4.10.0) (2025-05-09)
### Features
* **fileStorage:** add getFileContent method ([251e05c](https://gitlab.coko.foundation/cokoapps/server/commit/251e05cee86b210c47bd6385f8fb7cd6bbd023f3))
## [4.9.0](https://gitlab.coko.foundation/cokoapps/server/compare/v4.8.0...v4.9.0) (2025-03-31)
### Features
* add default value to email verification token ([a9ea107](https://gitlab.coko.foundation/cokoapps/server/commit/a9ea10769d37545286a02cfec0d33641ce99515a))
## [4.8.0](https://gitlab.coko.foundation/cokoapps/server/compare/v4.7.0...v4.8.0) (2025-02-24)
### Features
* expose uuid validate method ([55a9c89](https://gitlab.coko.foundation/cokoapps/server/commit/55a9c899619827b0b3775abe37b815fa047c49df))
## [4.7.0](https://gitlab.coko.foundation/cokoapps/server/compare/v4.6.0...v4.7.0) (2025-02-24)
### Features
* **server:** handle base64 data input in write file helper ([a2bc636](https://gitlab.coko.foundation/cokoapps/server/commit/a2bc636605235180950e9a29e339ce560a4fbd99))
## [4.6.0](https://gitlab.coko.foundation/cokoapps/server/compare/v4.5.0...v4.6.0) (2025-02-13)
### Features
* **db:** add db connection count report ([62ad0fb](https://gitlab.coko.foundation/cokoapps/server/commit/62ad0fb11c4c4137e7980bdc0b33a7d89d6c4f78))
* **graphql:** add resolver performance logs in development ([faed0c2](https://gitlab.coko.foundation/cokoapps/server/commit/faed0c2d1d92e8b79edaf5fa4309cd3571bebce9))
* validate db connection reporter config ([878b5b0](https://gitlab.coko.foundation/cokoapps/server/commit/878b5b05dcf8e5843fbc241849a850c23662babb))
## [4.5.0](https://gitlab.coko.foundation/cokoapps/server/compare/v4.4.0...v4.5.0) (2025-02-12)
### Features
* **graphql:** embed apollo explorer at /graphql in development ([3b85e32](https://gitlab.coko.foundation/cokoapps/server/commit/3b85e32637a0281971a03e80e56cb320ed7e2c3e))
* **server:** allow cors origin extension ([dc38658](https://gitlab.coko.foundation/cokoapps/server/commit/dc38658ed10876a2b79843575507cf0ad0c30f87))
## [4.4.0](https://gitlab.coko.foundation/cokoapps/server/compare/v4.3.0...v4.4.0) (2025-02-05)
### Features
* **cli:** allow debug inspectors to attach ([480d6dc](https://gitlab.coko.foundation/cokoapps/server/commit/480d6dcbc4e6ea827314d3fad08dbe267178a290))
## [4.3.0](https://gitlab.coko.foundation/cokoapps/server/compare/v4.2.0...v4.3.0) (2024-12-13)
### Features
* **graphql:** export race from graphql shield ([fc3cfcc](https://gitlab.coko.foundation/cokoapps/server/commit/fc3cfcc980134c0e8fdc1e7fcad3854f3067d7da))
### Bug Fixes
* **server:** do not throw error if subscriptions db is not defined in config ([4adf2a1](https://gitlab.coko.foundation/cokoapps/server/commit/4adf2a17484c5f2920bb808405171b7599410382))
## [4.2.0](https://gitlab.coko.foundation/cokoapps/server/compare/v4.1.1...v4.2.0) (2024-11-29)
### Features
* **fileStorage:** allow aws s3 connection without key secret pair ([a703310](https://gitlab.coko.foundation/cokoapps/server/commit/a7033107d32e4a7c4e78944d5c1ab11d6eff870a))
### [4.1.1](https://gitlab.coko.foundation/cokoapps/server/compare/v4.1.0...v4.1.1) (2024-11-19)
### Bug Fixes
* **db:** fix object destructure for fallback db values ([67c7c31](https://gitlab.coko.foundation/cokoapps/server/commit/67c7c31474850fc5e28a35caf3a1f04695ad5f9d))
## [4.1.0](https://gitlab.coko.foundation/cokoapps/server/compare/v4.0.2...v4.1.0) (2024-11-19)
### Features
* **db:** allow passing an encoded ca certificate through envornment variables ([c44ac0b](https://gitlab.coko.foundation/cokoapps/server/commit/c44ac0bc4d66dfe4ea9300ff54840d86dc3e161f))
* **db:** allow subscriptions to connect to a different db ([17803a0](https://gitlab.coko.foundation/cokoapps/server/commit/17803a0c13cc4ccc06be41b367338920206ed710))
### Bug Fixes
* **db:** correctly read allow self signed certificates variable ([45f189c](https://gitlab.coko.foundation/cokoapps/server/commit/45f189cd5209ad74e570f56a3369a42a9a105665))
### [4.0.2](https://gitlab.coko.foundation/cokoapps/server/compare/v4.0.1...v4.0.2) (2024-10-31)
### Bug Fixes
* **api:** return Int when deleting users in bulk ([1b7a2aa](https://gitlab.coko.foundation/cokoapps/server/commit/1b7a2aa527ba4af3f6f20d54feca2e94f0b09da4))
### [4.0.1](https://gitlab.coko.foundation/cokoapps/server/compare/v4.0.0...v4.0.1) (2024-10-21)
### Bug Fixes
* **server:** do not print user emails in the logs ([8b1cde9](https://gitlab.coko.foundation/cokoapps/server/commit/8b1cde9cbfe350098a80d013d10098f810bc0ac1))
## [4.0.0](https://gitlab.coko.foundation/cokoapps/server/compare/v4.0.0-beta.7...v4.0.0) (2024-10-21)
### Bug Fixes
* **server:** fix wrong function call in notify email ([fc4b006](https://gitlab.coko.foundation/cokoapps/server/commit/fc4b0069074db6c50c7ea1180f12e835abc89e41))
## [4.0.0-beta.7](https://gitlab.coko.foundation/cokoapps/server/compare/v4.0.0-beta.6...v4.0.0-beta.7) (2024-09-24)
### Features
* allow globs to be ignored by nodemon ([a1a07ac](https://gitlab.coko.foundation/cokoapps/server/commit/a1a07ac4fc3ab98afc91162dde5ba13041ba5f46))
## [4.0.0-beta.6](https://gitlab.coko.foundation/cokoapps/server/compare/v4.0.0-beta.5...v4.0.0-beta.6) (2024-08-30)
### Bug Fixes
* **server:** fix helmet cross origin resource policy ([f42d235](https://gitlab.coko.foundation/cokoapps/server/commit/f42d2350c4573b5a82d30f1036fb6072eaf768aa))
## [4.0.0-beta.5](https://gitlab.coko.foundation/cokoapps/server/compare/v4.0.0-beta.4...v4.0.0-beta.5) (2024-08-29)
### Bug Fixes
* **graphql:** fix when graphql upload express is called ([71495b7](https://gitlab.coko.foundation/cokoapps/server/commit/71495b7b31bab90dc41ae489b342ac372e7be283))
## [4.0.0-beta.4](https://gitlab.coko.foundation/cokoapps/server/compare/v4.0.0-beta.3...v4.0.0-beta.4) (2024-08-29)
### Bug Fixes
* **graphql:** make sure gql errors are logged ([b24aab0](https://gitlab.coko.foundation/cokoapps/server/commit/b24aab00cdfb8ecc4e94609cd70061b094d1aaa4))
## [4.0.0-beta.3](https://gitlab.coko.foundation/cokoapps/server/compare/v4.0.0-beta.2...v4.0.0-beta.3) (2024-08-29)
### Bug Fixes
* **server:** fix serving of static assets from the server ([a95ccd3](https://gitlab.coko.foundation/cokoapps/server/commit/a95ccd363dc615efb2915d951c0172934b2c477e))
## [4.0.0-beta.2](https://gitlab.coko.foundation/cokoapps/server/compare/v4.0.0-beta.1...v4.0.0-beta.2) (2024-08-29)
### Bug Fixes
* **graphql:** do not initialize graphql test server on index import ([0af6155](https://gitlab.coko.foundation/cokoapps/server/commit/0af61555ebb87d17fbf0705d822b4072f8e32bbb))
* **graphql:** fix pubsub noop error method ([8a6f13c](https://gitlab.coko.foundation/cokoapps/server/commit/8a6f13ca7aff1b43a1c8516c144da0af249f3b37))
* **graphql:** fix useGraphql not being true by default for pubsub ([fe060d8](https://gitlab.coko.foundation/cokoapps/server/commit/fe060d8581b6a6f66b8fe73c761db8e712d4c60f))
## [4.0.0-beta.1](https://gitlab.coko.foundation/cokoapps/server/compare/v4.0.0-beta.0...v4.0.0-beta.1) (2024-08-29)
### Features
* **models:** trigger subscription when user is updated ([9531ad9](https://gitlab.coko.foundation/cokoapps/server/commit/9531ad9b822488fb990d9afecb8a523388fc179b))
## [4.0.0-beta.0](https://gitlab.coko.foundation/cokoapps/server/compare/v3.13.2...v4.0.0-beta.0) (2024-08-29)
### ⚠ BREAKING CHANGES
* s3 protocol, host, port is now url
* **server:** drop hardcoded POSTGRES_ALLOW_SELF_SIGNED_CERTIFICATES reference
* **models:** deleting a chat channel now deletes its messages too
* **graphql:** Renamed types TeamsResponse and ChatChannelResponse to Teams and ChatChannels respectively.
* **graphql:** Renamed sendMessage, editMessage and deleteMessage to senChatMessage, editChatMessage and
deleteChatMessage respectively. UpdateUserInput id is now not nullable.
* **graphql:** renamed gql chatChannels where to filter
* **graphql:** renamed gql users options to users pagination
* **graphql:** renamed UserQueryParams to UserFilter
* **graphql:** gql user id param and user result are not nullable
* **graphql:** gql totalCount is now not nullable
* **graphql:** make teamMember id and user in gql not-nullable
* **graphql:** drop getGlobalTeams, getObjectTeams, rename TeamWhereInput to TeamFilter
* **models:** chat threads renamed to chat channels, chat message chatThreadId renamed to chatChannelId
* **models:** graphql UpdateInput has been renamed to UpdateUserInput. identityId has been dropped from
UpdateInput.
* **models:** deleteByIds does not return ids but number of rows now
* **models:** delete identities on user deletion
* ctx.user is renamed to ctx.userId
* **server:** renamed pubsub to subscriptionManager
* **server:** allow unauthenticated subscriptions
* rename filestorage deletefiles to delete
* drop connectToFileStorage and rename fileStorage to FileStorage
* **models:** modelTypes is now modelJsonSchemaTypes
* **models:** all nullable model types now have a default of null
* password reset token expiry now has default value (24 hours)
* drop exporting startServer
* drop extending typedefs and resolvers through config
* drop upload to disk endpoints
* drop serveClient option
* drop automatically serving _build and static folders
* **db manager:** drop createTables script
* drop extending the express app
* changed teams config structure
* dropped password-reset.token-length
* config.password-reset renamed to config.passwordReset
* drop extending apollo through config
* dropped pubsweet from config
* dropped pubsweet-server from config
* **db manager:** drop DATABASE_URL environment variable
### Features
* add helpful error message for pubsweet config changes ([c82b1da](https://gitlab.coko.foundation/cokoapps/server/commit/c82b1da44cebbd49afd0df9b5cfc1f71b2c122ac))
* add job manager and job definitions config ([bfa6b22](https://gitlab.coko.foundation/cokoapps/server/commit/bfa6b22901f8d7b39f8c2210374a98d8f7a98017))
* add messages for removed keys ([52d0880](https://gitlab.coko.foundation/cokoapps/server/commit/52d0880e2de14e97d5e87a3a79fe87b2b017504c))
* add meta table and constraints on migration files ([6d906bc](https://gitlab.coko.foundation/cokoapps/server/commit/6d906bc2887ebb0c3658df0e02ef4a59a72700fb))
* add onStartup hook for custom init scripts ([3c43420](https://gitlab.coko.foundation/cokoapps/server/commit/3c43420317036da1ed600a4d792c555d4d9bb953))
* add write to temp util ([e4ccbde](https://gitlab.coko.foundation/cokoapps/server/commit/e4ccbde6c8ddbea469e84290c6c434a138125bb1))
* allow config to define mount point for static folders ([85fe5b5](https://gitlab.coko.foundation/cokoapps/server/commit/85fe5b55585f9e63a9f48d32e38ed18d37c0db81))
* check for db connection at startup ([d28c24f](https://gitlab.coko.foundation/cokoapps/server/commit/d28c24f3d7e607466430efbecb66dbacf6fdb086))
* **cli:** add circular command ([5242ba2](https://gitlab.coko.foundation/cokoapps/server/commit/5242ba25fdc48c6471e447b52fb621023f79396d))
* **cli:** add start command ([c06e2f3](https://gitlab.coko.foundation/cokoapps/server/commit/c06e2f31c459838e541c08a8fdba74cae56aa979))
* **cli:** add start-dev command ([24b9821](https://gitlab.coko.foundation/cokoapps/server/commit/24b982150c83d5bbd0c3d4009b0e308ed40d27d2))
* **cli:** expand migrate command functionality ([633d485](https://gitlab.coko.foundation/cokoapps/server/commit/633d485c5fa6ad79601bcfaf03993a2a7bd2d26e))
* **db manager:** drop DATABASE_URL environment variable ([4f52e20](https://gitlab.coko.foundation/cokoapps/server/commit/4f52e204ca763d57797836b80e629f8fdce0446a))
* **db manager:** remove create tables script ([6decbef](https://gitlab.coko.foundation/cokoapps/server/commit/6decbef1d5a2cc3ec0da121f445a4269f18d4f5e))
* define static folders to serve through config ([41f9b26](https://gitlab.coko.foundation/cokoapps/server/commit/41f9b26305a4db740d3ce8bb6c299b3c44a113a8))
* drop app.locals and @pubsweet/models ([35a424b](https://gitlab.coko.foundation/cokoapps/server/commit/35a424bb5120912279527a105befba1f3b8087a2))
* drop authsome ([8dab3e5](https://gitlab.coko.foundation/cokoapps/server/commit/8dab3e5759f4e42817c0eb850fcd101e7c489921))
* drop entities table via core migrations ([8e33a50](https://gitlab.coko.foundation/cokoapps/server/commit/8e33a50a49f4ffe7224015e44d8590ee48ee8f44))
* dropped connectors ([fdd0d8e](https://gitlab.coko.foundation/cokoapps/server/commit/fdd0d8e0757bfbe341b7dba9bab11959e4bca513))
* dropped password reset token length config option ([38f4a11](https://gitlab.coko.foundation/cokoapps/server/commit/38f4a1129dff945a5a8d833e5bd3cba46756abf8))
* export withFilter for subscriptions ([fbea60d](https://gitlab.coko.foundation/cokoapps/server/commit/fbea60d739d8b06bcf7a3c7b7e0a70f64ee81495))
* expose graphql test server for api testing ([870ea1b](https://gitlab.coko.foundation/cokoapps/server/commit/870ea1ba3be96277efe0822ba2a9097253f700ce))
* expose standardized temp folder path ([eb68bc8](https://gitlab.coko.foundation/cokoapps/server/commit/eb68bc8232048b5e99ca18027cd9d3fd2edb8642))
* expose temp folder utility functions ([7593192](https://gitlab.coko.foundation/cokoapps/server/commit/7593192d4cb3b45cb8e0aed613f6f0ec7554679f))
* **fileStorage:** allow file storage connection config to be overriden through createfile and deletefile ([a37f2ea](https://gitlab.coko.foundation/cokoapps/server/commit/a37f2ea17f1226fced582d9750205c74cec4b7d6))
* **graphql:** rename chat channels where to filter and add api tests ([df46d65](https://gitlab.coko.foundation/cokoapps/server/commit/df46d658054a4cc55aade816373ed437f976e0e4))
* **graphql:** rename chat message mutations and add docs for all mutations ([19adcd0](https://gitlab.coko.foundation/cokoapps/server/commit/19adcd09340498ba610a02b56e5caab22093c259))
* **graphql:** rename users options to pagination ([33c3e79](https://gitlab.coko.foundation/cokoapps/server/commit/33c3e799ead7aeca9b25313f3a992f98b2d3a693))
* **graphql:** simplify type naming for teams and chat channels ([dff3adb](https://gitlab.coko.foundation/cokoapps/server/commit/dff3adbba1bb412aa6e43fe4457a0912ac53208a))
* **graphql:** update team graphql api ([ebd04d5](https://gitlab.coko.foundation/cokoapps/server/commit/ebd04d544a385539fad75490ddc0c62fb741bd4e))
* **graphql:** user query params is now user filter ([347b780](https://gitlab.coko.foundation/cokoapps/server/commit/347b780f3addeb7087fbf3be5d33bdc6f654d335))
* improve config validations ([662f16a](https://gitlab.coko.foundation/cokoapps/server/commit/662f16a71de75cf6992a7a054afe03f1063318a9))
* install pgcrypto via core migrations ([f3f710d](https://gitlab.coko.foundation/cokoapps/server/commit/f3f710dea6b645c8d264e7a30c5d0ee9f11e3a0f))
* make all config pubsweet keys top-level ([53dcc94](https://gitlab.coko.foundation/cokoapps/server/commit/53dcc94d5785e5b791b9516fc9177fe7469bd0de))
* make all config pubsweet-server keys top-level ([ff81563](https://gitlab.coko.foundation/cokoapps/server/commit/ff8156324fd9b767669688ad9b84aa44281cf852))
* make file storage a singleton class ([64ed7c3](https://gitlab.coko.foundation/cokoapps/server/commit/64ed7c31a45110ae5bf616926250827273991a54))
* make teams configs arrays ([c89bf90](https://gitlab.coko.foundation/cokoapps/server/commit/c89bf90e04e475c5bf2d35533a72c3ef18f1af92))
* **models:** base model delete by ids returns number of affected rows ([14c688e](https://gitlab.coko.foundation/cokoapps/server/commit/14c688e9a9f0d1db75a80885ea7778eab001adf9))
* **models:** delete chat messages on chat channel delete cascade ([dfe071c](https://gitlab.coko.foundation/cokoapps/server/commit/dfe071c1aec6721860184834c88c4e8ddcdea404))
* **models:** delete identities on cascade when user delete happens ([467ef39](https://gitlab.coko.foundation/cokoapps/server/commit/467ef396e891df9d5267cc06ae51b41d3c2c6937))
* **models:** export models directly from coko server ([fa9b8d1](https://gitlab.coko.foundation/cokoapps/server/commit/fa9b8d1cbff19df3e7575018a66d64c26ce04942))
* **models:** rename chat threads to chat channels ([e6f7649](https://gitlab.coko.foundation/cokoapps/server/commit/e6f76496b7c57f5a71c3f19d11b55de15f47bd60))
* **models:** rename exported modelTypes to modelJsonSchemaTypes ([53c6d01](https://gitlab.coko.foundation/cokoapps/server/commit/53c6d019505202f1e7b007a6f47a26273cb0a1b4))
* **models:** rename UpdateInput to UpdateUserInput ([2676458](https://gitlab.coko.foundation/cokoapps/server/commit/2676458191323c53d1ec7119e0b70b97f135e0e6))
* **models:** skip full size image migration if file storage is not used at all ([a9f447f](https://gitlab.coko.foundation/cokoapps/server/commit/a9f447f3aefbff15e4ed62df3695e13689570477))
* only update migrate checkpoint if it has changed ([7b8a576](https://gitlab.coko.foundation/cokoapps/server/commit/7b8a5764f63ea272e479f8de90f03b8b70b2df33))
* remove config option to serve client ([b098a4b](https://gitlab.coko.foundation/cokoapps/server/commit/b098a4b26f88eeb3de9ccd87954750cc5c6d3211))
* remove config.apollo from configuration ([70e26ac](https://gitlab.coko.foundation/cokoapps/server/commit/70e26ac0ba9d9829c9358ca72207d5677b5a02bf))
* remove option to extend the express app ([2039f87](https://gitlab.coko.foundation/cokoapps/server/commit/2039f87c50cbd00bfa35d1eb3f700fe6d8bbeec1))
* remove option to extend typedefs and resolvers through config ([c42abad](https://gitlab.coko.foundation/cokoapps/server/commit/c42abad0def54c7292d37146d756a6e7300fa2d4))
* remove start server export ([57cbc86](https://gitlab.coko.foundation/cokoapps/server/commit/57cbc8666ef1448133ef32e807f970e6e539b063))
* remove upload to disk endpoints and uploads config ([c71eb55](https://gitlab.coko.foundation/cokoapps/server/commit/c71eb559fd6dd704cdb2c1458aae9755076e06c0))
* rename ctx.user in graphql to ctx.userId ([ea7da11](https://gitlab.coko.foundation/cokoapps/server/commit/ea7da11b734ceabee26c0aa0f4f9b006bdb50373))
* rename filestorage deleteFiles to delete ([8c876b9](https://gitlab.coko.foundation/cokoapps/server/commit/8c876b986a88a4b49b4136edc4218008c6d50abe))
* rename password reset config to camelcase ([6255f95](https://gitlab.coko.foundation/cokoapps/server/commit/6255f95c281f55c6932b24001633131f911b5045))
* **server:** add option to add custom shutdown scripts ([e5bca73](https://gitlab.coko.foundation/cokoapps/server/commit/e5bca73af19f2b22af37cc2415680a1c471f5eae))
* **server:** do not throw error when subscriptions do not provide an auth token ([5b485db](https://gitlab.coko.foundation/cokoapps/server/commit/5b485db3b9eb5228fb47fa4ad09866f6513f3a02))
* **server:** expose subscription manager instead of pubsub and make less verbose ([b046ca1](https://gitlab.coko.foundation/cokoapps/server/commit/b046ca17c0d915ba05f669d3e90cfaf93593ab18))
* **server:** make mailer fall back on ethereal if not in prod and overridable ([997ad99](https://gitlab.coko.foundation/cokoapps/server/commit/997ad9943e337c2590524a11dcd22d24f587636b))
* **server:** record last successful migrate run ([f704050](https://gitlab.coko.foundation/cokoapps/server/commit/f704050139f152e59373602153580318aeb5a2a8))
* **server:** remove hardcoded POSTGRES_ALLOW_SELF_SIGNED_CERTIFICATES reference, let app handle it ([c95bcef](https://gitlab.coko.foundation/cokoapps/server/commit/c95bcefc5927a2cc661ef2b0995a58aa9639e38e))
* **server:** seed global teams at server startup ([2bab536](https://gitlab.coko.foundation/cokoapps/server/commit/2bab5364967edd704dcbd0de26e3d5ff422a3b1b))
* **server:** upgrade to apollo server v4 ([5a1e103](https://gitlab.coko.foundation/cokoapps/server/commit/5a1e103f63b35e94df8e2c17a3dfc836bc0a3a26))
* simplify s3 url config ([cd5b1c2](https://gitlab.coko.foundation/cokoapps/server/commit/cd5b1c2dde54d69d4dd7948607c0926ea1a30fcd))
* upgrade aws-sdk to v3 ([fae0125](https://gitlab.coko.foundation/cokoapps/server/commit/fae01258d358b403cf2775313372c44e1c4d2e2f))
### Bug Fixes
* add useJobQueue to list of removed config keys ([56e9139](https://gitlab.coko.foundation/cokoapps/server/commit/56e9139e0664df436c8ed054dfc67a4f4dab1f1b))
* **cli:** fix circular command not exiting ([285e44a](https://gitlab.coko.foundation/cokoapps/server/commit/285e44a3c9ecec497c76df24dbf2b137cb5f18be))
* fix graphql cors ([4f0adde](https://gitlab.coko.foundation/cokoapps/server/commit/4f0adde4f9a454ddb26c6c03f6e0a7c7c8d9c99b))
* fix optional missing keys crashing ([797ec71](https://gitlab.coko.foundation/cokoapps/server/commit/797ec71c8563de9566cc1e81d6ffa293bfaa66a1))
* **graphql:** fix isAdmin shield permission ([06c7970](https://gitlab.coko.foundation/cokoapps/server/commit/06c797051274f4ac1a660b99a31b775aa2bdbc63))
* **graphql:** make sure totalCount cannot be null ([6c51caa](https://gitlab.coko.foundation/cokoapps/server/commit/6c51caad88a33c9c82d45bd87ebfda9ca0d20458))
* **graphql:** make user query result and id param not nullable ([2a9f174](https://gitlab.coko.foundation/cokoapps/server/commit/2a9f17443c029ba68e1eecc6e7a6201594a3f36a))
* **graphql:** set not nullable values on members and add type docs for teams ([9c58861](https://gitlab.coko.foundation/cokoapps/server/commit/9c588612a035acaf46f4f3736f670aaaaf70f8ac))
* **server:** fix startServer imports ([7ecc1e8](https://gitlab.coko.foundation/cokoapps/server/commit/7ecc1e812547006bf76bc1110c541650ad2aaeae))
* **server:** make sure nodemon restarts for non-js files ([8154927](https://gitlab.coko.foundation/cokoapps/server/commit/81549279d2c60d9b716039d4be4884f1fbd63d06))
* **models:** upgrade knex and objection ([d4e0b2a](https://gitlab.coko.foundation/cokoapps/server/commit/d4e0b2a4eaf2b18c84cf4b4a932b512218167b94))
* upgrade faker ([6b4b708](https://gitlab.coko.foundation/cokoapps/server/commit/6b4b70829493750fb477fbfc59565f48f7c2bff3))
### [3.13.2](https://gitlab.coko.foundation/cokoapps/server/compare/v3.13.1...v3.13.2) (2024-08-27)
### Bug Fixes
* **models:** make team member status nullable ([b91df44](https://gitlab.coko.foundation/cokoapps/server/commit/b91df449edf32ff45e0018602660c82a74dc14c6))
### [3.13.1](https://gitlab.coko.foundation/cokoapps/server/compare/v3.13.0...v3.13.1) (2024-05-14)
### Bug Fixes
* **server:** fix bug where server crashes if teams are not defined ([62d20ff](https://gitlab.coko.foundation/cokoapps/server/commit/62d20ffec566f2ef4081f4bc41d20e8f3e5b30dd))
## [3.13.0](https://gitlab.coko.foundation/cokoapps/server/compare/v3.12.0...v3.13.0) (2024-04-29)
### Features
* expose isEnvVariableTrue helper function ([2ac0bac](https://gitlab.coko.foundation/cokoapps/server/commit/2ac0bac6db56a5040f31512fc75b8a1b3b81b5ee))
### Bug Fixes
* **db-manager:** fix immutability issue of db config so that it can be extended ([d75713b](https://gitlab.coko.foundation/cokoapps/server/commit/d75713b91dc79ef0349fbd47bf9586c338014a49))
## [3.12.0](https://gitlab.coko.foundation/cokoapps/server/compare/v3.11.0...v3.12.0) (2024-04-29)
### Features
* **db-manager:** add POSTGRES_ALLOW_SELF_SIGNED_CERTIFICATES env variable ([5589a8e](https://gitlab.coko.foundation/cokoapps/server/commit/5589a8ec9055ebc973b22d4d708648a54cf93fc5))
### Bug Fixes
* switch s3 healthcheck to using headBucket for compatibility with do ([d732d75](https://gitlab.coko.foundation/cokoapps/server/commit/d732d7561f77c2c59e09f0cc2e9521a13c7fb3b7))
## [3.11.0](https://gitlab.coko.foundation/cokoapps/server/compare/v3.10.1...v3.11.0) (2024-04-18)
### Features
* **db-manager:** expose create tables command ([3611f59](https://gitlab.coko.foundation/cokoapps/server/commit/3611f59facab8c5cbeb8c5f41d64a5bfc76c2f4c))
### [3.10.1](https://gitlab.coko.foundation/cokoapps/server/compare/v3.10.0...v3.10.1) (2024-02-22)
### Bug Fixes
* make coko-server cli work ([7f480ad](https://gitlab.coko.foundation/cokoapps/server/commit/7f480adf77f9b6061e740551711144863d00dff1))
### [3.10.1-alpha.0](https://gitlab.coko.foundation/cokoapps/server/compare/v3.10.0...v3.10.1-alpha.0) (2024-02-22)
### Bug Fixes
* fix cli path in package.json ([df06372](https://gitlab.coko.foundation/cokoapps/server/commit/df0637284e18fde140efe9ddaf37a07277db8b83))
## [3.10.0](https://gitlab.coko.foundation/cokoapps/server/compare/v3.9.1...v3.10.0) (2024-02-16)
### Features
* expose migrate as a function ([ebdd3dc](https://gitlab.coko.foundation/cokoapps/server/commit/ebdd3dc76150a96ab32c1e63b6b351cad05039f3))
### [3.9.1](https://gitlab.coko.foundation/cokoapps/server/compare/v3.9.0...v3.9.1) (2024-02-13)
### [3.9.0](https://gitlab.coko.foundation/cokoapps/server/compare/v3.8.1...v3.9.0) (2024-02-01)
### Features
* add activity log service ([697038f](https://gitlab.coko.foundation/cokoapps/server/commit/697038f423abfa6cc43a36213f00bfa1815659de))
### Bug Fixes
* **server:** andle oauth refresh token having 0 as its expiration value ([14cd7f3](https://gitlab.coko.foundation/cokoapps/server/commit/14cd7f384bec46beb539d9f54a500dc09ca0d7b2))
* **server:** fix identity-tokens circular dependency ([8beb1df](https://gitlab.coko.foundation/cokoapps/server/commit/8beb1dfcb9e7f959b0c4e842ad946d336b6c194d))
* **server:** handle access token becoming invalid before expiration ([89fedbd](https://gitlab.coko.foundation/cokoapps/server/commit/89fedbd20493ec96b88488abaaba35ed79466eb7))
### [3.8.2-beta.1](https://gitlab.coko.foundation/cokoapps/server/compare/v3.8.2-beta.0...v3.8.2-beta.1) (2024-01-30)
### Bug Fixes
* **server:** fix pubsubmanager imports ([3f1bb6a](https://gitlab.coko.foundation/cokoapps/server/commit/3f1bb6a4ec801ad599e535a907d5731897cdb322))
### [3.8.2-beta.0](https://gitlab.coko.foundation/cokoapps/server/compare/v3.8.1...v3.8.2-beta.0) (2024-01-30)
### Bug Fixes
* fix jobs circular dependency ([897834f](https://gitlab.coko.foundation/cokoapps/server/commit/897834fc95cf6a72a9eee27cbafd6b01b6e9d9b1))
### [3.8.1](https://gitlab.coko.foundation/cokoapps/server/compare/v3.8.0...v3.8.1) (2024-01-23)
### Bug Fixes
* **server:** allow files without mimetype to be uploaded ([cca8846](https://gitlab.coko.foundation/cokoapps/server/commit/cca8846f967acfa658591fc1adacb86bbd1837ca))
## [3.8.0](https://gitlab.coko.foundation/cokoapps/server/compare/v3.7.1...v3.8.0) (2023-12-22)
### Features
* add new env variable for separate s3 delete operations ([80c5ad7](https://gitlab.coko.foundation/cokoapps/server/commit/80c5ad770773ed89252cd88c5470617379dd1363))
### [3.7.1](https://gitlab.coko.foundation/cokoapps/server/compare/v3.7.0...v3.7.1) (2023-12-21)
### Bug Fixes
* **models:** force lowercase emails in identity find methods ([9e2a254](https://gitlab.coko.foundation/cokoapps/server/commit/9e2a254715c787a4c49c0a339d3bcd33450a20cd))
* **models:** remove non-existent user.email field from api ([3e403b0](https://gitlab.coko.foundation/cokoapps/server/commit/3e403b0f87c18b0decb108697b92b90cd5fa9d6c))
## [3.7.0](https://gitlab.coko.foundation/cokoapps/server/compare/v3.6.0...v3.7.0) (2023-12-20)
### Features
* **server:** expose sanitized clientUrl and serverUrl ([8a32d5e](https://gitlab.coko.foundation/cokoapps/server/commit/8a32d5e763b0a8132b164439a4705d4935b3bf03))
## [3.6.0](https://gitlab.coko.foundation/cokoapps/server/compare/v3.5.0...v3.6.0) (2023-12-19)
### Features
* **server:** remove trailing slashes from client url ([da79590](https://gitlab.coko.foundation/cokoapps/server/commit/da795901c3d2d162915c5b5ade42f7c57fa39957))
### Bug Fixes
* **models:** fix migration failing when multiple files use the same object key ([22f0218](https://gitlab.coko.foundation/cokoapps/server/commit/22f021800e345843286954b139645d0eb93456dd))
## [3.5.0](https://gitlab.coko.foundation/cokoapps/server/compare/v3.4.1...v3.5.0) (2023-12-19)
### Features
* **models:** add optional status on updateMembershipByTeamId ([09adbe2](https://gitlab.coko.foundation/cokoapps/server/commit/09adbe2af74cbeb548cbd588cd729730f796ed96))
### Bug Fixes
* duplicate identity crashes server ([d2fb19f](https://gitlab.coko.foundation/cokoapps/server/commit/d2fb19f54ba7175ac1c1f9a257aac5f8d0a61222))
* **server:** correctly update existing oauth identities ([479cc60](https://gitlab.coko.foundation/cokoapps/server/commit/479cc6036bc20a0193802718e283a37436b1b1ea))
### [3.4.1](https://gitlab.coko.foundation/cokoapps/server/compare/v3.4.0...v3.4.1) (2023-12-15)
### Bug Fixes
* handle refresh token expiration ([eb70a4b](https://gitlab.coko.foundation/cokoapps/server/commit/eb70a4bd363cf0dac4aa60e83bb2031847fb8872))
## [3.4.0](https://gitlab.coko.foundation/cokoapps/server/compare/v3.3.1...v3.4.0) (2023-12-13)
### Features
* make s3 style path configurable ([f84130e](https://gitlab.coko.foundation/cokoapps/server/commit/f84130ef1d9620ae1fe55d8679cf8e245ad891bc))
### [3.3.1](https://gitlab.coko.foundation/cokoapps/server/compare/v3.3.0...v3.3.1) (2023-12-08)
### Bug Fixes
* use s3 api instead of axios for full size image migration ([80d1c44](https://gitlab.coko.foundation/cokoapps/server/commit/80d1c4439bf6094c8eefcc3ecbe1784642a11cef))
## [3.3.0](https://gitlab.coko.foundation/cokoapps/server/compare/v3.2.3...v3.3.0) (2023-12-06)
### Features
* add deferred job for renewing refresh tokens ([2f57018](https://gitlab.coko.foundation/cokoapps/server/commit/2f570189f7f3ea173871fc34c53fd71d372d3fd6))
### [3.2.3](https://gitlab.coko.foundation/cokoapps/server/compare/v3.2.2...v3.2.3) (2023-11-28)
### Bug Fixes
* **server:** correct return for getAuthTokens ([0381570](https://gitlab.coko.foundation/cokoapps/server/commit/03815705134d03e30cfb1faa51fb5cbd30528897))
### [3.2.2](https://gitlab.coko.foundation/cokoapps/server/compare/v3.2.1...v3.2.2) (2023-11-28)
### Bug Fixes
* use utc for expiration times ([71847cf](https://gitlab.coko.foundation/cokoapps/server/commit/71847cf35de32bb4183999ea1ae1d24a14bc6104))
### [3.2.1](https://gitlab.coko.foundation/cokoapps/server/compare/v3.2.0...v3.2.1) (2023-11-18)
### Bug Fixes
* add redirect uri to integration authenticated call ([a0b2531](https://gitlab.coko.foundation/cokoapps/server/commit/a0b253113dba235e29e53e193e50c625d5f829c4))
## [3.2.0](https://gitlab.coko.foundation/cokoapps/server/compare/v3.1.1...v3.2.0) (2023-11-17)
### Features
* add function to make authenticated oauth calls ([8e52c4a](https://gitlab.coko.foundation/cokoapps/server/commit/8e52c4a731776bb7217ea76ab0c01bb4bb715710))
* **models:** add expiration to oauth tokens in identities ([9ebdf48](https://gitlab.coko.foundation/cokoapps/server/commit/9ebdf48e61bef0bb28d2e1cf38c9ee4722af7acc))
* **server:** add function to make authenticated call to integration ([313929d](https://gitlab.coko.foundation/cokoapps/server/commit/313929d239fa34b3a8d8f10ca4baf3061f482fa5))
### Bug Fixes
* **models:** add constraint that makes provider-email combinations unique ([f04f589](https://gitlab.coko.foundation/cokoapps/server/commit/f04f589224321166adb7611c4059b3865ce416ad))
### [3.1.1](https://gitlab.coko.foundation/cokoapps/server/compare/v3.1.0...v3.1.1) (2023-11-10)
### Bug Fixes
* **server:** fix file migration import paths ([bb4f94f](https://gitlab.coko.foundation/cokoapps/server/commit/bb4f94f9d789f63d5839723efdbfc7b204b24669))
## [3.1.0](https://gitlab.coko.foundation/cokoapps/server/compare/v3.0.1...v3.1.0) (2023-11-08)
### Features
* add full size conversion to image uploads ([6effd16](https://gitlab.coko.foundation/cokoapps/server/commit/6effd169184c879c7fa0c45594395a254ab76150))
### [3.0.1](https://gitlab.coko.foundation/cokoapps/server/compare/v3.0.0...v3.0.1) (2023-10-19)
### Bug Fixes
* **server:** await promise when returning image width ([a8f4ec2](https://gitlab.coko.foundation/cokoapps/server/commit/a8f4ec27dc9ab6cb95aa5096301474742777261b))
## [3.0.0](https://gitlab.coko.foundation/cokoapps/server/compare/v3.0.0-beta.16...v3.0.0) (2023-10-03)
### Features
* upgrade bcrypt to allow using node 18+ ([f946a3e](https://gitlab.coko.foundation/cokoapps/server/commit/f946a3ea13d03d2d6b0cf4ff2971de5f96593398))
### Bug Fixes
* update gql shield version in lockfile ([10d9be1](https://gitlab.coko.foundation/cokoapps/server/commit/10d9be1e447e16bdd91370c96fb16dca406004e0))
## [3.0.0-beta.16](https://gitlab.coko.foundation/cokoapps/server/compare/v3.0.0-beta.15...v3.0.0-beta.16) (2023-07-20)
### Features
* **server:** add wax to docx converter ([2febe66](https://gitlab.coko.foundation/cokoapps/server/commit/2febe669a05293392b4a113bce457c69c7bfa366))
## [3.0.0-beta.15](https://gitlab.coko.foundation/cokoapps/server/compare/v3.0.0-beta.14...v3.0.0-beta.15) (2023-07-14)
## [3.0.0-beta.14](https://gitlab.coko.foundation/cokoapps/server/compare/v3.0.0-beta.13...v3.0.0-beta.14) (2023-07-12)
### Features
* **models:** added currentUserOnly flag in members resolver ([65105e9](https://gitlab.coko.foundation/cokoapps/server/commit/65105e94ea2bedd0b9905a636fe8b6e05dd1d830))
## [3.0.0-beta.13](https://gitlab.coko.foundation/cokoapps/server/compare/v3.0.0-beta.12...v3.0.0-beta.13) (2023-06-09)
## [3.0.0-beta.12](https://gitlab.coko.foundation/cokoapps/server/compare/v3.0.0-beta.11...v3.0.0-beta.12) (2023-06-06)
### Bug Fixes
* **server:** fix problem with await of pubsub ([84c6ff4](https://gitlab.coko.foundation/cokoapps/server/commit/84c6ff474333d96dcdf9fcc1c454419869c76097))
## [3.0.0-beta.11](https://gitlab.coko.foundation/cokoapps/server/compare/v3.0.0-beta.10...v3.0.0-beta.11) (2023-06-06)
### Features
* **server:** subscriptions added for user ([adf5bf9](https://gitlab.coko.foundation/cokoapps/server/commit/adf5bf96658652e6525623cddc8c1ca48c0ca0a4))
## [3.0.0-beta.10](https://gitlab.coko.foundation/cokoapps/server/compare/v3.0.0-beta.9...v3.0.0-beta.10) (2023-04-06)
### Bug Fixes
* **server:** fix svg corrupted conversions ([b344d96](https://gitlab.coko.foundation/cokoapps/server/commit/b344d9656018bcd9f267240868a67c61b8f32961))
## [3.0.0-beta.9](https://gitlab.coko.foundation/cokoapps/server/compare/v3.0.0-beta.8...v3.0.0-beta.9) (2023-04-04)
### Bug Fixes
* **models:** current user should be allowed to return null ([57f11f4](https://gitlab.coko.foundation/cokoapps/server/commit/57f11f4fbd43f29871009ab8993f8bf1d0e2e1dc))
## [3.0.0-beta.8](https://gitlab.coko.foundation/cokoapps/server/compare/v3.0.0-beta.7...v3.0.0-beta.8) (2023-03-23)
### Features
* **server:** add chat gpt support ([231f3bc](https://gitlab.coko.foundation/cokoapps/server/commit/231f3bca38b8955de694a229f8fc3d59a6dbfb05))
## [3.0.0-beta.7](https://gitlab.coko.foundation/cokoapps/server/compare/v3.0.0-beta.6...v3.0.0-beta.7) (2023-03-15)
### Bug Fixes
* **models:** improvments in file migration script ([4267df9](https://gitlab.coko.foundation/cokoapps/server/commit/4267df9290e3200b05ec13c37b73c3c6d0091886))
* **server:** correction in forceObjectKey feature and tests ([8c45224](https://gitlab.coko.foundation/cokoapps/server/commit/8c45224a773182f8eaa9468fe771831f61356a5b))
## [3.0.0-beta.6](https://gitlab.coko.foundation/cokoapps/server/compare/v3.0.0-beta.5...v3.0.0-beta.6) (2023-03-08)
## [3.0.0-beta.5](https://gitlab.coko.foundation/cokoapps/server/compare/v3.0.0-beta.4...v3.0.0-beta.5) (2023-02-28)
### Bug Fixes
* **models:** create unique username if not exists ([28bcd51](https://gitlab.coko.foundation/cokoapps/server/commit/28bcd51ede13fc4dbff54761a0185cffc32f806b))
## [3.0.0-beta.4](https://gitlab.coko.foundation/cokoapps/server/compare/v3.0.0-beta.3...v3.0.0-beta.4) (2023-02-24)
### Bug Fixes
* **models:** more gentle migrations for users teams identities and team members ([0e4cb8b](https://gitlab.coko.foundation/cokoapps/server/commit/0e4cb8b1dbd8d26e6388140563bf8c6eccc40f85))
* **server:** use correct env variable for cors ([e0e25e3](https://gitlab.coko.foundation/cokoapps/server/commit/e0e25e3086a07dcf65b35222425cb1a4a6939f75))
## [3.0.0-beta.3](https://gitlab.coko.foundation/cokoapps/server/compare/v3.0.0-beta.2...v3.0.0-beta.3) (2023-02-23)
### Features
* **server:** allow filestorage to read credentials from os aws setup ([8db9292](https://gitlab.coko.foundation/cokoapps/server/commit/8db92929e806a26ad6d1caddb3f892c947f5f5a3))
## [3.0.0-beta.2](https://gitlab.coko.foundation/cokoapps/server/compare/v3.0.0-beta.1...v3.0.0-beta.2) (2023-02-15)
### Features
* **server:** add callMicroservice function ([5b06158](https://gitlab.coko.foundation/cokoapps/server/commit/5b06158a7a88785637f8852fa425269315d20d59))
* **server:** convert eps to svg, tiff \& png to png ([440b366](https://gitlab.coko.foundation/cokoapps/server/commit/440b366bd68b0bdfa0a7ee1dd61cb18667bf38f5))
* **server:** expose verifyJWT added ([a6fd48c](https://gitlab.coko.foundation/cokoapps/server/commit/a6fd48c9fec708f572db6217ab9f68d5a6cc6dc6))
* **server:** pass cors config to apollo server ([6232cb5](https://gitlab.coko.foundation/cokoapps/server/commit/6232cb5f71704d22eb8d3f8fe4bdb86e6229059c))
### Bug Fixes
* **models:** get base model for service credentials from local file ([f17e633](https://gitlab.coko.foundation/cokoapps/server/commit/f17e633ea7018ee4aabf6fcc30cbd107bccf03d9))
* **server:** move config services into get access token fn ([2487665](https://gitlab.coko.foundation/cokoapps/server/commit/24876652867c6d8b696a408f3127a300181ad2e6))
* **server:** register cors before static endpoints ([b64dd28](https://gitlab.coko.foundation/cokoapps/server/commit/b64dd28f2a77cfc689ad8c3