Skip to content

Release OCIF v0.7.0#63

Merged
jessmartin merged 26 commits into
mainfrom
v0.7.0-draft
Mar 24, 2026
Merged

Release OCIF v0.7.0#63
jessmartin merged 26 commits into
mainfrom
v0.7.0-draft

Conversation

@jessmartin

Copy link
Copy Markdown
Contributor

Summary

Release OCIF v0.7.0 — the first major revision since v0.6.

Key changes from v0.6 to v0.7.0

  • Merged nodes and relations — edges, groups, hyperedges are now node extensions in data arrays, eliminating the separate relations array
  • Node Transforms merged into coreposition, size, rotation, rotationAxis, scale are now first-class node properties interpreted in local coordinate space
  • Parent-child on nodes — nodes get a parent property directly; the old parent-child relation extension became the inherit extension
  • New Global Positions extension@ocif/global-positions for caching computed global positions
  • Unified extension naming — dropped -node/-rel suffixes; all extensions use @ocif/foo-bar/extensions/foo-bar.json
  • Entity/Item base types — abstract entity (data + comment) and item (entity + id) types
  • Default values in JSON schemas
  • Editorial cleanup — formatting normalization, fixed broken math notation, TOC fixes

Version pointer updates

  • VERSIONv0.7.0
  • public/_redirectsspec/v0.7.0/spec.md
  • README.md, cookbook.md, catalog.md, example/ → updated to v0.7.0

Test plan

  • Verify spec renders correctly on GitHub at spec/v0.7.0/spec.md
  • Verify public/_redirects points to the new version
  • Spot-check that extension JSON schemas are present in spec/v0.7.0/extensions/
  • Verify no stale v0.6 references remain outside /spec/v0.6/

🤖 Generated with Claude Code

xamde and others added 26 commits February 3, 2026 15:42
…roperties

- Conceptually merged **Node Transforms Extension** into default node properties:
  - Removed Node Transforms `offset`, `rotation`, `rotationAxis`, `scale`
  - Changed semantics of node `position`, `size`, `rotation` from global to local.
  - Added node `rotationAxis`, `scale`.
  - Added new node extension **global-positions**, with properties `globalPosition`, `globalSize` and `globalRotation` to store pre-computed values.
# Conflicts:
#	spec/v0.7.0-draft/spec.md
Split node properties into structural, layout, content, and extension
sections. Add parent/deleteWithParent properties to nodes. Rename
parent-child relation to inheritance extension with inheritFrom,
include, and exclude properties. Allow scale to be number or array.
Make globalRotation required in global-positions extension. Various
documentation improvements and table formatting fixes.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Conceptually merged **Node Transforms Extension** into default node properties
- Fix broken math notation: wrap TRS formula and viewport calculations
  in backticks so `*` and `_` are not interpreted as markdown emphasis
- Fix broken TOC entries: replace `_` with `-` for changelog list items
  and split the last two entries onto separate lines
- Fix `contain` resourceFit option incorrectly nested under `containY`
- Normalize TOC list markers from `*` to `-`
- Normalize table separator formatting with spaces
- Normalize sub-bullet indentation from 4-space to 2-space
- Reformat JSON examples with consistent indentation and trailing commas
- Remove extraneous blank lines throughout
- Minor wording improvements (e.g. "fall-back" → "fallback",
  "declared" → "defined", clarify local coordinate system description)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Editorial cleanup and formatting fixes for v0.7.0 spec
# Conflicts:
#	spec/v0.7.0-draft/extensions/anchored-node.json
#	spec/v0.7.0-draft/how-to-spec.md
#	spec/v0.7.0-draft/schema.json
#	spec/v0.7.0-draft/spec.md
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
These were carried over from v0.6 but replaced by the unified naming
scheme (dropped -node/-rel suffixes, renamed viewport-canvas).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Added JSON schema links for global-positions, theme-define, theme-use,
and page extensions to match the pattern used by all other extensions.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@jessmartin

Copy link
Copy Markdown
Contributor Author

@xamde and I discussed this PR during Meeting 42. Merging!

@jessmartin jessmartin merged commit 1093665 into main Mar 24, 2026
3 checks passed
@jessmartin jessmartin deleted the v0.7.0-draft branch March 24, 2026 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants