From 4a359b65c508a06af123ba92afc92bf059969aec Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Tue, 28 Jan 2020 12:41:34 +0100 Subject: [PATCH] add migration instructions for breaking changes --- MIGRATION.md | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/MIGRATION.md b/MIGRATION.md index 3201302..ca4fb33 100644 --- a/MIGRATION.md +++ b/MIGRATION.md @@ -1,6 +1,27 @@ # Migration Guide -Instructions on how to migrate between breaking versions. +Instructions on how to migrate between versions with breaking changes. + +## v1.2.0 → v2.0.0 + +### Ocean Protocol Components Requirements + +squid-js v2.0.0 only works against: + +- Aquarius v1.0.5+ +- Brizo v0.8.1+ +- Events Handler v0.4.4+ +- Keeper Contracts v0.13.2+ + +### Service index removal from `ocean.assets.order` + +```js +// old +const agreementId = await ocean.assets.order(did, service.index, account) + +// NEW +const agreementId = await ocean.assets.order(did, account) +``` ## v0.8.3 → v1.0.0