Version 0.21.0: Public Chances dictionary and internal changes
Pre-release
Pre-release
Added
- The internal
Chances
property formerly nameddict
(of type[Roll: Chance]
) is now public and namedchances
. - Adds GitHub Actions for testing
Changed
- The GitHub pull request template now uses the
updateVersion.sh
andrelease.sh
scripts that were added in PR #66 (Version 0.18.0) - The Travis CI configuration has had significant changes (none of which will impact users of the library):
- Now runs on Ubuntu 16.04 "Xenial" instead of 14.04 "Trusty" (matching the Travis default, and allowing for Swift 5.2.x)
- Tests on Swift 4.2.4, 5.0.3, 5.1.5, and 5.2.4 (Linux) and 4.2, 5.0.1, 5.1.3, and 5.2.4 (macOS). Previously, it tested on 4.2.4, 5.0.3, and 5.1.3 on both. I would have preferred to use versions tested on Linux on macOS as well, but the current versions are bundled with Xcode, noticeably speeding up builds
- Prints the Swift version (mostly to help because of the above point)
- Updates the Dangerfile
- The behavior around adding tests has become more lenient (warnings instead of errors, so that there is less need to change spacing on files to get past Danger)
- Danger now checks the body of the PR for empty checkboxes, which should allow me to replace
task-list-completed
. It should also present better (failing the check instead of making it say "in progress")
- Updates the README to show the latest Swift versions
Fixed
- Fixes the
remove_dev_dependencies
script. It turns out that this script had never worked (I don't think), but the place that it was running in CI meant that it didn't matter. It will now work when running on a local machine, though. Note: this may be becoming irrelevant, as I believe some related feature is coming to a new version of Swift. However, as we currently support as old as 4.2.4, it'll probably be a while before we can drop these scripts completely.