Skip to content

Latest commit

 

History

History
430 lines (205 loc) · 17.9 KB

CHANGELOG.md

File metadata and controls

430 lines (205 loc) · 17.9 KB

1.12.2 (2024-11-28)

Bug Fixes

  • 🐛 schema cleaning in typeGenerator (0971986)

1.12.1 (2024-09-27)

Bug Fixes

  • 🩹 handle prerender mode (11b8f11)

1.12.0 (2024-08-23)

Features

  • 🎨 export defaultDbName (daa8d6f)
  • ✨ collection:before hook & Model.db() (00dd90b)

1.11.7 (2024-08-19)

Bug Fixes

  • 🩹 undefined tracked prop was converted to null (fe200e6)

1.11.6 (2024-08-15)

Bug Fixes

  • 🎨 support number/boolean encryption (0d9a7c5)

1.11.5 (2024-06-21)

Bug Fixes

  • 🚑 client schema != server schema (983b994)

1.11.4 (2024-06-19)

Bug Fixes

  • 🩹 rm .js ext (272e458)
  • 🩹 useOaConfig merge runtimeConfig (caec6c4)

1.11.3 (2024-06-19)

Bug Fixes

  • 🩹 import in playground api (b4bad7b)
  • 🎨 better config with useOaConfig() (54dbeed)
  • 🎨 better types/imports (29c5606)
  • 🎨 support recursive additionalProperties (e6e4e38)
  • 🏷️ ModuleOptions (d08a179)
  • 🔒 erase sensitive buffer (ae71093)

1.11.2 (2024-06-04)

Bug Fixes

  • 🩹 jsonKey use RegExp instead of string (d34e9c7)
  • 🐛 dicType with properties & additionalProperties & required (f097d79)
  • 🐛 genInterface prop with non word chars (dc345f4)
  • 🏷️ genInterface support schema dictionnaries (d7ff3f5)

1.11.1 (2024-05-21)

Bug Fixes

1.11.0 (2024-02-19)

Features

  • ✨ add findEncrypted and findOneEncrypted (bef68ed)

1.10.3 (2024-02-16)

Bug Fixes

  • 🏷️ better useOaSchema & useOaDefsSchema types (610a4a8)

1.10.2 (2023-12-14)

Bug Fixes

  • ⬆️ Upgrade dependencies (73c3128)

1.10.1 (2023-11-24)

Bug Fixes

  • ⬆️ upgrade dependencies (66ae189)

1.10.0 (2023-11-15)

Features

  • ✨ provide useOaModelAjv to access ajv instance & addKeywords (e776977)

1.9.1 (2023-11-14)

Bug Fixes

1.9.0 (2023-11-09)

Bug Fixes

  • 🐛 trackedProperties: true & updates type (5d59e9b)

Features

  • 🏷️ hot reload types (78a133f)

1.8.0 (2023-11-08)

Bug Fixes

  • 🐛 user.id in playground auth function (048243d)

Features

  • ✨ add easy way to track all properties (758cc2c)

1.7.8 (2023-10-10)

Bug Fixes

  • 🐛 stringify schemasByName & defsSchemas (720f5f5)

1.7.7 (2023-10-10)

Bug Fixes

  • 🐛 prevent read properties of null (e47a8a2)

1.7.6 (2023-10-06)

Bug Fixes

  • 🏷️ updates can be undefined (569d9ed)

1.7.5 (2023-09-29)

Bug Fixes

  • 🩹 save created/updated/deletedBy as ObjecId (ee20373)

1.7.4 (2023-09-29)

Bug Fixes

  • 🩹 timestamps & userstamps types (170c816)

1.7.3 (2023-07-07)

Bug Fixes

  • 🎨 rm readOnly props before validate (b5a5287)
  • 🏷️ better mongo collection type (da5ec1c)

1.7.2 (2023-06-23)

Bug Fixes

  • 🩹 support number in enum (0211b58)

1.7.1 (2023-06-06)

Bug Fixes

1.7.0 (2023-06-02)

Bug Fixes

  • 🐛 type for anyOf, oneOf, allOf, not (d627e6a)

Features

  • 🎨 provide useMongoClient (f0aa080)

1.6.6 (2023-05-23)

Bug Fixes

  • 🎨 prevent conflicts with useModel from vue 3.3 (b02be9c)

