Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 0 additions & 29 deletions .changeset/bindings-translation-contract.md

This file was deleted.

18 changes: 0 additions & 18 deletions .changeset/pin-internal-deps.md

This file was deleted.

44 changes: 44 additions & 0 deletions packages/native/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,49 @@
# @dunky.dev/native-state-machine

## 0.3.3

### Patch Changes

- [#57](https://github.com/dunky-dev/state-machine/pull/57) [`2532b06`](https://github.com/dunky-dev/state-machine/commit/2532b066455c7b1cd3c03eda270d8ce53498df19) Thanks [@ivanbanov](https://github.com/ivanbanov)! - The translation contract: every target must account for every vocabulary key —
mapped, or `null` as a declared drop. Previously the normalize maps were
untyped, so a new binding compiled everywhere and silently leaked to the host;
now it's a compile error in every target until that target decides.

Bindings exports the contract (`HandlerKey`/`AttrKey`, `HandlerTargets`/
`AttrTargets`) and the all-dropped bases `DROPPED_HANDLERS`/`DROPPED_ATTRS`
for targets that express little of the vocabulary (they inherit `null` for
future keys; the compile error fires at the base):

```ts
export const HANDLER_MAP: HandlerTargets = {
...DROPPED_HANDLERS, // hover, keyboard, double-press, wheel: no RN analog
onPress: "onPress",
onPointerDown: "onPressIn",
// ...everything this target can express
};
```

No behavior change in the targets; a conformance test per target walks its
ledger and asserts every binding lands on its declared target — or, for a
`null`, nowhere at all.

- [#59](https://github.com/dunky-dev/state-machine/pull/59) [`59f279e`](https://github.com/dunky-dev/state-machine/commit/59f279e8748d25f5c95999987bc1d944a9ff92d9) Thanks [@ivanbanov](https://github.com/ivanbanov)! - Internal dependencies on sibling workspace packages are now pinned to an
exact version instead of a caret range, and every package versions
independently — the `@dunky.dev/*` lockstep group is gone, so a release
never bumps a package whose code didn't change.

A caret range between two packages that both sit above a shared dependency
lets a consumer's install resolve to two different physical copies of it
once those packages' required ranges drift apart, silently breaking anything
identity-sensitive in that shared dependency (a singleton, a `WeakMap`,
module-level state). Pinning exact collapses that to one resolvable version:
a mismatch now fails at publish time instead of surfacing as a runtime bug
in a consumer's app.

- Updated dependencies [[`2532b06`](https://github.com/dunky-dev/state-machine/commit/2532b066455c7b1cd3c03eda270d8ce53498df19), [`59f279e`](https://github.com/dunky-dev/state-machine/commit/59f279e8748d25f5c95999987bc1d944a9ff92d9)]:
- @dunky.dev/state-machine-bindings@0.4.0
- @dunky.dev/react-state-machine@0.3.3

## 0.3.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/native/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dunky.dev/native-state-machine",
"version": "0.3.2",
"version": "0.3.3",
"license": "MIT",
"repository": {
"type": "git",
Expand Down
43 changes: 43 additions & 0 deletions packages/opentui/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,48 @@
# @dunky.dev/opentui-state-machine

## 0.3.3

### Patch Changes

- [#57](https://github.com/dunky-dev/state-machine/pull/57) [`2532b06`](https://github.com/dunky-dev/state-machine/commit/2532b066455c7b1cd3c03eda270d8ce53498df19) Thanks [@ivanbanov](https://github.com/ivanbanov)! - The translation contract: every target must account for every vocabulary key —
mapped, or `null` as a declared drop. Previously the normalize maps were
untyped, so a new binding compiled everywhere and silently leaked to the host;
now it's a compile error in every target until that target decides.

Bindings exports the contract (`HandlerKey`/`AttrKey`, `HandlerTargets`/
`AttrTargets`) and the all-dropped bases `DROPPED_HANDLERS`/`DROPPED_ATTRS`
for targets that express little of the vocabulary (they inherit `null` for
future keys; the compile error fires at the base):

```ts
export const HANDLER_MAP: HandlerTargets = {
...DROPPED_HANDLERS, // hover, keyboard, double-press, wheel: no RN analog
onPress: "onPress",
onPointerDown: "onPressIn",
// ...everything this target can express
};
```

No behavior change in the targets; a conformance test per target walks its
ledger and asserts every binding lands on its declared target — or, for a
`null`, nowhere at all.

- [#59](https://github.com/dunky-dev/state-machine/pull/59) [`59f279e`](https://github.com/dunky-dev/state-machine/commit/59f279e8748d25f5c95999987bc1d944a9ff92d9) Thanks [@ivanbanov](https://github.com/ivanbanov)! - Internal dependencies on sibling workspace packages are now pinned to an
exact version instead of a caret range, and every package versions
independently — the `@dunky.dev/*` lockstep group is gone, so a release
never bumps a package whose code didn't change.

A caret range between two packages that both sit above a shared dependency
lets a consumer's install resolve to two different physical copies of it
once those packages' required ranges drift apart, silently breaking anything
identity-sensitive in that shared dependency (a singleton, a `WeakMap`,
module-level state). Pinning exact collapses that to one resolvable version:
a mismatch now fails at publish time instead of surfacing as a runtime bug
in a consumer's app.

- Updated dependencies [[`2532b06`](https://github.com/dunky-dev/state-machine/commit/2532b066455c7b1cd3c03eda270d8ce53498df19)]:
- @dunky.dev/state-machine-bindings@0.4.0

## 0.3.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/opentui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dunky.dev/opentui-state-machine",
"version": "0.3.2",
"version": "0.3.3",
"license": "MIT",
"repository": {
"type": "git",
Expand Down
40 changes: 40 additions & 0 deletions packages/react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,45 @@
# @dunky.dev/react-state-machine

## 0.3.3

### Patch Changes

- [#57](https://github.com/dunky-dev/state-machine/pull/57) [`2532b06`](https://github.com/dunky-dev/state-machine/commit/2532b066455c7b1cd3c03eda270d8ce53498df19) Thanks [@ivanbanov](https://github.com/ivanbanov)! - The translation contract: every target must account for every vocabulary key —
mapped, or `null` as a declared drop. Previously the normalize maps were
untyped, so a new binding compiled everywhere and silently leaked to the host;
now it's a compile error in every target until that target decides.

Bindings exports the contract (`HandlerKey`/`AttrKey`, `HandlerTargets`/
`AttrTargets`) and the all-dropped bases `DROPPED_HANDLERS`/`DROPPED_ATTRS`
for targets that express little of the vocabulary (they inherit `null` for
future keys; the compile error fires at the base):

```ts
export const HANDLER_MAP: HandlerTargets = {
...DROPPED_HANDLERS, // hover, keyboard, double-press, wheel: no RN analog
onPress: "onPress",
onPointerDown: "onPressIn",
// ...everything this target can express
};
```

No behavior change in the targets; a conformance test per target walks its
ledger and asserts every binding lands on its declared target — or, for a
`null`, nowhere at all.

- [#59](https://github.com/dunky-dev/state-machine/pull/59) [`59f279e`](https://github.com/dunky-dev/state-machine/commit/59f279e8748d25f5c95999987bc1d944a9ff92d9) Thanks [@ivanbanov](https://github.com/ivanbanov)! - Internal dependencies on sibling workspace packages are now pinned to an
exact version instead of a caret range, and every package versions
independently — the `@dunky.dev/*` lockstep group is gone, so a release
never bumps a package whose code didn't change.

A caret range between two packages that both sit above a shared dependency
lets a consumer's install resolve to two different physical copies of it
once those packages' required ranges drift apart, silently breaking anything
identity-sensitive in that shared dependency (a singleton, a `WeakMap`,
module-level state). Pinning exact collapses that to one resolvable version:
a mismatch now fails at publish time instead of surfacing as a runtime bug
in a consumer's app.

## 0.3.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dunky.dev/react-state-machine",
"version": "0.3.2",
"version": "0.3.3",
"license": "MIT",
"repository": {
"type": "git",
Expand Down
27 changes: 27 additions & 0 deletions packages/shared/bindings/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,32 @@
# @dunky.dev/state-machine-bindings

## 0.4.0

### Minor Changes

- [#57](https://github.com/dunky-dev/state-machine/pull/57) [`2532b06`](https://github.com/dunky-dev/state-machine/commit/2532b066455c7b1cd3c03eda270d8ce53498df19) Thanks [@ivanbanov](https://github.com/ivanbanov)! - The translation contract: every target must account for every vocabulary key —
mapped, or `null` as a declared drop. Previously the normalize maps were
untyped, so a new binding compiled everywhere and silently leaked to the host;
now it's a compile error in every target until that target decides.

Bindings exports the contract (`HandlerKey`/`AttrKey`, `HandlerTargets`/
`AttrTargets`) and the all-dropped bases `DROPPED_HANDLERS`/`DROPPED_ATTRS`
for targets that express little of the vocabulary (they inherit `null` for
future keys; the compile error fires at the base):

```ts
export const HANDLER_MAP: HandlerTargets = {
...DROPPED_HANDLERS, // hover, keyboard, double-press, wheel: no RN analog
onPress: "onPress",
onPointerDown: "onPressIn",
// ...everything this target can express
};
```

No behavior change in the targets; a conformance test per target walks its
ledger and asserts every binding lands on its declared target — or, for a
`null`, nowhere at all.

## 0.3.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/shared/bindings/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dunky.dev/state-machine-bindings",
"version": "0.3.2",
"version": "0.4.0",
"license": "MIT",
"repository": {
"type": "git",
Expand Down
Loading