Skip to content

Update JSON - #53

Merged
atdrendel merged 2 commits into
mainfrom
update-json
Jun 26, 2026
Merged

Update JSON#53
atdrendel merged 2 commits into
mainfrom
update-json

Conversation

@atdrendel

Copy link
Copy Markdown
Contributor

The only meaningful breaking change between JSON 1.4.1 and 2.0.0 is that assigning nil through a JSON dictionary subscript now stores JSON null instead of removing the key. Consumers of this library who relied on the old behavior should now call removeValue(forKey:) before passing the payload.

Copilot AI review requested due to automatic review settings June 26, 2026 13:32
@atdrendel
atdrendel merged commit 7f50194 into main Jun 26, 2026
2 checks passed
@atdrendel
atdrendel deleted the update-json branch June 26, 2026 13:32

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the SwiftPM dependency on shareup/json-apple to the 2.x line (per the PR description’s breaking behavior around nil assignment in JSON subscripts) and refreshes CI to run against the newer macOS/Xcode toolchain.

Changes:

  • Bump shareup/json-apple dependency from 1.4.1 to 2.0.0 in SwiftPM.
  • Update Package.resolved to the json-apple 2.0.0 revision.
  • Move CI to macos-26 and select Xcode 26.5.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.

File Description
Package.swift Updates json-apple dependency requirement to from: "2.0.0".
Package.resolved Locks json-apple to the 2.0.0 revision/version.
.github/workflows/ci.yml Updates runner image to macos-26 and selects Xcode 26.5 for tests.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/ci.yml
Comment on lines 11 to +12
- name: Select Xcode 26
run: sudo xcode-select -s /Applications/Xcode_26.3.app
run: sudo xcode-select -s /Applications/Xcode_26.5.app
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