Commit graph

53 commits

Author SHA1 Message Date
renovate[bot]
cb61c81033
chore(deps): update prettier (#3796)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-31 10:27:41 +00:00
Kamil Kisiela
7a1e1506f0
Revert Node 21 upgrade and use Node 18 again (#3546) 2023-12-11 17:04:44 +02:00
Kamil Kisiela
6895ee3ebf
Support Apollo Client directives in hive operations:check (#3543) 2023-12-11 09:07:57 +01:00
Kamil Kisiela
9c3e7b3b16
Node 21 (#3035) 2023-12-07 11:29:29 +01:00
Kamil Kisiela
1615ad4fb6
Use Hive Cloud as a default for registry.endpoint (#3529) 2023-12-06 09:57:11 +01:00
Laurin Quast
00520b9c3e
fix: always use GITHUB_REPOSITORY in schema:check command. Print warn… (#3499) 2023-11-30 12:16:50 +01:00
Laurin Quast
21d246d815
feat: remember breaking change approvals in context of a pull request (#3359) 2023-11-16 13:35:51 +01:00
renovate[bot]
fdc0fb3c8d
chore(deps): update dependency prettier to v3.1.0 (#3377)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Dotan Simha <dotansimha@gmail.com>
2023-11-13 11:07:34 +00:00
Dotan Simha
72f59267a1
prettier v3 and apply fixes to existing files (#3279) 2023-11-07 07:14:57 +00:00
Dimitri POSTOLOV
f79fcf27d6
feat: remove graphql-request dependency and use whatwg-node/fetch in Hive CLI (#1716)
Co-authored-by: Dotan Simha <dotansimha@gmail.com>
2023-11-06 13:00:40 +01:00
Dotan Simha
6b7aef8b70
Remove Access to operation:publish information from CLI command "whoami" (unused) (#3240) 2023-11-01 13:35:28 +02:00
Laurin Quast
fdf71a1c8c
feat: link github action repository to schema check (#2701) 2023-10-06 14:39:50 +00:00
Kamil Kisiela
5bef13b15e
Support custom graphql tag pluck config (#2569) 2023-08-25 10:09:22 +00:00
Laurin Quast
79227f86bd
feat: fetch a specific schema version from the api via commit/actionId (#2720)
Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
2023-08-24 14:22:35 +02:00
Kamil Kisiela
2a13ed498a
Fix empty error list when running operations:check command (#2723) 2023-08-09 08:00:05 +00:00
Kamil Kisiela
0475ca9ea8
Adds introspect command (#2697) 2023-08-03 09:24:40 +00:00
Kamil Kisiela
c10e125009
cli: prevent reading a key of undefined value from config file (#2594) 2023-07-13 10:27:59 +02:00
Kamil Kisiela
9a2059524c
CLI cleanup (#2568) 2023-07-04 15:19:45 +00:00
Kamil Kisiela
1a1aae63b6
Hide deprecation warning when --force is not provided by user (#2557) 2023-07-03 08:16:38 +00:00
Laurin Quast
f6510317be
feat: expose link to schema check in graphql schema (#2544) 2023-06-28 12:37:17 +00:00
Kamil Kisiela
05b37a885e
Update Oclif and test tarballs (#2378) 2023-06-27 19:25:49 +00:00
Kamil Kisiela
951f686506
Use lighter solution to get commit sha and author from git (#2430) 2023-06-13 17:54:14 +02:00
Laurin Quast
407adafb92
feat: persist schema check in database and expose it via api (#2417) 2023-06-13 13:22:01 +02:00
Dotan Simha
9238a1f915
Schema policy checks using graphql-eslint (#1730) 2023-05-09 10:07:17 +02:00
Laurin Quast
38591b48ba
fix: be more chill about the config model (#2086) 2023-04-21 08:54:40 +00:00
Laurin Quast
7fafb0774f
chore: refactor cli configuration + artifact command (#1541) 2023-04-20 10:34:57 +00:00
Kamil Kisiela
99f7c66a44
Fix publishing of a service right after deleting it (#1326) 2023-02-09 16:45:36 +01:00
Kamil Kisiela
afae33eb21
New and improved model of Schema Registry (#789) 2023-02-02 19:35:59 +01:00
Denis Badurina
8287a51255
prettier should be responsible for import sorting instead of eslint (#1027) 2023-01-23 10:30:38 +01:00
Dimitri POSTOLOV
a9ae5500e3
replace all Boolean(...) with !!... with new guild eslint config (#973) 2023-01-10 12:38:46 +01:00
Kamil Kisiela
a972fe26f2
Improvements in change detection and the strictness of the registry (#930) 2022-12-30 14:51:42 +00:00
Dimitri POSTOLOV
02469da474
[🔧 ESLint] fixes for no-implicit-coercion (#742)
Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
2022-12-28 21:04:17 +01:00
Dimitri POSTOLOV
7ad5e26c34
[🔧 ESLint] import sort (#736) 2022-12-28 20:22:54 +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
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
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
Davé
829df19964
Code Cleanup of base-command.ts file (#367) 2022-09-16 12:53:22 +02:00
Kamil Kisiela
30f11c4005
Temporary experimental_acceptBreakingChanges flag (#357) 2022-09-13 19:14:21 +02:00
Kamil Kisiela
d4bb130ee0
Enable Authorization header and /graphql endpoint (#217) 2022-07-01 12:15:57 +02:00
Kamil Kisiela
25d6b0191b
Migrate X-API-Token to Authorization header (#122) 2022-07-01 11:43:27 +02:00
Laurin Quast
80358619b1
feat: always log unexpected errors (#215)
* feat: always log unexpected errors

* feat: better handling for syntax errors on CLI and API

* chore: add changesets

* Update integration-tests/tests/cli/schema.spec.ts

* chore: ignore test fixture from prettier formatting

* run prettier

Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
2022-07-01 11:25:34 +02:00
Kamil Kisiela
17786f9fad
Enable linkToWebsite (#205) 2022-06-29 13:45:54 +02:00
Kamil Kisiela
8a66800537
Disable linkToWebsite in CLI (#203) 2022-06-29 13:04:19 +02:00
Kamil Kisiela
77b2e24765
Expose link to the website when publishing schema in GraphQL API (#198)
* Expose link to the website when publishing schema in GraphQL API
* Print link to the website in the cli
2022-06-29 09:00:39 +02:00
Kamil Kisiela
173b4844f1
Add heartbeats to tokens, webhooks and usage-ingestor services (#186)
Support BetterUptime Heartbeats
2022-06-27 13:17:32 +02:00
Kamil Kisiela
23eb4cc07f
Add message about empty schema registry in schema:check (#176)
* Add message about empty schema registry in schema:check

* prettier on changeset...
2022-06-24 21:04:50 +02:00
Kamil Kisiela
5de7e381a6
Support SchemaPublishMissingUrlError in CLI (#157)
This PR adds a dedicated error message with instructions when a service URL is missing (federated projects) thanks to the recently added `SchemaPublishMissingUrlError` type.
2022-06-23 11:21:49 +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