json
0.2.0
hi all, about a month ago, we released the experimental swift-json
v0.1.0.
swift-json
up to v0.1.6 only compiles on the swift 5.6 nightlies, and contains executable test targets that only compile on linux, which meant the package as a whole only compiles on a nightly toolchain on a linux platform. the macOS support was always shaky and usually required a bit of manual configuration to get it working.
as i’m sure many will agree, this is quite silly, so we’ve made it a goal to support at least three minor swift releases, as well as macOS, iOS, watchOS, and tvOS.
as part of the v0.2.0 release, i’m pleased to announce that swift-json
now supports all the swift package index targets, going all the way back to swift 5.3.
look at all that green!
as the project has matured, i’ve also set up a CI pipeline to test a number of platform × toolchain configurations directly in GitHub Actions.
we are now explicitly testing the following platform × toolchain combinations:
- build-macos (macos-11)
- build-macos (macos-10.15)
- build-linux (ubuntu-20.04, 5.5.3)
- build-linux (ubuntu-20.04, 5.4.3)
- build-linux (ubuntu-20.04, 5.3.3)
- build-linux (ubuntu-18.04, 5.5.3)
-
build-linux (ubuntu-18.04, 5.4.3)
build-linux (ubuntu-18.04, 5.3.3)
(Windows is on the way too!)
at this point, the library is mostly feature-complete from the Decoder
side, so moving forward, we are probably going to focus on testing, code coverage, and documentation to really bring swift-json
to a production-ready state. enjoy!