Skip to content

monSQLize v3.3.0

Latest

Choose a tag to compare

@rockyshi1993 rockyshi1993 released this 11 Aug 16:07

monSQLize v3.3.0

Release date: 2026-08-11

Highlights

  • Added schema-derived TypeScript document inference for static Model definitions.
  • Made Pool logging silent by default while preserving explicit logger delivery.

Added

  • Added defineModel() and ModelDescriptor so object-literal schema definitions carry their inferred document type through Model.define(), model(), scopedModel(), use().model(), and pool().model().
  • Added CJS, ESM, public-type, compatibility, pack-consumer, and registry-consumer verification for the descriptor API.

Changed

  • Updated the exact production dependency from schema-dsl@3.0.0 to schema-dsl@3.0.4.
  • Extended current-version validation so README and bilingual dependency-governance documents must match the exact schema-dsl version in package.json.

Fixed

  • Forwarded the configured ConnectionPoolManager logger to PoolSelector, HealthChecker, and PoolStatsManager.
  • Removed implicit console fallback logging from Pool helpers when no logger is configured.

Compatibility boundaries

  • This is a backward-compatible minor release. Existing string-based Model registration/access, manual TypeScript generics, Pool APIs, and explicit process-wide Model registry lifecycle remain unchanged.
  • defineModel() creates a static descriptor; it does not register the Model. Call Model.define(descriptor) before binding it through a runtime accessor.
  • Callback or dynamically composed schemas continue to use explicit document generics. Schema-derived types do not synthesize timestamp, soft-delete, version, relation, or virtual fields.