Skip to content

v0.23.0

Choose a tag to compare

@TimothyJones TimothyJones released this 28 Apr 14:56
9d748db

0.23.0 (2025-04-28)

⚠ BREAKING CHANGES

  • core: Updated the behaviour of contractFilename to be controlled by changedContracts, to match contractDir. This is a breaking change, as previously it assumed that overwriting contracts was forbidden with an explicit filename
  • core: Now writing a new contract for the first time requires changedContracts=OVERWRITE

Features

  • CaseConnectorErrors now come with an error code that can be used to programatically react to them. See the reference documentation for details. (dee6d4d)
  • core: Now writing a new contract for the first time requires changedContracts=OVERWRITE (fee2b4f)

Bug Fixes

  • core: Improve the logging of location context (500cbb7)
  • core: Trying to define an empty contract now throws a CaseConfigurationError (0f1d8a6)
  • core: Updated the behaviour of contractFilename to be controlled by changedContracts, to match contractDir. This is a breaking change, as previously it assumed that overwriting contracts was forbidden with an explicit filename (1e00836)
  • Improve logging of contract equality check (1999430)

Dependencies

  • The following workspace dependencies were updated
    • devDependencies
      • @contract-case/eslint-config-case-maintainer bumped from 0.22.0 to 0.23.0