Skip to content

Commit

Permalink
chore(release): release v0.2.0
Browse files Browse the repository at this point in the history
Merge pull request #20 from qri-io/pull_hook
  • Loading branch information
b5 authored Sep 4, 2019
2 parents bee27f6 + f560d6b commit 30bf0f8
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ jobs:
build:
working_directory: /go/src/github.com/qri-io/dag
docker:
- image: circleci/golang:1.12
- image: circleci/golang:1.13
environment:
TEST_RESULTS: /tmp/test-results
GO111MODULE: "on"
Expand Down
38 changes: 38 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,41 @@
# [v0.2.0](https://github.com/qri-io/dag/compare/v0.1.0...v0.2.0) (2019-09-04)

# Overhauled Dsync with new API, P2P support, Push & Pull hooks
We've completely reworked dsync to make the API easier to work with, and add support for p2p as a dsync transport!

This new API includes configurable _hooks_ integrated into the lifecycle of push & pulls. Check out `ExampleNew` in `dag/dsync/dsync_test.go` for an annotated overview.

We're using this new dsync work as the basis for "remotes" in [qri](https://github.com/qri-io/qri), which makes for a nice production-grade example.

### Bug Fixes

* **dsync:** set RequireAllBlocks properly from config, add logging ([eb315be](https://github.com/qri-io/dag/commit/eb315be))
* **dsync meta:** fix url encoding of meta ([7fe112d](https://github.com/qri-io/dag/commit/7fe112d))
* **vet:** fix go vet errors ([7835ec5](https://github.com/qri-io/dag/commit/7835ec5))
* NewLocalNodeGetter lets us fetch blocks from local repo only ([8a6c24c](https://github.com/qri-io/dag/commit/8a6c24c))


### Code Refactoring

* **dsync:** overhaul dsync API around push/pull & transfer ([c3af21d](https://github.com/qri-io/dag/commit/c3af21d))


### Features

* **dsync:** add pinning on push completion ([7928c15](https://github.com/qri-io/dag/commit/7928c15))
* **dsync:** associate key-value metadata with a push ([184c152](https://github.com/qri-io/dag/commit/184c152))
* **dsync:** initial dsync over a libp2p connection ([c45ec51](https://github.com/qri-io/dag/commit/c45ec51))
* **dsync plugin:** initial support for dsync as a plugin ([ba579df](https://github.com/qri-io/dag/commit/ba579df))
* **dsync remove:** added hooks, remove, and meta params to dsync ([7d1e921](https://github.com/qri-io/dag/commit/7d1e921))
* **p2p:** initial support for dsync pushing over libp2p ([5c0afa9](https://github.com/qri-io/dag/commit/5c0afa9))


### BREAKING CHANGES

* **dsync:** api is completely overhauled dependants will need to refactor



<a name="0.1.0"></a>
# (2019-06-03)

Expand Down
3 changes: 1 addition & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ require (
github.com/libp2p/go-libp2p-protocol v0.0.1
github.com/multiformats/go-multicodec v0.1.6
github.com/multiformats/go-multihash v0.0.5
github.com/prometheus/common v0.4.0
github.com/spf13/cobra v0.0.2
github.com/ugorji/go/codec v1.1.5-pre
google.golang.org/appengine v1.4.0 // indirect
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7 // indirect
)
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -755,6 +755,8 @@ golang.org/x/tools v0.0.0-20190521203540-521d6ed310dd/go.mod h1:RgjU9mgBXZiqYHBn
golang.org/x/xerrors v0.0.0-20190212162355-a5947ffaace3/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20190513163551-3ee3066db522 h1:bhOzK9QyoD0ogCnFro1m2mz41+Ib0oOhfJnBp5MR4K4=
golang.org/x/xerrors v0.0.0-20190513163551-3ee3066db522/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7 h1:9zdDQZ7Thm29KFXgAX/+yaf3eVbP7djjWp/dXAppNCc=
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM=
google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc=
Expand Down

0 comments on commit 30bf0f8

Please sign in to comment.