Skip to content
This repository was archived by the owner on Aug 2, 2021. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 23 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,36 @@
## v0.4.3 (Unreleased)
## v0.4.3 (July 25, 2019)

### Notes

### Features

### Improvements

### Bug fixes
- **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
```

### Bug fixes and improvements

* [#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)

### Notes

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
* [#1495](https://github.com/ethersphere/swarm/pull/1495): build: enable ubuntu ppa disco (19.04) builds
Expand Down
23 changes: 11 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ Swarm is a distributed storage platform and content distribution service, a nati
- [Documentation](#Documentation)
- [Docker](#Docker)
- [Docker tags](#Docker-tags)
- [Environment variables](#Environment-variables)
- [Swarm command line arguments](#Swarm-command-line-arguments)
- [Developers Guide](#Developers-Guide)
- [Go Environment](#Go-Environment)
Expand Down Expand Up @@ -109,11 +108,6 @@ Swarm container images are available at Docker Hub: [ethersphere/swarm](https://
* `edge` - latest build from `master`
* `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

All Swarm command line arguments are supported and can be sent as part of the CMD field to the Docker container.
Expand All @@ -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

```bash
$ docker run -e PASSWORD=password123 -t ethersphere/swarm \
$ docker run -it ethersphere/swarm \
--debug \
--verbosity 4
```


Running a Swarm container with custom ENS endpoint

```bash
$ docker run -e PASSWORD=password123 -t ethersphere/swarm \
$ docker run -it ethersphere/swarm \
--ens-api http://1.2.3.4:8545 \
--debug \
--verbosity 4
Expand All @@ -140,7 +135,7 @@ $ docker run -e PASSWORD=password123 -t ethersphere/swarm \
Running a Swarm container with metrics enabled

```bash
$ docker run -e PASSWORD=password123 -t ethersphere/swarm \
$ docker run -it ethersphere/swarm \
--debug \
--metrics \
--metrics.influxdb.export \
Expand All @@ -155,7 +150,7 @@ $ docker run -e PASSWORD=password123 -t ethersphere/swarm \
Running a Swarm container with tracing and pprof server enabled

```bash
$ docker run -e PASSWORD=password123 -t ethersphere/swarm \
$ docker run -it ethersphere/swarm \
--debug \
--tracing \
--tracing.endpoint 127.0.0.1:6831 \
Expand All @@ -165,10 +160,14 @@ $ docker run -e PASSWORD=password123 -t ethersphere/swarm \
--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
$ 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 \
--verbosity 4
```
Expand Down
8 changes: 4 additions & 4 deletions version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ import (
)

const (
VersionMajor = 0 // Major version component of the current release
VersionMinor = 4 // Minor 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
VersionMajor = 0 // Major version component of the current release
VersionMinor = 4 // Minor version component of the current release
VersionPatch = 3 // Patch version component of the current release
VersionMeta = "stable" // Version metadata to append to the version string
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should really get rid fo this at some point :)

)

// Version holds the textual version string.
Expand Down