Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 4.1.0 #506

Merged
merged 14 commits into from
Jun 24, 2019
Merged

Release 4.1.0 #506

merged 14 commits into from
Jun 24, 2019

Conversation

nduchak
Copy link
Contributor

@nduchak nduchak commented Jun 22, 2019

4.1.0 (2019-06-22)

Bug Fixes

  • Node: Do not throw error if internalUrl not provided. Instead use url (#503) (053faae)
  • TXBuilder: Fix payload serialization if you try to unpackpack and pack tx. (#498) (73552e5)
  • TxValidator: Fix validation of state channel open transaction (#496) (325cc90)

Features

  • ACI: Refactor ACI module. Split to separated files. (#505) (fb7bc00)
  • Selector: If default account address not provided use the first
  • ACI: Handle ACI without init function
  • ACI: Automatically decide to send transaction on-chai or call-static.
    Add options object like last arguments of generate fn under instance.methods
    const instance = await client.getContractInstance(source)
    // Deploy contract
    await.contract.init(100, 'test', options)
    //or
    await.contract.deploy([100, 'test], options)
    // Call function
    const result = await instance.call('sum', [2, 5], options)
    //
      // Automatically decide to send tx on-chain or call-static(dry-run) base on if function stateful or not
      const result = await instance.methods.sum(2, 5, options)
      // Mannualy make on-chain
      const result = await instance.methods.sum.send(2, 5, options)
      // Mannualy make call-static
      const result = await instance.methods.sum.get(2, 5, options)
    //
    

Docs

  • Usage:: Add instructions about how to include directly the SDK in a html page

nduchak and others added 7 commits June 14, 2019 14:33
* chore(package): Bump version to 2.4.1

* chore(Adjust CHANGELOG):

* chore(CAHNGELOG): Fix typo

* docs(USAGE): Fix networkId in Wallet example

* fix(Http): Remove userAgent from axios

* chore(CHANGELOG): Fix typo

* docs(*): Regenrate docs

* chore(bump version in package):

* chore(CHANGELOG): Adjust changelog to conventional changelog style

* chore(Docker): Update node version tot 2.3.0

* docs(CHANGELOG): Adjust release

* feat(npm): Add script for auto-generating changelog

* chore(Node): downgrade to 2.2.0 due to failed channel test

* fix(Channel): Fix failing test on 2.3.0 node

* chore(package-lock): adjust package-lock

* chore(Channel): Revert to 2.2.0

* docs(Docs): Regenerate docs

* refactor(node): Add txHash to sendTransaction error

* chore(package): bump version to 3.1.0

* chore(Docs): Regeneratee docs and changelog

* chore(package): Add packa-lock

* chore(changelog): Adjust closes issue

* chore(package): Bump version to 3.2.0

* docs(Docs and Changelog): Regenerate docs

* docs(CHANGELOG): Adjust changelog

* docs(CHANGELOG): Adjust changelog

* chore(Jenkions): Force jenkins

* fix(NPM): Make audit of npm packages. Remove esm from deps

* chore(Release): Bump version in package, generate CHNAGELOG

* force Jenkins

* force Jenkins

* force Jenkins

* force Jenkins

* fix(AEP exampe): Fix contract in AEPP example

* Release/3.3.0 (#417)

* Realign/3.2.1 (#412)

* chore(package): Bump version to 2.4.1

* chore(Adjust CHANGELOG):

* chore(CAHNGELOG): Fix typo

* docs(USAGE): Fix networkId in Wallet example

* fix(Http): Remove userAgent from axios

* chore(CHANGELOG): Fix typo

* docs(*): Regenrate docs

* chore(bump version in package):

* chore(CHANGELOG): Adjust changelog to conventional changelog style

* chore(Docker): Update node version tot 2.3.0

* docs(CHANGELOG): Adjust release

* feat(npm): Add script for auto-generating changelog

* chore(Node): downgrade to 2.2.0 due to failed channel test

* fix(Channel): Fix failing test on 2.3.0 node

* chore(package-lock): adjust package-lock

* chore(Channel): Revert to 2.2.0

* docs(Docs): Regenerate docs

* refactor(node): Add txHash to sendTransaction error

* chore(package): bump version to 3.1.0

* chore(Docs): Regeneratee docs and changelog

* chore(package): Add packa-lock

* chore(changelog): Adjust closes issue

* chore(package): Bump version to 3.2.0

* docs(Docs and Changelog): Regenerate docs

* docs(CHANGELOG): Adjust changelog

* docs(CHANGELOG): Adjust changelog

* chore(Jenkions): Force jenkins

* fix(NPM): Make audit of npm packages. Remove esm from deps

* chore(Release): Bump version in package, generate CHNAGELOG

* force Jenkins

* force Jenkins

* force Jenkins

* force Jenkins

* feat(Consensus): Add function to get consensus version.  (#413)

* feat(Consensus): Add function to get conmsensus version. Get vm/abi based on node protocol

* chore(node): Remove logs

* add docs for node getProtocol

* disable channel tests

* try to fix channel test

* try to fix channel test

* Make sdk compatible with node from 2.3.0 to 4.0.0

* feat(TxBuilder): INT type must be greater or equal 0 int transaction

* feat(State Channels): Make state channels compatible with aeternity v… (#415)

* feat(State Channels): Make state channels compatible with aeternity v3.0.0

* Fix lint error

* feat(Transaction Builder): Add serializations for transactions introd… (#416)

* feat(Transaction Builder): Add serializations for transactions introduced in fortuna release

* Fix lint errors

* fix(AEP exampe): Fix contract in AEPP example

* chore(package): Bump version to 3.3.0

* fix(Node): Use universalUrl istead of ES URL

* Enable channel tests

* chore(package): Bump version to 3.4.0

* chore(CHANGELOG): Adjust CHANGELOG for 3.4.0

* chore(CHANGELOG/.env): Adjust changlog. Point node version in `.env` to v3.0.0-rc.1

* chore(.env): Remove trailing newlines

* docs(Docs): Regenrate docs

* fix(Deps): Update axios lib to 0.19.0

* chore(Release): Bump version to 3.4.1. Regenerate CHANGELOG

* Adjust changelog

* build(deps): Make audit of example app packages. Regenerate lock files

* chore(package): Bump version to 4.0.0

Regenerate CHANGELOG

* chore(CHANGELOG): Adjust CHANGELOG

* chore(build): Regenerate package-lock and pnpm-lock

* docs(API): Regenrate

* chore(Changelog): Adjust CHANGELOG

* chore(docs): Resolve comments

* chore(examples): Regenerate lock files

* chore(CHANGELOG): Adjust

* chore(Release): Bump version to 4.0.1. Generate CHANGELOG

* docs(api): generate docs

* chore(lock): Update lock files

* force jenkins

* Adjust changelog
…l page (#501)

* docs: add instructions about how to include directly the SDK in a html page

* reorganised Docs based on PR 481 and issue #500. Fixes issue #500

* remove internalUrl as default 'mandatory'
* feat(Selector): If default account `address` not provided use the first

* feat(ACI): Refactor ACI. Split to separated files. Fix test.

* feat(ACI): Refactor building of contract instance method, add ability to init instance without client

* feat(ACI): Handle ACI without init function

* chore(ACI): Cleanup code

* feat(ACI): Refactor ACI module. Fix bug with empty init function. Automatically decide to use on-chai

* fix(ACI): Fix options composition when building function

* chore(docs): Fix ACI docs example
@nduchak nduchak added the enhancement New feature or request label Jun 22, 2019
@nduchak nduchak added this to the Sprint 42 milestone Jun 22, 2019
@nduchak nduchak self-assigned this Jun 22, 2019
Copy link
Contributor

@shekhar-shubhendu shekhar-shubhendu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nduchak nduchak merged commit 7537a77 into master Jun 24, 2019
@nduchak nduchak deleted the release/4.1.0 branch July 15, 2019 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants