diff --git a/examples/browser-add-readable-stream/package.json b/examples/browser-add-readable-stream/package.json index 4a6fda257f..640486372f 100644 --- a/examples/browser-add-readable-stream/package.json +++ b/examples/browser-add-readable-stream/package.json @@ -12,7 +12,7 @@ "keywords": [], "license": "MIT", "devDependencies": { - "ipfs": "^0.53.0", + "ipfs": "^0.53.2", "test-ipfs-example": "^2.0.3" } } diff --git a/examples/browser-browserify/package.json b/examples/browser-browserify/package.json index 600b85c1da..34cfb05d55 100644 --- a/examples/browser-browserify/package.json +++ b/examples/browser-browserify/package.json @@ -18,7 +18,7 @@ "concat-stream": "^2.0.0", "execa": "^4.0.3", "http-server": "^0.12.3", - "ipfs": "^0.53.0", + "ipfs": "^0.53.2", "rimraf": "^3.0.2", "test-ipfs-example": "^2.0.3" }, diff --git a/examples/browser-create-react-app/package.json b/examples/browser-create-react-app/package.json index fa5e4e0e1b..ef70f9e141 100644 --- a/examples/browser-create-react-app/package.json +++ b/examples/browser-create-react-app/package.json @@ -4,7 +4,7 @@ "private": true, "dependencies": { "dot-prop": "^5.0.0", - "ipfs": "^0.53.0", + "ipfs": "^0.53.2", "ipfs-css": "^0.13.1", "react": "^16.8.6", "react-dom": "^16.8.6", diff --git a/examples/browser-exchange-files/package.json b/examples/browser-exchange-files/package.json index 29450ac11f..549fb7cca3 100644 --- a/examples/browser-exchange-files/package.json +++ b/examples/browser-exchange-files/package.json @@ -14,11 +14,11 @@ "browserify": "^16.2.3", "execa": "^4.0.3", "http-server": "^0.12.3", - "ipfs-http-client": "^48.2.0", + "ipfs-http-client": "^48.2.2", "uint8arrays": "^1.1.0" }, "dependencies": { - "ipfs": "^0.53.0", + "ipfs": "^0.53.2", "it-all": "^1.0.4", "libp2p-websockets": "^0.15.0", "rimraf": "^3.0.2", diff --git a/examples/browser-http-client-upload-file/package.json b/examples/browser-http-client-upload-file/package.json index 7fa9af86e4..b82b721f9a 100644 --- a/examples/browser-http-client-upload-file/package.json +++ b/examples/browser-http-client-upload-file/package.json @@ -15,10 +15,10 @@ ], "license": "MIT", "dependencies": { - "ipfs-http-client": "^48.2.0" + "ipfs-http-client": "^48.2.2" }, "devDependencies": { - "ipfs": "^0.53.0", + "ipfs": "^0.53.2", "parcel-bundler": "^1.12.4", "react": "^16.8.6", "react-dom": "^16.8.6", diff --git a/examples/browser-ipns-publish/package.json b/examples/browser-ipns-publish/package.json index 867f58a929..92e55a594a 100644 --- a/examples/browser-ipns-publish/package.json +++ b/examples/browser-ipns-publish/package.json @@ -13,8 +13,8 @@ "license": "MIT", "dependencies": { "human-crypto-keys": "^0.1.4", - "ipfs": "^0.53.0", - "ipfs-http-client": "^48.2.0", + "ipfs": "^0.53.2", + "ipfs-http-client": "^48.2.2", "ipfs-utils": "^5.0.0", "ipns": "^0.8.0", "it-last": "^1.0.4", diff --git a/examples/browser-mfs/package.json b/examples/browser-mfs/package.json index 4b259de565..54d76cd77c 100644 --- a/examples/browser-mfs/package.json +++ b/examples/browser-mfs/package.json @@ -22,7 +22,7 @@ "webpack-cli": "^3.3.11" }, "dependencies": { - "ipfs": "^0.53.0", + "ipfs": "^0.53.2", "mime-sniffer": "~0.0.3" } } diff --git a/examples/browser-parceljs/package.json b/examples/browser-parceljs/package.json index e6a7d85dfd..f2f5a613be 100644 --- a/examples/browser-parceljs/package.json +++ b/examples/browser-parceljs/package.json @@ -18,7 +18,7 @@ "author": "", "license": "ISC", "dependencies": { - "ipfs": "^0.53.0" + "ipfs": "^0.53.2" }, "devDependencies": { "@babel/cli": "^7.1.5", diff --git a/examples/browser-readablestream/package.json b/examples/browser-readablestream/package.json index 7d69b95aaf..a642ac2eae 100644 --- a/examples/browser-readablestream/package.json +++ b/examples/browser-readablestream/package.json @@ -21,7 +21,7 @@ "webpack": "^4.43.0" }, "dependencies": { - "ipfs": "^0.53.0", + "ipfs": "^0.53.2", "it-to-stream": "^0.1.2", "videostream": "^3.2.0" } diff --git a/examples/browser-script-tag/package.json b/examples/browser-script-tag/package.json index 1991b35ed9..74680293e0 100644 --- a/examples/browser-script-tag/package.json +++ b/examples/browser-script-tag/package.json @@ -16,6 +16,6 @@ "test-ipfs-example": "^2.0.3" }, "dependencies": { - "ipfs": "^0.53.0" + "ipfs": "^0.53.2" } } diff --git a/examples/browser-service-worker/package.json b/examples/browser-service-worker/package.json index 0f5388aec2..e7fb80b427 100644 --- a/examples/browser-service-worker/package.json +++ b/examples/browser-service-worker/package.json @@ -22,8 +22,8 @@ "webpack-dev-server": "3.11.0" }, "dependencies": { - "ipfs": "^0.53.0", - "ipfs-message-port-client": "^0.4.4", + "ipfs": "^0.53.2", + "ipfs-message-port-client": "^0.4.6", "ipfs-message-port-protocol": "^0.5.0", "ipfs-message-port-server": "^0.5.0", "process": "0.11.10" diff --git a/examples/browser-sharing-node-across-tabs/package.json b/examples/browser-sharing-node-across-tabs/package.json index 028996dd43..48a727c8eb 100644 --- a/examples/browser-sharing-node-across-tabs/package.json +++ b/examples/browser-sharing-node-across-tabs/package.json @@ -24,8 +24,8 @@ "worker-plugin": "4.0.3" }, "dependencies": { - "ipfs": "^0.53.0", - "ipfs-message-port-client": "^0.4.4", + "ipfs": "^0.53.2", + "ipfs-message-port-client": "^0.4.6", "ipfs-message-port-server": "^0.5.0" }, "browserslist": [ diff --git a/examples/browser-video-streaming/package.json b/examples/browser-video-streaming/package.json index a9b074a5ef..b64135218d 100644 --- a/examples/browser-video-streaming/package.json +++ b/examples/browser-video-streaming/package.json @@ -16,6 +16,6 @@ "test-ipfs-example": "^2.0.3" }, "dependencies": { - "ipfs": "^0.53.0" + "ipfs": "^0.53.2" } } diff --git a/examples/browser-vue/package.json b/examples/browser-vue/package.json index c70d27df4d..0cc8e4813c 100644 --- a/examples/browser-vue/package.json +++ b/examples/browser-vue/package.json @@ -11,7 +11,7 @@ }, "dependencies": { "core-js": "^3.6.4", - "ipfs": "^0.53.0", + "ipfs": "^0.53.2", "vue": "^2.6.11" }, "devDependencies": { diff --git a/examples/browser-webpack/package.json b/examples/browser-webpack/package.json index 056346a164..872c201cfd 100644 --- a/examples/browser-webpack/package.json +++ b/examples/browser-webpack/package.json @@ -27,7 +27,7 @@ "webpack-dev-server": "^3.11.0" }, "dependencies": { - "ipfs": "^0.53.0" + "ipfs": "^0.53.2" }, "browserslist": [ ">1%", diff --git a/examples/circuit-relaying/package.json b/examples/circuit-relaying/package.json index b900e084de..a75c8f5950 100644 --- a/examples/circuit-relaying/package.json +++ b/examples/circuit-relaying/package.json @@ -15,7 +15,7 @@ "license": "MIT", "dependencies": { "delay": "^4.4.0", - "ipfs": "^0.53.0", + "ipfs": "^0.53.2", "ipfs-pubsub-room": "^2.0.1", "libp2p-websockets": "^0.15.0", "uint8arrays": "^1.1.0" @@ -23,7 +23,7 @@ "devDependencies": { "execa": "^4.0.3", "ipfs-css": "^0.13.1", - "ipfs-http-client": "^48.2.0", + "ipfs-http-client": "^48.2.2", "parcel-bundler": "^1.12.4", "rimraf": "^3.0.2", "tachyons": "^4.11.1", diff --git a/examples/custom-ipfs-repo/package.json b/examples/custom-ipfs-repo/package.json index 2cd8443b7c..05f36072d4 100644 --- a/examples/custom-ipfs-repo/package.json +++ b/examples/custom-ipfs-repo/package.json @@ -11,7 +11,7 @@ "license": "MIT", "dependencies": { "datastore-fs": "^2.0.0", - "ipfs": "^0.53.0", + "ipfs": "^0.53.2", "ipfs-repo": "^7.0.0", "it-all": "^1.0.4" }, diff --git a/examples/custom-ipld-formats/package.json b/examples/custom-ipld-formats/package.json index 4d4a4440d8..a592b45e05 100644 --- a/examples/custom-ipld-formats/package.json +++ b/examples/custom-ipld-formats/package.json @@ -12,9 +12,9 @@ }, "dependencies": { "cids": "^1.1.5", - "ipfs-daemon": "^0.4.0", - "ipfs-core": "^0.4.0", - "ipfs-http-client": "^48.2.0", + "ipfs-daemon": "^0.4.2", + "ipfs-core": "^0.4.2", + "ipfs-http-client": "^48.2.2", "multicodec": "^2.0.1", "multihashing-async": "^2.0.1", "uint8arrays": "^1.1.0" diff --git a/examples/custom-libp2p/package.json b/examples/custom-libp2p/package.json index dffc4283fe..b76e3b9483 100644 --- a/examples/custom-libp2p/package.json +++ b/examples/custom-libp2p/package.json @@ -10,7 +10,7 @@ }, "license": "MIT", "dependencies": { - "ipfs": "^0.53.0", + "ipfs": "^0.53.2", "libp2p": "^0.29.3", "libp2p-bootstrap": "^0.12.1", "libp2p-kad-dht": "^0.20.1", diff --git a/examples/explore-ethereum-blockchain/package.json b/examples/explore-ethereum-blockchain/package.json index addd94fd44..89a96eb065 100644 --- a/examples/explore-ethereum-blockchain/package.json +++ b/examples/explore-ethereum-blockchain/package.json @@ -10,8 +10,8 @@ "keywords": [], "license": "MIT", "devDependencies": { - "ipfs": "^0.53.0", - "ipfs-http-client": "^48.2.0", + "ipfs": "^0.53.2", + "ipfs-http-client": "^48.2.2", "ipfsd-ctl": "^7.2.0", "ipld-ethereum": "^5.0.1", "test-ipfs-example": "^2.0.3" diff --git a/examples/http-client-browser-pubsub/package.json b/examples/http-client-browser-pubsub/package.json index 88b6ed099e..fc2d3a7322 100644 --- a/examples/http-client-browser-pubsub/package.json +++ b/examples/http-client-browser-pubsub/package.json @@ -12,7 +12,7 @@ "author": "Alan Shaw", "license": "MIT", "dependencies": { - "ipfs-http-client": "^48.2.0" + "ipfs-http-client": "^48.2.2" }, "browserslist": [ "last 2 versions and not dead and > 2%" @@ -20,7 +20,7 @@ "devDependencies": { "execa": "^4.0.3", "go-ipfs": "0.8.0-rc1", - "ipfs": "^0.53.0", + "ipfs": "^0.53.2", "ipfsd-ctl": "^7.2.0", "parcel-bundler": "^1.12.4", "test-ipfs-example": "^2.0.3" diff --git a/examples/http-client-bundle-webpack/package.json b/examples/http-client-bundle-webpack/package.json index 0aca0f599e..b9a0f8efa9 100644 --- a/examples/http-client-bundle-webpack/package.json +++ b/examples/http-client-bundle-webpack/package.json @@ -13,7 +13,7 @@ "license": "MIT", "keywords": [], "dependencies": { - "ipfs-http-client": "^48.2.0", + "ipfs-http-client": "^48.2.2", "react": "^16.8.6", "react-dom": "^16.8.6" }, @@ -24,7 +24,7 @@ "babel-loader": "^8.0.5", "copy-webpack-plugin": "^5.0.4", "execa": "^4.0.3", - "ipfs": "^0.53.0", + "ipfs": "^0.53.2", "ipfsd-ctl": "^7.2.0", "react-hot-loader": "^4.12.21", "rimraf": "^3.0.2", diff --git a/examples/http-client-name-api/package.json b/examples/http-client-name-api/package.json index 95989f78aa..e0ee8e07bc 100644 --- a/examples/http-client-name-api/package.json +++ b/examples/http-client-name-api/package.json @@ -13,7 +13,7 @@ "author": "Tara Vancil ", "license": "MIT", "dependencies": { - "ipfs-http-client": "^48.2.0" + "ipfs-http-client": "^48.2.2" }, "devDependencies": { "execa": "^4.0.3", diff --git a/examples/ipfs-101/package.json b/examples/ipfs-101/package.json index c6fc8b7f6e..0e17798210 100644 --- a/examples/ipfs-101/package.json +++ b/examples/ipfs-101/package.json @@ -10,7 +10,7 @@ "author": "David Dias ", "license": "MIT", "dependencies": { - "ipfs": "^0.53.0", + "ipfs": "^0.53.2", "it-all": "^1.0.4", "uint8arrays": "^1.1.0" }, diff --git a/examples/ipfs-client-add-files/package.json b/examples/ipfs-client-add-files/package.json index 87f1a3b777..9d0e522252 100644 --- a/examples/ipfs-client-add-files/package.json +++ b/examples/ipfs-client-add-files/package.json @@ -11,11 +11,11 @@ "test": "test-ipfs-example" }, "dependencies": { - "ipfs-client": "^0.2.0" + "ipfs-client": "^0.2.2" }, "devDependencies": { "execa": "^4.0.3", - "ipfs": "^0.53.0", + "ipfs": "^0.53.2", "ipfsd-ctl": "^7.2.0", "parcel-bundler": "^1.12.4", "rimraf": "^3.0.2", diff --git a/examples/run-in-electron/package.json b/examples/run-in-electron/package.json index 157b135a56..ac4285f8d8 100644 --- a/examples/run-in-electron/package.json +++ b/examples/run-in-electron/package.json @@ -18,7 +18,7 @@ "devDependencies": { "electron": "^6.0.0", "electron-rebuild": "^1.8.4", - "ipfs": "^0.53.0", + "ipfs": "^0.53.2", "test-ipfs-example": "^2.0.3" }, "greenkeeper": { diff --git a/examples/running-multiple-nodes/package.json b/examples/running-multiple-nodes/package.json index d6ba87c511..904b6ef704 100644 --- a/examples/running-multiple-nodes/package.json +++ b/examples/running-multiple-nodes/package.json @@ -13,6 +13,6 @@ "test-ipfs-example": "^2.0.3" }, "dependencies": { - "ipfs": "^0.53.0" + "ipfs": "^0.53.2" } } diff --git a/examples/traverse-ipld-graphs/package.json b/examples/traverse-ipld-graphs/package.json index bb1ed094fb..507a8c0490 100644 --- a/examples/traverse-ipld-graphs/package.json +++ b/examples/traverse-ipld-graphs/package.json @@ -14,7 +14,7 @@ }, "dependencies": { "cids": "^1.1.5", - "ipfs": "^0.53.0", + "ipfs": "^0.53.2", "ipld-block": "^0.11.0", "ipld-dag-pb": "^0.20.0", "ipld-git": "^0.6.1", diff --git a/examples/types-use-ipfs-from-ts/package.json b/examples/types-use-ipfs-from-ts/package.json index f14e0ebfd5..135cf92baf 100644 --- a/examples/types-use-ipfs-from-ts/package.json +++ b/examples/types-use-ipfs-from-ts/package.json @@ -2,7 +2,7 @@ "name": "example-types-use-ipfs-from-ts", "private": true, "dependencies": { - "ipfs": "^0.53.0" + "ipfs": "^0.53.2" }, "devDependencies": { "typescript": "4.0.x" diff --git a/examples/types-use-ipfs-from-typed-js/package.json b/examples/types-use-ipfs-from-typed-js/package.json index 2ff2f0e798..f2202be3de 100644 --- a/examples/types-use-ipfs-from-typed-js/package.json +++ b/examples/types-use-ipfs-from-typed-js/package.json @@ -2,7 +2,7 @@ "name": "example-types-use-ipfs-from-typed-js", "private": true, "dependencies": { - "ipfs": "^0.53.0" + "ipfs": "^0.53.2" }, "devDependencies": { "typescript": "4.0.x" diff --git a/package.json b/package.json index c9c8c3eca1..2c1feb653f 100644 --- a/package.json +++ b/package.json @@ -46,6 +46,7 @@ "release:post:remove-hoisted-modules": "json -I -f ./lerna.json -e \"delete this.command.bootstrap.nohoist\"", "release:post:remove-examples": "json -I -f ./lerna.json -e \"this.packages = this.packages.filter(p => !p.includes('examples'))\"", "release:post:revert-ignore-changes-to-lerna-config": "git update-index --no-assume-unchanged ./lerna.json", + "release:post:update-example-dependencies": "node scripts/update-example-deps.js && git add examples && git commit -m 'chore: updated example dependencies' && git push", "release:rc": "run-s release:pre:* release:canary release:post:*", "release:canary": "lerna publish --canary --preid rc --dist-tag next --force-publish --yes", "docker:rc": "run-s docker:rc:*", @@ -73,7 +74,7 @@ "Friedel Ziegelmayer ", "Juan Batiz-Benet ", "Hugo Dias ", - "Vasco Santos ", + "Vasco Santos ", "Henrique Dias ", "Volker Mische ", "ᴠɪᴄᴛᴏʀ ʙᴊᴇʟᴋʜᴏʟᴍ ", @@ -88,9 +89,9 @@ "Kristoffer Ström ", "Dmitriy Ryajov ", "nginnever ", + "Irakli Gozalishvili ", "Richard Littauer ", "Oli Evans ", - "Irakli Gozalishvili ", "dirkmc ", "Diogo Silva ", "Connor Keenan ", diff --git a/packages/ipfs-cli/CHANGELOG.md b/packages/ipfs-cli/CHANGELOG.md index 2a92039563..7c5564f5a8 100644 --- a/packages/ipfs-cli/CHANGELOG.md +++ b/packages/ipfs-cli/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.3.2](https://github.com/ipfs/js-ipfs/compare/ipfs-cli@0.3.1...ipfs-cli@0.3.2) (2021-01-22) + +**Note:** Version bump only for package ipfs-cli + + + + + ## [0.3.1](https://github.com/ipfs/js-ipfs/compare/ipfs-cli@0.3.0...ipfs-cli@0.3.1) (2021-01-20) **Note:** Version bump only for package ipfs-cli diff --git a/packages/ipfs-cli/package.json b/packages/ipfs-cli/package.json index fcfb362de6..b17c75769e 100644 --- a/packages/ipfs-cli/package.json +++ b/packages/ipfs-cli/package.json @@ -1,6 +1,6 @@ { "name": "ipfs-cli", - "version": "0.3.1", + "version": "0.3.2", "description": "JavaScript implementation of the IPFS specification", "keywords": [ "IPFS" @@ -37,10 +37,10 @@ "err-code": "^2.0.3", "execa": "^5.0.0", "get-folder-size": "^2.0.1", - "ipfs-core": "^0.4.1", - "ipfs-core-utils": "^0.6.0", - "ipfs-daemon": "^0.4.1", - "ipfs-http-client": "^48.2.1", + "ipfs-core": "^0.4.2", + "ipfs-core-utils": "^0.6.1", + "ipfs-daemon": "^0.4.2", + "ipfs-http-client": "^48.2.2", "ipfs-repo": "^7.0.0", "ipfs-utils": "^5.0.0", "ipld-dag-cbor": "^0.17.0", diff --git a/packages/ipfs-client/CHANGELOG.md b/packages/ipfs-client/CHANGELOG.md index 91b02c1baa..1ead2d5f1d 100644 --- a/packages/ipfs-client/CHANGELOG.md +++ b/packages/ipfs-client/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.2.2](https://github.com/ipfs/js-ipfs/compare/ipfs-client@0.2.1...ipfs-client@0.2.2) (2021-01-22) + + +### Bug Fixes + +* issue with isolateModules flag ([#3495](https://github.com/ipfs/js-ipfs/issues/3495)) ([839e190](https://github.com/ipfs/js-ipfs/commit/839e1908f3c050b45af176883a7e450fb339bef0)), closes [#3494](https://github.com/ipfs/js-ipfs/issues/3494) [#3498](https://github.com/ipfs/js-ipfs/issues/3498) [/github.com/ipfs-shipyard/ipfs-webui/pull/1655#issuecomment-763846124](https://github.com//github.com/ipfs-shipyard/ipfs-webui/pull/1655/issues/issuecomment-763846124) + + + + + ## [0.2.1](https://github.com/ipfs/js-ipfs/compare/ipfs-client@0.2.0...ipfs-client@0.2.1) (2021-01-20) **Note:** Version bump only for package ipfs-client diff --git a/packages/ipfs-client/package.json b/packages/ipfs-client/package.json index 21c615af28..76f2328598 100644 --- a/packages/ipfs-client/package.json +++ b/packages/ipfs-client/package.json @@ -1,6 +1,6 @@ { "name": "ipfs-client", - "version": "0.2.1", + "version": "0.2.2", "description": "A client library to talk to local IPFS daemons", "keywords": [ "ipfs" @@ -22,6 +22,9 @@ ] } }, + "eslintConfig": { + "extends": "ipfs" + }, "repository": { "type": "git", "url": "git+https://github.com/ipfs/js-ipfs.git" @@ -37,8 +40,8 @@ "dep-check": "aegir dep-check -i aegir -i typescript -i rimraf" }, "dependencies": { - "ipfs-grpc-client": "^0.1.1", - "ipfs-http-client": "^48.2.1", + "ipfs-grpc-client": "^0.1.2", + "ipfs-http-client": "^48.2.2", "merge-options": "^2.0.0" }, "devDependencies": { diff --git a/packages/ipfs-client/src/index.js b/packages/ipfs-client/src/index.js index 4f391e28fa..db02299da2 100644 --- a/packages/ipfs-client/src/index.js +++ b/packages/ipfs-client/src/index.js @@ -4,6 +4,14 @@ const httpClient = require('ipfs-http-client') const grpcClient = require('ipfs-grpc-client') const mergeOptions = require('merge-options') +/** + * @typedef {import('ipfs-http-client/src/lib/core').ClientOptions} HTTPOptions + * @typedef {import('ipfs-grpc-client/src/index').Options} GRPCOptions + * @typedef {string|URL|import('multiaddr')} Address + * @typedef {{http?: Address, grpc?: Address} & Partial} Options + * + * @param {Options} [opts] + */ module.exports = function createClient (opts = {}) { const clients = [] diff --git a/packages/ipfs-client/tsconfig.json b/packages/ipfs-client/tsconfig.json index 979a39adab..b45232f56a 100644 --- a/packages/ipfs-client/tsconfig.json +++ b/packages/ipfs-client/tsconfig.json @@ -3,6 +3,14 @@ "compilerOptions": { "outDir": "dist" }, + "references": [ + { + "path": "../ipfs-http-client" + }, + { + "path": "../ipfs-grpc-client" + } + ], "include": [ "src", "package.json" diff --git a/packages/ipfs-core-types/CHANGELOG.md b/packages/ipfs-core-types/CHANGELOG.md index 80edd5481c..6e343dc0e6 100644 --- a/packages/ipfs-core-types/CHANGELOG.md +++ b/packages/ipfs-core-types/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.2.1](https://github.com/ipfs/js-ipfs/compare/ipfs-core-types@0.2.0...ipfs-core-types@0.2.1) (2021-01-22) + + +### Bug Fixes + +* issue with isolateModules flag ([#3495](https://github.com/ipfs/js-ipfs/issues/3495)) ([839e190](https://github.com/ipfs/js-ipfs/commit/839e1908f3c050b45af176883a7e450fb339bef0)), closes [#3494](https://github.com/ipfs/js-ipfs/issues/3494) [#3498](https://github.com/ipfs/js-ipfs/issues/3498) [/github.com/ipfs-shipyard/ipfs-webui/pull/1655#issuecomment-763846124](https://github.com//github.com/ipfs-shipyard/ipfs-webui/pull/1655/issues/issuecomment-763846124) + + + + + # 0.2.0 (2021-01-15) diff --git a/packages/ipfs-core-types/package.json b/packages/ipfs-core-types/package.json index f6618ac622..fdd74d9598 100644 --- a/packages/ipfs-core-types/package.json +++ b/packages/ipfs-core-types/package.json @@ -1,6 +1,6 @@ { "name": "ipfs-core-types", - "version": "0.2.0", + "version": "0.2.1", "description": "IPFS interface definitions used by implementations for API compatibility.", "leadMaintainer": "Alex Potsides ", "types": "src/index.ts", diff --git a/packages/ipfs-core-types/src/index.ts b/packages/ipfs-core-types/src/index.ts index c9be30e9cc..b1898affd0 100644 --- a/packages/ipfs-core-types/src/index.ts +++ b/packages/ipfs-core-types/src/index.ts @@ -1,7 +1,7 @@ import { RootAPI } from './root' import { AbortOptions, Await, AwaitIterable } from './basic' -export { +export type { RootAPI, AbortOptions, diff --git a/packages/ipfs-core-utils/CHANGELOG.md b/packages/ipfs-core-utils/CHANGELOG.md index c355c3342d..2515cfec9a 100644 --- a/packages/ipfs-core-utils/CHANGELOG.md +++ b/packages/ipfs-core-utils/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.6.1](https://github.com/ipfs/js-ipfs/compare/ipfs-core-utils@0.6.0...ipfs-core-utils@0.6.1) (2021-01-22) + +**Note:** Version bump only for package ipfs-core-utils + + + + + # [0.6.0](https://github.com/ipfs/js-ipfs/compare/ipfs-core-utils@0.5.4...ipfs-core-utils@0.6.0) (2021-01-15) diff --git a/packages/ipfs-core-utils/package.json b/packages/ipfs-core-utils/package.json index a7120ecc09..d8dbf8ccfa 100644 --- a/packages/ipfs-core-utils/package.json +++ b/packages/ipfs-core-utils/package.json @@ -1,6 +1,6 @@ { "name": "ipfs-core-utils", - "version": "0.6.0", + "version": "0.6.1", "description": "Package to share code between ipfs and ipfs-http-client", "author": "Alex Potsides ", "homepage": "https://github.com/ipfs/js-ipfs/tree/master/packages/ipfs-core-utils#readme", @@ -43,7 +43,7 @@ "browser-readablestream-to-it": "^1.0.1", "cids": "^1.1.5", "err-code": "^2.0.3", - "ipfs-core-types": "^0.2.0", + "ipfs-core-types": "^0.2.1", "ipfs-utils": "^5.0.0", "it-all": "^1.0.4", "it-map": "^1.0.4", diff --git a/packages/ipfs-core/CHANGELOG.md b/packages/ipfs-core/CHANGELOG.md index 697669ce34..f5228f0913 100644 --- a/packages/ipfs-core/CHANGELOG.md +++ b/packages/ipfs-core/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.4.2](https://github.com/ipfs/js-ipfs/compare/ipfs-core@0.4.1...ipfs-core@0.4.2) (2021-01-22) + +**Note:** Version bump only for package ipfs-core + + + + + ## [0.4.1](https://github.com/ipfs/js-ipfs/compare/ipfs-core@0.4.0...ipfs-core@0.4.1) (2021-01-20) **Note:** Version bump only for package ipfs-core diff --git a/packages/ipfs-core/package.json b/packages/ipfs-core/package.json index 29d660a58d..ff494f623e 100644 --- a/packages/ipfs-core/package.json +++ b/packages/ipfs-core/package.json @@ -1,6 +1,6 @@ { "name": "ipfs-core", - "version": "0.4.1", + "version": "0.4.2", "description": "JavaScript implementation of the IPFS specification", "keywords": [ "IPFS" @@ -70,8 +70,8 @@ "interface-datastore": "^2.0.0", "ipfs-bitswap": "^4.0.0", "ipfs-block-service": "^0.18.0", - "ipfs-core-types": "^0.2.0", - "ipfs-core-utils": "^0.6.0", + "ipfs-core-types": "^0.2.1", + "ipfs-core-utils": "^0.6.1", "ipfs-repo": "^7.0.0", "ipfs-unixfs": "^2.0.3", "ipfs-unixfs-exporter": "^3.0.4", diff --git a/packages/ipfs-daemon/CHANGELOG.md b/packages/ipfs-daemon/CHANGELOG.md index 6deb47f1ea..11b3f5b8ae 100644 --- a/packages/ipfs-daemon/CHANGELOG.md +++ b/packages/ipfs-daemon/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.4.2](https://github.com/ipfs/js-ipfs/compare/ipfs-daemon@0.4.1...ipfs-daemon@0.4.2) (2021-01-22) + +**Note:** Version bump only for package ipfs-daemon + + + + + ## [0.4.1](https://github.com/ipfs/js-ipfs/compare/ipfs-daemon@0.4.0...ipfs-daemon@0.4.1) (2021-01-20) **Note:** Version bump only for package ipfs-daemon diff --git a/packages/ipfs-daemon/package.json b/packages/ipfs-daemon/package.json index 2c9e2dca1b..8984108547 100644 --- a/packages/ipfs-daemon/package.json +++ b/packages/ipfs-daemon/package.json @@ -1,6 +1,6 @@ { "name": "ipfs-daemon", - "version": "0.4.1", + "version": "0.4.2", "description": "JavaScript implementation of the IPFS specification", "keywords": [ "IPFS" @@ -31,11 +31,11 @@ "dependencies": { "debug": "^4.1.1", "dlv": "^1.1.3", - "ipfs-core": "^0.4.1", - "ipfs-grpc-server": "^0.1.1", - "ipfs-http-client": "^48.2.1", - "ipfs-http-gateway": "^0.2.0", - "ipfs-http-server": "^0.2.1", + "ipfs-core": "^0.4.2", + "ipfs-grpc-server": "^0.1.2", + "ipfs-http-client": "^48.2.2", + "ipfs-http-gateway": "^0.2.1", + "ipfs-http-server": "^0.2.2", "ipfs-utils": "^5.0.0", "just-safe-set": "^2.1.0", "libp2p": "^0.30.0", diff --git a/packages/ipfs-grpc-client/CHANGELOG.md b/packages/ipfs-grpc-client/CHANGELOG.md index 394f57e524..68803e66cb 100644 --- a/packages/ipfs-grpc-client/CHANGELOG.md +++ b/packages/ipfs-grpc-client/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.2](https://github.com/ipfs/js-ipfs/compare/ipfs-grpc-client@0.1.1...ipfs-grpc-client@0.1.2) (2021-01-22) + + +### Bug Fixes + +* issue with isolateModules flag ([#3495](https://github.com/ipfs/js-ipfs/issues/3495)) ([839e190](https://github.com/ipfs/js-ipfs/commit/839e1908f3c050b45af176883a7e450fb339bef0)), closes [#3494](https://github.com/ipfs/js-ipfs/issues/3494) [#3498](https://github.com/ipfs/js-ipfs/issues/3498) [/github.com/ipfs-shipyard/ipfs-webui/pull/1655#issuecomment-763846124](https://github.com//github.com/ipfs-shipyard/ipfs-webui/pull/1655/issues/issuecomment-763846124) + + + + + ## [0.1.1](https://github.com/ipfs/js-ipfs/compare/ipfs-grpc-client@0.1.0...ipfs-grpc-client@0.1.1) (2021-01-20) diff --git a/packages/ipfs-grpc-client/package.json b/packages/ipfs-grpc-client/package.json index c4f300d1da..0f8d455fc0 100644 --- a/packages/ipfs-grpc-client/package.json +++ b/packages/ipfs-grpc-client/package.json @@ -1,6 +1,6 @@ { "name": "ipfs-grpc-client", - "version": "0.1.1", + "version": "0.1.2", "description": "A client library for the IPFS gRPC API", "keywords": [ "ipfs" @@ -45,7 +45,7 @@ "cids": "^1.1.5", "debug": "^4.1.1", "err-code": "^2.0.3", - "ipfs-core-utils": "^0.6.0", + "ipfs-core-utils": "^0.6.1", "ipfs-grpc-protocol": "^0.1.0", "it-first": "^1.0.4", "it-pushable": "^1.4.0", @@ -60,5 +60,8 @@ "rimraf": "^3.0.2", "sinon": "^9.0.3", "typescript": "4.0.x" + }, + "eslintConfig": { + "extends": "ipfs" } } diff --git a/packages/ipfs-grpc-client/src/index.js b/packages/ipfs-grpc-client/src/index.js index 4c56164d80..ecfdffec57 100644 --- a/packages/ipfs-grpc-client/src/index.js +++ b/packages/ipfs-grpc-client/src/index.js @@ -23,9 +23,11 @@ function normaliseUrls (opts) { * @typedef {import('http').Agent} HttpAgent * @typedef {import('https').Agent} HttpsAgent * - * @param {object} opts - * @param {string} opts.url - The URL to connect to as a URL or Multiaddr - * @param {HttpAgent|HttpsAgent} [opts.agent] - http.Agent used to control HTTP client behaviour (node.js only) + * @typedef {Object} Options + * @property {string|URL|import('multiaddr')} url - The URL to connect to as a URL or Multiaddr + * @property {HttpAgent|HttpsAgent} [agent] - http.Agent used to control HTTP client behaviour (node.js only) + * + * @param {Options} [opts] */ module.exports = function createClient (opts = { url: '' }) { opts.url = toUrlString(opts.url) diff --git a/packages/ipfs-grpc-server/CHANGELOG.md b/packages/ipfs-grpc-server/CHANGELOG.md index c0f66edf01..8ac8979231 100644 --- a/packages/ipfs-grpc-server/CHANGELOG.md +++ b/packages/ipfs-grpc-server/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.2](https://github.com/ipfs/js-ipfs/compare/ipfs-grpc-server@0.1.1...ipfs-grpc-server@0.1.2) (2021-01-22) + +**Note:** Version bump only for package ipfs-grpc-server + + + + + ## [0.1.1](https://github.com/ipfs/js-ipfs/compare/ipfs-grpc-server@0.1.0...ipfs-grpc-server@0.1.1) (2021-01-20) **Note:** Version bump only for package ipfs-grpc-server diff --git a/packages/ipfs-grpc-server/package.json b/packages/ipfs-grpc-server/package.json index bf48bf4094..69e81f851a 100644 --- a/packages/ipfs-grpc-server/package.json +++ b/packages/ipfs-grpc-server/package.json @@ -1,6 +1,6 @@ { "name": "ipfs-grpc-server", - "version": "0.1.1", + "version": "0.1.2", "description": "A server library for the IPFS gRPC API", "keywords": [ "ipfs" @@ -52,7 +52,7 @@ }, "devDependencies": { "aegir": "^29.2.2", - "ipfs-core": "^0.4.1", + "ipfs-core": "^0.4.2", "it-all": "^1.0.4", "it-drain": "^1.0.3", "rimraf": "^3.0.2", diff --git a/packages/ipfs-http-client/CHANGELOG.md b/packages/ipfs-http-client/CHANGELOG.md index 99d1025df1..56aa32ced7 100644 --- a/packages/ipfs-http-client/CHANGELOG.md +++ b/packages/ipfs-http-client/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [48.2.2](https://github.com/ipfs/js-ipfs/compare/ipfs-http-client@48.2.1...ipfs-http-client@48.2.2) (2021-01-22) + +**Note:** Version bump only for package ipfs-http-client + + + + + ## [48.2.1](https://github.com/ipfs/js-ipfs/compare/ipfs-http-client@48.2.0...ipfs-http-client@48.2.1) (2021-01-20) diff --git a/packages/ipfs-http-client/package.json b/packages/ipfs-http-client/package.json index 920ebb3035..d09f1515f5 100644 --- a/packages/ipfs-http-client/package.json +++ b/packages/ipfs-http-client/package.json @@ -1,6 +1,6 @@ { "name": "ipfs-http-client", - "version": "48.2.1", + "version": "48.2.2", "description": "A client library for the IPFS HTTP API", "keywords": [ "ipfs" @@ -57,8 +57,8 @@ "cids": "^1.1.5", "debug": "^4.1.1", "form-data": "^3.0.0", - "ipfs-core-types": "^0.2.0", - "ipfs-core-utils": "^0.6.0", + "ipfs-core-types": "^0.2.1", + "ipfs-core-utils": "^0.6.1", "ipfs-utils": "^5.0.0", "ipld-block": "^0.11.0", "ipld-dag-cbor": "^0.17.0", @@ -83,7 +83,7 @@ "aegir": "^29.2.2", "delay": "^4.4.0", "go-ipfs": "0.8.0-rc1", - "ipfs-core": "^0.4.1", + "ipfs-core": "^0.4.2", "ipfsd-ctl": "^7.2.0", "it-all": "^1.0.4", "it-concat": "^1.0.1", diff --git a/packages/ipfs-http-gateway/CHANGELOG.md b/packages/ipfs-http-gateway/CHANGELOG.md index b9de68edc0..65564a6e5d 100644 --- a/packages/ipfs-http-gateway/CHANGELOG.md +++ b/packages/ipfs-http-gateway/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.2.1](https://github.com/ipfs/js-ipfs/compare/ipfs-http-gateway@0.2.0...ipfs-http-gateway@0.2.1) (2021-01-22) + +**Note:** Version bump only for package ipfs-http-gateway + + + + + # [0.2.0](https://github.com/ipfs/js-ipfs/compare/ipfs-http-gateway@0.1.4...ipfs-http-gateway@0.2.0) (2021-01-15) diff --git a/packages/ipfs-http-gateway/package.json b/packages/ipfs-http-gateway/package.json index 7f13085b4d..0034451ac9 100644 --- a/packages/ipfs-http-gateway/package.json +++ b/packages/ipfs-http-gateway/package.json @@ -1,6 +1,6 @@ { "name": "ipfs-http-gateway", - "version": "0.2.0", + "version": "0.2.1", "description": "JavaScript implementation of the IPFS specification", "keywords": [ "IPFS" @@ -35,7 +35,7 @@ "cids": "^1.1.5", "debug": "^4.1.1", "hapi-pino": "^8.3.0", - "ipfs-core-utils": "^0.6.0", + "ipfs-core-utils": "^0.6.1", "ipfs-http-response": "^0.6.0", "is-ipfs": "^2.0.0", "it-last": "^1.0.4", diff --git a/packages/ipfs-http-server/CHANGELOG.md b/packages/ipfs-http-server/CHANGELOG.md index d64a6fc6c8..b290865918 100644 --- a/packages/ipfs-http-server/CHANGELOG.md +++ b/packages/ipfs-http-server/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.2.2](https://github.com/ipfs/js-ipfs/compare/ipfs-http-server@0.2.1...ipfs-http-server@0.2.2) (2021-01-22) + +**Note:** Version bump only for package ipfs-http-server + + + + + ## [0.2.1](https://github.com/ipfs/js-ipfs/compare/ipfs-http-server@0.2.0...ipfs-http-server@0.2.1) (2021-01-20) **Note:** Version bump only for package ipfs-http-server diff --git a/packages/ipfs-http-server/package.json b/packages/ipfs-http-server/package.json index 4ae89e025c..65d75fff04 100644 --- a/packages/ipfs-http-server/package.json +++ b/packages/ipfs-http-server/package.json @@ -1,6 +1,6 @@ { "name": "ipfs-http-server", - "version": "0.2.1", + "version": "0.2.2", "description": "JavaScript implementation of the IPFS specification", "keywords": [ "IPFS" @@ -37,8 +37,8 @@ "dlv": "^1.1.3", "err-code": "^2.0.3", "hapi-pino": "^8.3.0", - "ipfs-core-utils": "^0.6.0", - "ipfs-http-gateway": "^0.2.0", + "ipfs-core-utils": "^0.6.1", + "ipfs-http-gateway": "^0.2.1", "ipfs-unixfs": "^2.0.3", "ipld-dag-pb": "^0.20.0", "it-all": "^1.0.4", @@ -67,7 +67,7 @@ "devDependencies": { "aegir": "^29.2.2", "form-data": "^3.0.0", - "ipfs-http-client": "^48.2.1", + "ipfs-http-client": "^48.2.2", "iso-random-stream": "^1.1.1", "it-to-buffer": "^1.0.2", "qs": "^6.9.4", diff --git a/packages/ipfs-message-port-client/CHANGELOG.md b/packages/ipfs-message-port-client/CHANGELOG.md index 156476907c..1ab9516e7b 100644 --- a/packages/ipfs-message-port-client/CHANGELOG.md +++ b/packages/ipfs-message-port-client/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.4.6](https://github.com/ipfs/js-ipfs/compare/ipfs-message-port-client@0.4.5...ipfs-message-port-client@0.4.6) (2021-01-22) + +**Note:** Version bump only for package ipfs-message-port-client + + + + + ## [0.4.5](https://github.com/ipfs/js-ipfs/compare/ipfs-message-port-client@0.4.4...ipfs-message-port-client@0.4.5) (2021-01-20) **Note:** Version bump only for package ipfs-message-port-client diff --git a/packages/ipfs-message-port-client/package.json b/packages/ipfs-message-port-client/package.json index 53ddadfc2c..f9ee6927d1 100644 --- a/packages/ipfs-message-port-client/package.json +++ b/packages/ipfs-message-port-client/package.json @@ -1,6 +1,6 @@ { "name": "ipfs-message-port-client", - "version": "0.4.5", + "version": "0.4.6", "description": "IPFS client library for accessing IPFS node over message port", "keywords": [ "ipfs", @@ -43,14 +43,14 @@ }, "dependencies": { "browser-readablestream-to-it": "^1.0.1", - "ipfs-core-types": "^0.2.0", + "ipfs-core-types": "^0.2.1", "ipfs-message-port-protocol": "^0.5.0" }, "devDependencies": { "aegir": "^29.2.2", "interface-ipfs-core": "^0.143.1", - "ipfs": "^0.53.1", - "ipfs-core": "^0.4.1", + "ipfs": "^0.53.2", + "ipfs-core": "^0.4.2", "ipfs-message-port-server": "^0.5.0", "rimraf": "^3.0.2", "typescript": "4.0.x" diff --git a/packages/ipfs/CHANGELOG.md b/packages/ipfs/CHANGELOG.md index 055b3db0ec..d730c62493 100644 --- a/packages/ipfs/CHANGELOG.md +++ b/packages/ipfs/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.53.2](https://github.com/ipfs/js-ipfs/compare/ipfs@0.53.1...ipfs@0.53.2) (2021-01-22) + +**Note:** Version bump only for package ipfs + + + + + ## [0.53.1](https://github.com/ipfs/js-ipfs/compare/ipfs@0.53.0...ipfs@0.53.1) (2021-01-20) **Note:** Version bump only for package ipfs diff --git a/packages/ipfs/package.json b/packages/ipfs/package.json index 70aa51f950..af80427219 100644 --- a/packages/ipfs/package.json +++ b/packages/ipfs/package.json @@ -1,6 +1,6 @@ { "name": "ipfs", - "version": "0.53.1", + "version": "0.53.2", "description": "JavaScript implementation of the IPFS specification", "keywords": [ "IPFS" @@ -39,8 +39,8 @@ }, "dependencies": { "debug": "^4.1.1", - "ipfs-cli": "^0.3.1", - "ipfs-core": "^0.4.1", + "ipfs-cli": "^0.3.2", + "ipfs-core": "^0.4.2", "ipfs-repo": "^7.0.0", "semver": "^7.3.2", "update-notifier": "^5.0.0" @@ -51,8 +51,8 @@ "electron-webrtc": "^0.3.0", "go-ipfs": "0.8.0-rc1", "interface-ipfs-core": "^0.143.1", - "ipfs-client": "^0.2.1", - "ipfs-http-client": "^48.2.1", + "ipfs-client": "^0.2.2", + "ipfs-http-client": "^48.2.2", "ipfs-interop": "^4.0.1", "ipfs-utils": "^5.0.0", "ipfsd-ctl": "^7.2.0", diff --git a/scripts/update-example-deps.js b/scripts/update-example-deps.js new file mode 100644 index 0000000000..3c03bd103d --- /dev/null +++ b/scripts/update-example-deps.js @@ -0,0 +1,53 @@ +'use strict' + +const path = require('path') +const fs = require('fs') + +// Where an example depends on `"ipfs": "^0.51.0"` and we've just released `ipfs@0.52.0`, +// go through all of the examples and update the version to `"ipfs": "^0.52.0"` - do +// that with every module under /packages + +const PACKAGES_DIR = path.resolve(__dirname, '../packages') +const EXAMPLES_DIR = path.resolve(__dirname, '../examples') +const DEP_TYPES = ['dependencies', 'devDependencies', 'optionalDependencies', 'peerDependencies'] + +async function main () { + for (const dir of fs.readdirSync(PACKAGES_DIR)) { + const projectPkgPath = path.resolve(PACKAGES_DIR, dir, 'package.json') + + if (!fs.existsSync(projectPkgPath)) { + continue + } + + const projectPkg = JSON.parse(fs.readFileSync(projectPkgPath, { encoding: 'utf8' })) + const projectDepVersion = `^${projectPkg.version}` + + for (const dir of fs.readdirSync(EXAMPLES_DIR)) { + const examplePkgPath = path.resolve(EXAMPLES_DIR, dir, 'package.json') + + if (!fs.existsSync(examplePkgPath)) { + continue + } + + const examplePkg = JSON.parse(fs.readFileSync(examplePkgPath, { encoding: 'utf8' })) + let dirty = false + + for (const depType of DEP_TYPES) { + if (examplePkg[depType] && examplePkg[depType][projectPkg.name] && examplePkg[depType][projectPkg.name] !== projectDepVersion) { + console.info(`Updating ${examplePkg.name} ${projectPkg.name}: ${examplePkg[depType][projectPkg.name]} -> ${projectDepVersion}`) + examplePkg[depType][projectPkg.name] = projectDepVersion + dirty = true + } + } + + if (dirty) { + fs.writeFileSync(examplePkgPath, JSON.stringify(examplePkg, null, 2) + '\n', { encoding: 'utf8' }) + } + } + } +} + +main().catch(err => { + console.error(err) + process.exit(1) +}) \ No newline at end of file diff --git a/tsconfig.json b/tsconfig.json index 8284e1c35e..2c7ec5306b 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -24,6 +24,7 @@ "stripInternal": true, "resolveJsonModule": true, "incremental": true, + "isolatedModules": true, "baseUrl": ".", "paths": { "interface-ipfs-core/*": [