Skip to content

v5.2.9

Latest

Choose a tag to compare

@kevinand11 kevinand11 released this 21 Mar 14:15

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

5.2.9 (2026-03-21)

Bug Fixes

  • skip bulk write if empty (702c28f)

5.2.8 (2026-03-02)

Bug Fixes

  • dont covert undefined to null in mongo (81b3870)

5.2.7 (2026-03-02)

5.2.6 (2026-02-26)

Bug Fixes

  • not found handler running before path handlers in express (9088562)

5.2.5 (2026-02-25)

Features

  • add support for response middlewares (0c75845)

5.2.4 (2026-02-23)

Bug Fixes

  • on error, if equipped error, make badRequest with error message (52501b3)

5.2.3 (2026-02-08)

Bug Fixes

  • type of cors should be true not boolean (60cad5e)

5.2.2 (2026-02-08)

Features

  • support allow all domains for cors (bf12ed4)

5.2.1 (2026-02-03)

Bug Fixes

  • only log error if it is not an equipped error (ab8f517)

5.2.0 (2026-02-03)

Features

  • auth methods support registering route security (49ae6de)
  • impl cookie request auth (996e6ce)

Bug Fixes

  • cors behavior (c48a35a)
  • remove unused context from request object and schema (cf771a0)
  • types of instance.createX (b8589e7)
  • validate response cookie value not whole cookie object (289496a)

5.1.11 (2026-01-25)

Bug Fixes

  • enable heartbeats for cdc (f29c586)

5.1.10 (2026-01-19)

Bug Fixes

  • check for length before running bulkWrite (32b18fc)

5.1.9 (2026-01-18)

Bug Fixes

  • dont throw error inside process audit event session (a35ebb0)

5.1.8 (2026-01-09)

Features

  • add firstRun to event context (0f47b76)

Bug Fixes

5.1.7 (2025-12-07)

Bug Fixes

  • mongo session not reversing on error and scope bull jobs names (9a1b9cb)

5.1.6 (2025-12-07)

Bug Fixes

  • custom id for bull jobs (f56fb23)

5.1.5 (2025-12-07)

Bug Fixes

  • switch from bull to bullmq for jobs (ba5fdfb)

5.1.4 (2025-11-23)

Bug Fixes

  • confluent kafka version (8d00144)

5.1.3 (2025-11-11)

5.1.2 (2025-11-11)

Bug Fixes

5.1.1 (2025-11-11)

Features

  • start audit queue in instance hooks (1be0c79)
  • upgrade scalar version (9b988a0)

Bug Fixes

  • mongo session resuses same session for nested calls (68a446f)
  • starting db changes (7de81c0)

5.1.0 (2025-10-04)

5.0.35 (2025-10-03)

Bug Fixes

5.0.34 (2025-10-03)

Features

  • audit context with userId (d5ecd16)

5.0.33 (2025-10-02)

5.0.32 (2025-10-02)

Bug Fixes

  • extend defineHandler type (4011003)

5.0.31 (2025-10-02)

Bug Fixes

5.0.30 (2025-10-02)

Features

  • events auditing (4f7eb59)
  • response cookies and cookies validations (a500adb)

5.0.29 (2025-08-28)

Bug Fixes

  • use snapshot mode of always (cf3f132)

5.0.28 (2025-08-18)

Bug Fixes

  • error when processing event (12e867f)

5.0.27 (2025-08-13)

Bug Fixes

  • compile request and response pipes before server starts (79fbe2d)
  • recursive fn not defined when validating queryParams (d7b4650)

5.0.26 (2025-08-11)

Bug Fixes

  • recursive fn not defined when validating queryParams (c0c3f31)

5.0.25 (2025-08-09)

Features

5.0.24 (2025-08-09)

Bug Fixes

5.0.23 (2025-07-19)

Bug Fixes

5.0.22 (2025-07-19)

Bug Fixes

  • return type of createServer (6622adc)

5.0.21 (2025-07-13)

Features

5.0.20 (2025-07-13)

Bug Fixes

  • add ConditionalObjectKeys (7103659)

5.0.19 (2025-07-13)

5.0.18 (2025-07-07)

5.0.17 (2025-07-07)

5.0.16 (2025-07-06)

Bug Fixes

  • withRequest and withResponse (80c5a7f)

5.0.15 (2025-07-06)

Bug Fixes

  • docs is hosted at ./index.html instead of ./ (98e999c)
  • updatedAt for upsert (b956e7a)

