Skip to content

Commit

Permalink
fix: playground not available in aws-lambda-router (#9)
Browse files Browse the repository at this point in the history
* feat: expose type data and record subgraphs for enums (wundergraph#1495)

* chore(release): Publish [skip ci]

 - [email protected]
 - [email protected]
 - @wundergraph/[email protected]
 - [email protected]
 - @wundergraph/[email protected]
 - [email protected]

* feat: improve rate limit responses (add code, hide stats) (wundergraph#1497)

* chore(release): Publish [skip ci]

 - [email protected]

* fix: provider should be specified in the config.yaml (wundergraph#1397)

* fix: update the timeouts for clickhouse and platform service (wundergraph#1500)

* chore(release): Publish [skip ci]

 - [email protected]
 - [email protected]
 - [email protected]

* fix: add edfs to the demo environment (wundergraph#1505)

* docs(CONTRIBUTING): fixup minor mistake in CONTRIBUTING.md under Go workspace (wundergraph#1502)

Co-authored-by: Dustin Deus <[email protected]>

* fix: full demo broken in main branch (wundergraph#1508)

* feat(router): optionally add jitter to config polling interval (wundergraph#1506)

Co-authored-by: Dustin Deus <[email protected]>

* chore(release): Publish [skip ci]

 - [email protected]

* fix(router): remove wildcard from router graphql path (wundergraph#1509)

* fix: use gauge for server.uptime metric (wundergraph#1510)

Co-authored-by: Ludwig <[email protected]>

* feat: cache warmer (wundergraph#1501)

Co-authored-by: Ludwig <[email protected]>
Co-authored-by: starptech <[email protected]>

* chore(release): Publish [skip ci]

 - [email protected]
 - @wundergraph/[email protected]
 - [email protected]
 - @wundergraph/[email protected]
 - [email protected]
 - [email protected]
 - [email protected]
 - @wundergraph/[email protected]
 - [email protected]

* fix(cache warmup): consider only po of the last 7 days (wundergraph#1513)

* chore(release): Publish [skip ci]

 - [email protected]

* fix(cache operation): swallow cache errors and other improvements (wundergraph#1515)

* chore(release): Publish [skip ci]

 - [email protected]
 - [email protected]
 - [email protected]
 - [email protected]

* feat: add variables remapping support (wundergraph#1516)

Co-authored-by: starptech <[email protected]>

* chore(release): Publish [skip ci]

 - [email protected]

* fix(router): write proper line endings and header for multipart (wundergraph#1517)

* chore(release): Publish [skip ci]

 - [email protected]

* feat(router): optimize playground delivery, add concurrency_limit to config (wundergraph#1519)

* fix(router): enable health checks during startup (wundergraph#1529)

* feat: improve cache warmer (wundergraph#1530)

Co-authored-by: Ludwig <[email protected]>

* chore(release): Publish [skip ci]

 - [email protected]
 - [email protected]
 - [email protected]

* fix: remove semaphore from ResolveGraphQLSubscription (wundergraph#1532)

* chore(release): Publish [skip ci]

 - [email protected]

* feat: add compatibility handshake between router and execution config (wundergraph#1534)

* chore(release): Publish [skip ci]

 - [email protected]
 - @wundergraph/[email protected]
 - @wundergraph/[email protected]
 - [email protected]
 - [email protected]
 - @wundergraph/[email protected]
 - [email protected]

* feat: also add handshake for static execution configs (wundergraph#1535)

* chore(router): bump demo library to pickup subscription fix (wundergraph#1518)

* feat(router): add interface for trace propagation (wundergraph#1526)

* chore(release): Publish [skip ci]

 - [email protected]

* fix: adding/removing directive is not picked up by wgc subgraph check (wundergraph#1494)

* chore(deps): upgrade ristretto to v2 (wundergraph#1538)

* feat: add normalizedQuery to query plan and request info to trace (wundergraph#1536)

Co-authored-by: df-wg <[email protected]>

* fix: add copy button to subgraph routing url (wundergraph#1543)

Co-authored-by: Dustin Deus <[email protected]>

* fix: webhooks shot when schema is unchanged (wundergraph#1542)

* fix: trim the inputs of group mappers (wundergraph#1541)

* fix: subgraphs search functionality (wundergraph#1540)

* chore(release): Publish [skip ci]

 - [email protected]
 - [email protected]
 - [email protected]
 - [email protected]

* fix: increase max concurrent resolvers (wundergraph#1544)

* refactor(router): redesign JWK authentication logic (wundergraph#1498)

* chore(release): Publish [skip ci]

 - [email protected]

* fix: increase the test timeout value to prevent failures on slower machines (wundergraph#1547)

* fix: reduce the breaking change retention duration (wundergraph#1550)

* fix: change the defaults of breaking-change-retention (wundergraph#1551)

* feat(router): enable starting the router without subgraphs (wundergraph#1533)

* fix(router): parse accept header per rfc 9110 (wundergraph#1549)

* chore(release): Publish [skip ci]

 - [email protected]
 - [email protected]
 - [email protected]

* feat(router): enable using redis clusters for rate limiting and apq (wundergraph#1499)

* fix: json schema for traffic shaping subgraphs (wundergraph#1552)

* fix: subgraph timeout can't be bigger than global timeout (wundergraph#1548)

* fix: error when graph token is not set when cache warmup is enabled (wundergraph#1554)

* chore(release): Publish [skip ci]

 - [email protected]

* fix: incorrect graphql endpoint in playground (wundergraph#1562)

* chore(release): Publish [skip ci]

 - @wundergraph/[email protected]
 - [email protected]

* fix: update vulnerable packages (wundergraph#1560)

* fix: synchronize go mod versions (wundergraph#1564)

* chore: reduce verbose logging for failed tests (wundergraph#1565)

* fix: Add missing config mapping, bump aws-lambda-router version

* fix: Repair PNPM lockfile after merge

---------

Co-authored-by: Nithin Kumar B <[email protected]>
Co-authored-by: hardworker-bot <[email protected]>
Co-authored-by: Jens Neuse <[email protected]>
Co-authored-by: Alessandro Pagnin <[email protected]>
Co-authored-by: Suvij Surya <[email protected]>
Co-authored-by: endigma <[email protected]>
Co-authored-by: Dustin Deus <[email protected]>
Co-authored-by: Ludwig <[email protected]>
Co-authored-by: Sergiy 🇺🇦 <[email protected]>
Co-authored-by: df-wg <[email protected]>
Co-authored-by: Aenimus <[email protected]>
  • Loading branch information
12 people authored Feb 4, 2025
1 parent 5ab91a9 commit 94112f6
Show file tree
Hide file tree
Showing 33 changed files with 756 additions and 3,237 deletions.
1 change: 1 addition & 0 deletions aws-lambda-router/internal/router.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ func NewRouter(opts ...Option) (*core.Router, error) {
core.WithGraphQLPath(cfg.GraphQLPath),
core.WithModulesConfig(cfg.Modules),
core.WithGracePeriod(cfg.GracePeriod),
core.WithPlaygroundConfig(cfg.PlaygroundConfig),
core.WithPlaygroundPath(cfg.PlaygroundPath),
core.WithHealthCheckPath(cfg.HealthCheckPath),
core.WithLivenessCheckPath(cfg.LivenessCheckPath),
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.6.0",
"version": "0.6.1",
"private": true,
"description": "Placeholder package to simplify versioning and releasing with lerna.",
"keywords": [
Expand Down
4 changes: 2 additions & 2 deletions cdn-server/cdn/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@
"jose": "^5.2.4"
},
"devDependencies": {
"eslint": "^8.53.0",
"eslint": "^8.57.1",
"eslint-config-unjs": "^0.2.1",
"typescript": "5.5.2",
"vitest": "^2.1.8"
}
}
}
4 changes: 2 additions & 2 deletions cdn-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
},
"devDependencies": {
"@types/node": "^20.9.0",
"eslint": "^8.53.0",
"eslint": "^8.57.1",
"eslint-config-unjs": "^0.2.1",
"tsx": "^4.16.0",
"typescript": "5.5.2"
}
}
}
4 changes: 2 additions & 2 deletions cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
"@types/js-yaml": "^4.0.5",
"@types/node": "^20.3.1",
"del-cli": "^5.0.0",
"eslint": "^8.52.0",
"eslint": "^8.57.1",
"eslint-config-unjs": "^0.2.1",
"eslint-plugin-require-extensions": "^0.1.3",
"prettier": "^3.0.3",
Expand All @@ -83,4 +83,4 @@
"vitest": "^2.1.8"
},
"gitHead": "c37aed755e1b19ed91d30f9b5f7041e15c56901a"
}
}
6 changes: 3 additions & 3 deletions controlplane/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@
"dotenv": "^16.4.5",
"drizzle-orm": "^0.35.3",
"ejs": "^3.1.10",
"eslint": "^8.57.0",
"execa": "^9.3.0",
"eslint": "^8.57.1",
"execa": "^9.5.2",
"fastify": "^4.28.1",
"fastify-graceful-shutdown": "^4.0.1",
"fastify-plugin": "^4.5.1",
Expand Down Expand Up @@ -97,7 +97,7 @@
"@connectrpc/protoc-gen-connect-es": "^1.4.0",
"@types/cookie": "^0.6.0",
"@types/ejs": "^3.1.5",
"@types/eslint": "^8.56.2",
"@types/eslint": "^9.6.1",
"@types/lodash": "^4.14.202",
"@types/node": "^18.19.21",
"@types/nodemailer": "^6.4.14",
Expand Down
2 changes: 1 addition & 1 deletion controlplane/src/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@ export const LintRules: LintRuleType = {
export type Severity = 1 | 2;
export type LintSeverityLevel = 'warn' | 'error';
export type RuleLevel = Severity | LintSeverityLevel;
export type RuleLevelAndOptions<Options extends any[] = any[]> = Prepend<Partial<Options>, RuleLevel>;
export type RuleLevelAndOptions<Options extends any[] = any[]> = [RuleLevel, ...Partial<Options>];
export type RuleEntry<Options extends any[] = any[]> = RuleLevel | RuleLevelAndOptions<Options>;

export interface RulesConfig {
Expand Down
4 changes: 2 additions & 2 deletions demo/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ require (
github.com/rs/cors v1.11.0
github.com/vektah/gqlparser/v2 v2.5.21
github.com/wundergraph/cosmo/composition-go v0.0.0-20240124120900-5effe48a4a1d
github.com/wundergraph/cosmo/router v0.0.0-20250119174948-4b991294658e
github.com/wundergraph/cosmo/router v0.0.0-20250204092643-f97e30f48a8c
github.com/wundergraph/cosmo/router-tests v0.0.0-20241213115435-a249dba8c52a
github.com/wundergraph/graphql-go-tools/v2 v2.0.0-rc.145
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.46.1
Expand Down Expand Up @@ -39,7 +39,7 @@ require (
github.com/cloudflare/backoff v0.0.0-20161212185259-647f3cdfc87a // indirect
github.com/cpuguy83/go-md2man/v2 v2.0.5 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/dgraph-io/ristretto v0.1.2-0.20240723054643-f5997484152c // indirect
github.com/dgraph-io/ristretto/v2 v2.1.0 // indirect
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect
github.com/dlclark/regexp2 v1.11.0 // indirect
github.com/dop251/goja v0.0.0-20230906160731-9410bcaa81d2 // indirect
Expand Down
14 changes: 10 additions & 4 deletions demo/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ github.com/PuerkitoBio/goquery v1.9.3 h1:mpJr/ikUA9/GNJB/DBZcGeFDXUtosHRyRrwh7KG
github.com/PuerkitoBio/goquery v1.9.3/go.mod h1:1ndLHPdTz+DyQPICCWYlYQMPl0oXZj0G6D4LCYA6u4U=
github.com/agnivade/levenshtein v1.2.0 h1:U9L4IOT0Y3i0TIlUIDJ7rVUziKi/zPbrJGaFrtYH3SY=
github.com/agnivade/levenshtein v1.2.0/go.mod h1:QVVI16kDrtSuwcpd0p1+xMC6Z/VfhtCyDIjcwga4/DU=
github.com/alicebob/gopher-json v0.0.0-20230218143504-906a9b012302 h1:uvdUDbHQHO85qeSydJtItA4T55Pw6BtAejd0APRJOCE=
github.com/alicebob/gopher-json v0.0.0-20230218143504-906a9b012302/go.mod h1:SGnFV6hVsYE877CKEZ6tDNTjaSXYUk6QqoIK6PrAtcc=
github.com/alicebob/miniredis/v2 v2.34.0 h1:mBFWMaJSNL9RwdGRyEDoAAv8OQc5UlEhLDQggTglU/0=
github.com/alicebob/miniredis/v2 v2.34.0/go.mod h1:kWShP4b58T1CW0Y5dViCd5ztzrDqRWqM3nksiyXk5s8=
github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883 h1:bvNMNQO63//z+xNgfBlViaCIJKLlCJ6/fmUseuG0wVQ=
github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883/go.mod h1:rCTlJbsFo29Kk6CurOXKm700vrz8f0KW0JNfpkRJY/8=
github.com/andybalholm/brotli v1.1.0 h1:eLKJA0d02Lf0mVpIDgYnqXcUn0GqVmEFny3VuID1U3M=
Expand Down Expand Up @@ -50,8 +54,8 @@ github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ3
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/dgraph-io/ristretto v0.1.2-0.20240723054643-f5997484152c h1:V2+MhiAoTwUNENo9PFoz2NSr0VDJEzIARLuzb30YyqA=
github.com/dgraph-io/ristretto v0.1.2-0.20240723054643-f5997484152c/go.mod h1:swkazRqnUf1N62d0Nutz7KIj2UKqsm/H8tD0nBJAXqM=
github.com/dgraph-io/ristretto/v2 v2.1.0 h1:59LjpOJLNDULHh8MC4UaegN52lC4JnO2dITsie/Pa8I=
github.com/dgraph-io/ristretto/v2 v2.1.0/go.mod h1:uejeqfYXpUomfse0+lO+13ATz4TypQYLJZzBSAemuB4=
github.com/dgryski/go-farm v0.0.0-20200201041132-a6ae2369ad13 h1:fAjc9m62+UWV/WAFKLNi6ZS0675eEUC9y3AlwSbQu1Y=
github.com/dgryski/go-farm v0.0.0-20200201041132-a6ae2369ad13/go.mod h1:SqUrOPUnsFjfmXRMNPybcSiG0BgUW2AuFH8PAnS2iTw=
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f h1:lO4WD4F/rVNCu3HqELle0jiPLLBs70cWOduZpkS1E78=
Expand Down Expand Up @@ -308,15 +312,17 @@ github.com/wundergraph/astjson v0.0.0-20250106123708-be463c97e083 h1:8/D7f8gKxTB
github.com/wundergraph/astjson v0.0.0-20250106123708-be463c97e083/go.mod h1:eOTL6acwctsN4F3b7YE+eE2t8zcJ/doLm9sZzsxxxrE=
github.com/wundergraph/cosmo/composition-go v0.0.0-20240124120900-5effe48a4a1d h1:NEUrhuqOaTO1dpW8pz2tu6dKbQAqFvgiF/m4NXdzZm0=
github.com/wundergraph/cosmo/composition-go v0.0.0-20240124120900-5effe48a4a1d/go.mod h1:9I3gPMAlAY+m1/cFL20iN7XHTyuZd3VT5ijccdU/FsI=
github.com/wundergraph/cosmo/router v0.0.0-20250119174948-4b991294658e h1:ee4fu7klTY98Zsz7kcYiowiK1RBJkwUBLK6KUo250p8=
github.com/wundergraph/cosmo/router v0.0.0-20250119174948-4b991294658e/go.mod h1:ImqCvxvvNOy1UxbuTnFtin/CDBFHoFqrZly3rC2z+e0=
github.com/wundergraph/cosmo/router v0.0.0-20250204092643-f97e30f48a8c h1:JG8F9j1GV9OWSSSv3GIYoKgD8ugw+1i+4IUYR16yrIo=
github.com/wundergraph/cosmo/router v0.0.0-20250204092643-f97e30f48a8c/go.mod h1:iSJuRRUMFHt7ZPbjqi0z4818iK5/TK/wG+brqaPvO34=
github.com/wundergraph/cosmo/router-tests v0.0.0-20241213115435-a249dba8c52a h1:GVLe85f5g+G0IOorDBBNTfm5Ua9DO0vuVY7ReSTOEbQ=
github.com/wundergraph/cosmo/router-tests v0.0.0-20241213115435-a249dba8c52a/go.mod h1:I+SFviFnd3BHlPmYn+ckmzQyDB9+/c8RZJo4t6VQAds=
github.com/wundergraph/graphql-go-tools/v2 v2.0.0-rc.145 h1:3JuBmRux6YB/UZgh6COvgLXzQhMIsdHV7A02NsYdAVE=
github.com/wundergraph/graphql-go-tools/v2 v2.0.0-rc.145/go.mod h1:B7eV0Qh8Lop9QzIOQcsvKp3S0ejfC6mgyWoJnI917yQ=
github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1 h1:gEOO8jv9F4OT7lGCjxCBTO/36wtF6j2nSip77qHd4x4=
github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1/go.mod h1:Ohn+xnUBiLI6FVj/9LpzZWtj1/D6lUovWYBkxHVV3aM=
github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
github.com/yuin/gopher-lua v1.1.1 h1:kYKnWBjvbNP4XLT3+bPEwAXJx262OhaHDWDVOPjL46M=
github.com/yuin/gopher-lua v1.1.1/go.mod h1:GBR0iDaNXjAgGg9zfCvksxSRnQx76gclCIb7kdAd1Pw=
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 v1.16.1 h1:EpASvVyGx6/ZTlmXzxYfTMZxHROelCeXXa2uLiwltcs=
Expand Down
Loading

0 comments on commit 94112f6

Please sign in to comment.