Skip to content

Commit 4d6971c

Browse files
gnidantest
authored andcommitted
docs: record the identification field in the changelogs
1 parent 0940036 commit 4d6971c

3 files changed

Lines changed: 37 additions & 0 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,26 @@ The sections do not signal obligations; the prefixes do.
5353

5454
## Unreleased
5555

56+
### Added
57+
58+
- An `ethdebug` field on **ethdebug/format/info**,
59+
**ethdebug/format/info/resources** and **ethdebug/format/program** names
60+
the schema the object conforms to and the specification version that
61+
defines it, through the new **ethdebug/format/data/identification**
62+
schema. The field is optional now and becomes required at `0.1.0`. An
63+
object without it predates the field ([#305]).
64+
- Schemas: **ethdebug/format/data/identification**,
65+
**ethdebug/format/info**, **ethdebug/format/info/resources**,
66+
**ethdebug/format/program**
67+
- Producers: optional: emit `ethdebug: { schema, version }`; a program
68+
inside a container may omit it, and when both carry it the versions
69+
must be equal.
70+
- Consumers: optional: a consumer may read the field.
71+
**ethdebug/format/program** and **ethdebug/format/info** are closed
72+
objects (`unevaluatedProperties: false`), so a consumer that
73+
validates against the previous release's schemas rejects an
74+
identified object until it updates its schemas.
75+
5676
### Changed
5777

5878
- The `offset` of a segment counts bytes from the most significant byte of the
@@ -632,4 +652,5 @@ First published version of the specification.
632652
[#285]: https://github.com/ethdebug/format/pull/285
633653
[#286]: https://github.com/ethdebug/format/pull/286
634654
[#303]: https://github.com/ethdebug/format/pull/303
655+
[#305]: https://github.com/ethdebug/format/pull/305
635656
[#309]: https://github.com/ethdebug/format/pull/309

‎packages/bugc/CHANGELOG.md‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ support. Changes to the specification itself are tracked in the root
77

88
## Unreleased
99

10+
### Changed
11+
12+
- Every program `bugc` emits carries an `ethdebug` field naming
13+
**ethdebug/format/program** and the specification version ([#305]).
14+
1015
## 0.1.0-preview.0 — 2026-09-21
1116

1217
The version scheme changed: prerelease versions are now `preview.<n>`, and
@@ -35,3 +40,4 @@ First publication.
3540
[#286]: https://github.com/ethdebug/format/pull/286
3641
[#298]: https://github.com/ethdebug/format/pull/298
3742
[#300]: https://github.com/ethdebug/format/pull/300
43+
[#305]: https://github.com/ethdebug/format/pull/305

‎packages/format/CHANGELOG.md‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,15 @@ tracked in the root [`CHANGELOG.md`](../../CHANGELOG.md).
66

77
## Unreleased
88

9+
### Added
10+
11+
- `version`, the package's own version string, generated at build time from
12+
`package.json` ([#305]).
13+
- `Data.Identification` and `Data.isIdentification`, the type and guard for
14+
the new **ethdebug/format/data/identification** schema;
15+
`identify(schema)` builds one from `version` ([#305]).
16+
- `Program.ethdebug`, an optional `Data.Identification` ([#305]).
17+
918
## 0.1.0-draft.0 — 2026-09-21
1019

1120
The version scheme changed: prerelease versions are now `draft.<n>`, matching
@@ -116,6 +125,7 @@ First publication.
116125
[#293]: https://github.com/ethdebug/format/pull/293
117126
[#300]: https://github.com/ethdebug/format/pull/300
118127
[#303]: https://github.com/ethdebug/format/pull/303
128+
[#305]: https://github.com/ethdebug/format/pull/305
119129
[`0ef2f37`]: https://github.com/ethdebug/format/commit/0ef2f37
120130
[`10ab103`]: https://github.com/ethdebug/format/commit/10ab103
121131
[`21e532e`]: https://github.com/ethdebug/format/commit/21e532e

0 commit comments

Comments
 (0)