15.0.2 (2024-11-21)
15.0.1 (2024-11-14)
- dev: bump aegir from 44.1.4 to 45.0.1 (#848) (93dd0e5)
- dev: bump kubo from 0.30.0 to 0.32.0 (#849) (f1f9f5c)
15.0.0 (2024-09-12)
- uses [email protected] deps
14.1.3 (2024-09-12)
14.1.2 (2024-09-12)
14.1.1 (2024-09-12)
14.1.0 (2024-04-26)
14.0.6 (2024-04-19)
- add retries to repo deletion because windows (8ac86d9)
14.0.5 (2024-04-19)
- pass correct option (bb5f1a1)
14.0.4 (2024-04-19)
14.0.3 (2024-04-19)
14.0.2 (2024-04-19)
14.0.1 (2024-04-19)
14.0.0 (2024-04-19)
- only supports spawning
kubo
daemons
- add or force update .github/workflows/js-test-and-release.yml (#819) (f60600d)
- delete templates [skip ci] (#818) (a98af4b)
- remove extra dirs (eb293bf)
- Update .github/workflows/stale.yml [skip ci] (9f261e3)
- Update .github/workflows/stale.yml [skip ci] (4fa7fdc)
- Update .github/workflows/stale.yml [skip ci] (bbd17c6)
- update readme (e212d8f)
13.0.0 (2023-01-13)
- update all deps to multiformats 11 (#801)
12.2.2 (2022-10-19)
12.2.1 (2022-10-07)
12.2.0 (2022-10-05)
12.1.1 (2022-10-05)
12.1.0 (2022-10-04)
12.0.3 (2022-09-21)
12.0.2 (2022-09-02)
12.0.1 (2022-09-01)
12.0.0 (2022-06-28)
- pulls in new peer-id interface
11.0.1 (2022-05-25)
11.0.0 (2022-05-09)
- the
controller.api.peerId
property is now atcontroller.peer
10.0.6 (2022-02-22)
10.0.5 (2021-11-19)
10.0.4 (2021-09-28)
10.0.3 (2021-08-04)
10.0.2 (2021-08-03)
10.0.1 (2021-07-30)
10.0.0 (2021-07-30)
- things are now typed which may be suprising
9.0.0 (2021-07-10)
- Use new multiaddr class
8.0.2 (2021-04-17)
8.0.1 (2021-04-09)
8.0.0 (2021-03-26)
- use .create function for http client and ipfs client (#616) (d2f623a), closes ipfs/js-ipfs#3550
- expects
ipfs-http-client
andipfs-client
to export a.create
function
7.2.0 (2020-12-18)
7.1.1 (2020-12-03)
7.1.0 (2020-10-28)
7.0.3 (2020-10-23)
7.0.2 (2020-10-10)
7.0.1 (2020-09-17)
7.0.0 (2020-08-25)
-
- Hapi has dropped support for node < 12
6.0.0 (2020-08-12)
5.0.0 (2020-07-16)
- Previously dependent projects should also depend on go-ipfs-dep, now they should depend on go-ipfs instead
4.1.1 (2020-05-13)
4.1.0 (2020-04-29)
4.0.2 (2020-04-29)
- pin go-ipfs to 0.4.23-3 (11976f1)
4.0.1 (2020-04-20)
4.0.0 (2020-04-20)
- move IPFS_PATH test to a node specific file (9d9cedd)
- revert boom and hapi (a92177f)
- use IPFS_PATH env var (708c7cc), closes #497
- node 8 support removed
3.1.0 (2020-04-14)
3.0.0 (2020-02-10)
- remove option normalisation (#454) (f1e5c82)
- remove path and ref from module args also findBin (#458) (7049cc9)
-
.path
and.ref
args removed fromipfsModule
andipfsHttpModule
findBin
function removed
-
chore: update dep versions
-
chore: increase test timeouts
-
fix: only get go-ipfs path in node
-
fix: linting
Co-authored-by: Alex Potsides [email protected]
- ipfsd-ctl no longer defaults to a local ipfs, ipfs-http-client or ipfs bin, now the user needs to set those packages when creating controllers and remote controller server.
2.1.0 (2020-01-31)
- downgrade ky (#452) (a4c34e6)
- only find bin if not overridden (#448) (025c06f)
- only require http api client if it has not been specified (#450) (6b21d5b)
- protect possible empty ipfsModule option (#449) (09b1917)
2.0.0 (2020-01-29)
- force kill daemons after timeout (#441) (182e532), closes #438
- move ipfs to peer deps (#446) (236c935)
- This package now requires the user to bring their own version, but they can also skip installing go-IPFS if, for example, they are only going to use js-IPFS.
1.0.7 (2020-01-24)
1.0.6 (2020-01-17)
- find bin top to bottom instead of the inverse (bc847fb)
1.0.5 (2020-01-16)
1.0.4 (2020-01-16)
- remove swarm addrs in browser (#435) (39b324e), closes /github.com/libp2p/js-libp2p/blob/83409deaa6773a550d38b77bd486faf8b8b97d29/src/transport-manager.js#L172-L176
1.0.3 (2020-01-16)
- add endpoint option to the docs (3e61a00)
- set profiles option if profiles array not empty (#433) (12a2b6c)
1.0.2 (2019-12-11)
1.0.0 (2019-12-11)
- Problems:
- Browsers tests skipped cause ctl didn't support proper connectivity to remote nodes
- We weren't able to tell ctl to use a specific commit of http-client, js-ipfs or cli
- Options/config between the 3 types of daemons weren't consistent
- Ctl didn't support remote "in process" daemon
- IPFS options were handled manually inside ctl, so any change in js-ipfs would require a PR in ctl to support the new options or change to an option
Related issues:
Improvements:
- better errors
- DEBUG='ipfsd-ctl:*' everywhere
- factories for tests with good defaults
- options are properly merged everywhere
- safer child_process exit
stop()
- faster stop()
- IPFS Options are now the same format as https://github.com/ipfs/js-ipfs/blob/master/README.md#ipfs-constructor
- Ctl can init, start and set config in one cmd (at least with js-ipfs)
- better docs and jsdocs
- we can now be sure which http-client, ipfs or go-ipfs is being used
- utils functions actually work in the browser now
- works in webworkers now
- simpler and faster overall
- disposable node actually clean themselves in the browser
- better tests
- ...
- support electron
- test in electron
New:
- new method
createController
returns a spawned controller - createFactory as a second parameter to override options per type
Changes:
create
change tocreateFactory
createFactory
options changed
Old
- `options` - optional object with:
- `remote` bool - use remote endpoint to spawn the nodes.
- `port` number - remote endpoint port. Defaults to 43134.
- `exec` - IPFS executable path. `ipfsd-ctl` will attempt to locate it by default. If you desire to spawn js-ipfs instances in the same process, pass the ref to the module instead (e.g `exec: require('ipfs')`)
- `type` - the daemon type, see below the options
- `go` - spawn go-ipfs daemon
- `js` - spawn js-ipfs daemon
- `proc` - spawn in-process js-ipfs instance. Needs to be called also with exec. Example: `DaemonFactory.create({type: 'proc', exec: require('ipfs') })`.
- `IpfsClient` - A custom IPFS API constructor to use instead of the packaged one
New
- `remote` [boolean] Use remote endpoint to spawn the nodes. Defaults to `true` when not in node.
- `test` [test=false] - Flag to activate custom config for tests.
- `endpoint` [endpoint] - Endpoint URL to manage remote Controllers. (Defaults: 'http://localhost:43134').
- `disposable` [Boolean] A new repo is created and initialized for each invocation, as well as cleaned up automatically once the process exits.
- `type` [string] The daemon type, see below the options:- go - spawn go-ipfs daemon
- js - spawn js-ipfs daemon
- proc - spawn in-process js-ipfs instance
- `env` [Object] Additional environment variables, passed to executing shell. Only applies for Daemon controllers.
- `args` [Array] Custom cli args.
- `ipfsHttp` [Object] Setup IPFS HTTP client to be used by ctl.
- `ipfsHttp.ref` [Object] Reference to a IPFS HTTP Client object. (defaults to the local require(`ipfs-http-client`))
- `ipfsHttp.path` [string] Path to a IPFS HTTP Client to be required. (defaults to the local require.resolve('ipfs-http-client'))
- `ipfsApi` [Object] Setup IPFS API to be used by ctl.
- `ipfsApi.ref` [Object] Reference to a IPFS API object. (defaults to the local require(`ipfs`))
- `ipfsApi.path` [string] Path to a IPFS API implementation to be required. (defaults to the local require.resolve('ipfs'))
- `ipfsBin` [String] Path to a IPFS exectutable . (defaults to the local 'js-ipfs/src/bin/cli.js')
- `ipfsOptions` [IpfsOptions] Options for the IPFS instance
- Previous default ipfs config is only applied when
test
options equalstrue
defaultAddrs
option was removed- Spawn options are the same as
createFactory
Old
- `options` is an optional object the following properties:
- `init` bool (default true) or Object - should the node be initialized
- `initOptions` object - should be of the form `{bits: <size>}`, which sets the desired key size
- `start` bool (default true) - should the node be started
- `repoPath` string - the repository path to use for this node, ignored if node is disposable
- `disposable` bool (default true) - a new repo is created and initialized for each invocation, as well as cleaned up automatically once the process exits
- `defaultAddrs` bool (default false) - use the daemon default `Swarm` addrs
- `args` - array of cmd line arguments to be passed to ipfs daemon
- `config` - ipfs configuration options
NEW Same as js-ipfs constructor https://github.com/ipfs/js-ipfs#ipfs-constructor
- ipfsd.killProcess removed not needed anymore
- ipfsd.getConfig removed call ipfsd.api.config.get instead
- ipfsd.setConfig removed, call ipfsd.api.config.set instead
Read the README for documention on the new api and options
0.47.4 (2019-10-14)
0.47.3 (2019-10-10)
0.47.2 (2019-09-20)
0.47.1 (2019-09-18)
- use local options instead of instance to check "exec" (38a730d)
0.47.0 (2019-09-18)
0.46.3 (2019-09-15)
0.46.2 (2019-09-15)
0.46.1 (2019-09-11)
- make proc silent by default (a62bd97)
0.46.0 (2019-09-05)
- pubsub flags for in-proc daemons will not set values anymore
0.45.1 (2019-09-03)
0.45.0 (2019-09-02)
- removes the experimental flag of pubsub and makes it enable by default
0.44.2 (2019-08-30)
0.44.1 (2019-07-11)
0.44.0 (2019-07-05)
0.43.0 (2019-06-20)
0.42.4 (2019-06-04)
0.42.3 (2019-05-17)
- dont call callbacks twice (c61606f)
0.42.2 (2019-04-04)
0.42.1 (2019-03-20)
0.42.0 (2019-02-12)
0.41.0 (2019-01-30)
--local
option has been renamed to--offline
0.40.3 (2019-01-04)
0.40.2 (2018-12-11)
0.40.1 (2018-11-28)
0.40.0 (2018-11-03)
- go-ipfs 0.4.18 and js-ipfs 0.33.0 (503ef42)
0.39.5 (2018-10-28)
- linting errors (ac22a3c)
0.39.4 (2018-10-26)
- upgrade ipfs-api (3c8c913)
0.39.3 (2018-10-19)
0.39.2 (2018-09-12)
- add namesys pubsub option (#293) (d1f23a3)
- fix ipfsd.init return value (#291) (3fa63e3), closes #289
0.39.1 (2018-08-07)
0.39.0 (2018-07-28)
- go-ipfs 0.4.17 (958a9e3)
0.38.0 (2018-07-15)
0.37.5 (2018-06-22)
0.37.4 (2018-06-11)
0.37.3 (2018-06-01)
0.37.2 (2018-06-01)
0.37.1 (2018-06-01)
- add support for experimental mfs flag (3ce834e)
0.37.0 (2018-05-23)
0.36.0 (2018-05-17)
- use go-ipfs 0.4.15 (4bd2535)
0.35.0 (2018-05-17)
- stop using ipfs-repo (ca44996)
0.34.0 (2018-05-14)
0.33.2 (2018-05-08)
0.33.1 (2018-05-06)
- Daemon spawning throws error with the new multiaddr version (a0d2e37)
0.33.0 (2018-05-04)
0.32.1 (2018-04-12)
0.32.0 (2018-04-06)
0.31.0 (2018-03-27)
- upgrade to go-ipfs-0.4.14 (77b4cd9)
0.30.4 (2018-03-21)
- add ability to use go and js env exec (#219) (4c8fcad), closes #221
- detect running node (#221) (26c2634)
0.30.3 (2018-03-16)
0.30.2 (2018-03-16)
- pass on environment variables (b73325e)
0.30.1 (2018-03-15)
- pass keysize on command line (e2a6697)
0.30.0 (2018-03-14)
0.29.1 (2018-02-23)
- pick a non used port (4fdb071)
0.29.0 (2018-02-21)
0.28.0 (2018-02-12)
0.27.3 (2018-01-30)
0.27.2 (2018-01-27)
- support for passphrase for js-ipfs daemons (3bc94c1)
0.27.1 (2018-01-21)
0.27.0 (2018-01-16)
0.26.1 (2018-01-16)
0.26.0 (2017-12-01)
0.25.1 (2017-11-22)
- accept flags as an object as well (8cb9d01)
0.25.0 (2017-11-22)
0.24.1 (2017-11-12)
0.24.0 (2017-10-18)
0.23.0 (2017-09-06)
0.22.0 (2017-09-02)
- use go-ipfs 0.4.10 (b0286fb)
0.21.0 (2017-05-19)
- remove possible overlapping of tmp folder (54a96a8)
- update to use go-ipfs v0.4.9 and latest ipfs-block (94f0a97)
0.20.0 (2017-03-20)
- v0.4.7 and update aegir and its lintness (eadf560)
0.19.0 (2017-02-16)
0.18.3 (2017-02-09)
0.18.2 (2017-01-31)
0.18.1 (2017-01-04)
0.18.0 (2016-12-23)
- fail gracefully when config file is not found (a200a15)
- init: Add the possibility to pass options to init() (9c48373)
- better stream handling (#140) (a0adc82)
0.17.0 (2016-10-29)
0.16.0 (2016-09-29)
- ensure setting the config cbs only once (e44a8ac)
- upgrade to go-ipfs 0.4.3 (a2ebc1a)
0.15.0 (2016-09-16)
- shutdown: fixed bugs in stopDaemon (af21eb0)
- startDaemon: fix the behavior of startDeamon (0deb7e5)
- test: change hash of src test (349a44c)
- make the linter happy for D# (9a5c0e2)
- rm unused var (thanks, linter) (6d21086)
- tests: guarded func to avoid it being called twice (2c8a3c1)
- startDeamon: allow passing flags to ipfs daemon (c7ea808)
0.14.0 (2016-05-18)
- upgrade dependencies to latest (0231951)
0.13.0 (2016-05-01)
0.12.0 (2016-04-27)
0.11.0 (2016-04-22)
0.10.1 (2016-04-11)
0.10.0 (2016-04-09)
0.9.1 (2016-04-08)
0.9.0 (2016-04-08)
0.8.1 (2016-01-31)
0.8.0 (2016-01-22)
- Upgrade to [email protected] (fc8bbef)