1
0
mirror of https://github.com/oceanprotocol-archive/squid-js.git synced 2024-02-02 15:31:51 +01:00
squid-js/CHANGELOG.md

59 KiB

Changelog

All notable changes to this project will be documented in this file. Dates are displayed in UTC.

Generated by auto-changelog.

v2.0.0

26 March 2020

  • add encodeURIComponent if AlgoMetadata is used #390
  • Feature/compute service #381
  • Update typedoc to the latest version 🚀 #389
  • package updates #384
  • Fix compute when not using published algo #387
  • Replace serviceExecution with computeExecution. #380
  • fix compute & added createAccessServiceAttributes e787266
  • chore(package): update lockfile package-lock.json fd77a00
  • add integration test for compute with a rawcode algo 40b2ccf

2.0.0-beta.4

6 March 2020

  • v2: Compute to Data #350
  • Fix style issues and failing unit tests. c26ae88
  • Fix publishing compute service (fill in parameters value in agreement conditions). Update agreement template events and conditions in the sample json. 75a0ef0
  • Return proper value from the compute endpoints. e2ed974

v2.0.0-beta.3

20 February 2020

v2.0.0-beta.2

31 January 2020

v2.0.0-beta.1

28 January 2020

  • remove index parameter from ocean.assets.consume() 138a6bf
  • Release 2.0.0-beta.1 1d7105c

v2.0.0-beta.0

28 January 2020

  • Update cross-env to the latest version 🚀 #363
  • Update mocha to the latest version 🚀 #364
  • new ocean.utils.services 40754ca
  • DDO & compute test tweaks e7acadb
  • test data consolidation ac39369

v1.3.0

31 January 2020

  • switch to @ethereum-navigator for network lookup #366
  • consolidate test files #371
  • package updates #368
  • service interface refactor and cleanup 768c69b
  • fix compute unit tests e37420d
  • job status cleanup f11eaca

v1.2.0

23 January 2020

v1.1.0

22 January 2020

  • add codeclimate coverage reporting #359
  • Update to keeper-contracts v0.13 #344
  • Greenkeeper/typedoc 0.16.5 #356
  • Update whatwg-url to the latest version 🚀 #349
  • Update @types/node to the latest version 🚀 #348
  • Update nyc to the latest version 🚀 #347
  • chore(package): update typedoc to version 0.16.5 #352
  • Fix tests. 48c4f64
  • Remove all .js files that were unintentionally committed. 7ccac88
  • package updates 216ae33

v1.1.0-beta.0

17 December 2019

v1.0.0

9 December 2019

v1.0.0-beta.7

22 November 2019

v0.8.3

22 November 2019

v0.8.2

7 November 2019

  • hot fix: revert esModuleInterop #329
  • revert esModuleInterop 27f0734
  • Release 0.8.2 f595561

v0.8.1

7 November 2019

v0.8.0

24 October 2019

  • Update @oceanprotocol/keeper-contracts to the latest version 🚀 #323
  • switch Barge to --no-commons flag #321
  • Update ora to the latest version 🚀 #318
  • chore(package): update lockfile package-lock.json 710e4d5
  • Release 0.8.0 832e29d
  • chore(package): update lockfile package-lock.json 74d22bf

v0.7.3

18 September 2019

  • Update cross-env to the latest version 🚀 #317
  • Modify barge versions on Travis #307
  • make sure mnemonic is used #315
  • package updates bb043ca
  • chore(package): update lockfile package-lock.json eca450d
  • Release 0.7.3 db0e960

v0.7.2

30 August 2019

  • Release 0.7.2 3c9d10d
  • Add a way to know if an address is provider of an asset. 3235e4f

v0.7.1

29 August 2019

  • bump keeper version on Travis #299
  • Release 0.7.1 860967d
  • change Spree Brizo address 166d290
  • bump Barge keeper version on Travis 30be2ba

v0.7.0

29 August 2019

  • Update/packages including keeper v0.11.1 #298
  • bump lint packages #296
  • package updates #294
  • make keeper script less noisy #287
  • update lock b57a30e
  • lock web.js again, but keep range for peerDependencies 21d9a57
  • updated packages bc58757

