Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
❗ BREAKING ❗
Changes the default Router port of
rover dev
to 4000 - @dbanty, Use the default router config for listen address and improve validation #1671 fixes Proposal: change default port from 3000 to something less common #1550Previously, the default port of
rover dev
(when not overridden by--supergraph-port
or--router-config
) was3000
, this has been changed to4000
to match the router's default.🚀 Features
Enable
graphref
andsdl
schemas inrover dev --supergraph-config
- @dbanty, feat: Supportgraphref
andsdl
modes inrover dev --supergraph-config
#1673 closes Supportgraphref
insupergraph.yaml
forrover dev
#1663rover dev
can now accept every variant of the supergraph YAML file thatsupergraph compose
can—specifically allowing GraphOS and hard-coded SDLs as subgraph schema sources. These two new sources will not be polled for updates (as introspection and files are), but will contribute to the initial composition.Pass configured credentials to the Router when using
rover dev
- @dbanty, feat: Pass configured credentials to router when usingrover dev
#1674Until now, in order to unlock Enterprise features when using
rover dev
, you had to pass bothAPOLLO_KEY
andAPOLLO_GRAPH_REF
as environment variables to Rover. Now, ifAPOLLO_GRAPH_REF
is set, Rover can pass along credentials that have been configured withrover config auth
. This also respects the--profile
argument. The configured key still needs to be a graph API key. Note that theAPOLLO_KEY
environment variable still works and will take precedence over any configured credentials.Allow omitting
routing_url
inrover dev --supergraph-config
- @dbanty, Allowrover dev
to use introspection URL asrouting_url
#1666 closes Short-form ofsupergraph.yaml
#1634When using
rover dev
with a supergraph YAML file, therouting_url
field can be omitted if using asubgraph_url
(introspection) orgraphref
(GraphOS schema registry) schema source. If omitted, the introspection URL or the routing URL from the registry will be used instead (respectively).Display persisted query list names during publish and improve error messages - @EverlastingBugstopper, feat: display PQL name during publish + improve errors #1672
Publishing operations to a persisted query list with
rover pq publish
now shows the list name rather than the UUID when publishing. Additionally, publishing to a non-existent list now returns a better error message with a suggestion.🐛 Fixes
IPv6 addresses are now allowed in the
--supergraph-address
option forrover dev
- @dbanty, Use the default router config for listen address and improve validation #1671For example,
rover dev --supergraph-address "::1"
will now cause the router to listen on[::1]:4000
.IPv6 listen addresses are now allowed in Router config when using
rover dev
- @dbanty, Use the default router config for listen address and improve validation #1671The Router's IPv6 format previously caused errors when passing config to
rover dev
via--router-config
.