Skip to content

Commit 85f70a4

Browse files
authored
Merge pull request #2591 from sourcenetwork/release/v0.11.0
Release v0.11.0
2 parents 051895a + b5e967e commit 85f70a4

File tree

482 files changed

+29124
-10105
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

482 files changed

+29124
-10105
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ jobs:
9393
if: matrix.os == 'macos-latest'
9494
uses: actions/cache/save@v4
9595
with:
96-
path: dist/darwin_amd64
96+
path: dist/darwin_arm64
9797
key: darwin-${{ env.sha_short }}
9898

9999
- name: Save cache on Windows
@@ -146,7 +146,7 @@ jobs:
146146
id: restore-macos
147147
uses: actions/cache/restore@v4
148148
with:
149-
path: dist/darwin_amd64
149+
path: dist/darwin_arm64
150150
key: darwin-${{ env.sha_short }}
151151
fail-on-cache-miss: true
152152

.github/workflows/test-and-upload-coverage.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,13 @@ jobs:
4646
database-type: badger-memory
4747
mutation-type: collection-save
4848
detect-changes: false
49-
- os: windows-latest
50-
client-type: go
51-
database-type: badger-memory
52-
mutation-type: collection-save
53-
detect-changes: false
49+
## TODO: https://github.com/sourcenetwork/defradb/issues/2080
50+
## Uncomment the lines below to Re-enable the windows build once this todo is resolved.
51+
## - os: windows-latest
52+
## client-type: go
53+
## database-type: badger-memory
54+
## mutation-type: collection-save
55+
## detect-changes: false
5456

5557
runs-on: ${{ matrix.os }}
5658