v0.6.6

31 July 2019

  • Fix Node.js usage, package updates #286
  • update web3.js as peer dependency #285
  • Update typedoc to the latest version 🚀 #283
  • Update web3 to the latest version 🚀 #282
  • bump packages ccf0b39
  • chore(package): update lockfile package-lock.json c475372
  • chore(package): update lockfile package-lock.json 9309073

v0.6.5

17 July 2019

  • Resolve the DDO using the service endpoint on registration event. a9ba23d
  • Release 0.6.5 4cfecbf

v0.6.4

15 July 2019

  • Restore decryption feature on Secret Store submodule. ccbd0da
  • Move download file behavior to utils. a629a04
  • Fix linter errors. cdbc4c9

v0.6.3

9 July 2019

  • Support integration tests on networks without Dispenser. bb082f0
  • Detect the error when a condition is not correctly fulfilled. d3f15e3
  • Release 0.6.3 bd411fa

v0.6.2

25 June 2019

  • less frightening disclaimer #265
  • Generate typedoc json during build #264
  • generate typedoc json, add as GitHub release artifact 17eb499
  • Fix error on getting contract address of not loaded contracts. 4c3f134
  • Release 0.6.2 141f3a3

v0.6.1

24 June 2019

  • add pacific to network detection #263
  • Switch to ESLint, integrate linting into test process #261
  • format all the things b61822e
  • setup eslint & prettier 537b5a6
  • Fix linter issues manually. a80b4ae

v0.6.0

24 June 2019

  • Update @oceanprotocol/keeper-contracts to the latest version 🚀 #262
  • setup release-it workflow #260
  • Release 0.6.0 003144c
  • chore(package): update lockfile package-lock.json 28a5e71
  • fix(package): update @oceanprotocol/keeper-contracts to version 0.10.3 022be2a

v0.5.17

19 June 2019

  • Bump version 0.5.16 -> 0.5.17. 4978678
  • Fix postinstall script issue. 9cba5e8

v0.5.16

19 June 2019

  • package updates & test documentation #248
  • fixed component versions, document local testing 8e92d8b
  • package updates 5a7fdd1
  • Create Versions module. 0438bee

v0.5.15

12 June 2019

  • Add Auth module. b236cda
  • Add integration test for Auth module. 4d73eb8
  • Improve Config comments. 23d4749

v0.5.14

31 May 2019

  • Report the asset creation progress. 7d94cf2
  • Change the type of the price of an asset to string. 6fe8430
  • Fix integration tests. 172967c

v0.5.12

29 May 2019

  • Skip catching of Web3 instances. d7e572c
  • Bump version 0.5.11 -> 0.5.12. 080299d
  • Expose the granted agreementIds for a consumer. 90fbc0b

v0.5.11

20 May 2019

  • Remove outdated examples. 5910552
  • Add Duero config to execute integration test. 18037db
  • Bump version 0.5.10 -> 0.5.11. 6d33fd7

v0.5.10

15 May 2019

  • Bump version 0.5.9 -> 0.5.10. #230
  • Move WebServiceConnector to utils and make it instantiable. d779adc
  • Add Duero network on getNetworkName. a821e1f
  • Fix Aquarius tests using new way to call to services. 33a9939

v0.5.9

6 May 2019

  • Update nyc to the latest version 🚀 #216
  • Update order flow using Brizo. #215
  • chore(package): update lockfile package-lock.json 00b1c29
  • Bump version 0.5.8 -> 0.5.9. f8606bb
  • chore(package): update nyc to version 14.1.0 c269120

v0.5.8

30 April 2019

  • update metadata interface #213
  • Fix linter errors. e76c152
  • Create SuscribiblePromise class. 2e8e3d9
  • update test data 6dd1fa5

v0.5.7

23 April 2019

  • Bump version 0.5.6 -> 0.5.7. #210
  • update readme #206
  • Allow create a Ocean instance in wrong network. #188 c116cde
  • Add Web3 as peer dependency. a3128a3
  • Send the DID registry transaction before send the DDO to Aquarius. #200 4438206

v0.5.6

