Conversation
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Moves the unreleased changes since v1.2.1 into a [1.3.0] CHANGELOG section and bumps the version in package.json. Released as a minor rather than a patch because PR #171 repointed PHYX_CONTEXT_JSON at context v1.1.0, which changes the JSON-LD this library emits, and PR #160 upgraded jsonld across a major version. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Prepares the release of phyx.js v1.3.0, following the steps in
RELEASE.md.TODO before merging
Regenerate
docs/.RELEASE.mdstep 4 says to regenerate and commit thedocs/tree; that is deliberately not in this PR, pending Replace esdoc with jsdoc and clean-jsdoc-theme #166 (replace esdoc with jsdoc + clean-jsdoc-theme). If Replace esdoc with jsdoc and clean-jsdoc-theme #166 lands first, regenerate with the new toolchain and commit here. If Replace esdoc with jsdoc and clean-jsdoc-theme #166 slips, runnpm run docsand commit the esdoc output instead.Landing Replace esdoc with jsdoc and clean-jsdoc-theme #166 would also clear most of the current
npm auditfindings — esdoc is unmaintained and is the sole path to the vulnerabletaffydb,nth-check,tough-cookie,uuidandqsversions.Fix the
phyx2owlfailure on Node 26.npm testis green except for one failure intest/scripts/phyx2owl.js("should be able to convert the entiretest/examples/correctdirectory"), which reproduces on Node 26 both before and after this PR's dependency changes — it is not caused by the upgrade.The cause is a mismatch between the bundled undici v6
Agentthat jsonld's document loader passes as a dispatcher and Node 26's internal undici, which now supplies anonErrorhandler the v6 dispatcher rejects:Note that pinning undici back to 6.24.1 does not fix it — I tested that explicitly, so the fix isn't simply reverting this PR's
undici6.24.1 → 6.27.0 bump. Any pin would have to be further up the chain (jsonld /@digitalbazaar/http-client) or on Node itself.CI covers Node 22/24/25 only, so this should stay green here. But it does mean
toRDF()is currently broken on Node 26 for any document that has to dereference a remote context, not just in tests — so this is worth a real fix rather than only a test workaround. Adding 26.x to the CI matrix once fixed would stop it regressing.What's in here
npm upgrade— only transitive dependencies moved; every direct dependency was already at the newest version its range allows. Biome stays pinned at 2.4.4 deliberately (2.5.5 is available).CHANGELOG.md— the[Unreleased]section was empty, so the ten PRs merged since v1.2.1 have been written up into a new[1.3.0]section. Also fixes the stale[Unreleased]compare link, which still pointed atv1.2.0...master.package.json— version bumped to1.3.0.PHYX_CONTEXT_JSON— already updated to context v1.1.0 in Updated PHYX_CONTEXT_JSON to v1.1.0 #171, no change needed here.Why 1.3.0 and not 1.2.2
Two changes in this release are more than internal churn:
PHYX_CONTEXT_JSONat Phyx JSON-LD context v1.1.0, which changes the JSON-LD this library emits.Under semver that reads as a minor release rather than a patch.
🤖 Generated with Claude Code