5.0.14 (2025-07-06)

Features

  • make ttl in cache optional (4e38b24)

5.0.13 (2025-07-05)

5.0.12 (2025-07-05)

Features

5.0.11 (2025-06-28)

Features

  • add inmemory cache, make cache optional on instance and pass cache impl to CacheTokenImpl (4338693)

5.0.10 (2025-06-27)

Features

5.0.9 (2025-06-27)

Bug Fixes

  • sockets not importable in esm (d28dc81)

5.0.8 (2025-06-27)

5.0.7 (2025-06-27)

5.0.6 (2025-06-27)

Features

  • support esm and cjs on build (7f6d1cf)

5.0.5 (2025-06-26)

Bug Fixes

5.0.4 (2025-06-25)

Bug Fixes

  • always read config from original object instead of destructuring (777677b)

5.0.3 (2025-06-25)

Features

  • dbs add config on table (3a0b248)

5.0.2 (2025-06-24)

Features

5.0.1 (2025-06-24)

5.0.0 (2025-06-24)

⚠ BREAKING CHANGES

  • events: change Events subscribe and publish api

Features

  • add Instance crash (a385d4d)
  • can specify multiple dbs (8f7f649)
  • compile $refId schemas into openapi component schemas (a43ecae)
  • complete route def for openapi (eb7a064)
  • consume fromJson pipe (cc33995)
  • context in schema (30abe71)
  • define common schemas used in code (1b8f7bf)
  • events: change Events subscribe and publish api (537d3a3)
  • forward errors cause properly (702272c)
  • incoming file schema (53f8780)
  • initialize Instance with envs (6c27d4f)
  • make db changes options optional (60e1488)
  • make eventBus optional (d623654)
  • make jobs optional (24d2f43)
  • make server optional (c640e35)
  • merge Router and Route RouteDef (b3dbfd5)
  • migrate to pipe api for valleyed (def6215)
  • move validations to its own export (ae7669f)
  • pass request and response in root pipe (17e6ce1)
  • refactor router to expect schema by pipes (36aec73)
  • restructure exports (0b5c6fc)
  • routes inherit config from routers (440f0d1)
  • support for hooks on Instance (c2eae60)
  • support specifying content type (d57f3e6)
  • use pipe to validate settings (90ab69f)
  • validate if requests.schemaValidation (efcd5ad)
  • validating reqs and res (cc5e1fc)
  • withRequest and withResponse context (91ea4a6)

Bug Fixes

  • change order of starting connections (b1d33f0)
  • connect to redis before other services (94a8d20)
  • middlewares expect generic requests (9535897)
  • migrate to v.merge (a9fdcc9)
  • parse json in request body and query (b67e696)
  • pipes (9085cae)
  • remove need for DataClass __update (fb8ea3c)
  • remove v.objectTrim for v.merge (c0d2e0e)
  • request body must be object (7fce39c)
  • typings for route request and response (a69125b)
  • valleyed safeParse -> validate (7a78ff6)
  • wrap instanceSettingsPipe in function to prevent imported undefined (c4d9911)

5.0.0-rc.40 (2025-06-04)

Features

5.0.0-rc.39 (2025-06-03)

Features

  • date schema (b578c6b)
  • remove need to wrap entities in EntityJSON (a788990)
  • reshape File in ApiDeb to FileSchema (a46f188)
  • support passing VBase directly as body of ApiDef (942344f)

5.0.0-rc.38 (2025-06-01)

5.0.0-rc.37 (2025-06-01)

Features

  • new RequestError and EquippedError (2900ad3)

5.0.0-rc.36 (2025-06-01)

Bug Fixes

  • allow errors to be forwarded to the user (e09d88c)

5.0.0-rc.35 (2025-06-01)

Bug Fixes

  • return updated doc on updateOne mongo (5034d67)

5.0.0-rc.34 (2025-05-25)

Bug Fixes

  • updateOne and deleteOne logic (ec62374)

5.0.0-rc.33 (2025-05-22)

Bug Fixes

  • merge scope when emitting (d3f18b9)

5.0.0-rc.32 (2025-05-22)

5.0.0-rc.31 (2025-05-21)

Bug Fixes

  • cache admin connection for kafka (f14bfcf)

5.0.0-rc.30 (2025-05-21)

Bug Fixes

  • verify access token and scope redis key (781fe51)

