Skip to content

Releases: case-contract-testing/contract-case

@contract-case/case-boundary: v0.2.0

26 Apr 13:48
bebdd43
Compare
Choose a tag to compare

0.2.0 (2023-04-26)

⚠ BREAKING CHANGES

  • Add an IResultPrinter type and make it required as part of the constructor for ContractDefiner
  • Change return type of ILogPrinter to Result

Features

  • Add an IResultPrinter type and make it required as part of the constructor for ContractDefiner (f5583d2)
  • Add ILogPrinter interface to allow printing log lines (f17d1fa)
  • Add StateHandlers type to boundary (75a2a9b)
  • Add SuccessWithAny result type (d566a7f)
  • Add types for triggerAndTest (3609024)
  • boundary: Add initial types for ContractDefiner (06643c0)
  • Change return type of ILogPrinter to Result (43b3d9c)
  • Export all error types (8b2ca24)

Bug Fixes

  • Correct peer dependency for test-equivalence-matchers (5c913a0)
  • Include .jsii manifest in release (cce31c0)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @contract-case/case-core bumped from 0.8.0 to 0.9.0
      • @contract-case/case-entities-internal bumped from 0.8.0 to 0.9.0
      • @contract-case/test-equivalence-matchers bumped from 0.0.4 to 0.9.0

test-equivalence-matchers: v0.0.4

19 Apr 18:31
34d0673
Compare
Choose a tag to compare

0.0.4 (2023-04-19)

Bug Fixes

  • Actually include the jsii manifest (a1cf72f)

test-equivalence-matchers: v0.0.3

19 Apr 15:55
7ea44d9
Compare
Choose a tag to compare

0.0.3 (2023-04-19)

Bug Fixes

  • Include .jsii manifest in release (cce31c0)

test-equivalence-matchers: v0.0.2

19 Apr 15:28
536898f
Compare
Choose a tag to compare

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @contract-case/case-entities-internal bumped from * to 0.8.0

case-entities-internal: v0.8.0

19 Apr 15:28
536898f
Compare
Choose a tag to compare

0.8.0 (2023-04-19)

⚠ BREAKING CHANGES

  • Rename all internal fields from "case:" to "_case:" for compatibility with JSii. Contract files written before this change will need to be regenerated

Features

  • Export MatchContextByType, DataOrCaseNodeFor and add the HTTP matcher types to the Any* lists (0ce1ee3)

Bug Fixes

  • Add AnyLeafOrStructure to AnyCaseMatcherOrData, preventing type errors in tests (b0d3cf0)

Code Refactoring

  • Rename all internal fields from "case:" to "_case:" for compatibility with JSii. Contract files written before this change will need to be regenerated (438fac4)

case-documentation: v0.0.2

19 Apr 18:31
34d0673
Compare
Choose a tag to compare

0.0.2 (2023-04-19)

Features

  • Add documentation package (f5b1f61)

case-core: v0.8.0

19 Apr 15:28
536898f
Compare
Choose a tag to compare

0.8.0 (2023-04-19)

⚠ BREAKING CHANGES

  • Rename all internal fields from "case:" to "_case:" for compatibility with JSii. Contract files written before this change will need to be regenerated

Features

  • Add ability to pass in printer for log lines (d6d8b7f)
  • Export ContractDefinerConnector and ContractVerifierConnector. The ContractDefiner and ContractVerifier classes will be moved to the case-boundaries package soon (6805f1c)
  • Export error and config types (b46fe4a)
  • Export LogPrinter type (77eb3ce)

Bug Fixes

  • Add contract name to log location for publish contract/verification (d736689)
  • Improve logger output (f68752d)
  • Swap colours for maintainerDebug and deepMaintainerDebug (c77f6fb)
  • Widen types for stripMatchers and checkMatch (a side-effect of using the new case-entities-internal package) (26d5b6e)

Code Refactoring

  • Rename all internal fields from "case:" to "_case:" for compatibility with JSii. Contract files written before this change will need to be regenerated (438fac4)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @contract-case/case-entities-internal bumped from * to 0.8.0

case-boundary: v0.1.2

19 Apr 18:31
34d0673
Compare
Choose a tag to compare

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @contract-case/test-equivalence-matchers bumped from 0.0.3 to 0.0.4

case-boundary: v0.1.1

19 Apr 15:55
7ea44d9
Compare
Choose a tag to compare

0.1.1 (2023-04-19)

Bug Fixes

  • Include .jsii manifest in release (cce31c0)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @contract-case/test-equivalence-matchers bumped from 0.0.2 to 0.0.3

case-boundary: v0.1.0

19 Apr 15:28
536898f
Compare
Choose a tag to compare

0.1.0 (2023-04-19)

⚠ BREAKING CHANGES

  • Change return type of ILogPrinter to Result

Features

  • Add ILogPrinter interface to allow printing log lines (f17d1fa)
  • Add StateHandlers type to boundary (75a2a9b)
  • Add SuccessWithAny result type (d566a7f)
  • boundary: Add initial types for ContractDefiner (06643c0)
  • Change return type of ILogPrinter to Result (43b3d9c)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @contract-case/case-core bumped from * to 0.8.0
      • @contract-case/case-entities-internal bumped from * to 0.8.0
      • @contract-case/test-equivalence-matchers bumped from * to 0.0.2