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

Commit faa4c61

Browse files
authored
Merge branch 'master' into read-config-from-repo
2 parents d1751ea + 4f805d3 commit faa4c61

Some content is hidden

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

80 files changed

+2950
-626
lines changed

.aegir.js

Lines changed: 27 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
'use strict'
22

3-
const createServer = require('ipfsd-ctl').createServer
3+
const IPFSFactory = require('ipfsd-ctl')
4+
const parallel = require('async/parallel')
5+
const MockPreloadNode = require('./test/utils/mock-preload-node')
46

5-
const server = createServer()
7+
const ipfsdServer = IPFSFactory.createServer()
8+
const preloadNode = MockPreloadNode.createNode()
69

710
module.exports = {
811
webpack: {
@@ -21,9 +24,29 @@ module.exports = {
2124
singleRun: true
2225
},
2326
hooks: {
27+
node: {
28+
pre: (cb) => preloadNode.start(cb),
29+
post: (cb) => preloadNode.stop(cb)
30+
},
2431
browser: {
25-
pre: server.start.bind(server),
26-
post: server.stop.bind(server)
32+
pre: (cb) => {
33+
parallel([
34+
(cb) => {
35+
ipfsdServer.start()
36+
cb()
37+
},
38+
(cb) => preloadNode.start(cb)
39+
], cb)
40+
},
41+
post: (cb) => {
42+
parallel([
43+
(cb) => {
44+
ipfsdServer.stop()
45+
cb()
46+
},
47+
(cb) => preloadNode.stop(cb)
48+
], cb)
49+
}
2750
}
2851
}
2952
}

.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,4 @@ build
3232
node_modules
3333

3434
test
35+
examples

CHANGELOG.md

Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,105 @@
1+
<a name="0.31.7"></a>
2+
## [0.31.7](https://github.com/ipfs/js-ipfs/compare/v0.31.6...v0.31.7) (2018-08-20)
3+
4+
5+
### Bug Fixes
6+
7+
* fails to start when preload disabled ([#1516](https://github.com/ipfs/js-ipfs/issues/1516)) ([511ab47](https://github.com/ipfs/js-ipfs/commit/511ab47)), closes [#1514](https://github.com/ipfs/js-ipfs/issues/1514)
8+
* npm publishes examples folder ([#1513](https://github.com/ipfs/js-ipfs/issues/1513)) ([4a68ac1](https://github.com/ipfs/js-ipfs/commit/4a68ac1))
9+
10+
11+
12+
<a name="0.31.6"></a>
13+
## [0.31.6](https://github.com/ipfs/js-ipfs/compare/v0.31.5...v0.31.6) (2018-08-17)
14+
15+
16+
### Features
17+
18+
* adds data-encoding argument to control data encoding ([#1420](https://github.com/ipfs/js-ipfs/issues/1420)) ([1eb8485](https://github.com/ipfs/js-ipfs/commit/1eb8485))
19+
20+
21+
22+
<a name="0.31.5"></a>
23+
## [0.31.5](https://github.com/ipfs/js-ipfs/compare/v0.31.4...v0.31.5) (2018-08-17)
24+
25+
26+
### Bug Fixes
27+
28+
* add missing space after emoji ([5cde7c1](https://github.com/ipfs/js-ipfs/commit/5cde7c1))
29+
* improper input validation ([#1506](https://github.com/ipfs/js-ipfs/issues/1506)) ([91a482b](https://github.com/ipfs/js-ipfs/commit/91a482b))
30+
* object.patch.rmLink not working ([#1508](https://github.com/ipfs/js-ipfs/issues/1508)) ([afd3255](https://github.com/ipfs/js-ipfs/commit/afd3255))
31+
* stub out call to fetch for ipfs.dns test in browser ([#1512](https://github.com/ipfs/js-ipfs/issues/1512)) ([86c3d81](https://github.com/ipfs/js-ipfs/commit/86c3d81))
32+
33+
34+
35+
<a name="0.31.4"></a>
36+
## [0.31.4](https://github.com/ipfs/js-ipfs/compare/v0.31.3...v0.31.4) (2018-08-09)
37+
38+
39+
### Bug Fixes
40+
41+
* consistent badge style in docs ([#1494](https://github.com/ipfs/js-ipfs/issues/1494)) ([4a72e23](https://github.com/ipfs/js-ipfs/commit/4a72e23))
42+
* files.ls and files.read*Stream tests ([#1493](https://github.com/ipfs/js-ipfs/issues/1493)) ([a0bc79b](https://github.com/ipfs/js-ipfs/commit/a0bc79b))
43+
44+
45+
46+
<a name="0.31.3"></a>
47+
## [0.31.3](https://github.com/ipfs/js-ipfs/compare/v0.31.2...v0.31.3) (2018-08-09)
48+
49+
50+
### Bug Fixes
51+
52+
* failing tests in master ([#1488](https://github.com/ipfs/js-ipfs/issues/1488)) ([e607560](https://github.com/ipfs/js-ipfs/commit/e607560))
53+
* **dag:** check dag.put options for plain object ([#1480](https://github.com/ipfs/js-ipfs/issues/1480)) ([d0b671b](https://github.com/ipfs/js-ipfs/commit/d0b671b)), closes [#1479](https://github.com/ipfs/js-ipfs/issues/1479)
54+
* **dht:** allow for options object in `findProvs()` API ([#1457](https://github.com/ipfs/js-ipfs/issues/1457)) ([99911b1](https://github.com/ipfs/js-ipfs/commit/99911b1)), closes [#1322](https://github.com/ipfs/js-ipfs/issues/1322)
55+
56+
57+
58+
<a name="0.31.2"></a>
59+
## [0.31.2](https://github.com/ipfs/js-ipfs/compare/v0.31.1...v0.31.2) (2018-08-02)
60+
61+
62+
### Bug Fixes
63+
64+
* fix content-type by doing a fall-back using extensions ([#1482](https://github.com/ipfs/js-ipfs/issues/1482)) ([d528b3f](https://github.com/ipfs/js-ipfs/commit/d528b3f))
65+
66+
67+
68+
<a name="0.31.1"></a>
69+
## [0.31.1](https://github.com/ipfs/js-ipfs/compare/v0.31.0...v0.31.1) (2018-07-29)
70+
71+
72+
### Bug Fixes
73+
74+
* logo link ([a9219ad](https://github.com/ipfs/js-ipfs/commit/a9219ad))
75+
* XMLHTTPRequest is deprecated and unavailable in service workers ([#1478](https://github.com/ipfs/js-ipfs/issues/1478)) ([7d6f0ca](https://github.com/ipfs/js-ipfs/commit/7d6f0ca))
76+
77+
78+
79+
<a name="0.31.0"></a>
80+
# [0.31.0](https://github.com/ipfs/js-ipfs/compare/v0.30.1...v0.31.0) (2018-07-29)
81+
82+
83+
### Bug Fixes
84+
85+
* emit boot error only once ([#1472](https://github.com/ipfs/js-ipfs/issues/1472)) ([45b80a0](https://github.com/ipfs/js-ipfs/commit/45b80a0))
86+
87+
88+
### Features
89+
90+
* preload content ([#1464](https://github.com/ipfs/js-ipfs/issues/1464)) ([bffe080](https://github.com/ipfs/js-ipfs/commit/bffe080)), closes [#1459](https://github.com/ipfs/js-ipfs/issues/1459)
91+
* preload on content fetch requests ([#1475](https://github.com/ipfs/js-ipfs/issues/1475)) ([649b755](https://github.com/ipfs/js-ipfs/commit/649b755)), closes [#1473](https://github.com/ipfs/js-ipfs/issues/1473)
92+
* remove decomissioned bootstrappers ([e3868f4](https://github.com/ipfs/js-ipfs/commit/e3868f4))
93+
* rm decomissioned bootstrappers - nodejs ([90e9f68](https://github.com/ipfs/js-ipfs/commit/90e9f68))
94+
* support --raw-leaves ([#1454](https://github.com/ipfs/js-ipfs/issues/1454)) ([1f63e8c](https://github.com/ipfs/js-ipfs/commit/1f63e8c))
95+
96+
97+
### Reverts
98+
99+
* docs: add migration note about upgrading from < 0.30.0 ([#1450](https://github.com/ipfs/js-ipfs/issues/1450)) ([#1456](https://github.com/ipfs/js-ipfs/issues/1456)) ([f4344b0](https://github.com/ipfs/js-ipfs/commit/f4344b0))
100+
101+
102+
1103
<a name="0.30.1"></a>
2104
## [0.30.1](https://github.com/ipfs/js-ipfs/compare/v0.30.0...v0.30.1) (2018-07-17)
3105

MGMT.md

Lines changed: 0 additions & 36 deletions
This file was deleted.

0 commit comments

Comments
 (0)