Skip to content

Releases: kikiutils/node-mongoose

v7.0.2

Choose a tag to compare

@kiki-kanri kiki-kanri released this 04 May 04:03

compare changes

🔥 Performance

  • Replace IfElse type with extends to significantly reduce tsc memory usage and build time (9899373)

🩹 Fixes

  • Correct typo privaimmutablete → immutable in number schema builder (17fe812)

🏡 Chore

  • Update vscode settings (7b2f6f9)
  • Update eslint config (77a5f00)
  • Update deps, tsdown config and package scripts (5ada952)
  • Update deps and configs (6082b0e)
  • Upgrade deps (b18a376)

❤️ Contributors

  • Kiki-kanri

v7.0.1

Choose a tag to compare

@kiki-kanri kiki-kanri released this 19 Jan 06:37

compare changes

🩹 Fixes

  • Adjust customExports order in tsdown.config to move wildcard (*) exports to the end (0b3f357)

🏡 Chore

❤️ Contributors

  • Kiki-kanri

v7.0.0

Choose a tag to compare

@kiki-kanri kiki-kanri released this 21 Nov 17:12

compare changes

🏡 Chore

🤖 CI

⚠️ Breaking Changes

  • ⚠️ Upgrade deps (6d8ec00)
  • ⚠️ Update codebase to support Mongoose 9 (633ba5e)

❤️ Contributors

  • Kiki-kanri

v6.2.0

Choose a tag to compare

@kiki-kanri kiki-kanri released this 07 Oct 04:00

compare changes

🚀 Enhancements

  • Add immutable property to all schema builders (a98bfcc)

💅 Refactors

  • Rename func parameters in arr.map and similar methods to item for consistency (c5768ac)
  • Tidy up code (1a92f2c)
  • Remove exports for types that should not be exported in schema builders (a7b7c5f)

🏡 Chore

  • Update base tsconfig (26f4158)
  • Add .editorconfig (11056ce)
  • Upgrade dependencies (dc0abef)
  • Upgrade devDependencies (aca04e8)
  • Replace @kikiutils/changelogen with changelogen (8d1d648)

❤️ Contributors

  • Kiki-kanri

v6.1.1

Choose a tag to compare

@kiki-kanri kiki-kanri released this 19 Sep 10:25

compare changes

🩹 Fixes

  • Correct implementation error in assertUpdateSuccess static method of mongooseAssertionsPlugin (95661c9)

❤️ Contributors

  • kiki-kanri

v6.1.0

Choose a tag to compare

@kiki-kanri kiki-kanri released this 19 Sep 09:03

compare changes

🚀 Enhancements

  • mongooseAssertionsPlugin add assertUpdateSuccess static model method (be7817a)

❤️ Contributors

  • kiki-kanri

v6.0.1

Choose a tag to compare

@kiki-kanri kiki-kanri released this 19 Sep 04:14

compare changes

🩹 Fixes

  • Correct generic type error in assertMongooseUpdateSuccess (ff92747)
  • Export typeof mongooseAssertionsPlugin type in builder.ts for correct type loading (304d9f7)

❤️ Contributors

  • kiki-kanri

v6.0.0

Choose a tag to compare

@kiki-kanri kiki-kanri released this 19 Sep 03:45

compare changes

🚀 Enhancements

  • Add assertions plugin and enforce it in buildMongooseModel (2504e0e)

🔥 Performance

  • mongooseNormalizePlugin: Pre-compute paths for conversion to improve performance and simplify code logic (2399e8a)

💅 Refactors

  • ⚠️ Restructure codebase (bc590ed)
  • ⚠️ Remove mongooseDocumentOrObjectIdToDocument (e94e6aa)

🏡 Chore

  • Remove alias config (e353604)
  • Change update-peer-dependencies-meta.ts to non-executable permission file (62a7690)
  • Upgrade dependencies (8e206cc)

⚠️ Breaking Changes

  • ⚠️ Restructure codebase (bc590ed)
  • ⚠️ Remove mongooseDocumentOrObjectIdToDocument (e94e6aa)

❤️ Contributors

  • kiki-kanri

v5.2.0

Choose a tag to compare

@kiki-kanri kiki-kanri released this 18 Sep 06:56

compare changes

🚀 Enhancements

  • Enable deep registration of normalizePlugin for all schemas (including sub-schemas) in buildMongooseModel by default; add option to disable (09068f0)

❤️ Contributors

  • kiki-kanri

v5.1.6

Choose a tag to compare

@kiki-kanri kiki-kanri released this 18 Sep 06:22

compare changes

🩹 Fixes

  • Ensure tsdown customExports returns after deleting keys containing internals (7324bab)

💅 Refactors

  • Revert all import paths back to relative paths instead of using aliases (0f6c1ae)

📖 Documentation

📦 Build

  • Clean up js files under dist/types after tsdown build and update exports config (6fa1d2b)
  • Update tsdown config to treat all dependencies as external (f5e4f7a)
  • Update tsdown customExports to remove entries with keys containing "internals" (59b1622)
  • Update tsdown entry (2e67d6b)
  • Set tsdown external from package.json instead of using wildcard * (7dc5f28)
  • Update customExports rules to enable IDE import hints for package usage (e4111c0)
  • Update customExports rules to enable IDE import hints for package usage (fa88888)

🏡 Chore

  • Set minimum supported version to 22.12.0 (76e8cc1)

❤️ Contributors

  • kiki-kanri