Commit graph

53 commits

Author SHA1 Message Date
Kamil Kisiela
6023be2a0b
Collect usage only when Apollo Server did resolve source (#3017) 2023-10-10 12:53:17 +00:00
Kamil Kisiela
024f68ad9d
Include operation name in error message, always finish measureDuration() (#3007) 2023-10-10 14:12:09 +02:00
Kamil Kisiela
c5a9946da3
Add graphql-client-* headers to GraphQL calls in client (#2984) 2023-09-29 13:47:49 +02:00
Kamil Kisiela
fa18b0a36b
Detect missing DocumentNode in Apollo Server (#2979) 2023-09-29 12:35:41 +02:00
renovate[bot]
a2238e5eec
chore(deps): update dependency bob-the-bundler to v7 (#2254)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Laurin Quast <laurinquast@googlemail.com>
2023-07-20 13:15:07 +02:00
Laurin Quast
0a41288d4e
refactor: use getNamedTpe helper from graphql-js (#2543) 2023-07-11 10:27:37 +02:00
Laurin Quast
c7cdeb73f6
feat: useYogaHive (#2439) 2023-06-20 13:42:03 +00:00
Dimitri POSTOLOV
5f408bab3b
remove chakra, emotion from Hive web app (#1412) 2023-02-22 08:41:00 +01:00
Kamil Kisiela
9fc97488cf
Remove Query._entities when extracting original SDL from Fed v2 (#1357) 2023-02-13 10:25:28 +01:00
Ryan Perry-Nguyen
cf14c18d6e
fix: skip visiting directive arguments when collecting usage (#1224) 2023-02-10 12:52:53 +01:00
Kamil Kisiela
cdf2e8a77e
Support @apollo/server and Federation v2 in Hive Plugin for Apollo (#1305) 2023-02-10 09:58:40 +01:00
Denis Badurina
8287a51255
prettier should be responsible for import sorting instead of eslint (#1027) 2023-01-23 10:30:38 +01:00
Kamil Kisiela
5102c88f49
Use dist directory for web, docs and migrations (#1057) 2023-01-18 15:34:49 +00:00
Laurin Quast
0abc58b9e2
feat: use non-presigned url for S3 HEAD requests (#971) 2023-01-11 15:16:24 +01:00
Dimitri POSTOLOV
bd5496ebff
[🔧 ESLint] several different rules fixes (#737) 2022-12-28 21:38:03 +01:00
Dimitri POSTOLOV
7ad5e26c34
[🔧 ESLint] import sort (#736) 2022-12-28 20:22:54 +01:00
Laurin Quast
d2aa98a574
feat: use new services endpoint in SDK and add redirect for legacy endpoint (#862) 2022-12-22 12:14:23 +01:00
Laurin Quast
e46b5ddab8
fix: correctly set enabled value to "true" (#776)
Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
2022-12-15 10:28:47 +01:00
Kamil Kisiela
74a18d8649
Let's get this cached og:image (#727) 2022-12-01 15:50:13 +01:00
Kamil Kisiela
d0357ee93a
Make the token optional when client is disabled (#710) 2022-11-29 15:29:16 +01:00
renovate[bot]
b2bb73031e
Update clickhouse/clickhouse-server Docker tag to v22.11 (#695)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
2022-11-26 14:50:59 +01:00
renovate[bot]
1afe0ec73a
Update dependency @theguild/prettier-config to v1 (#676)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
2022-11-24 10:00:41 +00:00
Kamil Kisiela
e116841a73
Fix ESM/CJS (#668)
Co-authored-by: enisdenjo <badurinadenis@gmail.com>
2022-11-22 17:58:48 +01:00
Kamil Kisiela
73adb11a20
Use null when token is not found (#658) 2022-11-21 17:23:22 +01:00
Laurin Quast
2cbf27fdc9
feat: add user-agent header to fetcher functions (#655)
Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
2022-11-21 10:44:25 +01:00
Pablo Sáez
d58a470916
Fix createServicesFetcher handle null service url (#563) 2022-10-31 09:32:31 +01:00
Dmitry Til
fb9b624ab8
(processVariables: true) do not collect input if variable is missing (#456) 2022-10-25 16:27:26 +02:00
Kamil Kisiela
e85d8220a7
Ensure user and personal org creation after successful sign up/in (#518) 2022-10-25 16:12:43 +02:00
Kamil Kisiela
682cde8109
Add self-hosting options to GraphQL Hive client (#499) 2022-10-18 06:49:25 +00:00
Saihajpreet Singh
642daaf494
Use Envelop v3 and GraphQL Yoga v3 (#443)
Co-authored-by: Arda TANRIKULU <ardatanrikulu@gmail.com>
Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
2022-10-06 13:48:01 +02:00
Laurin Quast
7656b7957d
feat: clean app env (#422)
* feat: document environment variables

* more env documentation

* wip

* add noop for backend env

* typo

* feat: embed environment validation/parsing in built app

* fix the sentry integration 😌

* feat: use env

* feat: decode the usage service environment

* feat: decode the webhooks service environment

* feat: disallow process.env

* feat: decode the tokens service environment

* feat: decode the stripe-billing service environment

* feat: decode server service environment

* feat: decode schema service environment

* feat: decode rate-limit service environment

* feat: decode usage-estimator service environment

* feat: decode emails service environment

* adjust env

* remove commented out code

* adjust env variable name

* use separate env variables

* env fixes

* more environmental stuff :)

* ...

* replace POSTGRES_CONNECTION_STRING with specific environment variables

* handle optional clickhouse (for now :)

* add missing POSTGRES_DB environment variable

* make ENVIRONMENT optional

* the other matters lol

* feat: support delivering mails via SMTP (#412)

* feat: optional CDN (#410)

* feat: optional CDN

* enable CDN in deployment

* enable the CDN in integration tests

* add sendmail provider

* remove unused env variables from the deployment

* only show login alert when legacy auth0 migration is enabled

* feat: make TOKENS_ENDPOINT mandatory and RATE_LIMIT_ENDPOINT optional for usage service

* feat: upgrade supertokens and enable server side email confirmation (#423)

* feat: upgrade supertokens and enable server side email confirmation

* feat: opt into required email verification

* docs: self hosting (#428)

* docs: self-hosting quick start

* Update packages/web/docs/pages/self-hosting/get-started.mdx

Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>

Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>

Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>

* feat: optional GitHub and Slack environment variables (#440)

* feat: optional github integration environment variables

* feat: optional slack integration (#441)

* use latest stable supertokens

Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
2022-10-04 14:30:21 +02:00
Kamil Kisiela
36413f1682
Use ETag and If-None-Match in CDN and clients (#427)
* Use ETag and If-None-Match in CDN and clients

* Document it in 'Using registry' chapter
2022-09-30 13:37:57 +02:00
Kamil Kisiela
bd6e500532
Fix the cacheKey from #397 (#399) 2022-09-22 19:13:19 +02:00
Kamil Kisiela
3983eb7637
Improve #379 and add more tests (#397) 2022-09-22 13:22:35 +02:00
Dmitry Til
2e7c8f3c94
collect input fields from variables (#379)
Closes #369

Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
2022-09-22 12:12:19 +02:00
Kamil Kisiela
8cd7a4a885
New invitation system (#315)
* New invitation system

* Fix format

* Deployment
2022-08-25 21:01:37 +02:00
Kamil Kisiela
5a212f61f2
Avoid marking the same type as used twice (#308)
Fixes #305
2022-08-23 15:49:10 +02:00
Kamil Kisiela
efb03e184d
Bump @oclif/core and update CLI installation script (#292)
* Bump @oclif/core

* Update CLI installation script
2022-08-16 12:10:55 +02:00
Kamil Kisiela
52969c0632
Hash operation based on its body, name, list of sorted coordinates (#283)
* Hash operation based on its body, name, list of sorted coordinates

* Support Docker Compose v2

* martynka

* Move hashing behind cache

* Add comments

* Move transformation of coordinates to the caching layer

* Add another test
2022-08-12 11:23:07 +02:00
Kamil Kisiela
ef18a38cca
Show error messages in the client when publishing the schema (#272)
Closes #267
2022-08-12 10:15:19 +02:00
Kamil Kisiela
5cf6b92766
Use Slonik v30 (#282) 2022-08-11 10:58:36 +02:00
JYC
c0e08216b0
fix: hide missing token warning when disabled (#260)
Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
2022-08-03 11:39:57 +02:00
Kamil Kisiela
a94fd68503
Introduce createSupergraphManager (#262) 2022-07-27 17:12:23 +02:00
Kamil Kisiela
0fd7e9eea3
Get Started checklist (#232) 2022-07-11 18:22:07 +02:00
Kamil Kisiela
25d6b0191b
Migrate X-API-Token to Authorization header (#122) 2022-07-01 11:43:27 +02:00
Kamil Kisiela
d969ee7cc0
Improve integration tests of CLI (#174) 2022-06-24 16:51:53 +02:00
Kamil Kisiela
f7d56834bb
Show warnings in Client when commit, author or token are missing (#163)
* Show warnings in Client when commit, author or token are missing

* error not warning

* Update utils.ts

* prettier than ever
2022-06-23 15:59:01 +02:00
Dimitri POSTOLOV
bd3100d2a6
enable and fixes errors for @typescript-eslint/no-floating-promises rule (#150)
* enable rule and update eslint deps

* add return types

* fixes

* fix storage migration

* fix typecheck

* fix integrations tests

* fix last issues

* Update packages/libraries/client/src/client.ts

Co-authored-by: Laurin Quast <laurinquast@googlemail.com>

Co-authored-by: Laurin Quast <laurinquast@googlemail.com>
2022-06-23 12:04:10 +02:00
Kamil Kisiela
c82b22ac05
Simplify the schema publishing logic (#156)
- Removes the uniqueness requirement of commit it
- Makes the logic of schema publishing simpler and more readable
- Updating the service url results in a new version (previously an update of existing version)
- Introduces a requirement of defining service url in federated projects (new `SchemaPublishMissingUrlError` type)
2022-06-23 10:00:43 +02:00
Kamil Kisiela
5d0f0770d8
Revert "Simplify the schema publishing logic (#153)" (#155)
This reverts commit 38f6a92d39.
2022-06-22 15:16:36 +02:00