v10.0.0
·
715 commits
to master
since this release
10.0.0 (2023-11-01)
Refactor
BREAKING CHANGES
- Replace type definitions defined in
types.d.tswith generated type defs with entrypointdist/index.d.ts. - Changed
addSequenceHeaderandgetEntityNamefrom default exports to named exports (listed in the todos).
Other notable (and less breaking?) changes:
-
Added a whole bunch of extra object reference checks. I have extracted the more complex checks, to the ✨new✨
./type-guards.tsfile. -
Replaced
lodash.cloneDeepwith the structuredClone global function. -
Modified the return structure of the
proxyObjectToStringfunction from:type proxyObjectToStringReturnType = | { host: number; port: number; isHttps: boolean; } | { host: number; port: number; isHttps: boolean; auth: { username: string; password: string }; };
to:
type proxyObjectToStringReturnType = { host: number; port: number; isHttps: boolean; auth?: { username: string; password: string }; };
The changes are subtle, but it is important to call out the change in behaviour here.