diff --git a/AGENTS.md b/AGENTS.md index 3fe2566..284100d 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -1,9 +1,9 @@ # Contributor instructions -Prepared minor release source is 1.10.0; publication is a separate owner action. It -builds on published 1.9.0 at f2a0d12da7028edfbcb0cb307f19a921a3a12d03. Stable 1.6.1 -remains a separate maintenance line. Preserve every source-bound qualification -record. No tag/publication follows from passing tests alone. +Latest published stable is 1.10.0 at 564ca8ce5ea057edc847666c4223da20084fc59c. +Stable 1.6.1 remains a separate maintenance line. Preserve every source-bound +qualification record and the immutable release tag/assets. No new tag/publication +follows from passing tests alone. Swift-JSON requires Swift tools/compiler 6.4+, Swift language mode 6 and a macOS/SDK 27+ development host; deployment minimums are macOS 15 and iOS 18. Read README.md, CONTRIBUTING.md and the relevant contracts in @@ -57,7 +57,7 @@ store/follow API on 2026-11-10; later API changes stay additive and human-gated. one invocation-owned ledger per operation. Positions remain unforgeable and source-instance-local. No persistence or mutable store is exposed. See Documentation/Architecture/StructuralIntelligence/BoundedWorkflows1.8.md. -Wider retrieval/persistence remains separate work. Prepared 1.10.0 adds RFC 8785 +Wider retrieval/persistence remains separate work. Published 1.10.0 adds RFC 8785 canonical JSON and `JSONEnvelope` (format version 1 is fixed) to JSON, RFC 6902 difference to JSONPatch and its static page to JSONHTML (one shared package walker in JSON), and RFC 7464 text sequences to JSONStreaming. diff --git a/CHANGELOG.md b/CHANGELOG.md index 58a6d54..b5db2cf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,9 @@ # Changelog -## 1.10.0 — exact interchange; prepared source, publication separate +## 1.10.0 — exact interchange (2026-11-26) + +Published as [Swift-JSON 1.10.0](https://github.com/ThorFuchs/Swift-JSON/releases/tag/1.10.0); see the +[publication record](Documentation/Qualification/Release1.10Publication.md). - Report CLI source version `1.10.0` with a regenerated deterministic source identity. See the [minor release notes](Documentation/ReleaseNotes/1.10.0.md) diff --git a/Documentation/Qualification/Release1.10Publication.md b/Documentation/Qualification/Release1.10Publication.md new file mode 100644 index 0000000..6ca112e --- /dev/null +++ b/Documentation/Qualification/Release1.10Publication.md @@ -0,0 +1,31 @@ +# Swift-JSON 1.10.0 — publication record + +Published 2026-11-26 15:54:57 UTC as [stable 1.10.0](https://github.com/ThorFuchs/Swift-JSON/releases/tag/1.10.0). +This record is a post-publication observation, not a rewrite of frozen qualification. + +- Annotated tag object: `c65f5159251167267e5c687cca90c680d84c503d` (unsigned). +- Peeled commit: `564ca8ce5ea057edc847666c4223da20084fc59c`. +- Tree: `3ee5c5f6946a4548116d8b7aa80e83b432e47f83`. +- [Native CI](https://github.com/ThorFuchs/Swift-JSON/actions/runs/45814887828): 11 successful jobs. +- [Linux CI](https://github.com/ThorFuchs/Swift-JSON/actions/runs/45814887846): 10 successful jobs. +- Published release notes report 82 successful WASI commands, 2,046 test-method + executions, 1,805 documented authored declarations in 13 catalogs, 62 native + archive-reproduction commands and five exact-version consumer tests in each + Debug and Release configuration. These are reported qualification results, + not newly executed by this documentation update. +- Controlled performance: `excepted_explicitly` for 1.10.0 only; no measured pass. + +GitHub release metadata reported these uploaded asset digests on publication day: + +| Asset | SHA-256 | +| --- | --- | +| SHA256SUMS | `7a4ebd8987390bb580fab9075f526325fea15a8d59852f2b341f58f67de300a3` | +| Swift-JSON-1.10.0-source.tar.gz | `37d14842676815a8a47621003fcb5323390130c61f0f0cb7debab56892d48f0f` | +| Swift-JSON-1.10.0-DocC.tar.gz | `66c6234fd6a7ce5d8e2cce36fe797c6d08624fd64617c98998fe636c09717dcb` | +| Swift-JSON-1.10.0-DocC.MANIFEST.sha256 | `41489e8a523287d853767160c14a501ad60779c6ff7e3396854f6ce9f1fb5cb4` | +| Swift-JSON-1.10.0-qualification.json | `d555b8a1f9aa85ccdbaea5ea9366a0969d805abfbf528fb568f5326fa13e1295` | + +The [prepublication qualification record](Release1.10.md) and the +[immutable qualification asset](https://github.com/ThorFuchs/Swift-JSON/releases/download/1.10.0/Swift-JSON-1.10.0-qualification.json) +retain their original source and scope. The public documentation site tracks main; +its post-publication metadata refresh must be confirmed from the deployed build-info.json. diff --git a/Documentation/Qualification/ReleaseLines.md b/Documentation/Qualification/ReleaseLines.md index fa2a26c..1d08b5e 100644 --- a/Documentation/Qualification/ReleaseLines.md +++ b/Documentation/Qualification/ReleaseLines.md @@ -1,22 +1,19 @@ -# Current source lines — 15 November 2026 +# Current source lines — 26 November 2026 -Prepared 1.10.0 on `main` builds on published 1.9.0 and is not published. See -[its qualification record](Release1.10.md). +Latest published stable is [1.10.0](https://github.com/ThorFuchs/Swift-JSON/releases/tag/1.10.0), +commit `564ca8ce5ea057edc847666c4223da20084fc59c`, tree `3ee5c5f6946a4548116d8b7aa80e83b432e47f83`: +twelve libraries plus CLI, thirteen catalogs, 1,805 authored declarations. +See [publication](Release1.10Publication.md) and [preparation qualification](Release1.10.md). +The 1.9.0 predecessor remains published at `f2a0d12da7028edfbcb0cb307f19a921a3a12d03`. +1.6.1 stays the separate eight-library maintenance line. The dated preparation +inventories below are preserved history, not current release status. -Latest published stable is [1.9.0](https://github.com/ThorFuchs/Swift-JSON/releases/tag/1.9.0), -commit `f2a0d12da7028edfbcb0cb307f19a921a3a12d03`, tree -`6b5438751352e0e424b133e79d40d32d6f8c8dd7`: twelve libraries plus CLI, -thirteen catalogs. It adds bounded Inspection batches/store operations to 1.8.0 -and lowers the Apple deployment minimums to macOS 15 and iOS 18. See -[its qualification record](Release1.9.md). No 1.8.1 was released. 1.6.1 stays the eight-library -maintenance line. The dated preparation inventories below remain history. - -# Stable and development source lines +# Historical stable and development source lines (1.7 preparation) | Line | Source identity | Public scope | | --- | --- | --- | | Published 1.6.0 | `f975ac1c5a18af9b422db0994cbc551fd37eee2f` | Eight libraries plus CLI, eight catalogs, 1,077 authored declarations | -| Published 1.6.1 (latest stable) | `e431f157ececc0cf3d061192420b0e36a9062f83` | Same eight-library public API and runtime as 1.6.0; no Inspection | +| Published 1.6.1 (then latest stable) | `e431f157ececc0cf3d061192420b0e36a9062f83` | Same eight-library public API and runtime as 1.6.0; no Inspection | | Consolidated development source | Main, retaining N2 admitted at `2b24f47e7405821240cf8dfc66b840c9a7f8efa5` | Twelve libraries plus CLI; thirteen catalogs including shared JSONDSLCore; compiler-derived API inventory required | | Prepared combined 1.7.0 source | Final candidate SHA/tree belongs to its qualification receipt; no tag implied | Same twelve libraries plus CLI, thirteen catalogs and expected 1,500 authored declarations; see current preparation checklist | diff --git a/Documentation/README.md b/Documentation/README.md index 43e60cf..e46f9a8 100644 --- a/Documentation/README.md +++ b/Documentation/README.md @@ -1,41 +1,18 @@ -# Current authority — 1.10.0 (prepared) - -Prepared 1.10.0 keeps the twelve libraries plus CLI and thirteen catalogs of -published 1.9.0 and adds exact interchange: canonical JSON, versioned envelopes, -RFC 6902 differences with a visual page and RFC 7464 text sequences. See the -[1.10 release notes](ReleaseNotes/1.10.0.md) and -[1.10 qualification record](Qualification/Release1.10.md). - -Published 1.9.0 has twelve libraries plus CLI and thirteen catalogs. It adds bounded -batches and a public immutable store inside JSONInspection to 1.8.0. See the -[1.9 qualification record](Qualification/Release1.9.md) and -[1.8 qualification](Qualification/Release1.8.md). -The dated predecessor inventories below are historical, not 1.9 pass evidence. - -# Current documentation authority - -Unreleased 1.7.0-dev consolidation has twelve libraries plus CLI and thirteen DocC -catalogs (including the shared non-product JSONDSLCore reference). Stable 1.6.1 -remains eight libraries. [Combined qualification](Qualification/Consolidation2026.md) -separates current requirements from all preserved predecessor records below. - # Swift-JSON documentation -The [release-line matrix](Qualification/ReleaseLines.md) separates the eight-library -1.6 maintenance source from this unreleased twelve-library 1.7.0-dev source. -See [combined qualification and holds](Qualification/Consolidation2026.md); -[the frozen JTX10 candidate](Qualification/Release1.7.0.md) is historical. The website tracks -development main; use matching release assets for a stable compiled reference. +Latest published stable: [1.10.0 — Exact Interchange](https://github.com/ThorFuchs/Swift-JSON/releases/tag/1.10.0). +Twelve libraries plus CLI, thirteen catalogs, macOS 15 / iOS 18 deployment minima, +Swift 6.4+. See the [release notes](ReleaseNotes/1.10.0.md), +[publication record](Qualification/Release1.10Publication.md), and +[source-line matrix](Qualification/ReleaseLines.md). The site tracks main; +matching release assets provide the frozen reference. Start with the [package README](../README.md) for installation, product selection -and executable examples. This index leads from everyday usage to the exact -behavioral contracts and native qualification procedure. +and executable examples. This index links the behavioral contracts and qualification. ## API references and guided reading -The latest stable [1.6.1 package](https://github.com/ThorFuchs/Swift-JSON/releases/tag/1.6.1) provides eight libraries plus the `swift-json` executable. -JSONNavigation is included. The eight native DocC catalogs combine inline API -documentation with focused guides: +The thirteen native DocC catalogs include twelve product references and the shared non-product JSONDSLCore reference: | Product | Catalog source | Guide | | --- | --- | --- | @@ -47,6 +24,11 @@ documentation with focused guides: | JSONHTML | [JSONHTML](../Sources/JSONHTML/Documentation.docc/JSONHTML.md) | [Formatted rendering](../Sources/JSONHTML/Documentation.docc/FormattedRendering.md) | | JSONNavigation | [JSONNavigation](../Sources/JSONNavigation/Documentation.docc/JSONNavigation.md) | [Exact traversal](../Sources/JSONNavigation/Documentation.docc/Traversal.md) | | JSONPatch | [JSONPatch](../Sources/JSONPatch/Documentation.docc/JSONPatch.md) | [Choosing and applying patches](../Sources/JSONPatch/Documentation.docc/ApplyingPatches.md) | +| JSONInspection | [JSONInspection](../Sources/JSONInspection/Documentation.docc/JSONInspection.md) | [Bounded workflows](../Sources/JSONInspection/Documentation.docc/BoundedWorkflows.md) | +| JSONTransform | [JSONTransform](../Sources/JSONTransform/Documentation.docc/JSONTransform.md) | [Indexed selection](../Sources/JSONTransform/Documentation.docc/IndexedSelection.md) | +| JSONValueDSL | [JSONValueDSL](../Sources/JSONValueDSL/Documentation.docc/JSONValueDSL.md) | [Authored values](../Sources/JSONValueDSL/Documentation.docc/AuthoredValues.md) | +| JSONSchemaDSL | [JSONSchemaDSL](../Sources/JSONSchemaDSL/Documentation.docc/JSONSchemaDSL.md) | [Authored schemas](../Sources/JSONSchemaDSL/Documentation.docc/AuthoredSchemas.md) | +| JSONDSLCore (shared) | [Reference](https://thorfuchs.github.io/Swift-JSON/JSONDSLCore/documentation/jsondslcore/) | Shared generic structure; no standalone product | [Browse the public documentation](https://thorfuchs.github.io/Swift-JSON/) or [build and view the DocC catalogs locally](DocumentationTooling.md). The site @@ -75,8 +57,7 @@ Online references track main; tagged releases include matching compiled catalogu - [Eight-library compiled source example](../Examples/Consumer/README.md) - [Schema example public API](Architecture/Release1.6/API.md), [resource scope](Architecture/Release1.6/SchemaExamplesLimits.md) and [runnable guide examples](../Examples/SchemaExamplesConsumer/README.md) - [Published Navigation and historical N0/N1 source authority](Architecture/StructuralIntelligence/SOURCE-AUTHORITY.md), [original traversal decisions](Architecture/StructuralIntelligence/API-DECISIONS.md) and [N1 promotion history](Architecture/StructuralIntelligence/N1Promotion.md). JSONNavigation is released in 1.6.0; the original N0/N1 stage gates remain dated history. -- [Unreleased N2 Inspection source](Architecture/StructuralIntelligence/Inspection.md) adds opt-in observed array evidence. This development source has thirteen catalogs including the DSL structure reference; stable 1.6 release tags and assets retain eight. -- The source authority map distinguishes this unreleased Inspection source from the dated unmerged-candidate record. Snapshots, public projections and set/matrix APIs are admitted development capabilities. Graph, Transform, authored DSLs and private store construction require combined-source qualification. Composition/root and lower deployment proposals retain their held gates. +- [Inspection history](Architecture/StructuralIntelligence/Inspection.md) records the earlier N2 stage; Inspection, Transform and the authored DSLs shipped in 1.7.0. Historical admission records retain their original scope. - [Downstream JSON/JSONSchema interface](ConsumerInterface.md) and [runnable public consumer](../Tools/MCPReadiness/README.md) - [Independent-suite policies and qualification](Qualification/README.md) @@ -96,14 +77,11 @@ from the empty library dependency graph. - [Offline provider schemas and request fragments](Architecture/Release1.4/Providers.md), [frozen profile tables](Architecture/Release1.4/ProviderProfiles.json) and the [DocC guide](../Sources/JSONSchema/Documentation.docc/ProviderSchemas.md). -The candidate also provides [Inspection](../Sources/JSONInspection/Documentation.docc/JSONInspection.md) -and [Transform](../Sources/JSONTransform/Documentation.docc/JSONTransform.md): -their guides are joined by the optional DSL catalogs and shared generic reference. -Derive the complete authored inventory from current compiler graphs. These products are -absent from stable 1.6.1. Candidate docs do not establish publication or a platform -runtime pass; source-bound qualification receipts define the tested scope. +The released Inspection and Transform catalogs link current guides. The earlier +1.6.1 maintenance line lacks these products; source-bound receipts define each +release's tested scope. -## Optional authored DSLs (P1.2 development) +## Optional authored DSLs (historical design and current guides) - [Integration plan and source boundary](Architecture/DualDSL/Plan.md) - [Resource, naming and compiler decisions](Architecture/DualDSL/Decisions.md) diff --git a/Documentation/ReleaseRoadmap.md b/Documentation/ReleaseRoadmap.md index 2440df2..682b22f 100644 --- a/Documentation/ReleaseRoadmap.md +++ b/Documentation/ReleaseRoadmap.md @@ -1,4 +1,10 @@ -# Execution update — 12 November 2026 +# Execution update — 26 November 2026 + +[1.10.0 — Exact Interchange](https://github.com/ThorFuchs/Swift-JSON/releases/tag/1.10.0) is published at `564ca8ce5ea057edc847666c4223da20084fc59c`. +Post-publication documentation and Developer Kit 0.3.0 are separate follow-ups. +See the [publication record](Qualification/Release1.10Publication.md). + +## Approved train — 12 November 2026 1.9.0 is published at `f2a0d12da7028edfbcb0cb307f19a921a3a12d03`. It delivered the bounded structural wave, including the public read-only store, and lowered the Apple @@ -22,8 +28,8 @@ to 2.0.0. It replaces the earlier 1.10 persistence wave: | Release | Approved direction | | --- | --- | -| **1.9.1 — hygiene** | Already on main: the `platform-floor` CI lane, the CLI source identity without DocC catalogs, branch housekeeping and developer kit 0.2.0. Tag/publication remains a separate decision. | -| **1.10.0 — exact interchange (prepared)** | RFC 8785 JSON Canonicalization Scheme (canonical bytes for hashing, signing and content addressing); a versioned envelope built on it; structural diff producing an RFC 6902 patch, also rendered as a static JSONHTML page; RFC 7464 JSON text sequences in JSONStreaming. Integrated through PRs #95–#99; see the [release notes](ReleaseNotes/1.10.0.md). Tag and publication remain a separate decision. | +| **1.9.1 — hygiene** | Already on main: the `platform-floor` CI lane, the CLI source identity without DocC catalogs, branch housekeeping and developer kit 0.2.0. Included in 1.10.0; no separate 1.9.1 publication. | +| **1.10.0 — exact interchange (published)** | RFC 8785 JSON Canonicalization Scheme (canonical bytes for hashing, signing and content addressing); a versioned envelope built on it; structural diff producing an RFC 6902 patch, also rendered as a static JSONHTML page; RFC 7464 JSON text sequences in JSONStreaming. Integrated through PRs #95–#99; see the [release notes](ReleaseNotes/1.10.0.md). Published 26 November 2026. | | **1.11.0 — queries and diagnostics** | RFC 9535 JSONPath with finite budgets, kept separate from Transform semantics; detailed and basic JSON Schema output formats. | | **1.12.0 — API consolidation** | Review every public surface before 2.0: naming, error and limit consistency, deprecations with replacements and migration notes. No break in a minor release. | | **2.0.0 — compatibility contract** | Unchanged from the gate below: one documented compatibility, resource and platform contract for the accepted family, with migration guidance for every recorded break. | diff --git a/README.md b/README.md index a56826a..0d33166 100644 --- a/README.md +++ b/README.md @@ -1,41 +1,51 @@ # Swift-JSON -**Exact JSON values, offline schema validation, transactional patches, pull streams, HTML exports and bounded queries for modern Swift.** - -Swift-JSON gives applications one consistent JSON model from input bytes to validated, -transformed and encoded output. It keeps decimal values exact, preserves the identity -of Unicode scalar sequences, and makes resource limits and cancellation part of the -operation contract. Use it when rounding a number, collapsing a key or accepting a -partially read document would change the meaning of your data. - -[![Native CI](https://github.com/ThorFuchs/Swift-JSON/actions/workflows/native.yml/badge.svg)](https://github.com/ThorFuchs/Swift-JSON/actions/workflows/native.yml) -[![License: Apache-2.0](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](LICENSE) - -[Read the documentation →](https://thorfuchs.github.io/Swift-JSON/) - -The latest stable release is [**Swift-JSON 1.9.0**](https://github.com/ThorFuchs/Swift-JSON/releases/tag/1.9.0). -This minor release adds [bounded structural workflows](#bounded-structural-workflows-available-since-190) -to JSONInspection: ordered batch reads and an immutable configured read-only store -with exact-ID lookup and bounded reference following. JSONTransform adds -[indexed selection](Sources/JSONTransform/Documentation.docc/IndexedSelection.md), -and the Apple deployment minimums are now macOS 15 and iOS 18. -Release 1.8.0 added located root-array streaming with per-element UTF-8 byte spans. -The 1.7.0 release brought source-attached Inspection snapshots, projections and -graphs, JSONTransform and the optional JSONValueDSL/JSONSchemaDSL products together. -Choose from twelve library products plus the `swift-json` executable. Thirteen -DocC catalogs cover the libraries and the shared, non-product JSONDSLCore module. +[![Release 1.10.0](https://img.shields.io/badge/release-1.10.0-2ea44f)](https://github.com/ThorFuchs/Swift-JSON/releases/tag/1.10.0) +[![Swift 6.4+](https://img.shields.io/badge/Swift-6.4%2B-F05138?logo=swift&logoColor=white)](#requirements-and-products) +[![License: Apache-2.0](https://img.shields.io/badge/license-Apache--2.0-blue)](LICENSE) +[![Native CI](https://github.com/ThorFuchs/Swift-JSON/actions/workflows/native.yml/badge.svg?branch=main)](https://github.com/ThorFuchs/Swift-JSON/actions/workflows/native.yml) +[![Linux CI](https://github.com/ThorFuchs/Swift-JSON/actions/workflows/linux.yml/badge.svg?branch=main)](https://github.com/ThorFuchs/Swift-JSON/actions/workflows/linux.yml) +[![macOS 15+](https://img.shields.io/badge/macOS-15%2B-555?logo=apple&logoColor=white)](#requirements-and-products) +[![iOS 18+](https://img.shields.io/badge/iOS%20%2F%20iPadOS-18%2B-555?logo=apple&logoColor=white)](#requirements-and-products) +[![Linux](https://img.shields.io/badge/Linux-arm64%20%7C%20x86__64-555?logo=linux&logoColor=white)](Documentation/Architecture/Linux.md) +[![WASI](https://img.shields.io/badge/WASI-wasm32-654FF0?logo=webassembly&logoColor=white)](Documentation/Architecture/WebAssembly.md) -Maintained by [Thorsten Fuchs](https://github.com/ThorFuchs). Swift-JSON follows -semantic versioning. Use a released version and retain `Package.resolved` for -reproducible builds; `main` tracks ongoing development. +**Exact JSON for modern Swift — from strict input to validated, transformed and canonical output.** + +Swift-JSON gives applications one consistent JSON model. It keeps decimal values +exact, preserves Unicode scalar identity, and makes resource limits and +cancellation part of the operation contract. Twelve opt-in libraries and a CLI, +with no external root-package dependencies. + +[Documentation](https://thorfuchs.github.io/Swift-JSON/) · [Quick start](#installation) · [Latest release](https://github.com/ThorFuchs/Swift-JSON/releases/tag/1.10.0) · [Developer kit](Documentation/AgentDeveloperKit.md) + +## What's new in 1.10.0 — Exact Interchange + +Released **26 November 2026**. Five additions make exact interchange easier: + +| Feature | What it enables | +| --- | --- | +| Canonical JSON (RFC 8785) | Deterministic JCS bytes for hashing and signing; explicit preserving vs rounding policy | +| Versioned envelopes | Canonical records with SHA-256 payload integrity and portable Int64 schema versions | +| Structural differences | Deterministic RFC 6902 patches that transform the source into the target; not necessarily minimal | +| Visual differences | Script-free HTML comparison with accessible change markers and patch downloads | +| JSON text sequences (RFC 7464) | Bounded reading and writing, explicit truncation detection and opt-in malformed-text recovery | + +See the [release notes](Documentation/ReleaseNotes/1.10.0.md) and [publication record](Documentation/Qualification/Release1.10Publication.md). +The tag is pinned to [`564ca8ce5ea057edc847666c4223da20084fc59c`](https://github.com/ThorFuchs/Swift-JSON/commit/564ca8ce5ea057edc847666c4223da20084fc59c). +The [release assets](https://github.com/ThorFuchs/Swift-JSON/releases/tag/1.10.0) include the exact source archive, thirteen compiled +DocC catalogs, checksums and the [qualification receipt](https://github.com/ThorFuchs/Swift-JSON/releases/download/1.10.0/Swift-JSON-1.10.0-qualification.json). +All 21 hosted checks passed; controlled performance was explicitly excepted, +not measured. Platform badges describe the supported deployment/qualification +scope, not runtime testing on every OS version or WASI host. + +Earlier releases added [bounded structural workflows](#bounded-structural-workflows-available-since-190) +and indexed selection (1.9.0), located root-array streaming (1.8.0), and +source-attached Inspection, Transform and optional DSLs (1.7.0). -Release 1.9.0 is pinned to -[`f2a0d12da7028edfbcb0cb307f19a921a3a12d03`](https://github.com/ThorFuchs/Swift-JSON/commit/f2a0d12da7028edfbcb0cb307f19a921a3a12d03). -Its assets include the exact source archive, compiled documentation, checksums and -a [source-bound prepublication qualification receipt](https://github.com/ThorFuchs/Swift-JSON/releases/download/1.9.0/Swift-JSON-1.9.0-qualification.json). -See the [release notes](Documentation/ReleaseNotes/1.9.0.md), the -[1.9 qualification record](Documentation/Qualification/Release1.9.md) and -[forward roadmap](Documentation/ReleaseRoadmap.md) for scope and planned work. +Maintained by [Thorsten Fuchs](https://github.com/ThorFuchs). Swift-JSON follows +semantic versioning. Retain `Package.resolved` for reproducible builds; `main` +tracks development. [1.6.1](https://github.com/ThorFuchs/Swift-JSON/releases/tag/1.6.1) remains a separate maintenance release with eight libraries plus CLI and its own eight-catalog @@ -136,7 +146,7 @@ earlier stage receipts retain their original source and unfinished gates. Add the package to your `Package.swift`: ```swift -.package(url: "https://github.com/ThorFuchs/Swift-JSON.git", from: "1.9.0") +.package(url: "https://github.com/ThorFuchs/Swift-JSON.git", from: "1.10.0") ``` Then add products to your target dependencies: @@ -150,7 +160,7 @@ Add `JSONStreaming`, `JSONPatch`, `JSONHTML`, `JSONBridges`, `JSONNavigation`, `JSONSchemaExamples`, `JSONInspection`, `JSONTransform`, `JSONValueDSL` or `JSONSchemaDSL` in the same way when needed. A local checkout can use `.package(path: "../Swift-JSON")`. The requirement above accepts compatible 1.x -releases from 1.9.0; use `exact: "1.9.0"` when reproducing this release. +releases from 1.10.0; use `exact: "1.10.0"` when reproducing this release. See the [core consumer](Examples/Consumer) for a complete buildable manifest. The website tracks `main`; release assets include compiled DocC catalogs for the exact released source. @@ -580,14 +590,14 @@ Browse the [public documentation site](https://thorfuchs.github.io/Swift-JSON/): [JSONValueDSL](https://thorfuchs.github.io/Swift-JSON/JSONValueDSL/documentation/jsonvaluedsl/) and [JSONSchemaDSL](https://thorfuchs.github.io/Swift-JSON/JSONSchemaDSL/documentation/jsonschemadsl/). The site tracks `main` and publishes only after all four native CI lanes pass. -For the exact 1.9.0 interface, use its -[tagged source documentation](https://github.com/ThorFuchs/Swift-JSON/tree/1.9.0/Sources) -or download the [compiled DocC archive](https://github.com/ThorFuchs/Swift-JSON/releases/download/1.9.0/Swift-JSON-1.9.0-DocC.tar.gz) -and [documentation manifest](https://github.com/ThorFuchs/Swift-JSON/releases/download/1.9.0/Swift-JSON-1.9.0-DocC.MANIFEST.sha256). +For the exact 1.10.0 interface, use its +[tagged source documentation](https://github.com/ThorFuchs/Swift-JSON/tree/1.10.0/Sources) +or download the [compiled DocC archive](https://github.com/ThorFuchs/Swift-JSON/releases/download/1.10.0/Swift-JSON-1.10.0-DocC.tar.gz) +and [documentation manifest](https://github.com/ThorFuchs/Swift-JSON/releases/download/1.10.0/Swift-JSON-1.10.0-DocC.MANIFEST.sha256). Historical preparation receipts retain their original scope. The [documentation index](Documentation/README.md) links the behavior contracts. -Release 1.9.0 includes thirteen catalogs: twelve library references and the +Release 1.10.0 includes thirteen catalogs: twelve library references and the [shared JSONDSLCore structure reference](https://thorfuchs.github.io/Swift-JSON/JSONDSLCore/documentation/jsondslcore/). They provide public API references, focused guides, parameter descriptions and failure contracts, compiled from native Swift public symbol graphs. @@ -616,19 +626,20 @@ streaming comparison is approximately **11% slower**, exceeding the unchanged 10 review trigger, with its accepted disposition and measurement limits documented in [performance notes](Documentation/Performance/README.md). Logical retention remains separate from process RSS. Scalar scanning and plan-local immutable regex sharing -are the qualified choices. The separate E11 projection experiment and JSON -text-sequence framing remain deferred. +are the qualified choices. The separate E11 projection experiment remains historical; RFC 7464 JSON +text-sequence framing shipped in 1.10.0. The 1.1 candidate's separate matched stream comparison is **15.76% slower**; its [integrated review](Documentation/Architecture/Release1.1/IntegratedPerformance.md) retains the accepted disposition. The [additional QA wave](Documentation/Architecture/Release1.1/QA.md) records conformance coverage and the Base64 accounting correction. -For 1.9.0, the maintainer recorded an explicit exception for the controlled-performance -gate; it is not a pass. Controlled Navigation performance G4 remains **HOLD**, with zero +For 1.10.0, the maintainer recorded an explicit release-specific exception for the +controlled-performance gate; it is not a pass. The 1.9.0 exception remains historical. Controlled Navigation performance G4 remains **HOLD**, with zero accepted controlled timing samples. The original 1.7.0 Transform P4 exception and incomplete historical sampling remain recorded for unchanged workloads; neither is a new measured pass. No new speed, throughput, allocation-efficiency or RSS claim is made. -See the [1.9.0 qualification receipt](https://github.com/ThorFuchs/Swift-JSON/releases/download/1.9.0/Swift-JSON-1.9.0-qualification.json), +See the [1.10.0 qualification receipt](https://github.com/ThorFuchs/Swift-JSON/releases/download/1.10.0/Swift-JSON-1.10.0-qualification.json), +[1.9.0 qualification receipt](https://github.com/ThorFuchs/Swift-JSON/releases/download/1.9.0/Swift-JSON-1.9.0-qualification.json), [1.8.0 qualification receipt](https://github.com/ThorFuchs/Swift-JSON/releases/download/1.8.0/Swift-JSON-1.8.0-qualification.json), [1.7.1 qualification receipt](https://github.com/ThorFuchs/Swift-JSON/releases/download/1.7.1/Swift-JSON-1.7.1-qualification.json) and [1.7.0 qualification receipt](https://github.com/ThorFuchs/Swift-JSON/releases/download/1.7.0/Swift-JSON-1.7.0-qualification.json). @@ -638,7 +649,8 @@ and [1.7.0 qualification receipt](https://github.com/ThorFuchs/Swift-JSON/releas For optional agent assistance in an application using this package, see the [developer kit](Documentation/AgentDeveloperKit.md). Kit 0.2.0 in this repository is pinned to library 1.9.0 and covers all twelve libraries and the CLI with -compiled recipes. In Claude Code, run `/plugin marketplace add ThorFuchs/Swift-JSON` +compiled recipes. Kit 0.3.0 for 1.10.0 is planned separately; do not treat 0.2.0 as +qualified against 1.10.0. In Claude Code, run `/plugin marketplace add ThorFuchs/Swift-JSON` and then `/plugin install swift-json@swift-json`; Codex can use the same skill folder. The earlier [0.1.0 preview downloads](https://github.com/ThorFuchs/Swift-JSON/releases/tag/developer-kit-v0.1.0) remain pinned to 1.6.1. Public directory availability retains the limits @@ -664,7 +676,7 @@ inputs retain their applicable [notices](NOTICE), [third-party notices](THIRD_PA ## Command-line tool (released in 1.5.0) -`swift-json` accompanies the twelve libraries in 1.9.0. It provides strict +`swift-json` accompanies the twelve libraries in 1.10.0. It provides strict formatting, validation, Pointer selection, staged Patch and qualified HTML/text/Markdown rendering. See the [CLI plan](Documentation/Architecture/Release1.4/Plan.md) and [foundation contract](Documentation/Architecture/Release1.4/Foundation.md) @@ -685,9 +697,9 @@ swift build -c release --product swift-json ### Run exact pull queries -Release 1.9.0 has twelve libraries plus the executable, with no external root +Release 1.10.0 has twelve libraries plus the executable, with no external root dependencies. Build the selected source version -with Swift6.4+ (`swift build -c release --product swift-json`), or use +with Swift 6.4+ (`swift build -c release --product swift-json`), or use `swift run swift-json help`. Native qualification requires a macOS/SDK 27+ host. ```sh @@ -707,7 +719,7 @@ See the [CLI reference](Documentation/Architecture/Release1.4/CLIReference.md), [integration contract](Documentation/Architecture/Release1.4/Integration.md) and [acceptance ledger](Documentation/Architecture/Release1.4/Acceptance.json). The frozen 1.5.0 CLI reports `1.4.0-dev` and revision `unknown`, as disclosed in -its release notes. Version 1.9.0 reports `1.9.0` and a +its release notes. Version 1.10.0 reports `1.10.0` and a deterministic source digest; see the [CLI guide](Documentation/CLI.md). Versioned release assets identify the exact qualified platform and source scope. @@ -854,3 +866,18 @@ read-only store interpretation, transformation and checked rebuilds after Patch. Its separate capacity mode records owned-work/retention counters and fixture hashes; it makes no timing, RSS or default joint-capacity claim. Developer kit 0.2.0 includes compiled store, batch and Transform selection recipes for 1.9.0. + +## Related projects + +Companion open-source projects in the Swift ecosystem. Each repository has its own +release, support and qualification boundaries; these links do not imply a package +dependency or joint release qualification. + +| Project | Focus | +| --- | --- | +| [Swift-SQLite](https://github.com/ThorFuchs/Swift-SQLite) | SQLite-backed persistence in Swift | +| [Swift-MCP-Server](https://github.com/ThorFuchs/Swift-MCP-Server) | Model Context Protocol core | +| [Swift-MCP-Server-HTTP](https://github.com/ThorFuchs/Swift-MCP-Server-HTTP) | HTTP transport for MCP | +| [Swift-MCP-Examples](https://github.com/ThorFuchs/Swift-MCP-Examples) | MCP integration examples | +| [Swift-YAML](https://github.com/ThorFuchs/Swift-YAML) · [Swift-TOML](https://github.com/ThorFuchs/Swift-TOML) · [Swift-CSV](https://github.com/ThorFuchs/Swift-CSV) | Companion data-format projects; see each repository for current maturity | +| [Swift-Liquid](https://github.com/ThorFuchs/Swift-Liquid) · [Swift-MD](https://github.com/ThorFuchs/Swift-MD) | Template and Markdown processing |