5.0.0-rc.29 (2025-05-20)

5.0.0-rc.28 (2025-05-19)

5.0.0-rc.27 (2025-05-19)

5.0.0-rc.26 (2025-05-17)

Bug Fixes

5.0.0-rc.25 (2025-05-17)

Bug Fixes

  • correct return type of validate fn (90f9b40)

5.0.0-rc.24 (2025-05-17)

Features

5.0.0-rc.23 (2025-05-16)

5.0.0-rc.21 (2025-05-15)

Features

  • support api keys for auth (f94857c)

Bug Fixes

  • cors issue (f91f952)
  • remove silly api docs path title (8e5ea1e)
  • specify default value for cors (e25e16f)

5.0.0-rc.20 (2025-05-14)

5.0.0-rc.19 (2025-05-14)

5.0.0-rc.18 (2025-05-14)

5.0.0-rc.17 (2025-05-13)

5.0.0-rc.16 (2025-05-13)

Features

  • scope all external connections interactions under appId (3dc767a)

Bug Fixes

  • change debezium topic prefix (3283930)
  • check if debezium connected fine (f24a2b1)
  • upsert collection with proper settings (e87867e)

5.0.0-rc.15 (2025-05-12)

5.0.0-rc.14 (2025-05-12)

Bug Fixes

  • connect mongodb to debezium (644366e)

5.0.0-rc.13 (2025-05-11)

Bug Fixes

  • connect mongodb to debezium (21524cb)

5.0.0-rc.12 (2025-05-07)

5.0.0-rc.11 (2025-03-31)

Bug Fixes

5.0.0-rc.10 (2024-10-13)

Bug Fixes

  • remove stray console log (3b7e789)

5.0.0-rc.9 (2024-10-13)

5.0.0-rc.8 (2024-09-25)

Features

  • allow passing headers and status into pipe (0449538)

5.0.0-rc.7 (2024-09-25)

5.0.0-rc.6 (2024-09-19)

Bug Fixes

  • fix scalar and redoc version (7b0aa4a)

5.0.0-rc.5 (2024-09-17)

5.0.0-rc.4 (2024-09-17)

Features

Bug Fixes

5.0.0-rc.3 (2024-09-16)

Features

  • flatten route definition to simplify (466e51f)
  • json schema base path (77fb309)
  • must return Response class if defaultStatusCode or responseHeaders is set (7d4877e)

Bug Fixes

  • types back to interface (fdf7457)
  • use scalar and redoc latest version (7a6f937)

5.0.0-rc.2 (2024-08-10)

Features

5.0.0-rc.1 (2024-07-31)

5.0.0-alpha.17 (2024-07-12)

Bug Fixes

5.0.0-alpha.16 (2024-07-09)

Bug Fixes

5.0.0-alpha.15 (2024-07-09)

Bug Fixes

  • excludeIgnored by default (983caac)

5.0.0-alpha.14 (2024-07-07)

Features

5.0.0-alpha.13 (2024-07-04)

5.0.0-alpha.12 (2024-07-04)

5.0.0-alpha.11 (2024-07-03)

5.0.0-alpha.10 (2024-07-03)

5.0.0-alpha.9 (2024-06-29)

Bug Fixes

  • ignoreTrailingSlash for fastify (dc42565)

5.0.0-alpha.8 (2024-06-27)

Bug Fixes

  • apiDef key for api definition (29608b9)

5.0.0-alpha.7 (2024-06-27)

Bug Fixes

5.0.0-alpha.6 (2024-06-26)

Bug Fixes

  • openapi.json relative to index html (31658f9)

5.0.0-alpha.5 (2024-06-26)

Features

5.0.0-alpha.4 (2024-06-18)

5.0.0-alpha.3 (2024-06-18)

5.0.0-alpha.2 (2024-06-16)

Features

5.0.0-alpha.1 (2024-06-09)

5.0.0-beta.17 (2024-06-03)

Bug Fixes

5.0.0-beta.16 (2024-06-03)

Features

  • support headers in schema (85a9319)

Bug Fixes

  • error when cloning objects in toJSON (1f4cf25)

5.0.0-beta.15 (2024-06-02)

Bug Fixes

  • remove slowdown to avoid esm (414b2ef)

5.0.0-beta.14 (2024-06-02)

Bug Fixes

  • use maps for registered maps for speed (1882a24)

5.0.0-beta.13 (2024-06-01)