CHANGELOG.md

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,70 @@
1+
2+
<a name="v0.11.0"></a>
3+
## [v0.11.0](https://github.com/sourcenetwork/defradb/compare/v0.10.0...v0.11.0)
4+
5+
> 2024-05-03
6+
7+
DefraDB v0.11 is a major pre-production release. Until the stable version 1.0 is reached, the SemVer minor patch number will denote notable releases, which will give the project freedom to experiment and explore potentially breaking changes.
8+
9+
To get a full outline of the changes, we invite you to review the official changelog below. This release does include a Breaking Change to existing v0.10.x databases. If you need help migrating an existing deployment, reach out at [hello@source.network](mailto:hello@source.network) or join our Discord at https://discord.gg/w7jYQVJ/.
10+
11+
### Features
12+
13+
* Update corelog to 0.0.7 ([#2547](https://github.com/sourcenetwork/defradb/issues/2547))
14+
* Move relation field properties onto collection ([#2529](https://github.com/sourcenetwork/defradb/issues/2529))
15+
* Lens runtime config ([#2497](https://github.com/sourcenetwork/defradb/issues/2497))
16+
* Add P Counter CRDT ([#2482](https://github.com/sourcenetwork/defradb/issues/2482))
17+
* Add Access Control Policy ([#2338](https://github.com/sourcenetwork/defradb/issues/2338))
18+
* Force explicit primary decl. in SDL for one-ones ([#2462](https://github.com/sourcenetwork/defradb/issues/2462))
19+
* Allow mutation of col sources via PatchCollection ([#2424](https://github.com/sourcenetwork/defradb/issues/2424))
20+
* Add Defra-Lens support for branching schema ([#2421](https://github.com/sourcenetwork/defradb/issues/2421))
21+
* Add PatchCollection ([#2402](https://github.com/sourcenetwork/defradb/issues/2402))
22+
23+
### Fixes
24+
25+
* Return correct results from one-many indexed filter ([#2579](https://github.com/sourcenetwork/defradb/issues/2579))
26+
* Handle compound filters on related indexed fields ([#2575](https://github.com/sourcenetwork/defradb/issues/2575))
27+
* Add check to filter result for logical ops ([#2573](https://github.com/sourcenetwork/defradb/issues/2573))
28+
* Make all array kinds nillable ([#2534](https://github.com/sourcenetwork/defradb/issues/2534))
29+
* Allow update when updating non-indexed field ([#2511](https://github.com/sourcenetwork/defradb/issues/2511))
30+
31+
### Documentation
32+
33+
* Add data definition document ([#2544](https://github.com/sourcenetwork/defradb/issues/2544))
34+
35+
### Refactoring
36+
37+
* Merge collection UpdateWith and DeleteWith ([#2531](https://github.com/sourcenetwork/defradb/issues/2531))
38+
* DB transactions context ([#2513](https://github.com/sourcenetwork/defradb/issues/2513))
39+
* Add NormalValue ([#2404](https://github.com/sourcenetwork/defradb/issues/2404))
40+
* Clean up client/request package ([#2443](https://github.com/sourcenetwork/defradb/issues/2443))
41+
* Rewrite convertImmutable ([#2445](https://github.com/sourcenetwork/defradb/issues/2445))
42+
* Unify Field Kind and Schema properties ([#2414](https://github.com/sourcenetwork/defradb/issues/2414))
43+
* Replace logging package with corelog ([#2406](https://github.com/sourcenetwork/defradb/issues/2406))
44+
45+
### Testing
46+
47+
* Add flag to skip network tests ([#2495](https://github.com/sourcenetwork/defradb/issues/2495))
48+
49+
### Bot
50+
51+
* Update dependencies (bulk dependabot PRs) 30-04-2024 ([#2570](https://github.com/sourcenetwork/defradb/issues/2570))
52+
* Bump [@typescript](https://github.com/typescript)-eslint/parser from 7.7.0 to 7.7.1 in /playground ([#2550](https://github.com/sourcenetwork/defradb/issues/2550))
53+
* Bump [@typescript](https://github.com/typescript)-eslint/eslint-plugin from 7.7.0 to 7.7.1 in /playground ([#2551](https://github.com/sourcenetwork/defradb/issues/2551))
54+
* Bump swagger-ui-react from 5.16.2 to 5.17.0 in /playground ([#2549](https://github.com/sourcenetwork/defradb/issues/2549))
55+
* Update dependencies (bulk dependabot PRs) 23-04-2023 ([#2548](https://github.com/sourcenetwork/defradb/issues/2548))
56+
* Bump go.opentelemetry.io/otel/sdk/metric from 1.24.0 to 1.25.0 ([#2499](https://github.com/sourcenetwork/defradb/issues/2499))
57+
* Bump typescript from 5.4.3 to 5.4.5 in /playground ([#2515](https://github.com/sourcenetwork/defradb/issues/2515))
58+
* Bump swagger-ui-react from 5.14.0 to 5.15.0 in /playground ([#2514](https://github.com/sourcenetwork/defradb/issues/2514))
59+
* Update dependencies (bulk dependabot PRs) 2024-04-09 ([#2509](https://github.com/sourcenetwork/defradb/issues/2509))
60+
* Update dependencies (bulk dependabot PRs) 2024-04-03 ([#2492](https://github.com/sourcenetwork/defradb/issues/2492))
61+
* Update dependencies (bulk dependabot PRs) 03-04-2024 ([#2486](https://github.com/sourcenetwork/defradb/issues/2486))
62+
* Bump github.com/multiformats/go-multiaddr from 0.12.2 to 0.12.3 ([#2480](https://github.com/sourcenetwork/defradb/issues/2480))
63+
* Bump [@types](https://github.com/types)/react from 18.2.66 to 18.2.67 in /playground ([#2427](https://github.com/sourcenetwork/defradb/issues/2427))
64+
* Bump [@typescript](https://github.com/typescript)-eslint/parser from 7.2.0 to 7.3.1 in /playground ([#2428](https://github.com/sourcenetwork/defradb/issues/2428))
65+
* Update dependencies (bulk dependabot PRs) 19-03-2024 ([#2426](https://github.com/sourcenetwork/defradb/issues/2426))
66+
* Update dependencies (bulk dependabot PRs) 03-11-2024 ([#2399](https://github.com/sourcenetwork/defradb/issues/2399))
67+
168
<a name="v0.10.0"></a>
269
## [v0.10.0](https://github.com/sourcenetwork/defradb/compare/v0.9.0...v0.10.0)
370

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ verify:
202202

203203
.PHONY: tidy
204204
tidy:
205-
go mod tidy -go=1.21
205+
go mod tidy -go=1.21.3
206206

207207
.PHONY: clean
208208
clean:

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ Read the documentation on [docs.source.network](https://docs.source.network/).
1717

1818
## Table of Contents
1919

20-
- [Early Access](#early-access)
2120
- [Install](#install)
2221
- [Start](#start)
2322
- [Configuration](#configuration)
@@ -32,12 +31,14 @@ Read the documentation on [docs.source.network](https://docs.source.network/).
3231
- [Collection subscription example](#collection-subscription-example)
3332
- [Replicator example](#replicator-example)
3433
- [Securing the HTTP API with TLS](#securing-the-http-api-with-tls)
34+
- [Access Control System](#access-control-system)
3535
- [Supporting CORS](#supporting-cors)
3636
- [Backing up and restoring](#backing-up-and-restoring)
37+
- [Community](#community)
3738
- [Licensing](#licensing)
3839
- [Contributors](#contributors)
3940

40-
DISCLAIMER: At this early stage, DefraDB does not offer access control or data encryption, and the default configuration exposes the database to the network. The software is provided "as is" and is not guaranteed to be stable, secure, or error-free. We encourage you to experiment with DefraDB and provide feedback, but please do not use it for production purposes until it has been thoroughly tested and developed.
41+
DISCLAIMER: At this early stage, DefraDB does not offer data encryption, and the default configuration exposes the database to the network. The software is provided "as is" and is not guaranteed to be stable, secure, or error-free. We encourage you to experiment with DefraDB and provide feedback, but please do not use it for production purposes until it has been thoroughly tested and developed.
4142

4243
## Install
4344

@@ -397,6 +398,9 @@ defradb start --tls --pubkeypath ~/path-to-pubkey.key --privkeypath ~/path-to-pr
397398

398399
```
399400

401+
## Access Control System
402+
Read more about the access control [here](./acp/README.md).
403+
400404
## Supporting CORS
401405

402406
When accessing DefraDB through a frontend interface, you may be confronted with a CORS error. That is because, by default, DefraDB will not have any allowed origins set. To specify which origins should be allowed to access your DefraDB endpoint, you can specify them when starting the database:

0 commit comments

Comments
 (0)