Releases: seek-oss/sku
v11.6.0
It is highly encouraged that you run npx yarn-deduplicate
after updating to sku 11.6.0 in order to hopefully prevent duplicate packages being in your lock file.
Minor Changes
-
Update to eslint-config-seek v10 (#709)
This update involves a few major version jumps, so be sure to read the following release notes for all the breaking changes:
You should be able to automatically fix most lint warnings/errors by running
yarn sku format
. -
Upgrade from jest v27 to v29 (#709)
Please take a look at the following upgrade guides as there may be breaking changes that affect your tests:
Likely the most significant change is the new default snapshot format:
- Expected: \\"a\\" + Expected: "a" - Object { - Array [] - } + { + [] + }
This may require you to update your snapshots.
-
Drop support for Node v12 (#709)
Sku now only supports Node v14.15 and above.
Although sku itself does not depend on any Node v14 APIs, Node v12 is no longer officially supported, and many of sku's dependencies no longer support it either.
Please ensure you are using a supported version of Node both locally (e.g. via a.nvmrc
file) and in CI (check your Docker images). -
Update typescript dependency (#709)
Sku now has a
typescript
dependency of^4.5.0
.
Previously the version was restricted due to a type issue withbraid-design-system
andtypescript@4.5.0
.
Please take a look at the release notes for recent typescript versions as there may be breaking changes that need to be addressed.
Patch Changes
v11.5.0
Minor Changes
-
Add optional
delete-unused-keys
flag to thetranslations push
command (#702)If this flag is set, unused keys will be deleted from Phrase after translations are pushed.
sku translations push --delete-unused-keys
Patch Changes
- Display a better error message when no
sku translations
command is provided (#702)
v11.4.5
v11.4.4
Patch Changes
- Series of small fixes (#696)
- Update the SkuConfig type to accept
ReadonlyArray
s, to allow for passing in ofas const
arrays. - Allowed TypeScript versions newer than 4.5. There were issues in 4.5 that broke vanilla-extract and braid, that have been fixed in 4.6.
- Updated the
lib
of tsconfig toes2019
, to allow access to all that flatMappy goodness.
- Update the SkuConfig type to accept
v11.4.3
v11.4.2
Patch Changes
-
Allow
:
to be used in dynamic paths again. (#687)Previously, dynamic paths were declared using the standard
:param
syntax, but this had been deprecated in favour of$param
.This has now been updated to allow for both.
This should allowsku serve
to work for projects using colon syntax.
v11.4.1
v11.4.0
v11.3.3
Patch Changes
-
Exclude playroom from vanilla-extract pipeline (#682)
TL;DR Only affects consumers using running Playroom along side sku — i.e. Braid.
Due to the current pattern used for the virtual file paths of vanilla-extract's generated stylesheets, we are manually excluding Playroom’s vanilla-extract styles.
In the future, we are planning to use more realistic virtual file paths, which should honour the default handling of include/exclude path matching and make this work around no longer necessary.