Skip to content

Commit

Permalink
Merge branch 'schema-provider' into graphql-document-query-experimental
Browse files Browse the repository at this point in the history
* schema-provider:
  Minor clean ups
  Move to unreleased section in CHANGELOG
  Update CHANGELOG.md
  Refactor replication API (#184)
  GraphQL replication client (#137)
  Update aquadoggo to v0.3.0 in aquadoggo_cli
  v0.3.0
  Prepare CHANGELOG for v0.3.0 release
  Commit Cargo.lock
  p2panda-rs v0.4.0
  Remove unused import
  Update naming in `publishEntry` query and `nextEntryArgs` response (#181)
  Fix bug when materialising documents containing (non-existent) pinned relations (#177)
  • Loading branch information
adzialocha committed Jul 1, 2022
2 parents 7e2f198 + fe2a914 commit 3ecc52d
Show file tree
Hide file tree
Showing 66 changed files with 2,716 additions and 2,073 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ env:
target
~/.cargo
cargo_manifest: aquadoggo/Cargo.toml
# There is an issue with `async-graphql` or Rust which randomly lets our
# tests fail. With this Rust version and async-graphql 3.0.38 it seems to
# work for now though.
# Related issue: https://github.com/p2panda/aquadoggo/issues/185
rust_version: 1.61.0

jobs:
rust-test-sqlite:
Expand All @@ -21,7 +26,7 @@ jobs:
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
toolchain: ${{ env.rust_version }}
override: true

- name: Restore from cargo cache
Expand Down Expand Up @@ -74,7 +79,7 @@ jobs:
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
toolchain: ${{ env.rust_version }}
override: true

- name: Restore from cargo cache
Expand Down Expand Up @@ -106,7 +111,7 @@ jobs:
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
toolchain: ${{ env.rust_version }}
override: true

- name: Restore from cargo cache
Expand All @@ -132,7 +137,7 @@ jobs:
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
toolchain: ${{ env.rust_version }}
components: rustfmt
override: true

Expand All @@ -159,7 +164,7 @@ jobs:
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
toolchain: ${{ env.rust_version }}
components: clippy
override: true

Expand All @@ -186,7 +191,7 @@ jobs:
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
toolchain: ${{ env.rust_version }}
override: true

- name: Restore from cargo cache
Expand Down
21 changes: 18 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

- GraphQL replication service gets and verifies new entries and inserts them into the db [#137](https://github.com/p2panda/aquadoggo/pull/137)
- Add schema task and schema provider that update when new schema views are materialised [#166](https://github.com/p2panda/aquadoggo/pull/166)

### Changed

- Refactor scalars and replication API, replace `graphql-client` with `gql_client` [#184](https://github.com/p2panda/aquadoggo/pull/184)

## [0.3.0]

Released on 2022-07-01: :package: [`crate`](https://crates.io/crates/aquadoggo/0.3.0)

### Added

- Introduce GraphQL endpoint [#81](https://github.com/p2panda/aquadoggo/pull/81)
- Generic task queue with worker pool [#82](https://github.com/p2panda/aquadoggo/pull/82)
- Service manager [#90](https://github.com/p2panda/aquadoggo/pull/90)
Expand All @@ -26,7 +39,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Inform materialization service about new operations [#161](https://github.com/p2panda/aquadoggo/pull/161)
- e2e publish entry tests [#167](https://github.com/p2panda/aquadoggo/pull/167)
- Reschedule pending tasks on startup [#168](https://github.com/p2panda/aquadoggo/pull/168)
- Add schema task and schema provider that update when new schema views are materialised [#166](https://github.com/p2panda/aquadoggo/pull/166/files)
- Debug logging in reduce task [#175](https://github.com/p2panda/aquadoggo/pull/175)

### Changed
Expand All @@ -41,14 +53,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Refactor tests to use fixtures exported from `p2panda-rs` [#147](https://github.com/p2panda/aquadoggo/pull/147)
- Use `DocumentViewId` for previous operations [#147](https://github.com/p2panda/aquadoggo/pull/147)
- Use `VerifiedOperation` [#158](https://github.com/p2panda/aquadoggo/pull/158)
- Refactor test_db creation [#176](https://github.com/p2panda/aquadoggo/pull/176)
- Refactor `test_db` helper method [#176](https://github.com/p2panda/aquadoggo/pull/176)
- Update `publishEntry` params and `nextEntryArgs` response fields [#181](https://github.com/p2panda/aquadoggo/pull/181)

### Fixed

- Fix high CPU usage of idle workers [#136](https://github.com/p2panda/aquadoggo/pull/136)
- Improve CI, track test coverage [#139](https://github.com/p2panda/aquadoggo/pull/139)
- Fix compatibility with PostgreSQL, change sqlx runtime to `tokio` [#170](https://github.com/p2panda/aquadoggo/pull/170)
- Use UPSERT for inserting or updating documents [#173](https://github.com/p2panda/aquadoggo/pull/173)
- Don't critically fail reduce task when document missing [#177](https://github.com/p2panda/aquadoggo/pull/177)

## [0.2.0]

Expand Down Expand Up @@ -85,6 +99,7 @@ Released on 2021-10-25: :package: [`crate`](https://crates.io/crates/aquadoggo/0
- Use p2panda-rs 0.2.1 with fixed linter setting [#41](https://github.com/p2panda/aquadoggo/41)
- Use `tide` for HTTP server and `jsonrpc-v2` for JSON RPC [#29](https://github.com/p2panda/aquadoggo/29)

[unreleased]: https://github.com/p2panda/aquadoggo/compare/v0.2.0...HEAD
[unreleased]: https://github.com/p2panda/aquadoggo/compare/v0.3.0...HEAD
[0.3.0]: https://github.com/p2panda/aquadoggo/releases/tag/v0.3.0
[0.2.0]: https://github.com/p2panda/aquadoggo/releases/tag/v0.2.0
[0.1.0]: https://github.com/p2panda/aquadoggo/releases/tag/v0.1.0
Loading

0 comments on commit 3ecc52d

Please sign in to comment.