Summary
This version contains breaking changes. This minor version bump had 4 primary goals:
- Create a public API for the package so that users don't have to
import
from nested directories withints-pg-orm/dist/...
- Fix bug with related data properties not showing for
get()
andgetMany()
store functions. - Support for circular relations when provisioning and unprovisioning stores.
- Incremental quality improvements, e.g. less reliance on
@ts-ignore' and better
createRelation()` code.
New Features:
- Support for circular relations (this required a lot of changes to the store provisioning code).
Improvements:
- Reduce dependence on
@ts-ignore
and instead useAccess<T>
andCast<T>
"forcer generics". - Providing a simplified single-level public API for all of the functions, enums, types, etc. that are required to use the package. This is at the root level
index.ts
file, so they are all easily accessible. - Fix a bug with 5.0.x where related data props were not included in
get()
andgetMany()
store functions due to how thename
property of theRelation
type was declared. - Ensure only absolutely required typescript is included in typescript dist directory (for npm publishing)
- Improve ts build npm commands
- Improvement in the
createRelation()
code. - Etc.