Skip to content

Commit 0281757

Browse files
authored
chore(release): prepare 0.1.0-next.0 (#5)
The first release carries the `next` dist-tag and nothing carries `latest`, so `npm install @hexcanvas/core` is an error rather than an older version. Every install command in the documentation therefore has to ask for the tag by name, or the README describes something that does not work — nine commands across the root README and the five package READMEs, which ship inside the tarballs and render on the package pages. The tag drops back out of those commands at 0.1.0, which is when `latest` first exists. `tools/docs` is deliberately left at 0.0.0. It is private and matches the `@hexcanvas/*` filter by name only. Gates run at this version before committing: check, api, test:browser (465 across three engines), check:publish, and verify:registry against a verdaccio container — the last confirms the bindings resolve `@hexcanvas/core@0.1.0-next.0` from a registry rather than a workspace link.
1 parent 08f25e3 commit 0281757

12 files changed

Lines changed: 41 additions & 24 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 22 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,31 @@ version lines would multiply into combinations nobody tests.
99

1010
## [Unreleased]
1111

12-
Nothing has been published. The version in every manifest is `0.1.0`, which is a
13-
placeholder rather than a released version; the first release will carry the `next`
14-
dist-tag rather than `latest`, because the decoration API changed shape twice in a
15-
single session and pinning `latest` would make the change after that a breaking one.
12+
Nothing since 0.1.0-next.0.
13+
14+
## [0.1.0-next.0] — 2026-08-08
15+
16+
The first release. It carries the **`next` dist-tag and nothing carries `latest`**, so
17+
installing it means asking for it by name:
18+
19+
```sh
20+
npm install @hexcanvas/core@next
21+
```
22+
23+
`npm install @hexcanvas/core` is an error rather than an older version, which is the
24+
intended shape: the decoration API changed twice in a single session before this was
25+
public, and pinning `latest` now would make the next change a breaking one for anyone who
26+
typed the short command. A caret range does not reach this version either — npm excludes
27+
prereleases from ranges — so nobody receives it without asking.
1628

1729
What exists is described in [README.md](README.md), down to the costs that are known and
18-
accepted; what will not exist is in [ROADMAP.md](ROADMAP.md). This file starts describing
19-
releases once there is one.
30+
accepted; what will not exist is in [ROADMAP.md](ROADMAP.md).
2031

2132
### Fixed
2233

23-
Defects found while preparing the first release. They are listed before there is a
24-
release because they say what kind of mistake this project makes — all six are things a
25-
consumer would have met and no test could see.
34+
Defects found while preparing this release. They are listed in the first release rather
35+
than left out because they say what kind of mistake this project makes — all eight are
36+
things a consumer would have met and no test could see.
2637

2738
- **Types named by the public API but not exported.** `parseBinding()` could be called
2839
and its return type could not be written down; the same for the Svelte action's return.
@@ -56,4 +67,5 @@ consumer would have met and no test could see.
5667
zero; the rest is down to 132, with the remainder being platform callbacks and button
5768
labels where a comment would restate the name.
5869

59-
[Unreleased]: https://github.com/htcom-code/hexcanvas/commits/main
70+
[Unreleased]: https://github.com/htcom-code/hexcanvas/compare/v0.1.0-next.0...main
71+
[0.1.0-next.0]: https://github.com/htcom-code/hexcanvas/releases/tag/v0.1.0-next.0

‎README.md‎

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,14 @@ the cursor.*
6767
## Quick start
6868

6969
```sh
70-
npm install @hexcanvas/core @hexcanvas/element # or pnpm add / yarn add
70+
npm install @hexcanvas/core@next @hexcanvas/element@next # or pnpm add / yarn add
7171
```
7272

73+
> **`@next` is not optional yet.** The first releases carry the `next` dist-tag and
74+
> nothing carries `latest`, so `npm install @hexcanvas/core` fails rather than installing
75+
> an older version. The tag drops out of these commands when 0.1.0 is released — see
76+
> [ROADMAP.md](ROADMAP.md) for why the API is not being pinned as `latest` yet.
77+
7378
<details open>
7479
<summary><b>Plain HTML — no framework</b></summary>
7580

@@ -87,7 +92,7 @@ npm install @hexcanvas/core @hexcanvas/element # or pnpm add / yarn add
8792
</details>
8893

8994
<details>
90-
<summary><b>React</b> — <code>npm install @hexcanvas/react @hexcanvas/core</code></summary>
95+
<summary><b>React</b> — <code>npm install @hexcanvas/react@next @hexcanvas/core@next</code></summary>
9196

9297
```tsx
9398
import { HexEditor } from "@hexcanvas/react";
@@ -102,7 +107,7 @@ React 18 or 19; `react` and `react-dom` are peer dependencies.
102107
</details>
103108

104109
<details>
105-
<summary><b>Vue</b> — <code>npm install @hexcanvas/vue @hexcanvas/core</code></summary>
110+
<summary><b>Vue</b> — <code>npm install @hexcanvas/vue@next @hexcanvas/core@next</code></summary>
106111

107112
```vue
108113
<script setup lang="ts">
@@ -121,7 +126,7 @@ Vue 3.4 or later. The element is created in a render function, so no `isCustomEl
121126
</details>
122127

123128
<details>
124-
<summary><b>Svelte</b> — <code>npm install @hexcanvas/svelte @hexcanvas/core</code></summary>
129+
<summary><b>Svelte</b> — <code>npm install @hexcanvas/svelte@next @hexcanvas/core@next</code></summary>
125130

126131
```svelte
127132
<script lang="ts">

‎packages/core/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ directly when you are porting the editor to another framework, or when you want
1515
sources and the search machinery without the editor chrome.
1616

1717
```sh
18-
npm install @hexcanvas/core
18+
npm install @hexcanvas/core@next
1919
```
2020

2121
## Byte sources

‎packages/core/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@hexcanvas/core",
3-
"version": "0.1.0",
3+
"version": "0.1.0-next.0",
44
"description": "Framework-free hex editor core: byte sources, grid geometry, canvas renderer and editing engine.",
55
"keywords": [
66
"hex",

‎packages/element/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ element on a page. The React, Vue and Svelte bindings all wrap this element rath
1010
building the chrome a second time.
1111

1212
```sh
13-
npm install @hexcanvas/element
13+
npm install @hexcanvas/element@next
1414
```
1515

1616
Importing the package registers the element. `defineHexCanvasElement(tag)` is exported for a

‎packages/element/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@hexcanvas/element",
3-
"version": "0.1.0",
3+
"version": "0.1.0-next.0",
44
"description": "<hexcanvas-editor> custom element: a hex viewer and editor usable from any framework.",
55
"keywords": [
66
"hex",

‎packages/react/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ element that maps props to attributes and events to callbacks; it holds no edito
88
chrome of its own, so a React release cannot drift from the Vue or Svelte one.
99

1010
```sh
11-
npm install @hexcanvas/react @hexcanvas/core
11+
npm install @hexcanvas/react@next @hexcanvas/core@next
1212
```
1313

1414
React 18 or 19 (`react` and `react-dom` are peer dependencies).

‎packages/react/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@hexcanvas/react",
3-
"version": "0.1.0",
3+
"version": "0.1.0-next.0",
44
"description": "React binding for HexCanvas: a canvas-rendered hex viewer and editor.",
55
"keywords": [
66
"hex",

‎packages/svelte/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ rather than a component, so the package needs no compiler and no Svelte dependen
88
editor chrome stays in the element, where the React and Vue bindings share it.
99

1010
```sh
11-
npm install @hexcanvas/svelte @hexcanvas/core
11+
npm install @hexcanvas/svelte@next @hexcanvas/core@next
1212
```
1313

1414
```svelte

‎packages/svelte/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@hexcanvas/svelte",
3-
"version": "0.1.0",
3+
"version": "0.1.0-next.0",
44
"description": "Svelte action and mount helper for HexCanvas, over the <hexcanvas-editor> custom element.",
55
"keywords": [
66
"hex",

0 commit comments

Comments
 (0)