Skip to content

10.4.0

Choose a tag to compare

@github-actions github-actions released this 03 Nov 11:24
· 6 commits to main since this release
Immutable release. Only release title and notes can be modified.

Added

  • Optional-feature classes expose a static cannot property (via #1534)
    It tells whether missing optional dependencies prevent the class from acting:
    false when the feature is available;
    otherwise an object with a message describing why the feature is unavailable.
    Affected classes:
    • Serialize.JsonSerializer — always false
    • Serialize.XmlSerializer — always false in web builds; in node it depends on an optional XML library
    • Validation.JsonValidator
    • Validation.JsonStrictValidator
    • Validation.XmlValidator

Changed

  • Serialize.XmlSerializer, Validation.JsonValidator, Validation.JsonStrictValidator and Validation.XmlValidator
    now throw MissingOptionalDependencyError based on the new cannot check,
    instead of wrapping the underlying OptPlugError (via #1534)

What's Changed

  • chore(deps): bump zizmorcore/zizmor-action from 0.6.3 to 0.7.1 by @dependabot[bot] in #1530
  • chore(deps): bump knip from 6.34.0 to 6.41.0 in /tools/test-dependencies by @dependabot[bot] in #1529
  • chore(deps): bump actions/upload-artifact from 7.0.1 to 7.0.2 by @dependabot[bot] in #1528
  • chore(deps): bump actions/setup-node from 7.0.0 to 7.1.0 by @dependabot[bot] in #1527
  • chore(deps): bump actions/download-artifact from 8.0.1 to 8.0.2 by @dependabot[bot] in #1526
  • feat: Optional-feature classes expose a static cannot property by @jkowalleck in #1534
  • chore(deps): bump zizmorcore/zizmor-action from 0.7.1 to 0.8.0 by @dependabot[bot] in #1531
  • chore(deps): bump knip from 6.41.0 to 6.43.0 in /tools/test-dependencies by @dependabot[bot] in #1533

Full Changelog: v10.3.0...v10.4.0