17 April 2019

  • Fix page numbers in search queries #203
  • Use only the agreementId on status method of agreements module. #199
  • Add status method to agreements module. 398ec20
  • Add ownerAssets method to assets module. 47ced8a
  • Add owner method on assets module. 652d4e7

v0.5.5

15 April 2019

  • Fix wrong prepare output. 1e94e27
  • Bump version 0.5.4 -> 0.5.5 9545a95

v0.5.4

15 April 2019

  • Use save-file to download assets on browser. #191
  • Fix/faster bootstrap #190
  • Upgrade dependencies. a32435b
  • await chaining to Promise.all 26a721f
  • Fix bug on order assets that was stopping the flow after paying. 29ea28c

v0.5.3

9 April 2019

  • Add the correct name to consumed assets. c90f9ce
  • Add consume support for browsers. dde9345
  • Fix lint errors. 78ab06b

v0.5.2

8 April 2019

  • Bump version 0.5.1 -> 0.5.2 #183
  • Use the new Aquarius response type. b8fec2d
  • Add a integration test using the consumption of big files. 6a98fc3

v0.5.1

4 April 2019

  • Bump version 0.5.0 -> 0.5.1 #178
  • Be able to download a specific file of an asset. 3dbc1b9

v0.5.0

1 April 2019

  • Bump version 0.4.1 -> 0.5.0. #171
  • Move helpers/utils that needs web3 or ocean instance to instantiable classes. a931fe5
  • Upgrade to Keeper 0.9.0 and Secret Store access way. c632307
  • Fix lint errors. b5727bb

v0.4.1

1 April 2019

  • Bump version 0.4.0 -> 0.4.1. #167
  • Browser consume flow fix #164
  • Bump version 0.3.1 -> 0.4.0. #155
  • Be able to create different Ocean instances with different config. 7a13ad8
  • Report complete coverage. 83973e6
  • Replace the main Logger for a instantiable class. ea16729

v0.4.0

18 March 2019

  • Fix all broken tests. 76c4b2b
  • Clean and simplify template related typings. 51aa0fb
  • initial implementation of templates and conditions 5ec624b

v0.3.1

26 February 2019

  • Bumped version 0.3.0 -> 0.3.1 #145
  • added consumption integration test 6b3541b
  • fixed consume flow 6d5be0d
  • added Ocean.secretStore module 3fd8f99

v0.3.0

14 February 2019

  • Bumped version 0.2.8 -> 0.3.0 #138
  • Added library.json file with the platform dependencies. #121
  • updated registerAttribute method d51e3f3
  • improved exportation of typings related to DDOs 518a784
  • moved main methods to modules by scope 95a98da

v0.2.8

25 January 2019

  • Bumped version 0.2.7 -> 0.2.8 #122
  • Skipped some integration test are not consistent. #123
  • Improved integration test error detection and fixed some bugs. #120
  • Fix the link to the examples dir in README.md #109
  • Better DID validation. #116
  • Exporting source map to do debugging easier. #117
  • Using a random account (of a list) to run the integration test. #108
  • Use Barge to run integration tests. #105
  • Changed some methods names and marked as deprecated. #106
  • changed some methods names and marking as deprectated #65 21b3840
  • update lock 21cca45
  • improved error detection on integration test #118 c1c3168

v0.2.7

10 January 2019

  • Bumped version 0.2.6 -> 0.2.7 #104
  • (WIP) Add code comments (to create usable API documentation) #102
  • Feature/keeper 0.5.3 #101
  • added comment documentation on DDO related classes #79 b2d2271
  • added comments on some internal classes #79 4074d95
  • added comments to main Ocean class #79 89dbc10

v0.2.6

9 January 2019

v0.2.5

8 January 2019

  • Bumped version 0.2.4 -> 0.2.5 #99
  • Added information about ganache-cli installation and .editorconfig file. #98
  • updated packages, keeper-contracts v0.5.2 #97
  • Update typedoc to the latest version 🚀 #96
  • Updated and cleaned packages #91
  • added test for failed service agreements #94
  • Update rollup to the latest version 🚀 #95
  • fix codacy coverage #93
  • add detection for meta mask #90
  • Feature/expose did and idgenerator #89
  • fix/circular_dep #88
  • return file urls #87
  • go to keeper-contracts v0.5.1 #85
  • Fix/0x #86
  • export EventListener #81
  • Update rollup to the latest version 🚀 #83
  • Fix/file download #78
  • fix merge conflicts 8b4752b
  • cleaned packages b1df251
  • enhanced did handling 6ea480f

