Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

File tree

52 files changed

+796
-87
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+796
-87
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Change Log
2+
3+
All notable changes to this project will be documented in this file.
4+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5+
6+
# 2.0.0 (2020-03-31)
7+
8+
9+
### Bug Fixes
10+
11+
* examples after files API refactor ([#1740](https://github.com/ipfs/js-ipfs/issues/1740)) ([34ec036](https://github.com/ipfs/js-ipfs/commit/34ec036b0df9563a014c1348f0a056c1f98aadad))
12+
13+
14+
### Code Refactoring
15+
16+
* export types and utilities statically ([#1908](https://github.com/ipfs/js-ipfs/issues/1908)) ([79d7fef](https://github.com/ipfs/js-ipfs/commit/79d7fef7d28c0e0405fb69af149ff09681ac4273))
17+
18+
19+
### BREAKING CHANGES
20+
21+
* `ipfs.util.isIPFS` and `ipfs.util.crypto` have moved to static exports and should be accessed via `const { isIPFS, crypto } = require('ipfs')`.
22+
23+
The modules available under `ipfs.types.*` have also become static exports.
24+
25+
License: MIT
26+
Signed-off-by: Alan Shaw <[email protected]>
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "example-browser-add-readable-stream",
3-
"version": "1.0.0",
3+
"version": "2.0.0",
44
"description": "How to add readable streams in the browser",
55
"main": "index.js",
66
"private": true,
@@ -12,8 +12,7 @@
1212
"keywords": [],
1313
"license": "MIT",
1414
"devDependencies": {
15-
"ipfs": "^0.41.0",
16-
"test-ipfs-example": "^1.0.0"
17-
},
18-
"dependencies": {}
15+
"ipfs": "^0.42.0",
16+
"test-ipfs-example": "^2.0.0"
17+
}
1918
}
+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Change Log
2+
3+
All notable changes to this project will be documented in this file.
4+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5+
6+
# 1.1.0 (2020-03-31)
7+
8+
9+
### Bug Fixes
10+
11+
* examples after files API refactor ([#1740](https://github.com/ipfs/js-ipfs/issues/1740)) ([34ec036](https://github.com/ipfs/js-ipfs/commit/34ec036b0df9563a014c1348f0a056c1f98aadad))
12+
13+
14+
### Features
15+
16+
* implementing the new streaming interfaces ([#1086](https://github.com/ipfs/js-ipfs/issues/1086)) ([2c4b8b3](https://github.com/ipfs/js-ipfs/commit/2c4b8b325b94d4506b87441f06c5d29bb6f37f72))

examples/browser-browserify/package.json

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "example-browser-browserify",
3-
"version": "1.0.0",
3+
"version": "1.1.0",
44
"description": "Bundle js-ipfs with Browserify",
55
"main": "index.js",
66
"private": true,
@@ -18,10 +18,9 @@
1818
"concat-stream": "^2.0.0",
1919
"execa": "^4.0.0",
2020
"http-server": "^0.11.1",
21-
"ipfs": "^0.41.0",
22-
"test-ipfs-example": "^1.0.0"
21+
"ipfs": "^0.42.0",
22+
"test-ipfs-example": "^2.0.0"
2323
},
24-
"dependencies": {},
2524
"browser": {
2625
"ipfs": "ipfs/dist/index.js"
2726
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Change Log
2+
3+
All notable changes to this project will be documented in this file.
4+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5+
6+
## 0.1.1 (2020-03-31)
7+
8+
**Note:** Version bump only for package example-browser-create-react-app

examples/browser-create-react-app/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
{
22
"name": "example-browser-create-react-app",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"private": true,
55
"dependencies": {
66
"dot-prop": "^5.0.0",
7-
"ipfs": "^0.41.0",
7+
"ipfs": "^0.42.0",
88
"ipfs-css": "^0.13.1",
99
"react": "^16.8.6",
1010
"react-dom": "^16.8.6",
1111
"react-scripts": "^3.2.0",
1212
"tachyons": "^4.11.1"
1313
},
1414
"devDependencies": {
15-
"test-ipfs-example": "^1.0.0"
15+
"test-ipfs-example": "^2.0.0"
1616
},
1717
"scripts": {
1818
"start": "react-scripts start",

examples/browser-mfs/CHANGELOG.md

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Change Log
2+
3+
All notable changes to this project will be documented in this file.
4+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5+
6+
## 1.0.1 (2020-03-31)
7+
8+
9+
### Bug Fixes
10+
11+
* browser-mfs example ([#2089](https://github.com/ipfs/js-ipfs/issues/2089)) ([e7d6d3a](https://github.com/ipfs/js-ipfs/commit/e7d6d3a8462e9692530bcd037a4dcd7a236eeae2))

examples/browser-mfs/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "example-browser-mfs",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "",
55
"main": "index.js",
66
"private": true,
@@ -16,12 +16,12 @@
1616
"html-webpack-plugin": "^3.2.0",
1717
"http-server": "^0.11.1",
1818
"terser-webpack-plugin": "^1.2.1",
19-
"test-ipfs-example": "^1.0.0",
19+
"test-ipfs-example": "^2.0.0",
2020
"webpack": "^4.28.4",
2121
"webpack-cli": "^3.0.8"
2222
},
2323
"dependencies": {
24-
"ipfs": "^0.41.0",
24+
"ipfs": "^0.42.0",
2525
"mime-sniffer": "~0.0.3"
2626
}
2727
}
+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Change Log
2+
3+
All notable changes to this project will be documented in this file.
4+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5+
6+
## 1.0.1 (2020-03-31)
7+
8+
**Note:** Version bump only for package example-browser-parceljs

examples/browser-parceljs/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "example-browser-parceljs",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "",
55
"main": "index.js",
66
"private": true,
@@ -18,7 +18,7 @@
1818
"author": "",
1919
"license": "ISC",
2020
"dependencies": {
21-
"ipfs": "^0.41.0"
21+
"ipfs": "^0.42.0"
2222
},
2323
"devDependencies": {
2424
"@babel/cli": "^7.1.5",
@@ -29,6 +29,6 @@
2929
"babel-polyfill": "^6.26.0",
3030
"parcel-bundler": "^1.12.4",
3131
"standard": "^13.1.0",
32-
"test-ipfs-example": "^1.0.0"
32+
"test-ipfs-example": "^2.0.0"
3333
}
3434
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Change Log
2+
3+
All notable changes to this project will be documented in this file.
4+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5+
6+
# 2.0.0 (2020-03-31)
7+
8+
9+
### Bug Fixes
10+
11+
* examples after files API refactor ([#1740](https://github.com/ipfs/js-ipfs/issues/1740)) ([34ec036](https://github.com/ipfs/js-ipfs/commit/34ec036b0df9563a014c1348f0a056c1f98aadad))
12+
13+
14+
### Code Refactoring
15+
16+
* export types and utilities statically ([#1908](https://github.com/ipfs/js-ipfs/issues/1908)) ([79d7fef](https://github.com/ipfs/js-ipfs/commit/79d7fef7d28c0e0405fb69af149ff09681ac4273))
17+
18+
19+
### Features
20+
21+
* Allows for byte offsets when using ipfs.files.cat and friends to request slices of files ([a93971a](https://github.com/ipfs/js-ipfs/commit/a93971a8905358a291b2cf3724df32382b05f5ce))
22+
23+
24+
### BREAKING CHANGES
25+
26+
* `ipfs.util.isIPFS` and `ipfs.util.crypto` have moved to static exports and should be accessed via `const { isIPFS, crypto } = require('ipfs')`.
27+
28+
The modules available under `ipfs.types.*` have also become static exports.
29+
30+
License: MIT
31+
Signed-off-by: Alan Shaw <[email protected]>

examples/browser-readablestream/package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "example-browser-readablestream",
3-
"version": "1.0.0",
3+
"version": "2.0.0",
44
"description": "An example of how to play a video in a browser using a readable stream",
55
"main": "index.js",
66
"private": true,
@@ -16,12 +16,12 @@
1616
"html-webpack-plugin": "^3.2.0",
1717
"http-server": "^0.11.1",
1818
"terser-webpack-plugin": "^1.2.1",
19-
"test-ipfs-example": "^1.0.0",
19+
"test-ipfs-example": "^2.0.0",
2020
"webpack": "^4.28.4"
2121
},
2222
"dependencies": {
23-
"videostream": "^3.2.0",
24-
"ipfs": "^0.41.0",
25-
"it-to-stream": "^0.1.1"
23+
"ipfs": "^0.42.0",
24+
"it-to-stream": "^0.1.1",
25+
"videostream": "^3.2.0"
2626
}
2727
}
+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Change Log
2+
3+
All notable changes to this project will be documented in this file.
4+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5+
6+
# 1.1.0 (2020-03-31)
7+
8+
9+
### Bug Fixes
10+
11+
* examples after files API refactor ([#1740](https://github.com/ipfs/js-ipfs/issues/1740)) ([34ec036](https://github.com/ipfs/js-ipfs/commit/34ec036b0df9563a014c1348f0a056c1f98aadad))
12+
13+
14+
### Features
15+
16+
* implementing the new streaming interfaces ([#1086](https://github.com/ipfs/js-ipfs/issues/1086)) ([2c4b8b3](https://github.com/ipfs/js-ipfs/commit/2c4b8b325b94d4506b87441f06c5d29bb6f37f72))
17+
* mfs implementation ([#1360](https://github.com/ipfs/js-ipfs/issues/1360)) ([871d24e](https://github.com/ipfs/js-ipfs/commit/871d24e35c402956e2297350342268528c3192db)), closes [#1425](https://github.com/ipfs/js-ipfs/issues/1425)

examples/browser-script-tag/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "example-browser-script-tag",
3-
"version": "1.0.0",
3+
"version": "1.1.0",
44
"description": "Using IPFS in the browser via a script tag",
55
"main": "index.html",
66
"private": true,
@@ -13,9 +13,9 @@
1313
"license": "MIT",
1414
"devDependencies": {
1515
"http-server": "^0.11.1",
16-
"test-ipfs-example": "^1.0.0"
16+
"test-ipfs-example": "^2.0.0"
1717
},
1818
"dependencies": {
19-
"ipfs": "^0.41.0"
19+
"ipfs": "^0.42.0"
2020
}
2121
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Change Log
2+
3+
All notable changes to this project will be documented in this file.
4+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5+
6+
# 2.0.0 (2020-03-31)
7+
8+
9+
### Bug Fixes
10+
11+
* browser video streaming example ([#2267](https://github.com/ipfs/js-ipfs/issues/2267)) ([f5cf216](https://github.com/ipfs/js-ipfs/commit/f5cf216a9a3128779562711f6c5ab46791d30947))
12+
* reinstate hlsjs-ipfs-loader dep for video streaming example ([#2914](https://github.com/ipfs/js-ipfs/issues/2914)) ([af66e94](https://github.com/ipfs/js-ipfs/commit/af66e9460cd3fbabcc88f74496a3d93049453e51))
13+
* update hlsjs-ipfs-loader version ([#1422](https://github.com/ipfs/js-ipfs/issues/1422)) ([6b14812](https://github.com/ipfs/js-ipfs/commit/6b14812ae53a6f2c852d4b7deb7d9ab23eb454ba))
14+
15+
16+
### Code Refactoring
17+
18+
* return peer IDs as strings not CIDs ([#2729](https://github.com/ipfs/js-ipfs/issues/2729)) ([16d540c](https://github.com/ipfs/js-ipfs/commit/16d540c540f375061d83dafaf6c38d0b7c4a3d60))
19+
20+
21+
### Features
22+
23+
* implementing the new streaming interfaces ([#1086](https://github.com/ipfs/js-ipfs/issues/1086)) ([2c4b8b3](https://github.com/ipfs/js-ipfs/commit/2c4b8b325b94d4506b87441f06c5d29bb6f37f72))
24+
25+
26+
### BREAKING CHANGES
27+
28+
* Where `PeerID`s were previously [CID](https://www.npmjs.com/package/cids)s, now they are Strings
29+
30+
- `ipfs.bitswap.stat().peers[n]` is now a String (was a CID)
31+
- `ipfs.dht.findPeer().id` is now a String (was a CID)
32+
- `ipfs.dht.findProvs()[n].id` is now a String (was a CID)
33+
- `ipfs.dht.provide()[n].id` is now a String (was a CID)
34+
- `ipfs.dht.put()[n].id` is now a String (was a CID)
35+
- `ipfs.dht.query()[n].id` is now a String (was a CID)
36+
- `ipfs.id().id` is now a String (was a CID)
37+
- `ipfs.id().addresses[n]` are now [Multiaddr](https://www.npmjs.com/package/multiaddr)s (were Strings)

examples/browser-video-streaming/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "example-browser-video-streaming",
3-
"version": "1.0.0",
3+
"version": "2.0.0",
44
"description": "IPFS browser video streaming example",
55
"main": "index.html",
66
"private": true,
@@ -13,9 +13,9 @@
1313
"license": "MIT",
1414
"devDependencies": {
1515
"http-server": "^0.11.1",
16-
"test-ipfs-example": "^1.0.0"
16+
"test-ipfs-example": "^2.0.0"
1717
},
1818
"dependencies": {
19-
"ipfs": "^0.41.0"
19+
"ipfs": "^0.42.0"
2020
}
2121
}

examples/browser-vue/CHANGELOG.md

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Change Log
2+
3+
All notable changes to this project will be documented in this file.
4+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5+
6+
## 0.1.1 (2020-03-31)
7+
8+
9+
### Features
10+
11+
* remove ky from http-client and utils ([#2810](https://github.com/ipfs/js-ipfs/issues/2810)) ([9bc9625](https://github.com/ipfs/js-ipfs/commit/9bc96252686d0bbbfdb2a3300bb17b80eafdaf00)), closes [#2801](https://github.com/ipfs/js-ipfs/issues/2801)

examples/browser-vue/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "example-browser-vue",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"private": true,
55
"scripts": {
66
"clean": "rm -rf ./dist",
@@ -11,7 +11,7 @@
1111
},
1212
"dependencies": {
1313
"core-js": "^3.6.4",
14-
"ipfs": "^0.41.2",
14+
"ipfs": "^0.42.0",
1515
"vue": "^2.6.11"
1616
},
1717
"devDependencies": {
@@ -21,7 +21,7 @@
2121
"babel-eslint": "^10.1.0",
2222
"eslint": "^6.8.0",
2323
"eslint-plugin-vue": "^6.2.1",
24-
"test-ipfs-example": "^1.0.0",
24+
"test-ipfs-example": "^2.0.0",
2525
"vue-template-compiler": "^2.6.11"
2626
},
2727
"eslintConfig": {

examples/browser-webpack/CHANGELOG.md

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Change Log
2+
3+
All notable changes to this project will be documented in this file.
4+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5+
6+
# 1.1.0 (2020-03-31)
7+
8+
9+
### Bug Fixes
10+
11+
* examples after files API refactor ([#1740](https://github.com/ipfs/js-ipfs/issues/1740)) ([34ec036](https://github.com/ipfs/js-ipfs/commit/34ec036b0df9563a014c1348f0a056c1f98aadad))
12+
13+
14+
### Features
15+
16+
* get Ping to work properly ([27d5a57](https://github.com/ipfs/js-ipfs/commit/27d5a575c58a445bba4ba1f86d22ccc76623ef64))
17+
* implementing the new streaming interfaces ([#1086](https://github.com/ipfs/js-ipfs/issues/1086)) ([2c4b8b3](https://github.com/ipfs/js-ipfs/commit/2c4b8b325b94d4506b87441f06c5d29bb6f37f72))

0 commit comments

Comments
 (0)