swarm: release v0.4.3 (#1602)

* swarm: 0.4.3 release notes

* swarm: 0.4.3 stable version

* swarm: 0.4.3 release notes - fix
This commit is contained in:
Rafael Matias
2019-07-25 13:08:29 +02:00
committed by GitHub
parent 74b12e35bf
commit 66e016c6dc
3 changed files with 36 additions and 21 deletions

View File

@ -1,12 +1,28 @@
## v0.4.3 (Unreleased) ## v0.4.3 (July 25, 2019)
### Notes ### Notes
### Features - **Docker users:** The `$PASSWORD` and `$DATADIR` environment variables are not supported anymore since this release. From now on you should mount the password or data dirctories as a volume. For example:
```bash
$ docker run -it -v $PWD/hostdata:/data \
-v $PWD/password:/password \
ethersphere/swarm:0.4.3 \
--datadir /data \
--password /password
```
### Improvements ### Bug fixes and improvements
### Bug fixes * [#1586](https://github.com/ethersphere/swarm/pull/1586): network: structured output for kademlia table
* [#1582](https://github.com/ethersphere/swarm/pull/1582): client: add bzz client, update smoke tests
* [#1578](https://github.com/ethersphere/swarm/pull/1578): swarm-smoke: fix check max prox hosts for pull/push sync modes
* [#1557](https://github.com/ethersphere/swarm/pull/1557): cmd/swarm: allow using a network interface by name for nat purposes
* [#1534](https://github.com/ethersphere/swarm/pull/1534): api, network: count chunk deliveries per peer
* [#1537](https://github.com/ethersphere/swarm/pull/1537): swarm: fix bzz_info.port when using dynamic port allocation
* [#1531](https://github.com/ethersphere/swarm/pull/1531): cmd/swarm: make bzzaccount flag optional and add bzzkeyhex flag
* [#1536](https://github.com/ethersphere/swarm/pull/1536): cmd/swarm: use only one function to parse flags
* [#1530](https://github.com/ethersphere/swarm/pull/1530): network/bitvector: Multibit set/unset + string rep
* [#1555](https://github.com/ethersphere/swarm/pull/1555): PoC: Network simulation framework
## v0.4.2 (June 28, 2019) ## v0.4.2 (June 28, 2019)
@ -14,7 +30,7 @@
This release is not backward compatible with the previous versions of Swarm due to changes to the wire protocol of the Retrieve Request messages. Please update your nodes. This release is not backward compatible with the previous versions of Swarm due to changes to the wire protocol of the Retrieve Request messages. Please update your nodes.
### Bug fixes and Improvements ### Bug fixes and improvements
* [#1503](https://github.com/ethersphere/swarm/pull/1503): network/simulation: add ExecAdapter capability to swarm simulations * [#1503](https://github.com/ethersphere/swarm/pull/1503): network/simulation: add ExecAdapter capability to swarm simulations
* [#1495](https://github.com/ethersphere/swarm/pull/1495): build: enable ubuntu ppa disco (19.04) builds * [#1495](https://github.com/ethersphere/swarm/pull/1495): build: enable ubuntu ppa disco (19.04) builds

View File

@ -16,7 +16,6 @@ Swarm is a distributed storage platform and content distribution service, a nati
- [Documentation](#Documentation) - [Documentation](#Documentation)
- [Docker](#Docker) - [Docker](#Docker)
- [Docker tags](#Docker-tags) - [Docker tags](#Docker-tags)
- [Environment variables](#Environment-variables)
- [Swarm command line arguments](#Swarm-command-line-arguments) - [Swarm command line arguments](#Swarm-command-line-arguments)
- [Developers Guide](#Developers-Guide) - [Developers Guide](#Developers-Guide)
- [Go Environment](#Go-Environment) - [Go Environment](#Go-Environment)
@ -109,11 +108,6 @@ Swarm container images are available at Docker Hub: [ethersphere/swarm](https://
* `edge` - latest build from `master` * `edge` - latest build from `master`
* `v0.x.y` - specific stable release * `v0.x.y` - specific stable release
### Environment variables
* `PASSWORD` - *required* - Used to setup a sample Ethereum account in the data directory. If a data directory is mounted with a volume, the first Ethereum account from it is loaded, and Swarm will try to decrypt it non-interactively with `PASSWORD`
* `DATADIR` - *optional* - Defaults to `/root/.ethereum`
### Swarm command line arguments ### Swarm command line arguments
All Swarm command line arguments are supported and can be sent as part of the CMD field to the Docker container. All Swarm command line arguments are supported and can be sent as part of the CMD field to the Docker container.
@ -123,15 +117,16 @@ All Swarm command line arguments are supported and can be sent as part of the CM
Running a Swarm container from the command line Running a Swarm container from the command line
```bash ```bash
$ docker run -e PASSWORD=password123 -t ethersphere/swarm \ $ docker run -it ethersphere/swarm \
--debug \ --debug \
--verbosity 4 --verbosity 4
``` ```
Running a Swarm container with custom ENS endpoint Running a Swarm container with custom ENS endpoint
```bash ```bash
$ docker run -e PASSWORD=password123 -t ethersphere/swarm \ $ docker run -it ethersphere/swarm \
--ens-api http://1.2.3.4:8545 \ --ens-api http://1.2.3.4:8545 \
--debug \ --debug \
--verbosity 4 --verbosity 4
@ -140,7 +135,7 @@ $ docker run -e PASSWORD=password123 -t ethersphere/swarm \
Running a Swarm container with metrics enabled Running a Swarm container with metrics enabled
```bash ```bash
$ docker run -e PASSWORD=password123 -t ethersphere/swarm \ $ docker run -it ethersphere/swarm \
--debug \ --debug \
--metrics \ --metrics \
--metrics.influxdb.export \ --metrics.influxdb.export \
@ -155,7 +150,7 @@ $ docker run -e PASSWORD=password123 -t ethersphere/swarm \
Running a Swarm container with tracing and pprof server enabled Running a Swarm container with tracing and pprof server enabled
```bash ```bash
$ docker run -e PASSWORD=password123 -t ethersphere/swarm \ $ docker run -it ethersphere/swarm \
--debug \ --debug \
--tracing \ --tracing \
--tracing.endpoint 127.0.0.1:6831 \ --tracing.endpoint 127.0.0.1:6831 \
@ -165,10 +160,14 @@ $ docker run -e PASSWORD=password123 -t ethersphere/swarm \
--pprofport 6060 --pprofport 6060
``` ```
Running a Swarm container with custom data directory mounted from a volume Running a Swarm container with a custom data directory mounted from a volume and a password file to unlock the swarm account
```bash ```bash
$ docker run -e DATADIR=/data -e PASSWORD=password123 -v /tmp/hostdata:/data -t ethersphere/swarm \ $ docker run -it -v $PWD/hostdata:/data \
-v $PWD/password:/password \
ethersphere/swarm \
--datadir /data \
--password /password \
--debug \ --debug \
--verbosity 4 --verbosity 4
``` ```

View File

@ -21,10 +21,10 @@ import (
) )
const ( const (
VersionMajor = 0 // Major version component of the current release VersionMajor = 0 // Major version component of the current release
VersionMinor = 4 // Minor version component of the current release VersionMinor = 4 // Minor version component of the current release
VersionPatch = 3 // Patch version component of the current release VersionPatch = 3 // Patch version component of the current release
VersionMeta = "unstable" // Version metadata to append to the version string VersionMeta = "stable" // Version metadata to append to the version string
) )
// Version holds the textual version string. // Version holds the textual version string.