Skip to content

v3.2.0

@ers-zaes ers-zaes tagged this 01 Sep 20:41
`defaultLineCountryCodeStyle` was listed among 3.2.0's new exports. It is
exported from `paintFunctions.ts` and never re-exported from the barrel, so it
is not in `dist/` and a consumer importing it gets nothing.

This is the exact failure the release checklist's step 4 warns about -- "assert
every symbol named in the release notes against dist/, not the source; an export
missing from a barrel passes both typecheck and grep" -- and following that step
is what found it. CHANGELOG.md ships inside the tarball, so the claim would have
gone to npm.

Removed rather than exported: it exists so `defaultLinePaint` can default its
own options, and a consumer has no use for it. Adding an export to make a
sentence true is the wrong way round.

The remaining names are asserted against `dist/cjs/index.js` and all present.
Assets 2
Loading