Features

  • add description for each status code (064a686)

5.0.0-beta.12 (2024-06-01)

Bug Fixes

  • function overloading for validate function (e1209ab)
  • references to BaseEntity (071a07a)

5.0.0-beta.11 (2024-06-01)

Features

  • unique paths and keys for routes (36d1776)

5.0.0-beta.10 (2024-05-31)

Bug Fixes

5.0.0-beta.9 (2024-05-31)

Bug Fixes

5.0.0-beta.8 (2024-05-31)

Features

5.0.0-beta.7 (2024-05-31)

Features

Bug Fixes

  • start server on 0.0.0.0 (b654ee8)

5.0.0-beta-6 (2024-05-30)

Bug Fixes

  • res body defaults to any (534b3a4)

5.0.0-beta-5 (2024-05-30)

Bug Fixes

  • more graceful defaults for Api (a2d23f9)

5.0.0-beta-4 (2024-05-30)

5.0.0-beta-3 (2024-05-30)

Features

  • allow custom validator in validate (24a1d7a)

5.0.0-beta-2 (2024-05-30)

Bug Fixes

  • validate expects value of unknown not Record (f3773f9)

5.0.0-beta-1 (2024-05-29)

Features

  • add request type details on Request class (d6c3752)
  • error handler per route (0eccc21)
  • express server swagger (95c811b)
  • fastify swagger and custom schema validation error (17b8710)
  • hide routes from schema (304df23)
  • new JsonValue and Ignored types (ba73af4)
  • regustere schemas in server and reference by key (7298bb0)
  • route securities (a7b91a1)
  • schema for fastify (990529c)
  • script to generate schemas (2736ffa)
  • settings to toggle whether to schema validate (6f64313)
  • throw ValidationError for failed schema validation in express app (be30a5e)

Bug Fixes

  • catch errors in json schema (02f4b0b)
  • fix mongo createCollection command (f0bfbfa)
  • remove recursive type for QueryWhereBlock to prevent recursive errors in schema gen (31e3af6)

4.4.6 (2024-04-07)

4.4.5 (2024-04-06)

4.4.4 (2024-03-23)

Bug Fixes

  • debezium connector mongodb string (125b199)

4.4.3 (2024-03-01)

Bug Fixes

  • typing of QueryParams sort (9c7e4a3)

4.4.2 (2024-03-01)

Bug Fixes

  • emit toJSONed base entity (501c0c7)
  • error message on start connections (37aba2e)

4.4.1 (2024-02-24)

Bug Fixes

4.4.0 (2024-02-23)

4.3.2 (2024-02-21)

4.3.1 (2024-02-17)

4.3.0 (2024-02-12)

Bug Fixes

  • query types and add query in sockets (881c397)

4.2.10 (2024-02-09)

4.2.9 (2024-02-09)

4.2.8 (2023-12-19)

4.2.7 (2023-12-12)

Bug Fixes

4.2.6 (2023-11-27)

Bug Fixes

  • base entities need to include getters in toJSON (1a3848d)

4.2.5 (2023-11-21)

4.2.4 (2023-11-12)

Bug Fixes

4.2.3 (2023-11-12)

4.2.2 (2023-11-07)

Bug Fixes

  • files all converted to buffer (703bc2b)

4.2.1 (2023-09-09)

4.2.0 (2023-09-06)

Features

  • add type for base entity (0f54bc8)

4.1.23 (2023-08-25)

Bug Fixes

  • don't return db error from querying (6eb6915)

4.1.22 (2023-08-25)

Bug Fixes

  • don't return db error from querying (49642bd)
  • remove space in logger (12eddb8)

4.1.21 (2023-08-16)

Bug Fixes

4.1.20 (2023-08-13)

4.1.19 (2023-08-13)

Bug Fixes

  • use json res if null or undefined (4b80d3e)

4.1.18 (2023-08-01)

Bug Fixes

4.1.17 (2023-05-24)

Bug Fixes

  • only run update if there is an after (1628b4e)

4.1.16 (2023-05-15)

Bug Fixes

  • helmet allow cross origin (c513b29)

4.1.15 (2023-05-05)

Bug Fixes

  • nullish checks when parsing json (cb9d132)

4.1.14 (2023-05-03)

Features

  • add ability to pipe through response (12bd81e)

4.1.13 (2023-05-02)

Features

  • allow other content types (312e66f)

4.1.12 (2023-04-10)

