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: v1.31.0 #3861

Merged
merged 57 commits into from
Sep 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
d0e9391
Update tokio-tungstenite (#3643)
Geal Sep 11, 2023
cd3e429
Update Changelog for #3586 (#3804)
abernix Sep 12, 2023
38be5e2
Helm: If there are extraLabels add them to all resources (#3622)
garypen Sep 12, 2023
826b840
test(subscription): add integration test for subscription (#3752)
bnjjj Sep 12, 2023
7e074d6
fix(deps): update rust crate clap to 4.4.3
renovate[bot] Sep 12, 2023
cc98b64
Add Support for AWS X-Ray Tracing Propagator (#3580)
scottmace Sep 13, 2023
6648315
Coprocessors: Discard content-length sent by coprocessors. (#3802)
o0Ignition0o Sep 13, 2023
36cd258
Rhai documentation: remove incorrect statement about request.subgraph…
garypen Sep 13, 2023
e496f74
do not run test_subscription if graph ref and apollo key is not set f…
bnjjj Sep 13, 2023
43ddab8
chore: Fix formatting in `pull_request_template.md` (#3814)
abernix Sep 13, 2023
9ae60c1
chore(xtask): fix changeset create with the new pr template (#3818)
bnjjj Sep 13, 2023
8a2774b
Additional benign positive allowlisting (#3816)
peakematt Sep 13, 2023
ffa1d12
fix(deps): update rust crate serde_json to 1.0.107
renovate[bot] Sep 14, 2023
cf19df6
Supergraph coprocessor implementation (#3647)
Geal Sep 14, 2023
cfc5e88
Fix error response on large numbers in query transformations (#3820)
goto-bus-stop Sep 14, 2023
9b618d0
fix the diy build_docker_image.sh script (#3824)
garypen Sep 14, 2023
ba0f8f8
Reconcile `dev` after merge to `main` for v1.30.0 (#3830)
abernix Sep 14, 2023
641bfac
fix(telemetry): do not display otel bug if the trace is sampled (#3832)
bnjjj Sep 15, 2023
0bf4440
Check if docker images and helm charts exist before creating them (#3…
garypen Sep 15, 2023
f831f68
feat(telemetry): add metrics for query plan warmup and schema loading…
bnjjj Sep 15, 2023
64ffae6
feat(redis): add configuration to set the timeout (#3817)
bnjjj Sep 18, 2023
8d9cedf
Activate query planner cache warm up by default (#3801)
Geal Sep 18, 2023
871e13e
randomize the query planner cache warm up (#3800)
Geal Sep 18, 2023
1bc8f9b
fix(deps): update rust crate clap to 4.4.4
renovate[bot] Sep 18, 2023
82b1688
fix(deps): update dependency graphql to v16.8.1
renovate[bot] Sep 19, 2023
f16523c
warm up the query plan cache with persisted queries (#3829)
Geal Sep 19, 2023
8a208c9
fix(deps): update apollo-rs crates (patch) (#3850)
renovate[bot] Sep 19, 2023
4d11a6e
chore(deps): update rust crate fred to 6.3.2
renovate[bot] Sep 19, 2023
0996d4f
prep release: v1.31.0-alpha.0
abernix Sep 20, 2023
3fcb78d
TLS client authentication (#3794)
Geal Sep 20, 2023
3af25ef
reintroduce rhai json functions (#3785)
Geal Sep 20, 2023
a1462cd
Disable helm check for missing kubernetes versions until supported by…
garypen Sep 21, 2023
99d2c35
chore(deps): update rust crate insta to 1.32.0
renovate[bot] Sep 21, 2023
9efaacf
Introduce OneShotAsyncCheckpoint (#3819)
garypen Sep 21, 2023
765cf39
document the query plan cache warm up (#3815)
Geal Sep 22, 2023
dfed650
Don't panic in OneShotAsyncCheckpoint. (#3878)
o0Ignition0o Sep 22, 2023
aa85b15
preverify release version (#3859)
BrynCooke Sep 22, 2023
806de81
Merge remote-tracking branch 'main' into dev
abernix Sep 22, 2023
3f46814
fewer header manipulations and allocations (#3844)
Geal Sep 22, 2023
0ef2f36
select_object optimizations (#3810)
Geal Sep 22, 2023
70cb943
persisted queries: improve Uplink failover and error handling (#3863)
glasser Sep 22, 2023
899d4a9
Merge remote-tracking branch 'dev' into 1.31.0
abernix Sep 22, 2023
71efdcb
Merge remote-tracking branch 'dev' into 1.31.0
abernix Sep 22, 2023
0341425
prep release: v1.31.0-alpha.1
abernix Sep 22, 2023
8464e85
Lint Fix
abernix Sep 25, 2023
948706e
chore(deps): update rust crate rhai to 1.16.2
renovate[bot] Sep 25, 2023
20b727b
chore(ci): Gate release on pre_verify_release step (#3888)
abernix Sep 25, 2023
c3380ee
Merge branch 'dev' into 1.31.0
abernix Sep 25, 2023
0ff8c45
prep release: v1.31.0-alpha.2
abernix Sep 25, 2023
7d45877
HTTP/2 Cleartext protocol (h2c) support for subgraph connections (#3852)
Geal Sep 25, 2023
18db388
Fix validation error with ID variable values overflowing i32 (#3896)
SimonSapin Sep 25, 2023
b8e49b6
Merge branch 'dev' into 1.31.0
abernix Sep 25, 2023
76fb4f0
prep release: v1.31.0-alpha.3
abernix Sep 25, 2023
951789f
remove broken migration (#3906)
Geal Sep 26, 2023
29066a5
prep release: v1.31.0-alpha.4
abernix Sep 26, 2023
c602a04
chore(changelog): 1.31.0 release changelog (#3910)
lrlna Sep 27, 2023
f577d83
prep release: v1.31.0
lrlna Sep 27, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,9 @@ commands:
key: "<< pipeline.parameters.merge_version >>-lint"
paths:
- target
xtask_release_preverify:
steps:
- run: xtask release pre-verify

xtask_check_helm:
steps:
Expand All @@ -399,6 +402,10 @@ commands:
# Use helm to template our chart against all kube versions
TEMPLATE_DIR=$(mktemp -d)
for kube_version in ${CURRENT_KUBE_VERSIONS}; do
# Skip 1.25.14, 1.26.9, 1.27.6 and 1.28.2 until supported by kubeconform
if [[ "${kube_version}" == "1.25.14" ]] || [[ "${kube_version}" == "1.26.9" ]] || [[ "${kube_version}" == "1.27.6" ]] || [[ "${kube_version}" == "1.28.2" ]]; then
continue
fi
# Use helm to template our chart against kube_version
helm template --kube-version "${kube_version}" router helm/chart/router --set autoscaling.enabled=true > "${TEMPLATE_DIR}/router-${kube_version}.yaml"

Expand Down Expand Up @@ -525,6 +532,18 @@ jobs:
cargo fetch
- xtask_test:
variant: "updated"
pre_verify_release:
environment:
<<: *common_job_environment
parameters:
platform:
type: executor
executor: << parameters.platform >>
steps:
- checkout
- setup_environment:
platform: << parameters.platform >>
- xtask_release_preverify

build_release:
parameters:
Expand Down Expand Up @@ -761,6 +780,10 @@ jobs:
docker buildx inspect --bootstrap
# Note: GH Token owned by apollo-bot2, no expire
echo ${GITHUB_OCI_TOKEN} | docker login ghcr.io -u apollo-bot2 --password-stdin
# To prevent overwrite, check to see if our images already exists
# If the manifest command succeeds, the images already exist
docker manifest inspect ${ROUTER_TAG}:${VERSION} > /dev/null && exit 1
docker manifest inspect ${ROUTER_TAG}:${VERSION}-debug > /dev/null && exit 1
# Build and push debug image
docker buildx build --platform linux/amd64,linux/arm64 --push --build-arg DEBUG_IMAGE="true" --build-arg ROUTER_RELEASE=${VERSION} -f dockerfiles/Dockerfile.router -t ${ROUTER_TAG}:${VERSION}-debug .
# Build and push release image
Expand All @@ -776,6 +799,10 @@ jobs:
CHART=$(ls -t router*.tgz| head -1)
# Note: GH Token owned by apollo-bot2, no expire
echo ${GITHUB_OCI_TOKEN} | helm registry login -u apollo-bot2 --password-stdin ghcr.io
# To prevent overwrite, check to see if our chart already exists
# If the show all command succeeds, the chart already exists
VERSION=$(basename ${CHART} .tgz)
helm show all oci://ghcr.io/apollographql/helm-charts/router --version ${VERSION} > /dev/null && exit 1
# Push chart to repository
helm push ${CHART} oci://ghcr.io/apollographql/helm-charts

Expand Down Expand Up @@ -831,7 +858,17 @@ workflows:
when:
not: << pipeline.parameters.nightly >>
jobs:
- pre_verify_release:
matrix:
parameters:
platform: [ amd_linux_build ]
filters:
branches:
ignore: /.*/
tags:
only: /v.*/
- build_release:
requires: [ pre_verify_release ]
matrix:
parameters:
platform:
Expand Down
13 changes: 6 additions & 7 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
*Description here*

Fixes #issue_number
Fixes #**issue_number**

<!-- start metadata -->
---

**Checklist**

Complete the checklist (and note appropriate exceptions) before a final PR is raised.
Complete the checklist (and note appropriate exceptions) before the PR is marked ready-for-review.

- [ ] Changes are compatible[^1]
- [ ] Documentation[^2] completed
Expand All @@ -22,8 +23,6 @@ Complete the checklist (and note appropriate exceptions) before a final PR is ra

**Notes**

[^1]. It may be appropriate to bring upcoming changes to the attention of other (impacted) groups. Please endeavour to do this before seeking PR approval. The mechanism for doing this will vary considerably, so use your judgement as to how and when to do this.
[^2]. Configuration is an important part of many changes. Where applicable please try to document configuration examples.
[^3]. Tick whichever testing boxes are applicable. If you are adding Manual Tests:
- please document the manual testing (extensively) in the Exceptions.
- please raise a separate issue to automate the test and label it (or ask for it to be labeled) as `manual test`
[^1]: It may be appropriate to bring upcoming changes to the attention of other (impacted) groups. Please endeavour to do this before seeking PR approval. The mechanism for doing this will vary considerably, so use your judgement as to how and when to do this.
[^2]: Configuration is an important part of many changes. Where applicable please try to document configuration examples.
[^3]: Tick whichever testing boxes are applicable. If you are adding Manual Tests, please document the manual testing (extensively) in the Exceptions.
14 changes: 11 additions & 3 deletions .gitleaks.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,25 @@
[ rules.allowlist ]
commits = [
"7fdb0a5a0831d309524e98503760c16bd3de160c",
# Example private key for test cases
# Example private keys for test cases
"9d6464b96eed3a20c48d5ec653bf9986757c89e5",

"74ebb0269933c703efd9143c029f69e30330478b",
]

[[ rules ]]
id = "jwt"
[ rules.allowlist ]
commits = [
# Example jwt
# Example jwts
"f12bcddc663aa4c4d90218a1bb718fe74e0e7be3",
"6ff43869e0cf8ab0de8dd0e898f80c08ad135552",
"b11412918d58db34693488b29495e148dbb27cc2",
"a4ceefc8d51879330f10861438401a3a3deb316e",
"d19de3cbca36981676ff03c7f3cab113609772b1",
"3ee3d4bda9efcf4f175fdcfd59abc16cb9a4657e",
"76aaa5ec21d4fbde65676c6cf0dc265dd6daee99",
"d2b85acee5cf94120b47093f87ae80a7365d7b28",
"f107c2a42292d0c8068395f5cb8f491377559a42",
]

[[ rules ]]
Expand Down
Loading