1.6.5 (2023-05-18)

Bug Fixes

  • 🔥 rm process.env from runtimeConfig (a1fd30b)

1.6.4 (2023-05-02)

Bug Fixes

  • 🎨 add missing mongo client options (ac58077)
  • 🎨 better runtimeConfig (a5fdde2)

1.6.3 (2023-05-01)

Bug Fixes

  • 🎨 use defu for runtimeConfig (47e23ea)
  • 🏷️ export type ModuleOptions (20f4c45)

1.6.2 (2023-04-28)

Bug Fixes

  • ♻️ replace alias #oa with runtimeConfig.oa (cb4a99b)

1.6.1 (2023-04-27)

Bug Fixes

  • 🎨 better nullable support (eab78a1)

1.6.0 (2023-04-27)

Features

1.5.0 (2023-04-25)

Features

1.4.3 (2023-04-14)

Bug Fixes

  • 🐛 illegal reassignment of import "schema" (f7a349b)

1.4.2 (2023-04-14)

Bug Fixes

  • 🐛 don't encrypt undefined/null (ae528f8)

1.4.1 (2023-04-13)

Bug Fixes

  • 🩹 rm private from encrypt method (f45cb67)

1.4.0 (2023-04-07)

Features

  • ✨ hook to get mongodb document (0f0f55d)

1.3.1 (2023-04-05)

Bug Fixes

1.3.0 (2023-04-05)

Bug Fixes

  • 🩹 uniform hooks args (2711f57)

Features

  • 🏷️ use Hookable in Model (60fb495)
  • ✨ pass incoming request to hook (8afc162)

1.2.1 (2023-04-05)

Bug Fixes

1.2.0 (2023-04-04)

Bug Fixes

  • 🩹 add default "required" to schema (3944cd2)
  • 🐛 add missing import (9ca921c)

Features

1.1.2 (2023-03-31)

Bug Fixes

  • 🩹 useObjectId throw error if id is undefined (e3ce3f2)
  • 🏷️ put id on top and required (3f587c5)

1.1.1 (2023-03-31)

Bug Fixes

  • 🩹 make id required in model interface (094c4db)
  • 🏷️ add Date type for 'date*' format (24733af)

1.1.0 (2023-03-31)

Features

  • ✨ auto types generation from schemas (5f43734)

1.0.5 (2023-03-28)

Bug Fixes

  • 🐛 import composables (52d03a2)

1.0.4 (2023-03-28)

Bug Fixes

  • 🩹 nuxt layers friendly (ee3c725)

1.0.3 (2023-03-21)

Bug Fixes

  • 🐛 import useBase from h3 (06f7bf8)

1.0.2 (2023-03-14)

Bug Fixes

  • ⬆️ upgrade ajv-formats to ^3.0.0-rc.0 (40d2b70)

1.0.1 (2023-03-10)

Bug Fixes

  • 🩹 rm deletedBy with deletedAt (c8f5c6f)

1.0.0 (2023-03-10)

Bug Fixes

  • 🐛 fix form validate example (1f972cc)
  • 🐛 warn if dbUrl is missing (ed46e63)
  • ➕ Inlined implicit external defu (7ec5769)
  • 🚚 move application logic example (16754e3)

Features

  • 🎨 by default remove additional properties (3ee83c0)
  • 🎨 use readOnly & writeOnly props instead of readOnlyProps & omitProps props array (ecfdb25)
  • ➕ use ajfg to edit data (4b68127)
  • 🔊 log swagger url (5e3c82a)
  • ✨ add archive model method (3cbb8bb)
  • ✨ add encryptedProperties option (7cf3553)
  • ✨ add omitProperties option (ff2de1a)
  • ✨ add readonly properties option (247d307)
  • ✨ add timestamps option (2826dc7)
  • ✨ add trackedProperties option (d704ef9)
  • ✨ add userstamps option (854f0be)
  • ✨ add useUserId to controllers for userstamps (e465b5e)
  • ✨ basic CRUD with data validation (9e98686)
  • ✨ composable to retrieve schema (3e7bf5b)
  • ✨ composables controllers (565e5b9)
  • ✨ extend Model from Hookable (b7b99e6)
  • ✨ oaRouter with auto swagger (0768ff3)
  • 🧪 add playground examples (bf286fa)