if (isMatching({ [symbolA]: { [symbolB]: 'bar' } }, obj)) {
// 👆 Used to return true, now returns false!
// Since TS-Pattern wasn't reading symbols, this pattern used to be equivalent
// to the {} pattern that matches any value except null and undefined.
}
.exhaustive now throws a custom error
People have expressed the need to differentiate runtime errors that .exhaustive() might throw when the input is of an unexpected type from other runtime errors that could have happened in the same match expression. It's now possible with err instanceof NonExhaustiveError:
import { match, P, NonExhaustiveError } from 'ts-pattern';
This is part of the experimental API and doesn't follow semver. We are hoping to stabilize it for 2.1. If you are working with custom reporters, give this a go!
Bumps the non-majors group in /dashboard with 12 updates:
0.13.4
0.13.6
0.14.1
0.14.3
3.8.4
3.10.6
4.4.3
4.4.4
1.8.19
1.8.22
5.2.0
5.3.1
0.36.0
0.40.0
1.5.1
1.5.3
3.8.4
3.10.6
22.1.0
22.5.2
5.3.5
5.4.2
2.0.3
2.0.5
Updates
@kobalte/core
from 0.13.4 to 0.13.6Release notes
Sourced from
@kobalte/core
's releases.Commits
365b34e
chore: update versions (#478)512b844
chore: prepare release0.13.6
(#477)4555f8d
chore: update versions (#475)aa6f894
chore: prepare release0.13.5
(#474)24c5ef8
fix: various bug fixes (#456)1872bcb
docs(tooltip): Add docs forskipDelayDuration
prop (#472)746432c
fix(number-field): precision handling with floating point offsets and value s...cfb0a01
feat(tooltip): add skipDelayDuration prop (#467)ea7e7f9
fix(combobox): prevent opening on input with triggerMode="manual" (#465)c0028e5
fix(pagination): correctly render fixedItems with low page count (#464)Updates
@solidjs/router
from 0.14.1 to 0.14.3Changelog
Sourced from
@solidjs/router
's changelog.Commits
Updates
@tanstack/solid-virtual
from 3.8.4 to 3.10.6Release notes
Sourced from
@tanstack/solid-virtual
's releases.... (truncated)
Commits
90ede1e
release: v3.10.6c1555a9
release: v3.10.56d9cb3f
release: v3.10.4e4298c5
release: v3.10.23b8a51f
release: v3.10.1a873595
fix: sync versions with published already (#803)aff750d
chore(deps): update all non-major dependencies (#800)e62601c
release: v3.9.00691037
chore(deps): update all non-major dependencies (#792)a3bf66a
release: v3.8.6Updates
chart.js
from 4.4.3 to 4.4.4Release notes
Sourced from chart.js's releases.
Commits
dd554e0
Bump package version to 4.4.4 (#11874)2fa7241
Check if range method exists on element before executing it (#11873)a1f7355
Add radial linear scale to docs section of samples (#11871)3dac05e
Return false from the average tooltip positioner on no valid data (#11863)b51b57a
fix(types): exclude DeepPartial<unknown[]> from ChartOptions interface (#11867)74122c1
fix(types): add xCenter and yCenter properties to RadialLinearScale interface...b9c0141
Bugfix/issue 11804 tooltip show for all invisible (#11858)f3f84fd
fix: Unset _resizeBeforeDraw before _resize() call to avoid possible recursio...147ee59
fix issue #11717 (#11844)0ca1b6e
Update OffscreenCanvas documentation, as it is widely available now (#11823)Updates
solid-js
from 1.8.19 to 1.8.22Commits
Updates
ts-pattern
from 5.2.0 to 5.3.1Release notes
Sourced from ts-pattern's releases.
... (truncated)
Commits
021b3db
5.3.199aa90e
feat(exhaustive): rename thrown error to NonExhaustiveErrorb2e7566
5.3.0d404e33
feat(symbols): Use Reflect.ownKeys for better performance29f74f9
feat(symbols): add more testse74557d
Merge pull request #272 from Ayc0/symbol7f2aaf3
chore: use .concat for better perfs (1 less creation of arrays)423b75b
chore: split tests in a new objects.test.tsfbf58c3
fix: make so that isMatching works with symbols3f5978a
roadmap: add featuresUpdates
valibot
from 0.36.0 to 0.40.0Release notes
Sourced from valibot's releases.
Commits
23b1ebf
Bump version to v0.40.0 and update changelog378ecf0
Fix ordering and update contributors of ecosystem page3105553
Merge pull request #805 from scythewyvern/patch-1fe4d1fd
Fix output type for transformed optional object entries #806f9e473c
docs: RVF to uppercase194e273
docs: add@rvf/valibot
to guides/ecosystem03f1d86
Merge pull request #804 from EltonLobo07/doc/add-safeParserAsync8273118
addsafeParserAsync
API reference521b58f
Fix related APIs after renaming special to custom97b33f4
Merge pull request #789 from jasperteo/feat-nanoid-validationUpdates
@macaron-css/solid
from 1.5.1 to 1.5.3Release notes
Sourced from
@macaron-css/solid
's releases.Commits
130dc1a
fix: depend on latest version of coref2d1a87
fix: link correct type defs in solid adapter61f1e30
release: v1.5.285a1e74
fix: export types of react & solid adapter, esm issues with vite & qwik267b922
release: v1.5.1Updates
@tanstack/virtual-core
from 3.8.4 to 3.10.6Release notes
Sourced from
@tanstack/virtual-core
's releases.... (truncated)
Commits
90ede1e
release: v3.10.61e12f81
fix(virtual-core): add bigint to Key to align with@types/react
implementatio...c1555a9
release: v3.10.5cadac12
chore: change type of 'debug' from any to boolean (#809)6d9cb3f
release: v3.10.4045b442
fix: getItemKey when element is missing from list (#810)e4298c5
release: v3.10.20ad4e6c
fix: performance issues with measureElement (#806)3b8a51f
release: v3.10.1a873595
fix: sync versions with published already (#803)Updates
@types/node
from 22.1.0 to 22.5.2Commits
Updates
vite
from 5.3.5 to 5.4.2Release notes
Sourced from vite's releases.
Changelog
Sourced from vite's changelog.
... (truncated)
Commits
b1ecdaf
release: v5.4.2e012f29
chore: remove stale TODOs (#17866)3b8f03d
refactor: remove redundant prepend/strip base (#17887)fac3a8e
fix: resolve relative URL generated byrenderBuiltUrl
passed to module prel...7d8c0e2
feat: support originalFilename (#17867)b44c20c
release: v5.4.1391bb49
fix(worker): handle self reference url worker in dependency for build (#17846)e686d74
fix(build): avoid re-define__vite_import_meta_env__
(#17876)9018255
chore: fix picocolors import for local dev (#17884)1bda847
fix: align CorsOptions.origin type with@types/cors
(#17836)Updates
vitest
from 2.0.3 to 2.0.5Release notes
Sourced from vitest's releases.
Commits
99452a7
chore: release v2.0.59b9bdf7
chore: remove unnecessary await (#6249)40dfad8
docs: add reported tasks docs (#6245)13d85bd
feat: introduce experimental reported tasks (#6149)b76a927
refactor(vitest): move public exports to public folder (#6218)56dbfa6
refactor: make a distinction between node and runtime types (#6214)a48be6f
fix(vitest): correctly resolve mocked node:* imports in mocks folder (#6204)3aab8a1
refactor: deprecate all config types from the main Vitest entrypoint, introdu...57d23ce
docs: fix inconsistencies, remove low informative twoslash examples (#6200)8cd8272
fix(vitest): improvedefineProject
anddefineWorkspace
types (#6198)Preview (prod backend + PR dashboard) → https://955.ns-preview.trapti.tech/