Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v0.10.0 #2392

Merged
merged 56 commits into from
Mar 9, 2024
Merged

Release v0.10.0 #2392

merged 56 commits into from
Mar 9, 2024

Conversation

fredcarle
Copy link
Collaborator

Release branch as of 56da65b

Release tasks completed:

  • ran go mod tidy
  • regenerated in-repo docs (CLI and manpages)
  • bump BSL license parameters
  • update changelog

Only need to review the last commit :)

AndrewSisley and others added 30 commits January 19, 2024 10:05
## Relevant issue(s)

Partially resolves #2198

## Description

Makes CollectionDescription.Name Option. Changes secondary indexes to be
indexed by Collection ID. Moves view queries into Sources property.
## Relevant issue(s)
- Resolves #2194
- Resolves #2196


## Description
- This is a routine version bump of GoLang, the previous bump was done
in (#1689)
- Also updates the golang version for AWS AMI generation.
- Updated the `ONLY_DEFRADB_REPO_CI_PAT` token as the terraform build
would fail otherwise as the token expired starting of this year.
Bumps
[github.com/evanphx/json-patch/v5](https://github.com/evanphx/json-patch)
from 5.7.0 to 5.8.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/evanphx/json-patch/releases">github.com/evanphx/json-patch/v5's
releases</a>.</em></p>
<blockquote>
<h2>Fix API breakage</h2>
<p>This PR fixes Operation containing a reference to internal/json and
breaking the ability to manually compose one. This restores that ability
using a type alias.</p>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/evanphx/json-patch/compare/v5.8.0...v5.8.1">https://github.com/evanphx/json-patch/compare/v5.8.0...v5.8.1</a></p>
<h2>Blargh Phixs and Empathyprovements</h2>
<p>This release fixes a few stray panics, addresses large number
accuracy, and improves performance!</p>
<h2>What's Changed</h2>
<ul>
<li>Compare strings after decoding them to handle unicode correctly.
Fixes <a
href="https://redirect.github.com/evanphx/json-patch/issues/172">#172</a>
by <a href="https://github.com/evanphx"><code>@​evanphx</code></a> in <a
href="https://redirect.github.com/evanphx/json-patch/pull/195">evanphx/json-patch#195</a></li>
<li>Always use UseNumber() to avoid float64 lossyness by <a
href="https://github.com/evanphx"><code>@​evanphx</code></a> in <a
href="https://redirect.github.com/evanphx/json-patch/pull/194">evanphx/json-patch#194</a></li>
<li>Handle null correctly when introduced by replace. Fixes <a
href="https://redirect.github.com/evanphx/json-patch/issues/171">#171</a>
by <a href="https://github.com/evanphx"><code>@​evanphx</code></a> in <a
href="https://redirect.github.com/evanphx/json-patch/pull/196">evanphx/json-patch#196</a></li>
<li>Handle from=&quot;&quot; more properly. Fixes <a
href="https://redirect.github.com/evanphx/json-patch/issues/192">#192</a>
by <a href="https://github.com/evanphx"><code>@​evanphx</code></a> in <a
href="https://redirect.github.com/evanphx/json-patch/pull/193">evanphx/json-patch#193</a></li>
<li>Improve performance by <a
href="https://github.com/evanphx"><code>@​evanphx</code></a> in <a
href="https://redirect.github.com/evanphx/json-patch/pull/197">evanphx/json-patch#197</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/evanphx/json-patch/compare/v5.7.0...v5.8.0">https://github.com/evanphx/json-patch/compare/v5.7.0...v5.8.0</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/evanphx/json-patch/commit/b82b685c982b26399c940fc89be030f343570192"><code>b82b685</code></a>
Use a type alias for RawMessage to avoid breaking the public API of
Operation</li>
<li><a
href="https://github.com/evanphx/json-patch/commit/05c952675fb54a42b0120d9602a65958001d1dce"><code>05c9526</code></a>
Merge pull request <a
href="https://redirect.github.com/evanphx/json-patch/issues/197">#197</a>
from evanphx/f-perf</li>
<li><a
href="https://github.com/evanphx/json-patch/commit/7a438a6eed18be914c52bcfa1730199931f7bd1e"><code>7a438a6</code></a>
Minor simplifications</li>
<li><a
href="https://github.com/evanphx/json-patch/commit/2a122d1880d16ec5c5e34fc9adff482ebb029ca5"><code>2a122d1</code></a>
More optimizations</li>
<li><a
href="https://github.com/evanphx/json-patch/commit/174e1d7a1f84118ba7030d46ac371d331060b798"><code>174e1d7</code></a>
Add MergePatch benchmark</li>
<li><a
href="https://github.com/evanphx/json-patch/commit/7b8895c9258ff24a26f3a7e0ecd46bea33d7a573"><code>7b8895c</code></a>
Use internal/json</li>
<li><a
href="https://github.com/evanphx/json-patch/commit/f18a4986aaf1c188fda8cd29a842f080e1c0ba38"><code>f18a498</code></a>
Import version of encoding/json, alter to track key order</li>
<li><a
href="https://github.com/evanphx/json-patch/commit/a9c085a75a5541ebc19b239ff620078cdf51942e"><code>a9c085a</code></a>
Merge pull request <a
href="https://redirect.github.com/evanphx/json-patch/issues/193">#193</a>
from evanphx/b-empty-from</li>
<li><a
href="https://github.com/evanphx/json-patch/commit/e8ab61f4a0e6205bbed116ee7c172f22554ecb2e"><code>e8ab61f</code></a>
Catch IO advancement errors as well</li>
<li><a
href="https://github.com/evanphx/json-patch/commit/c645ff441b0958be0c723b43e1eb95f2746d3a0e"><code>c645ff4</code></a>
Handle <code>add</code> with path=&quot;&quot;. Fixes <a
href="https://redirect.github.com/evanphx/json-patch/issues/188">#188</a></li>
<li>Additional commits viewable in <a
href="https://github.com/evanphx/json-patch/compare/v5.7.0...v5.8.1">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/evanphx/json-patch/v5&package-manager=go_modules&previous-version=5.7.0&new-version=5.8.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite)
from 5.0.11 to 5.0.12.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/vitejs/vite/blob/v5.0.12/packages/vite/CHANGELOG.md">vite's
changelog</a>.</em></p>
<blockquote>
<h2><!-- raw HTML omitted -->5.0.12 (2024-01-19)<!-- raw HTML omitted
--></h2>
<ul>
<li>fix: await <code>configResolved</code> hooks of worker plugins (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/15597">#15597</a>)
(<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/15605">#15605</a>)
(<a href="https://github.com/vitejs/vite/commit/ef89f80">ef89f80</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/15597">#15597</a>
<a
href="https://redirect.github.com/vitejs/vite/issues/15605">#15605</a></li>
<li>fix: fs deny for case insensitive systems (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/15653">#15653</a>)
(<a href="https://github.com/vitejs/vite/commit/91641c4">91641c4</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/15653">#15653</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/vitejs/vite/commit/ee81e196769c102a6b1bf30f8444ccde236e71d5"><code>ee81e19</code></a>
release: v5.0.12</li>
<li><a
href="https://github.com/vitejs/vite/commit/91641c4da0a011d4c5352e88fc68389d4e1289a5"><code>91641c4</code></a>
fix: fs deny for case insensitive systems (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/15653">#15653</a>)</li>
<li><a
href="https://github.com/vitejs/vite/commit/ef89f8092f0eb1d8fd7d21256e6af8c4e64fe9b2"><code>ef89f80</code></a>
fix: await <code>configResolved</code> hooks of worker plugins (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/15597">#15597</a>)
(<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/15605">#15605</a>)</li>
<li>See full diff in <a
href="https://github.com/vitejs/vite/commits/v5.0.12/packages/vite">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=vite&package-manager=npm_and_yarn&previous-version=5.0.11&new-version=5.0.12)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/sourcenetwork/defradb/network/alerts).

</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
## Relevant issue(s)

Resolves #299 

## Description

This change introduces composite secondary indexes as well as
unique-composite secondary indexes.
Note: different order direction for composite fields is not included in
this change.
## Relevant issue(s)
Resolves #2244 

## Description
Fixes the broken id usage (i.e. `cache`) which didn't exist, use the
newer `save` and `restore`, add some conditions and flags to fail early
if the release fails, and document the cache saving logic (which is not
so obvious).
## Relevant issue(s)

Resolves #2234

## Description

This PR adds a command to output the current OpenAPI specification

## Tasks

- [x] I made sure the code is well commented, particularly
hard-to-understand areas.
- [x] I made sure the repository-held documentation is changed
accordingly.
- [x] I made sure the pull request title adheres to the conventional
commit style (the subset used in the project can be found in
[tools/configs/chglog/config.yml](tools/configs/chglog/config.yml)).
- [x] I made sure to discuss its limitations such as threats to
validity, vulnerability to mistake and misuse, robustness to
invalidation of assumptions, resource requirements, ...

## How has this been tested?

`go run ./cmd/genopenapi`

Specify the platform(s) on which this was tested:
- MacOS
## Relevant issue(s)
- Resolves #2245

## Description
- Basic YAML linter Action
- Fix all YAML linter errors
- PR title change when using the manual action to combine dependabot PRs
- Update default options of the combine action according to our common
usage

## How has this been tested?
- CI checks for this now

Specify the platform(s) on which this was tested:
- WSL (Manjaro)
## Relevant issue(s)
Resolves #2251

## Description
Seems like dead code. Not sure if this was the outcome of a partial
implementation or just some code that wasn't removed before being
merged.
✅ This PR was created by combining the following PRs:
#2250 bot: Bump @typescript-eslint/eslint-plugin from 6.18.1 to 6.19.1
in /playground
#2248 bot: Bump github.com/getkin/kin-openapi from 0.122.0 to 0.123.0
#2238 bot: Bump go.opentelemetry.io/otel/sdk/metric from 1.21.0 to
1.22.0

⚠️ The following PRs were merged manually due to merge conflicts:
#2249 bot: Bump @typescript-eslint/parser from 6.18.1 to 6.19.1 in
/playground
#2237 bot: Bump go.opentelemetry.io/otel/metric from 1.21.0 to 1.22.0

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Shahzad Lone <[email protected]>
## Relevant issue(s)

Resolves #2243 

## Description

This PR adds a JSON scalar type to the schema system

## Tasks

- [x] I made sure the code is well commented, particularly
hard-to-understand areas.
- [x] I made sure the repository-held documentation is changed
accordingly.
- [x] I made sure the pull request title adheres to the conventional
commit style (the subset used in the project can be found in
[tools/configs/chglog/config.yml](tools/configs/chglog/config.yml)).
- [x] I made sure to discuss its limitations such as threats to
validity, vulnerability to mistake and misuse, robustness to
invalidation of assumptions, resource requirements, ...

## How has this been tested?

make test

Specify the platform(s) on which this was tested:
- MacOS

---------

Co-authored-by: Shahzad Lone <[email protected]>
## Relevant issue(s)

Documents #2255

## Description

Documents a bug (very likely cache related) when a doc syncs to a node
on an older schema version before the schema is updated.
## Relevant issue(s)

Resolves #2264 

## Description

This PR ensures that the root dir path gets defined prior to looking for
a config file. It fixes an issue where the config file wasn't being
loaded on node start.
## Relevant issue(s)

Resolves #2268

## Description

Sorry guys, went one step too far on that last fix (I was the cause of
the bug btw). removing the re-added lines cause the a config error on
init.
✅ This PR was created by combining the following PRs:
#2262 bot: Bump google.golang.org/grpc from 1.60.1 to 1.61.0
#2261 bot: Bump github.com/evanphx/json-patch/v5 from 5.8.1 to 5.9.0
#2260 bot: Bump github.com/multiformats/go-multiaddr from 0.12.1 to
0.12.2
#2259 bot: Bump swagger-ui-react from 5.11.0 to 5.11.2 in /playground

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Shahzad Lone <[email protected]>
## Relevant issue(s)
Resolves #2263

## Description

This is part of a larger refactor of the config package.

## Tasks

- [x] I made sure the code is well commented, particularly
hard-to-understand areas.
- [x] I made sure the repository-held documentation is changed
accordingly.
- [x] I made sure the pull request title adheres to the conventional
commit style (the subset used in the project can be found in
[tools/configs/chglog/config.yml](tools/configs/chglog/config.yml)).
- [x] I made sure to discuss its limitations such as threats to
validity, vulnerability to mistake and misuse, robustness to
invalidation of assumptions, resource requirements, ...

## How has this been tested?

make test

Specify the platform(s) on which this was tested:
- MacOS
## Relevant issue(s)

Resolves #2272

## Description

Allows setting of null values for nillable fields.
## Relevant issue(s)

Resolves #2274 

## Description

Remove unused `Delete` method of `client.Document`
## Relevant issue(s)

Resolves #2180

## Description

Allow multiple docs with nil value on unique-indexed field.
This change also included few minor query optimizations that involve
secondary indexes.

Explain request is slightly adjusted not to increase field fetches count
upon fetching indexes.
## Relevant issue(s)

Resolves #2287 #1772

## Description

Replaces `FieldDescription.RelationType` with an `IsPrimary` boolean.

One notable effect of this that may not be easily visible in the
code-diff is that the schema ID will not change depending on whether it
is the primary side of a one-one or on the one side of a one-many - now
the schema only cares about the shape of the data, not what is on the
other side of the relationship.
## Relevant issue(s)

Resolves #2277 

## Description

This PR is a refactor of the HTTP config and is part of the larger
config refactor #2257

## Tasks

- [x] I made sure the code is well commented, particularly
hard-to-understand areas.
- [x] I made sure the repository-held documentation is changed
accordingly.
- [x] I made sure the pull request title adheres to the conventional
commit style (the subset used in the project can be found in
[tools/configs/chglog/config.yml](tools/configs/chglog/config.yml)).
- [x] I made sure to discuss its limitations such as threats to
validity, vulnerability to mistake and misuse, robustness to
invalidation of assumptions, resource requirements, ...

## How has this been tested?

make test

Specify the platform(s) on which this was tested:
- MacOS
✅ This PR was created by combining the following PRs:
#2285 bot: Bump @vitejs/plugin-react-swc from 3.5.0 to 3.6.0 in
/playground
#2284 bot: Bump @types/react from 18.2.48 to 18.2.53 in /playground
#2283 bot: Bump @typescript-eslint/eslint-plugin from 6.19.1 to 6.20.0
in /playground
#2282 bot: Bump graphiql from 3.1.0 to 3.1.1 in /playground

⚠️ The following PRs were resolved manually due to merge conflicts:
#2281 bot: Bump @typescript-eslint/parser from 6.19.1 to 6.20.0 in
/playground

- Also regenerate the package lock file to resolve some conflicts.

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Shahzad Lone <[email protected]>
## Relevant issue(s)

Resolves #1846

## Description

Marks docs as deleted when querying _deleted in delete mutation.
## Relevant issue(s)

Resolves #1869

## Description

Fixes compound relational filters in aggregates where their dependencies
were not already part of the query.
## Relevant issue(s)

Resolves #2295 

## Description

This PR refactors the node setup logic into a new `node` package.

## Tasks

- [x] I made sure the code is well commented, particularly
hard-to-understand areas.
- [x] I made sure the repository-held documentation is changed
accordingly.
- [x] I made sure the pull request title adheres to the conventional
commit style (the subset used in the project can be found in
[tools/configs/chglog/config.yml](tools/configs/chglog/config.yml)).
- [x] I made sure to discuss its limitations such as threats to
validity, vulnerability to mistake and misuse, robustness to
invalidation of assumptions, resource requirements, ...

## How has this been tested?

make test

Specify the platform(s) on which this was tested:
- MacOS
## Relevant issue(s)

Resolves #2198

## Description

Models Collection SchemaVersions and migrations on Collections, instead
of in the Lens Registry.

Primary motivators for the change:
1. Boost the DevEx RE Lens and schema versions. It seemed pretty painful
before to find transforms, yet alone figure out where that lay in the
version history, or add them to a collection.
2. Unify the Collection history/schema history with the View system, so
that they both roughly work in the same way. Reducing the cognitive and
maintenance overhead of having two different systems for the same thing
for both us and the users.

Noteworthy stuff:
1. The branching of schema is not new, it is just more visible with this
change. There is nothing we can really do to block it in a distributed
system. I do now see it as supported, excluding Lens, which still needs
a relatively minor tweak in order to handle the migration-pathing.
2. The model change in client/descriptions.go
3. The removal of stuff from the LensRegistry. This is currently kept to
a minimum, however I would very much like to completely remove
LensRegistry in the near future.
4. The CLI and the Http clients used to rely on the fact that
db.SetMigration and registry.SetMigration did the same thing. This is no
longer the case.
5. The CLI and the Http clients followed a different, flatter structure
than the Go client, flattening the lens registry into the
`lens`/`schema` pathways. This was inconsistent, and only worked when
(4) was as it was. This has been changed out of necessity and the 3
clients now have matching structures.
6. The CLI still paths everything under `schema`, and the http client
everything under `lens`, which is strange, but out of scope. I will open
a ticket to make them the same.
7. Some of the schema versions in the existing schema tests have
changed, I think there was a bug in the framework where it was not
caring about their accuracy. It now cares.
8. Users can now specify their transforms when patching a schema.
9. Out of the 4 collection getting funcs on `client.Store`, only
`GetAllCollections` has the ability to get inactive collections. I
currently very much dislike that we have 4 functions for the same thing
in the Go client, especially given that this is not reflected in the
Http and CLI clients. In another ticket I would very much like us to
collapse these four functions into one, and have that one function
support the fetching of inactive collections.
## Relevant issue(s)

Resolves #2299

## Description

This PR fixes a regression bug and adds integration tests to ensure that
future changes don't break the expected query results
## Relevant issue(s)

Part of #1709

## Description

Simplifies `addSubPlan` slightly, and adds a test documenting #1709.

No user visible behaviour should have been changed in this PR.
✅ This PR was created by combining the following PRs:
#2305 bot: Bump vite from 5.0.12 to 5.1.1 in /playground
#2304 bot: Bump go.opentelemetry.io/otel/sdk/metric from 1.22.0 to
1.23.1

⚠️ The following PRs were left out due to merge conflicts:
#2303 bot: Bump golang.org/x/crypto from 0.18.0 to 0.19.0
#2302 bot: Bump go.opentelemetry.io/otel/metric from 1.22.0 to 1.23.1
#2301 bot: Bump golang.org/x/net from 0.20.0 to 0.21.0

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.20.0 to
0.21.0.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/golang/net/commit/73d21fdbb4d7dc7115b50526b93b6c37a4e3377f"><code>73d21fd</code></a>
go.mod: update golang.org/x dependencies</li>
<li><a
href="https://github.com/golang/net/commit/643fd162e36ae58085b92ff4c0fec0bafe5a46a7"><code>643fd16</code></a>
html: fix SOLIDUS '/' handling in attribute parsing</li>
<li><a
href="https://github.com/golang/net/commit/73e4b50dadcf3bd6015efb8b6e8ddbeb7dfe74c5"><code>73e4b50</code></a>
dns/dnsmessage: allow name compression for SRV resource parsing</li>
<li><a
href="https://github.com/golang/net/commit/b2208d046df5625a4f78624149cba7722c4ccfee"><code>b2208d0</code></a>
internal/quic/qlog: fix typo</li>
<li><a
href="https://github.com/golang/net/commit/0d0b98c1378dba60d10c77c383c40f94c1641cfc"><code>0d0b98c</code></a>
http2: avoid goroutine starvation in
TestServer_Push_RejectAfterGoAway</li>
<li><a
href="https://github.com/golang/net/commit/07e05fd6e95ab445ebe48840c81a027dbace3b8e"><code>07e05fd</code></a>
http2: remove suspicious uint32-&gt;v conversion in frame code</li>
<li><a
href="https://github.com/golang/net/commit/26b646ea024741dd5d8e141fc33d8149c465686a"><code>26b646e</code></a>
quic: avoid deadlock in Endpoint.Close</li>
<li>See full diff in <a
href="https://github.com/golang/net/compare/v0.20.0...v0.21.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=golang.org/x/net&package-manager=go_modules&previous-version=0.20.0&new-version=0.21.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot bot and others added 21 commits February 19, 2024 12:12
…layground (#2331)

Bumps
[@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin)
from 6.21.0 to 7.0.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/typescript-eslint/typescript-eslint/releases"><code>@​typescript-eslint/eslint-plugin</code>'s
releases</a>.</em></p>
<blockquote>
<h2>v7.0.1</h2>
<h2>7.0.1 (2024-02-12)</h2>
<h3>🩹 Fixes</h3>
<ul>
<li><strong>eslint-plugin:</strong> update peer dep for parser (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/8441">#8441</a>)</li>
</ul>
<h3>❤️  Thank You</h3>
<ul>
<li>Tim Dorr <a
href="https://github.com/timdorr"><code>@​timdorr</code></a></li>
</ul>
<p>You can read about our <a
href="https://main--typescript-eslint.netlify.app/users/versioning">versioning
strategy</a> and <a
href="https://main--typescript-eslint.netlify.app/users/releases">releases</a>
on our website.</p>
<h2>v7.0.0</h2>
<h1>7.0.0 (2024-02-12)</h1>
<p>Read more about this release: <a
href="https://typescript-eslint.io/blog/announcing-typescript-eslint-v7/">https://typescript-eslint.io/blog/announcing-typescript-eslint-v7/</a></p>
<!-- raw HTML omitted -->
<!-- raw HTML omitted -->
<h3>🚀 Features</h3>
<ul>
<li>add support for flat configs (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/7935">#7935</a>)</li>
</ul>
<h3>🩹 Fixes</h3>
<ul>
<li><strong>eslint-plugin:</strong> [prefer-find] stop throwing type
errors when converting symbols to numbers (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/8390">#8390</a>)</li>
</ul>
<h4>⚠️  Breaking Changes</h4>
<ul>
<li>⚠️ bump ESLint, NodeJS, and TS minimum version requirements (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/8377">#8377</a>)</li>
</ul>
<h3>❤️  Thank You</h3>
<ul>
<li>Brad Zacher <a
href="https://github.com/bradzacher"><code>@​bradzacher</code></a></li>
<li>Kirk Waiblinger <a
href="https://github.com/kirkwaiblinger"><code>@​kirkwaiblinger</code></a></li>
<li>StyleShit <a
href="https://github.com/StyleShit"><code>@​StyleShit</code></a></li>
<li>YeonJuan <a
href="https://github.com/yeonjuan"><code>@​yeonjuan</code></a></li>
</ul>
<p>You can read about our <a
href="https://main--typescript-eslint.netlify.app/users/versioning">versioning
strategy</a> and <a
href="https://main--typescript-eslint.netlify.app/users/releases">releases</a>
on our website.</p>
<!-- raw HTML omitted -->
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md"><code>@​typescript-eslint/eslint-plugin</code>'s
changelog</a>.</em></p>
<blockquote>
<h2>7.0.1 (2024-02-12)</h2>
<h3>🩹 Fixes</h3>
<ul>
<li><strong>eslint-plugin:</strong> update peer dep for parser</li>
</ul>
<h3>❤️  Thank You</h3>
<ul>
<li>Tim Dorr</li>
</ul>
<p>You can read about our <a
href="https://main--typescript-eslint.netlify.app/users/versioning">versioning
strategy</a> and <a
href="https://main--typescript-eslint.netlify.app/users/releases">releases</a>
on our website.</p>
<h1>7.0.0 (2024-02-12)</h1>
<h3>🚀 Features</h3>
<ul>
<li>
<p>⚠️  bump ESLint, NodeJS, and TS minimum version requirements</p>
</li>
<li>
<p>add support for flat configs</p>
</li>
</ul>
<h3>🩹 Fixes</h3>
<ul>
<li><strong>eslint-plugin:</strong> [prefer-find] stop throwing type
errors when converting symbols to numbers</li>
</ul>
<h4>⚠️  Breaking Changes</h4>
<ul>
<li>⚠️  bump ESLint, NodeJS, and TS minimum version requirements</li>
</ul>
<h3>❤️  Thank You</h3>
<ul>
<li>Brad Zacher</li>
<li>Kirk Waiblinger</li>
<li>StyleShit</li>
<li>YeonJuan</li>
</ul>
<p>You can read about our <a
href="https://main--typescript-eslint.netlify.app/users/versioning">versioning
strategy</a> and <a
href="https://main--typescript-eslint.netlify.app/users/releases">releases</a>
on our website.</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/typescript-eslint/typescript-eslint/commit/4f3215f9751044ccd327f7e4169b0142c3cdaff7"><code>4f3215f</code></a>
chore(release): publish 7.0.1</li>
<li><a
href="https://github.com/typescript-eslint/typescript-eslint/commit/422791c0f571684aae98f23d27dd056f9d0743a4"><code>422791c</code></a>
fix(eslint-plugin): update peer dep for parser (<a
href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/8441">#8441</a>)</li>
<li><a
href="https://github.com/typescript-eslint/typescript-eslint/commit/b27de997c87ffd62785acd86269491dd41883ab9"><code>b27de99</code></a>
chore(release): publish 7.0.0</li>
<li><a
href="https://github.com/typescript-eslint/typescript-eslint/commit/379f74286347f21f9c5f87a284d86605ce05dc12"><code>379f742</code></a>
chore(eslint-plugin): [no-confusing-void-expression] explicitly state
default...</li>
<li><a
href="https://github.com/typescript-eslint/typescript-eslint/commit/b636baa1972e63f161cef3603d285eba128806d6"><code>b636baa</code></a>
docs: fix restrict-plus-operands example (<a
href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/8362">#8362</a>)</li>
<li><a
href="https://github.com/typescript-eslint/typescript-eslint/commit/1aa393c8d4f7b8855aea8676468203173520793a"><code>1aa393c</code></a>
chore(deps): update dependency prettier to v3.2.5 (<a
href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/8401">#8401</a>)</li>
<li><a
href="https://github.com/typescript-eslint/typescript-eslint/commit/8ef5f4bffcf0904a28ada92a224a378d309407a4"><code>8ef5f4b</code></a>
feat: add support for flat configs (<a
href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/7935">#7935</a>)</li>
<li><a
href="https://github.com/typescript-eslint/typescript-eslint/commit/c298350823d225e52f37f3129d46e6564c6939d8"><code>c298350</code></a>
fix(eslint-plugin): [prefer-find] stop throwing type errors when
converting s...</li>
<li><a
href="https://github.com/typescript-eslint/typescript-eslint/commit/1200b4c4929d28bf6eed58dcfa4c6f40153022eb"><code>1200b4c</code></a>
chore(deps): update nx to v17.3.0 (<a
href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/8317">#8317</a>)</li>
<li><a
href="https://github.com/typescript-eslint/typescript-eslint/commit/584db29ec44ce4e9cb71afac35d48994889168e6"><code>584db29</code></a>
feat: bump ESLint, NodeJS, and TS minimum version requirements (<a
href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/8377">#8377</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/typescript-eslint/typescript-eslint/commits/v7.0.1/packages/eslint-plugin">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@typescript-eslint/eslint-plugin&package-manager=npm_and_yarn&previous-version=6.21.0&new-version=7.0.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
## Relevant issue(s)

Resolves #2008

## Description

Reworks the GetCollection/SchemaByFoo funcs into single GetCollections
and GetSchemas funcs.
## Relevant issue(s)

Resolves #2332 

## Description

This PR adds the `latest` tag to the Github container registry release
from GoReleaser.
✅ This PR was created by combining the following PRs:
#2350 bot: Bump @types/react from 18.2.56 to 18.2.58 in /playground
#2349 bot: Bump vite from 5.1.3 to 5.1.4 in /playground
#2348 bot: Bump swagger-ui-react from 5.11.7 to 5.11.8 in /playground
#2347 bot: Bump eslint from 8.56.0 to 8.57.0 in /playground
#2346 bot: Bump @typescript-eslint/eslint-plugin from 7.0.1 to 7.0.2 in
/playground
#2345 bot: Bump github.com/ipfs/boxo from 0.17.0 to 0.18.0
#2344 bot: Bump google.golang.org/grpc from 1.61.1 to 1.62.0
#2343 bot: Bump go.opentelemetry.io/otel/sdk/metric from 1.23.1 to
1.24.0

⚠️ The following PRs were resolved manually due to merge conflicts:
#2342 bot: Bump go.opentelemetry.io/otel/metric from 1.23.1 to 1.24.0
#2341 bot: Bump go.uber.org/zap from 1.26.0 to 1.27.0

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Shahzad Lone <[email protected]>
## Relevant issue(s)

Resolves #2351

## Description

Removes lens test split in make file.

`make test` and friends will now compile the lens modules and execute
the lens related tests. Note, the rustup dependency is already noted in
CONTRIBUTING.md.
## Relevant issue(s)

Resolves #2334

## Description

Moves field id off of schema and onto collection.

It is now a local property and does not need to be the same across
multiple nodes. The new `Fields` property on `CollectionDescription`
will be where other local field stuff is move too from the schema
(relation_name, descriptions, secondary relation fields).

This change is a prerequisite of allowing fields to be deleted and
schema branching (see
#2333 for more info on
that if currious)
## Relevant issue(s)

Resolves #2333

## Description

Generates field ids using a sequence instead of their index in the
array.

This is required for allowing field deletion and schema branching as
otherwise those two will alter the position and thus id of fields. For
example, previously if two schema branches were to add a new field each,
the new fields would share the same id and mess the datastore cache up
in interesting ways.
## Relevant issue(s)

Resolves #2229

## Description

Enable reverted ordering for indexed fields. Which is mostly relevant to
composite indexes at this point.

This PR introduces a whole new package `encoding`. A significant part of
it is taken from CocroachDB which fits well to our needs. Other encoding
approaches (mostly for integers) were also consider: like fixed-length
encoding, avro's zizzag encoding, base128 varints encoding and few
others.

The encoding package can later be used for encoding of other value and 
might potentially replace CBOR.
✅ This PR was created by combining the following PRs:
#2364 bot: Bump @types/react from 18.2.58 to 18.2.61 in /playground
#2363 bot: Bump swagger-ui-react from 5.11.8 to 5.11.9 in /playground
#2362 bot: Bump @typescript-eslint/parser from 7.0.1 to 7.1.0 in
/playground
#2361 bot: Bump github.com/stretchr/testify from 1.8.4 to 1.9.0

⚠️ The following PRs were resolved manually due to merge conflicts:
#2355 bot: Bump @typescript-eslint/eslint-plugin from 7.0.2 to 7.1.0 in
/playground

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Shahzad Lone <[email protected]>
## Relevant issue(s)

Resolves #2373 

## Description

This PR fixes an issue that caused the server dump command to use the in
memory store incorrectly and fail.

## Tasks

- [x] I made sure the code is well commented, particularly
hard-to-understand areas.
- [x] I made sure the repository-held documentation is changed
accordingly.
- [x] I made sure the pull request title adheres to the conventional
commit style (the subset used in the project can be found in
[tools/configs/chglog/config.yml](tools/configs/chglog/config.yml)).
- [x] I made sure to discuss its limitations such as threats to
validity, vulnerability to mistake and misuse, robustness to
invalidation of assumptions, resource requirements, ...

## How has this been tested?

manually `defradb server-dump`

Specify the platform(s) on which this was tested:
- MacOS
## Relevant issue(s)

Resolves #2376 

## Description

This PR fixes a bug where JSON scalar types were not present in schema
introspection.

## Tasks

- [x] I made sure the code is well commented, particularly
hard-to-understand areas.
- [x] I made sure the repository-held documentation is changed
accordingly.
- [x] I made sure the pull request title adheres to the conventional
commit style (the subset used in the project can be found in
[tools/configs/chglog/config.yml](tools/configs/chglog/config.yml)).
- [x] I made sure to discuss its limitations such as threats to
validity, vulnerability to mistake and misuse, robustness to
invalidation of assumptions, resource requirements, ...

## How has this been tested?

Tested in playground.

Specify the platform(s) on which this was tested:
- MacOS
## Relevant issue(s)

Resolves #2370 

## Description

This PR adds validation to JSON fields.
## Relevant issue(s)

Resolves #2312 

## Description

This PR adds the missing directive definitions (`@crdt`, `@primary`,
`@relation`) to GraphQL
## Relevant issue(s)

Resolves #2367 

## Description

This PR adds support for case insensitive like and not-like operators.
This was requested by a partner.
## Relevant issue(s)

Resolves #2371 

## Description

This PR updates the behaviour of `getCollections` to return inactive
collections if a specific version is requested even if the
`--get-inactive` flag hasn't been set.
## Relevant issue(s)

Resolves #2382 

## Description

This PR enables the `nilness` linter and fixes a few issues caught by
it.

## Tasks

- [x] I made sure the code is well commented, particularly
hard-to-understand areas.
- [x] I made sure the repository-held documentation is changed
accordingly.
- [x] I made sure the pull request title adheres to the conventional
commit style (the subset used in the project can be found in
[tools/configs/chglog/config.yml](tools/configs/chglog/config.yml)).
- [x] I made sure to discuss its limitations such as threats to
validity, vulnerability to mistake and misuse, robustness to
invalidation of assumptions, resource requirements, ...

## How has this been tested?

`make lint`

Specify the platform(s) on which this was tested:
- MacOS
## Relevant issue(s)

Resolves #2384

## Description

Makes returned collections respect explicit transactions.
## Relevant issue(s)

Resolves #2386

## Description

Converts old update tests to newer framework.
## Relevant issue(s)

Resolves #2379

## Description

Make peers updated update local storage when an update happens on docs.
## Relevant issue(s)

Resolves #2308 
Resolves #2309

## Description

This PR re-adds startup logs showing the P2P addresses and HTTP endpoint
of the node.
@fredcarle fredcarle added the release Related to release cycle label Mar 8, 2024
@fredcarle fredcarle added this to the DefraDB v0.10 milestone Mar 8, 2024
@fredcarle fredcarle requested a review from a team March 8, 2024 19:00
@fredcarle fredcarle self-assigned this Mar 8, 2024
@source-devs
Copy link

Terraform Format and Style success

Terraform Initialization success

Terraform Validation success

Terraform Plan success

Show Plan

Terraform Plan Output:
data.aws_ami.ami: Reading...
aws_security_group.sg: Refreshing state... [id=sg-03ba6f1f9cd118f43]
data.aws_ami.ami: Read complete after 1s [id=ami-0b436d9dc6b1762be]
aws_instance.instance: Refreshing state... [id=i-087b6a34e288d739d]

No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.


Pushed By: @fredcarle
SHA: 053b3331255cb4988fa0074f9818d8b66bc4506f

Copy link
Contributor

@AndrewSisley AndrewSisley left a comment

Choose a reason for hiding this comment

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

LGTM - thanks Fred :)

Copy link

codecov bot commented Mar 8, 2024

Codecov Report

Attention: Patch coverage is 76.35960% with 639 lines in your changes are missing coverage. Please review.

Project coverage is 74.92%. Comparing base (316c8d7) to head (053b333).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2392      +/-   ##
==========================================
+ Coverage   74.42%   74.92%   +0.50%     
==========================================
  Files         256      268      +12     
  Lines       25508    26017     +509     
==========================================
+ Hits        18983    19492     +509     
+ Misses       5246     5196      -50     
- Partials     1279     1329      +50     
Flag Coverage Δ
all-tests 74.92% <76.36%> (+0.50%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
cli/backup_export.go 89.58% <100.00%> (ø)
cli/backup_import.go 100.00% <100.00%> (ø)
cli/cli.go 100.00% <100.00%> (ø)
cli/collection_create.go 53.57% <100.00%> (ø)
cli/collection_delete.go 44.44% <100.00%> (ø)
cli/collection_get.go 70.97% <100.00%> (ø)
cli/collection_update.go 42.67% <100.00%> (ø)
cli/index_create.go 87.76% <100.00%> (ø)
cli/index_drop.go 76.92% <100.00%> (ø)
cli/index_list.go 61.54% <100.00%> (ø)
... and 124 more

... and 10 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 316c8d7...053b333. Read the comment docs.

@fredcarle fredcarle merged commit 4ca1e25 into master Mar 9, 2024
33 of 34 checks passed
@fredcarle fredcarle deleted the release/0.10.0 branch March 9, 2024 00:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release Related to release cycle
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants