Skip to content

v1.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 04 Nov 13:13
· 718 commits to main since this release

1.0.0 - 2021-11-04

Added

  • Module for mocking of Superface components
  • MapInterpreter now supports integration parameters

Changed

  • Removed unnecessary result propagation in interpreter - using stackTop.result instead
  • Terminal outcome statements should now correctly exit from iteration
  • MappedHTTPErrors and MappedErrors are handled a little better
  • Parser uses AST metadata to check if source was changed
  • Profile provider resolves integration parameters and fallback to default during bind

Removed

  • replaced zod with ast validations
  • deprecated cacheBoundProfileProvider function on SuperfaceClient

Fixed

  • operation call no longer overwrites already mapped result
  • caller scope no longer leaks into operation callees
  • result variable no longer has special meaning
  • outcome.data is no longer overwritten by result
  • fail correctly sets outcome.error in caller
  • errors are passed correctly through multiple levels of operation calls
  • inline calls throw error when they fail
  • Integration parameters are passed from super.json to BoundProfileProvider