v0.2.4

14 December 2018

  • Make assetId always prefixed with "0x" #77
  • Fix brizo purchaseEndpoint. #75
  • Version/v0.2.3 #74
  • removed file-saver and added a callback with the content 77a410c
  • Generate assetId with 0x prefix, update all references to reflect this. This makes it similar to squid-py and fixes an issue in payAsset where the asset id in the condition param had double 0x prefix when paying a service agreement for an asset created in squid-py. 233aede
  • Fix tests. c2f7729

v0.2.3

12 December 2018

  • Update @oceanprotocol/secret-store-client to the latest version 🚀 #73
  • Feature/verbose #72
  • chore(package): update lockfile package-lock.json e910eba
  • update packages 1b1a309
  • fix(package): update @oceanprotocol/secret-store-client to version 0.0.13 3392a14

v0.2.2

11 December 2018

  • added buy asset and grant access samples, prepare for consumption #57
  • added verbose flag to config b2cebf7

v0.2.1

10 December 2018

  • defect/fix-aquarius-url-and-registered-type #63
  • Standardize contrib guidelines across public repos #62
  • added hdwallet support to examples 8c4813b
  • new access template ce70275
  • Handle the access granted event. Invoke the consume endpoint. Fix issue in the generated serviceEndpoint. 1756903

v0.2.0

29 November 2018

v0.1.28

28 November 2018

  • use compiled typescript instead of ts-loader to generate minified versions 2b4d453

v0.1.27

27 November 2018

v0.1.26

26 November 2018

  • Webpack window.squid build #60
  • webpack package builder 7f3b4b1
  • add event listener for lockPayment a904649
  • fix brizo connection 43a5e53

v0.1.25

23 November 2018

  • Deploy/es cjs umd min builds #59
  • Feature/v0.1.24 #56
  • fix listener, add eventing, moved generation of conditions to template structure 0c3c21b
  • added buy asset and grant access samples, prepare for consumption 8d01863
  • added event listener df475b6

v0.1.24

22 November 2018

v0.1.23

22 November 2018

v0.1.22

21 November 2018

  • Feature/sa register #45
  • keeper-contracts 0.3.23 bd39ff9

v0.1.21

21 November 2018

  • Generate fulfillmentIndices from service agreement conditions, set fu… #53
  • some style changes for readability #52
  • added event wireup dfff8fc
  • added connection to brizo a2bfe0a
  • map parameter values cc91cdb

v0.1.20

16 November 2018

v0.1.19

16 November 2018

v0.1.18

16 November 2018

  • adapted examples to interface changes 48ef4cf
  • made squid fire lazers 469088e
  • fix issue with generating public key, adapt interface changes of aquarius 02c36d1

v0.1.17

16 November 2018

  • fix retrieveDDO and storeDDO 7a79bd3

v0.1.16

16 November 2018

  • fixed re-decode of json response from aquarius 7e6c431

v0.1.15

16 November 2018

  • Update @oceanprotocol/secret-store-client to the latest version 🚀 #51
  • update lock 41517ec
  • added headers again 750d240

v0.1.14

16 November 2018

v0.1.13

15 November 2018

  • Update @oceanprotocol/secret-store-client to the latest version 🚀 #49
  • fix package-lock.json 5133751
  • adapted changes from squid discussion ba4e2d4
  • chore(package): update lockfile package-lock.json bab55d4

v0.1.12

14 November 2018

  • Update @types/node to the latest version 🚀 #48
  • update packages 57a9786
  • update secret store client cfc0ce5

v0.1.11

14 November 2018

  • chore(package): update lockfile package-lock.json 94740ac
  • added support for POA network 3983c83
  • chore(package): update @types/node to version 10.12.6 f4a794d

