Skip to content

Commit

Permalink
Merge branch 'main' into nithin/eng-5878-fix-federated-graph-schema-v…
Browse files Browse the repository at this point in the history
…ersion-relation
  • Loading branch information
thisisnithin authored Nov 19, 2024
2 parents 87e8326 + 4e6bf7a commit 8beaec0
Show file tree
Hide file tree
Showing 118 changed files with 8,508 additions and 5,950 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/aws-lambda-router-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ jobs:
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: actions/cache@v4
with:
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/cdn-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: ./.github/actions/node

Expand All @@ -41,8 +39,6 @@ jobs:
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: ./.github/actions/build-push-image
with:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/cli-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: ./.github/actions/node

Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/composition-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: ./.github/actions/node

Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/controlplane-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: ./.github/actions/node

Expand Down Expand Up @@ -83,8 +81,6 @@ jobs:
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: ./.github/actions/build-push-image
with:
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/graphqlmetrics-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ jobs:
CLICKHOUSE_DEFAULT_ACCESS_MANAGEMENT: 1
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: actions/cache@v4
with:
Expand Down Expand Up @@ -83,8 +81,6 @@ jobs:
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: ./.github/actions/build-push-image
with:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/helm-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ jobs:
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: actions/cache@v4
with:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/keycloak-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ jobs:
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: ./.github/actions/build-push-image
with:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/otelcollector-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ jobs:
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: ./.github/actions/build-push-image
with:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/playground-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ jobs:
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: ./.github/actions/node

Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/router-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ jobs:
- 6379:6379
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: actions/cache@v4
with:
Expand Down Expand Up @@ -117,8 +115,6 @@ jobs:
- 6379:6379
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Log in to Docker Container registry (With write access)
uses: docker/login-action@v3
Expand Down Expand Up @@ -185,8 +181,6 @@ jobs:
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: ./.github/actions/build-push-image
with:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/shared-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ jobs:
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: ./.github/actions/node

Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/studio-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ jobs:
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: ./.github/actions/node