4.1.11 (2023-04-09)

Bug Fixes

  • do not convert value in JSON.parse if it is not a string (e7d735f)

4.1.10 (2023-04-07)

Features

  • add list to ignore when converting baseEntity to json (624d134)

4.1.9 (2023-04-04)

Bug Fixes

  • export bull jobs interfaces to allow extending in user code (a897617)

4.1.8 (2023-03-30)

Bug Fixes

  • update to latest version of valleyed (7999007)

4.1.7 (2023-03-22)

Bug Fixes

  • parse _id if string or ObjectId (3aab101)

4.1.6 (2023-03-18)

Features

  • update to latest version of valleyed (bdcd8e1)

4.1.5 (2023-03-17)

Features

  • update to latest version of valleyed that fixes default problems (77e4225)

4.1.4 (2023-03-14)

Features

  • update to latest version of valleyed (60c8c95)

4.1.3 (2023-03-11)

4.1.2 (2023-03-11)

4.1.1 (2023-03-10)

4.1.0 (2023-03-07)

Features

  • access db name from mongoose (febdee0)
  • add fanout option for event subscribers (4f0c060)
  • add helmet and supertest (71ddcad)
  • add Id to mongo db (55a8728)
  • add kafka eventbus (22f79d4)
  • automatically start subscribers in Instance.startConnections (96a07c9)
  • enable defaults, getters and virtuals on lean docs (69f9d2b)
  • enable lean documents for query (ce04a8a)
  • enable pre images for all collections (710457d)
  • hydrate cs docs with getters and virtuals (c93809a)
  • new changestream api (923660b)
  • server request ip (371dac1)
  • socket emitters fanout (65a36db)

Bug Fixes

  • hydrate _id from changes (65e6539)
  • loop over db connections (eb3f548)
  • remove cache setInTransaction (4f1b3c0)
  • setup debezium connection to mongo (3d36283)

4.1.7 (2023-03-22)

Bug Fixes

  • parse _id if string or ObjectId (3aab101)

4.1.6 (2023-03-18)

Features

  • update to latest version of valleyed (bdcd8e1)

4.1.5 (2023-03-17)

Features

  • update to latest version of valleyed that fixes default problems (77e4225)

4.1.4 (2023-03-14)

Features

  • update to latest version of valleyed (60c8c95)

4.1.3 (2023-03-11)

4.1.2 (2023-03-11)

4.1.1 (2023-03-10)

4.1.0 (2023-03-07)

Features

  • access db name from mongoose (febdee0)
  • add fanout option for event subscribers (4f0c060)
  • add helmet and supertest (71ddcad)
  • add Id to mongo db (55a8728)
  • add kafka eventbus (22f79d4)
  • automatically start subscribers in Instance.startConnections (96a07c9)
  • enable defaults, getters and virtuals on lean docs (69f9d2b)
  • enable lean documents for query (ce04a8a)
  • enable pre images for all collections (710457d)
  • hydrate cs docs with getters and virtuals (c93809a)
  • new changestream api (923660b)
  • server request ip (371dac1)
  • socket emitters fanout (65a36db)

Bug Fixes

  • hydrate _id from changes (65e6539)
  • loop over db connections (eb3f548)
  • remove cache setInTransaction (4f1b3c0)
  • setup debezium connection to mongo (3d36283)

4.0.2-alpha.3 (2023-02-19)

4.0.2-alpha.2 (2023-02-19)

4.0.2-alpha.1 (2023-02-19)

Features

  • make db change abstract (e747c3f)

4.0.2 (2023-02-16)

4.0.1 (2023-02-16)

4.0.0-alpha-10 (2023-02-16)

4.0.0-alpha.9 (2023-02-15)

Bug Fixes

  • remove file type from validation (5511b44)

4.0.0-alpha.8 (2023-02-14)

Features

  • add isNotTruncated to file types (4d013e1)

4.0.0-alpha.7 (2023-02-14)

Bug Fixes

  • update valleyed version (638ea0a)

4.0.0-alpha.6 (2023-02-14)

4.0.0-alpha.5 (2023-02-14)

Bug Fixes

4.0.0-alpha.4 (2023-02-14)

4.0.0-alpha.3 (2023-02-14)

Bug Fixes

4.0.0-alpha.2 (2023-02-14)

Bug Fixes

4.0.0-alpha.1 (2023-02-14)

Features

Bug Fixes