v0.1.10

12 November 2018

v0.1.9

12 November 2018

  • separate sign and execute agreement c425f03
  • encrypt contentUrls at once instead separate, move generation of serviceAgreementId outside of signAgreement and executeAgreement in ocean object, hardened sign and execute of service agreements, wrote unit tests 0c46763
  • add get public key method to account 86d1621

v0.1.8

9 November 2018

  • Squid 1.0 #31
  • added brizo 6df097e
  • fix 500 on aquarius, hardened tests, avoided loading contracts more than once per chain and item 2df3a68
  • update registerasset flow 77213a4

v0.1.7

7 November 2018

  • moved test code to test, added metadata, added endpoint generation to aquarius, removed unused code and tests, updated to latest keeper cbf0b55
  • get rid of order 20377f5
  • channel all the contract trough the keeper 8e3a309

v0.1.6

7 November 2018

  • Removed variable condition 8d99dba

v0.1.5

7 November 2018

v0.1.4

7 November 2018

  • move template registration outside of asset registration again 6ab8563
  • adapt changes from keeper 0.3.18 2194ae5
  • fix tests c3282a9

v0.1.3

6 November 2018

v0.1.2

6 November 2018

  • Update bignumber.js to the latest version 🚀 #39
  • integrate DDO more 6e2b270
  • rollback bignumber ae90878
  • added ddo business objects 63e8452

v0.1.1

31 August 2018

v0.1.0-beta.20

1 November 2018

  • first steps towards service agreements implementation cf86f5a
  • make templates and service agreements configurable 076c2eb
  • optimize db910aa

v0.1.0-beta.19

30 October 2018

v0.1.0-beta.18

30 October 2018

  • added searchAssets #34
  • Update @oceanprotocol/keeper-contracts to the latest version 🚀 #35
  • added serviceAgreementTemplates, wip df56556
  • added business objects form DIDRegistry and ServieAgreement, Added tests for DIDRegistry bb6de97
  • added secret store fb5dcaf

v0.1.0-beta.17

26 October 2018

  • rename provider -> aquarius #33
  • Squid v0.1.0 #20
  • moved secret store to secret-store-client-js 717ca1d
  • added secret store connection 2662a77
  • added encrypt and decrypt document b172a24

v0.1.0-beta.16

18 October 2018

  • added unit tests, added code coverage bac7c9e
  • new squid design 19201ef
  • added purchase functiuonality 5719a66

v0.1.0-beta.15

9 October 2018

v0.1.0-beta.13

4 October 2018

  • moved purchase logic to squid, new structure, mockable contracts, first version of unit tests d63fc69
  • update lock d8e7369
  • version 1.0.0-beta bump 71edc43

v0.0.12

25 September 2018

  • Migrated to TypeScript #18
  • Update @oceanprotocol/keeper-contracts to the latest version 🚀 #17
  • migrated to typescript 20c10a8
  • replaced eslint with tslint 72c9beb
  • chore(package): update lockfile package-lock.json f336700

v0.0.11

24 September 2018

  • Work In Progress: Refactor the ocean interface. 82a149e
  • made purchaseAsset async because it is async ca3b159

v0.0.10

21 September 2018

  • added automatic network discovery to squid #14
  • fixed auth initiateAccessRequest call e7972d9

v0.0.9

21 September 2018

v0.0.8

21 September 2018

  • made getNetworkName and getAccounts async 9a6838a

v0.0.7

21 September 2018

  • Feature/Domain Driven Design #13
  • added automatic network discovery to squid 591713d

v0.0.6

20 September 2018

  • made OceanAgent deprecated, moved code to MetaData 3d65274

v0.0.5

20 September 2018

  • Add basic usage instructions #11
  • add codacy badge in right place #10
  • Greenkeeper/initial #8
  • setup github/npm releases #6
  • dev updates #5
  • rename to squid-js #4
  • fresh package-lock.json 1b91ce7
  • setup linting 35d22a5
  • DDD refactoring 1d7597d

v0.0.4

6 September 2018

v0.0.3

31 August 2018

v0.0.2

31 August 2018

v0.0.1

31 August 2018