Skip to content

Latest commit

 

History

History
55 lines (34 loc) · 3.58 KB

CHANGELOG.md

File metadata and controls

55 lines (34 loc) · 3.58 KB

@onflow/flow-cadut

0.2.0-alpha.8

Major Changes

  • #102 477d3df Thanks @jribbink! - BREAKING Bumped @onflow/fcl to 1.1.1-alpha.1

    Developers should note that [U]Int* and Word* types are now decoded into strings by @onflow/fcl and no longer implicitly decoded into numbers. This means that these types will need to be explicitly converted to JavaScript Number types if required.

    This potentially affects the following flow-cadut features:

    • sendTransaction (where event data is [U]Int* or Word*)
    • executeScript (where return value is [U]Int* or Word*)
    • any generated script templates with [U]Int* or Word* return values
    • any generated transaction templates which emit [U]Int* or Word* event data

    See more here

    Additionally, passing in Number as value for Int is deprecated and will cease to work in future releases of @onflow/types. Going forward, use String as value for Int.

    This could potentially affect the following functions in the future:

    • sendTransaction (where integer arguments are passed)
    • executeScript (where integer arguments are passed)
    • any generated script templates with integer arguments passed
    • any generated transaction templates with integer arguments passed

    You can learn more (including a guide on common transition paths) here.

  • #104 c5d3a23 Thanks @jribbink! - BREAKING @onflow/flow-cadut has been converted to a monorepo and partitioned into the following packages:

    • @onflow/flow-cadut
    • @onflow/flow-cadut-generator (previously @onflow/flow-cadut/generator)
    • @onflow/flow-cadut-plugin-find (previously @onflow/flow-cadut/plugins/find)
    • @onflow/flow-cadut-plugin-flowns (previously @onflow/flow-cadut/plugins/flowns)
    • @onflow/flow-cadut-views (previously @onflow/flow-cadut/views)

    Note - The @onflow/flow-cadut generator CLI has also been moved to @onflow/flow-cadut-generator.

    In order to use the flow-generate command, you must install the generator package via:

    npm install -D @onflow/flow-cadut-generator

    The generator command may now be used via npx flow-generate on the command line. See complete installation instructions here.

Patch Changes

  • #97 7a09ae7 Thanks @MaxStalker! - Fix contract parser to properly process contracts, which implements some interface
  • #107 663f0fc Thanks @jribbink! - Verify that provided domain is valid for provided argument type when mapping path arguments