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
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
d07bfd1
refactor: Make CollectionDescription.Name Option (#2223)
AndrewSisley Jan 19, 2024
6d4bcc7
chore: Bump to GoLang v1.21 (#2195)
shahzadlone Jan 19, 2024
798a6f4
bot: Bump github.com/evanphx/json-patch/v5 from 5.7.0 to 5.8.1 (#2233)
dependabot[bot] Jan 19, 2024
4554bcc
bot: Bump vite from 5.0.11 to 5.0.12 in /playground (#2236)
dependabot[bot] Jan 22, 2024
86caacc
feat: Add composite indexes (#2226)
islamaliev Jan 22, 2024
97fc57e
ci(i): Fix and document release workflow logic (#2242)
shahzadlone Jan 22, 2024
958e471
feat: Generate OpenAPI command (#2235)
nasdf Jan 23, 2024
ed2285c
ci(i): Add YAML linter (#2241)
shahzadlone Jan 23, 2024
ea0046f
refactor(i): Delete dead code in `db.addSchema` func (#2246)
shahzadlone Jan 23, 2024
59b4652
bot: Update dependencies (bulk dependabot PRs) 23-01-2024 (#2252)
github-actions[bot] Jan 23, 2024
ba79b3b
feat: Add JSON scalar (#2254)
nasdf Jan 24, 2024
6f53af2
test(i): Document doc sync before schema update bug (#2256)
AndrewSisley Jan 24, 2024
4da6ed0
fix: Load root dir before loading config (#2266)
fredcarle Jan 29, 2024
7e5a444
fix(i): Revert removal of root dir check in LoadWithRootDIr (#2269)
fredcarle Jan 30, 2024
fb5c2ac
bot: Update dependencies (bulk dependabot PRs) 30-01-2024 (#2270)
github-actions[bot] Jan 30, 2024
5834f81
refactor: Decouple net config (#2258)
nasdf Jan 30, 2024
8a66721
feat: Allow setting null values on doc fields (#2273)
islamaliev Jan 30, 2024
cb08c18
refactor: Remove unused Delete field from client.Document (#2275)
islamaliev Jan 31, 2024
86b59c6
feat: Multiple docs with nil value on unique-indexed field (#2276)
islamaliev Feb 7, 2024
36315e4
feat: Replace FieldDescription.RelationType with IsPrimary (#2288)
AndrewSisley Feb 7, 2024
216db8f
refactor: HTTP config (#2278)
nasdf Feb 7, 2024
89efbc4
bot: Update dependencies (bulk dependabot PRs) 02-07-2024 (#2294)
github-actions[bot] Feb 7, 2024
ea511f0
fix: Mark docs as deleted when querying in delete mut (#2298)
AndrewSisley Feb 8, 2024
e28ea26
fix: Fix compound relational filters in aggregates (#2297)
AndrewSisley Feb 9, 2024
86610d7
refactor: Node config (#2296)
nasdf Feb 9, 2024
398ffbc
feat: Model Col. SchemaVersions and migrations on Cols (#2286)
AndrewSisley Feb 12, 2024
31297f8
fix: Add missing delta payload (#2306)
fredcarle Feb 12, 2024
c117d84
refactor(i): Simplify addSubPlan slightly (#2307)
AndrewSisley Feb 13, 2024
930f97b
bot: Update dependencies (bulk dependabot PRs) 2023-02-14 (#2313)
github-actions[bot] Feb 14, 2024
c38893d
bot: Bump golang.org/x/net from 0.20.0 to 0.21.0 (#2301)
dependabot[bot] Feb 15, 2024
765156e
bot: Bump vite from 5.1.1 to 5.1.2 in /playground (#2317)
dependabot[bot] Feb 15, 2024
aec7a61
feat: Add support for views with Lens transforms (#2311)
AndrewSisley Feb 15, 2024
ae6cebe
refactor: Make config internal to CLI (#2310)
nasdf Feb 16, 2024
87b6231
bot: Update dependencies (bulk dependabot PRs) 2024-02-19 (#2330)
github-actions[bot] Feb 19, 2024
40b32a0
bot: Bump google.golang.org/grpc from 1.61.0 to 1.61.1 (#2320)
dependabot[bot] Feb 19, 2024
cdb8ff8
bot: Bump @typescript-eslint/eslint-plugin from 6.21.0 to 7.0.1 in /p…
dependabot[bot] Feb 19, 2024
392bd96
feat: Rework GetCollection/SchemaByFoo funcs into single (#2319)
AndrewSisley Feb 20, 2024
727c883
fix: Add `latest` image tag for ghcr (#2340)
fredcarle Feb 26, 2024
b2ab1b3
bot: Update dependencies (bulk dependabot PRs) 02-27-2024 (#2353)
github-actions[bot] Feb 28, 2024
9534113
ci(i): Remove lens test split in make file (#2352)
AndrewSisley Feb 28, 2024
db75564
fix: Move field id off of schema (#2336)
AndrewSisley Feb 28, 2024
9248cbc
refactor: Generate field ids using a sequence (#2339)
AndrewSisley Feb 28, 2024
b730d3f
feat: Reverted order for indexed fields (#2335)
islamaliev Mar 1, 2024
a6e886e
bot: Update dependencies (bulk dependabot PRs) 05-02-2024 (#2372)
github-actions[bot] Mar 5, 2024
002f522
fix(i): Server dump fails (#2374)
nasdf Mar 5, 2024
eb872f5
fix(i): JSON scalar introspection (#2377)
nasdf Mar 5, 2024
a195e0f
fix: Add validation to JSON fields (#2375)
fredcarle Mar 5, 2024
3963bf4
fix: Add missing directive definitions (#2369)
fredcarle Mar 5, 2024
b45ad88
feat: Add case insensitive `like` operator (#2368)
fredcarle Mar 5, 2024
fb3ce47
fix: Update GetCollections behaviour (#2378)
fredcarle Mar 6, 2024
76d8735
tools(i): Enable nilness linter (#2383)
nasdf Mar 6, 2024
b377876
fix: Make returned collections respect explicit transactions (#2385)
AndrewSisley Mar 6, 2024
4e9f6f4
test(i): Convert old update tests to newer framework (#2387)
AndrewSisley Mar 7, 2024
b8d9803
fix: Make peers sync secondary index (#2390)
islamaliev Mar 7, 2024
56da65b
fix: Add missing logs at startup (#2391)
fredcarle Mar 8, 2024
053b333
Release v0.10.0
fredcarle Mar 8, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ updates:
labels:
- "dependencies"
commit-message:
prefix: "bot"
prefix: "bot"
2 changes: 1 addition & 1 deletion .github/workflows/build-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- name: Setup Go environment explicitly
uses: actions/setup-go@v3
with:
go-version: "1.20"
go-version: "1.21"
check-latest: true

- name: Build all dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-then-deploy-ami.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ jobs:
- name: Terraform validation
run: terraform validate -no-color

- name: List workspaces
- name: List workspaces
run: ls workspaces

- name: Terraform Apply
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-vulnerabilities.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Run govulncheck
uses: golang/govulncheck-action@v1
with:
go-version-input: "1.20"
go-version-input: "1.21"
go-package: ./...
check-latest: true
cache: true
35 changes: 19 additions & 16 deletions .github/workflows/combine-bot-prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ on:
default: 'dependabot'

mustBeGreen:
description: 'Only combine PRs that are green (status is success). Set to false if repo does not run checks'
description: 'Only combine PRs that are green (status is success). Keep false if repo does not run checks'
type: boolean
required: true
default: true
default: false

combineBranchName:
description: 'Name of the branch to combine PRs into'
Expand All @@ -35,7 +35,7 @@ on:
ignoreLabel:
description: 'Exclude PRs with this label'
required: true
default: 'nocombine'
default: 'DO NOT MERGE'

jobs:
combine-bot-prs:
Expand All @@ -44,12 +44,12 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/github-script@v6
- name: Set current date as env variable
run: echo "CURRENT_DATE=$(date +'%d-%m-%Y')" >> ${GITHUB_ENV}

- name: Create combined pr
id: create-combined-pr

name: Create combined pr

uses: actions/github-script@v6
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
Expand All @@ -66,7 +66,7 @@ jobs:
if (branch.startsWith('${{ github.event.inputs.branchPrefix }}')) {
console.log('Branch matched prefix: ' + branch);
let statusOK = true;
if(${{ github.event.inputs.mustBeGreen }}) {
if (${{ github.event.inputs.mustBeGreen }}) {
console.log('Checking green status: ' + branch);
const stateQuery = `query($owner: String!, $repo: String!, $pull_number: Int!) {
repository(owner: $owner, name: $repo) {
Expand All @@ -92,25 +92,28 @@ jobs:
const [{ commit }] = result.repository.pullRequest.commits.nodes;
const state = commit.statusCheckRollup.state
console.log('Validating status: ' + state);
if(state != 'SUCCESS') {
if (state != 'SUCCESS') {
console.log('Discarding ' + branch + ' with status ' + state);
statusOK = false;
}
}
console.log('Checking labels: ' + branch);
const labels = pull['labels'];
for(const label of labels) {
for (const label of labels) {
const labelName = label['name'];
console.log('Checking label: ' + labelName);
if(labelName == '${{ github.event.inputs.ignoreLabel }}') {
if (labelName == '${{ github.event.inputs.ignoreLabel }}') {
console.log('Discarding ' + branch + ' with label ' + labelName);
statusOK = false;
}
}
if (statusOK) {
console.log('Adding branch to array: ' + branch);
const prString = '#' + pull['number'] + ' ' + pull['title'];
branchesAndPRStrings.push({ branch, prString });
branchesAndPRStrings.push({
branch,
prString
});
baseBranch = pull['base']['ref'];
baseBranchSHA = pull['base']['sha'];
}
Expand All @@ -135,7 +138,7 @@ jobs:

let combinedPRs = [];
let mergeFailedPRs = [];
for(const { branch, prString } of branchesAndPRStrings) {
for (const { branch, prString } of branchesAndPRStrings) {
try {
await github.rest.repos.merge({
owner: context.repo.owner,
Expand All @@ -153,15 +156,15 @@ jobs:

console.log('Creating combined PR');
const combinedPRsString = combinedPRs.join('\n');
let body = '✅ This PR was created by the Combine PRs action by combining the following PRs:\n' + combinedPRsString;
if(mergeFailedPRs.length > 0) {
let body = '✅ This PR was created by combining the following PRs:\n' + combinedPRsString;
if (mergeFailedPRs.length > 0) {
const mergeFailedPRsString = mergeFailedPRs.join('\n');
body += '\n\n⚠️ The following PRs were left out due to merge conflicts:\n' + mergeFailedPRsString
}
await github.rest.pulls.create({
owner: context.repo.owner,
repo: context.repo.repo,
title: 'bot: Combined PRs',
title: 'bot: Update dependencies (bulk dependabot PRs) ${CURRENT_DATE}',
head: '${{ github.event.inputs.combineBranchName }}',
base: baseBranch,
body: body
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/lint-then-benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
- name: Setup Go environment explicitly
uses: actions/setup-go@v3
with:
go-version: "1.20"
go-version: "1.21"
check-latest: true

- name: Run the golangci-lint
Expand Down Expand Up @@ -270,7 +270,8 @@ jobs:
github.event_name == 'pull_request' &&
github.base_ref == 'develop'
run: >
${GOPATH}/bin/benchstat -html -alpha 1.1 develop.txt current.txt | sed -n "/<body>/,/<\/body>/p" > comparison.html &&
${GOPATH}/bin/benchstat -html -alpha 1.1 develop.txt current.txt |
sed -n "/<body>/,/<\/body>/p" > comparison.html &&
./tools/scripts/pretty-benchstat-html.sh comparison.html > pretty-comparison.md

- name: Comment Benchmark Results on PR
Expand Down
24 changes: 19 additions & 5 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ permissions:
contents: read

jobs:
lint:
name: Lint job
lint-go:
name: Lint GoLang job

runs-on: ubuntu-latest

Expand All @@ -36,12 +36,11 @@ jobs:
- name: Setup Go environment explicitly
uses: actions/setup-go@v3
with:
go-version: "1.20"
go-version: "1.21"
check-latest: true

- name: Check linting through golangci-lint
- name: Run golangci-lint linter
uses: golangci/golangci-lint-action@v3

with:
# Required: the version of golangci-lint is required.
# Note: The version should not pick the patch version as the latest patch
Expand All @@ -68,3 +67,18 @@ jobs:
# anyways so there shouldn't be any linter errors anyways. The enforces us to
# always have a clean lint state.
only-new-issues: false

lint-yaml:
name: Lint YAML job

runs-on: ubuntu-latest

steps:
- name: Checkout code into the directory
uses: actions/checkout@v3

- name: Run yamllint linter
uses: ibiqlik/action-yamllint@v3
with:
config_file: tools/configs/yamllint.yaml
file_or_dir: .
2 changes: 1 addition & 1 deletion .github/workflows/preview-ami-with-terraform-plan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,5 +131,5 @@ jobs:
if: steps.terraform-plan.outcome == 'failure'
run: exit 1

- name: List workspaces
- name: List workspaces
run: ls workspaces
Loading
Loading