fast-check v2.11.0 Release Notes

  • Add support for Symbol properties and ability to mark keys as required in fc.record [Code][Diff]

    🔋 Features

    • ⏪ (PR#1265) Switch from Object.keys to for..in in record [reverted]
    • (PR#1266) Arbitrary records with optional fields
    • ⚠ (PR#1306) Prefer unique symbols over Symbol.for :warning:
    • 👍 (PR#1328) Better handling of known symbols with fc.stringify
    • 👍 (PR#1321) Add support for Symbol keys in record
    • (PR#1327) Properly handle objects with symbols as keys in fc.stringify
    • (PR#1329) Throw if non enumerable keys declared in requiredKeys of record

    🛠 Fixes

    • (PR#1286) CI: Basic setup for codecov
    • (PR#1287) CI: Only take into account files from src/ in coverage
    • 🚚 (PR#1289) CI: Remove coveralls from the CI
    • 🚚 (PR#1290) CI: Remove unused flags in coverage
    • 📦 (PR#1296) CI: Comment with links to install the package defined by the PR
    • 👍 (PR#1304) CI: Better message for automatic comments
    • 👀 (PR#1307) CI: Randomly seed runs in CI (by default)
    • (PR#1269) Doc: Fix typo in AdvancedArbitraries.md
    • (PR#1288) Doc: Switch to codecov in README
    • (PR#1291) Doc: Prefer spaces over tabs in the README (easier to fit in screen)
    • ✅ (PR#1268) Test: Switch from (deprecated) tsd to tsc for type checking
    • ✅ (PR#1280) Test: Reduce flakiness of array e2e