Expand Down Expand Up @@ -59,8 +57,6 @@ jobs:
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: ./.github/actions/build-push-image
with:
Expand Down
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,8 @@ lerna-debug.log
/demo/cmd/subscriptiontest/subscriptiontest
.github/scripts/keycloak-22.0.4/**
.github/scripts/keycloak-22.0.4.zip
/router-tests/cmd/config-validator/router-configs/**
/router-tests/cmd/config-validator/router-configs/**

# Go workspace files
go.work
go.work.sum
20 changes: 20 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,26 @@ make

Ready! You can now start contributing to the WunderGraph Cosmo repository. Feel free to open an issue or pull request to add a new feature or fix a bug.

## Go workspace

According to best practices, we don't commit the `go.work` or `go.sum` files. Those files are personal to each developer. As a result, we use the `go.mod` file to manage the dependencies and overwrites. You can still create `go.work` file in the root of the repository if you are feeling more comfortable with it or to improve tooling support.

### Example

```
go 1.21.5
toolchain go1.22.0
use (
./demo
./router
./router-tests
)
// Here you can add custom replacements
```

## Conventional Commit Standard

We use [conventionalcommits](https://www.conventionalcommits.org/en/v1.0.0-beta.2/#why-use-conventional-commits) for changelog generation and more structured commit messages.
Expand Down
2 changes: 0 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -150,11 +150,9 @@ run-subgraphs-local:
sync-go-workspace:
cd router && go mod tidy
cd demo && make bump-deps
cd aws-lambda-router && make bump-deps
cd composition-go && go mod tidy
cd graphqlmetrics && go mod tidy
cd router-tests && make bump-deps
go work sync

# Validates if any breaking changes has been introduced.
# Compares the head of the branch with your local changes
Expand Down
22 changes: 22 additions & 0 deletions aws-lambda-router/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,28 @@ Binaries are attached to the github release otherwise all images can be found [h
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.37.6](https://github.com/wundergraph/cosmo/compare/[email protected]@0.37.6) (2024-11-16)

### Bug Fixes

* **tests:** deadlock on unsubscribe when epoll disabled ([#1380](https://github.com/wundergraph/cosmo/issues/1380)) ([337a60f](https://github.com/wundergraph/cosmo/commit/337a60f15577b373ca67a83497304d53fe19f55d)) (@StarpTech)

## [0.37.5](https://github.com/wundergraph/cosmo/compare/[email protected]@0.37.5) (2024-11-14)

### Bug Fixes

* fix merging of response nodes of enum type ([#1373](https://github.com/wundergraph/cosmo/issues/1373)) ([f3927e3](https://github.com/wundergraph/cosmo/commit/f3927e3cfc382bff9beff0a7868b444db213b9d6)) (@devsergiy)

## [0.37.4](https://github.com/wundergraph/cosmo/compare/[email protected]@0.37.4) (2024-11-12)

### Bug Fixes

* variables normalization for the anonymous operations ([#1365](https://github.com/wundergraph/cosmo/issues/1365)) ([0b8ff06](https://github.com/wundergraph/cosmo/commit/0b8ff06592954bef2329fa69a660c60e55e4eb3d)) (@devsergiy)

## [0.37.3](https://github.com/wundergraph/cosmo/compare/[email protected]@0.37.3) (2024-11-12)

**Note:** Version bump only for package aws-lambda-router

## [0.37.2](https://github.com/wundergraph/cosmo/compare/[email protected]@0.37.2) (2024-11-08)

### Bug Fixes
Expand Down
2 changes: 0 additions & 2 deletions aws-lambda-router/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
bump-router:
go get github.com/wundergraph/cosmo/router@upgrade
go mod tidy
cd .. && go work sync

VERSION?=dev
# RFC3339 format
Expand Down Expand Up @@ -40,4 +39,3 @@ create-lambda-zip: build fetch-router-config
bump-deps:
go get github.com/wundergraph/cosmo/router@upgrade
go mod tidy
cd .. && go work sync
12 changes: 7 additions & 5 deletions aws-lambda-router/go.mod
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
module github.com/wundergraph/cosmo/aws-lambda-router

go 1.21.5

toolchain go1.22.0

require (
github.com/akrylysov/algnhsa v1.1.0
github.com/aws/aws-lambda-go v1.43.0
github.com/stretchr/testify v1.9.0
github.com/wundergraph/cosmo/router v0.0.0-20241108151630-db3184e032a7
github.com/wundergraph/cosmo/router v0.0.0-20241115174502-7156536a93bf
go.uber.org/zap v1.27.0
)

Expand Down Expand Up @@ -90,7 +94,7 @@ require (
github.com/twmb/franz-go v1.16.1 // indirect
github.com/twmb/franz-go/pkg/kmsg v1.7.0 // indirect
github.com/wundergraph/astjson v0.0.0-20241108124845-44485579ffa5 // indirect
github.com/wundergraph/graphql-go-tools/v2 v2.0.0-rc.121 // indirect
github.com/wundergraph/graphql-go-tools/v2 v2.0.0-rc.123 // indirect
github.com/yusufpapurcu/wmi v1.2.4 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.46.1 // indirect
go.opentelemetry.io/contrib/propagators/b3 v1.23.0 // indirect
Expand Down Expand Up @@ -124,6 +128,4 @@ require (
gopkg.in/yaml.v3 v3.0.1 // indirect
)

go 1.21.5

toolchain go1.22.0
// replace github.com/wundergraph/cosmo/router => ../router
8 changes: 4 additions & 4 deletions aws-lambda-router/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -250,10 +250,10 @@ github.com/vektah/gqlparser/v2 v2.5.16 h1:1gcmLTvs3JLKXckwCwlUagVn/IlV2bwqle0vJ0
github.com/vektah/gqlparser/v2 v2.5.16/go.mod h1:1lz1OeCqgQbQepsGxPVywrjdBHW2T08PUS3pJqepRww=
github.com/wundergraph/astjson v0.0.0-20241108124845-44485579ffa5 h1:rc+IQxG3rrAXEjBywirkzhKkyCKvXLGQXABVD8GiUtU=
github.com/wundergraph/astjson v0.0.0-20241108124845-44485579ffa5/go.mod h1:eOTL6acwctsN4F3b7YE+eE2t8zcJ/doLm9sZzsxxxrE=
github.com/wundergraph/cosmo/router v0.0.0-20241108151630-db3184e032a7 h1:UcdtoevbUSn79W0g/XarFn7E65owhzT7IWKA58iPnbk=
github.com/wundergraph/cosmo/router v0.0.0-20241108151630-db3184e032a7/go.mod h1:xSraMjn2YsV+yGHKmzBu7g5Z1UV96OFAhCm+9S7T1iA=
github.com/wundergraph/graphql-go-tools/v2 v2.0.0-rc.121 h1:VsrSvBsOcQNiTwESJg55tecBzHfZPUdII/zDstHyBuc=
github.com/wundergraph/graphql-go-tools/v2 v2.0.0-rc.121/go.mod h1:s4r/lhVEU5s0c6tCgpR0hK6FHEmX0cbrKcMU1pMc/ZI=
github.com/wundergraph/cosmo/router v0.0.0-20241115174502-7156536a93bf h1:HOiFhmZkl4RORU6E7JJi+MTEDt6KhP0qhSQouzgNMYQ=
github.com/wundergraph/cosmo/router v0.0.0-20241115174502-7156536a93bf/go.mod h1:MR8hksFCSekDg/5OPKb7HIXvboAc8xZX0DusUFOqpds=
github.com/wundergraph/graphql-go-tools/v2 v2.0.0-rc.123 h1:JI7axu4G8p52i866OZfXYTLrA2tAE3fjUk3XiBBe6Y8=
github.com/wundergraph/graphql-go-tools/v2 v2.0.0-rc.123/go.mod h1:s4r/lhVEU5s0c6tCgpR0hK6FHEmX0cbrKcMU1pMc/ZI=
github.com/yusufpapurcu/wmi v1.2.4 h1:zFUKzehAFReQwLys1b/iSMl+JQGSCSjtVqQn9bBrPo0=
github.com/yusufpapurcu/wmi v1.2.4/go.mod h1:SBZ9tNy3G9/m5Oi98Zks0QjeHVDvuK0qfxQmPyzfmi0=
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.46.1 h1:aFJWCqJMNjENlcleuuOkGAPH82y0yULBScfXcIEdS24=
Expand Down
2 changes: 1 addition & 1 deletion aws-lambda-router/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aws-lambda-router",
"version": "0.37.2",
"version": "0.37.6",
"private": true,
"description": "Placeholder package to simplify versioning and releasing with lerna.",
"keywords": [
Expand Down
18 changes: 18 additions & 0 deletions cli/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,24 @@ Binaries are attached to the github release otherwise all images can be found [h
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.70.3](https://github.com/wundergraph/cosmo/compare/[email protected]@0.70.3) (2024-11-18)

**Note:** Version bump only for package wgc

## [0.70.2](https://github.com/wundergraph/cosmo/compare/[email protected]@0.70.2) (2024-11-14)

**Note:** Version bump only for package wgc

## [0.70.1](https://github.com/wundergraph/cosmo/compare/[email protected]@0.70.1) (2024-11-13)

**Note:** Version bump only for package wgc

# [0.70.0](https://github.com/wundergraph/cosmo/compare/[email protected]@0.70.0) (2024-11-12)

### Features

* display warning in wgc router compose command ([#1360](https://github.com/wundergraph/cosmo/issues/1360)) ([5abe634](https://github.com/wundergraph/cosmo/commit/5abe6340906cfd40cc9f5756410a5584695afb6c)) (@JivusAyrus)

## [0.69.2](https://github.com/wundergraph/cosmo/compare/[email protected]@0.69.2) (2024-11-07)

**Note:** Version bump only for package wgc
Expand Down
2 changes: 1 addition & 1 deletion cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wgc",
"version": "0.69.2",
"version": "0.70.3",
"description": "The official CLI tool to manage the GraphQL Federation Platform Cosmo",
"type": "module",
"main": "dist/index.js",
Expand Down
Loading

0 comments on commit 8beaec0

Please sign in to comment.