-
Notifications
You must be signed in to change notification settings - Fork 276
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Maria Elisabeth Schreiber <maria.schreiber@apollographql.com>
- Loading branch information
1 parent
3b8c36d
commit 7913b19
Showing
15 changed files
with
32 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
### Set Apollo metrics generation mode to new by default ([PR #5265](https://github.com/apollographql/router/pull/5265)) | ||
### Set Apollo metrics generation mode to `new` by default ([PR #5265](https://github.com/apollographql/router/pull/5265)) | ||
|
||
Changes the default value of experimental_apollo_metrics_generation_mode to be new since all metrics are showing that identical signatures are references are being generated. | ||
Changes the default value of `experimental_apollo_metrics_generation_mode` to `new`. All metrics are showing that identical signatures are being generated in this mode. | ||
|
||
By [@bonnici](https://github.com/bonnici) in https://github.com/apollographql/router/pull/5265 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
### Update docs frontmatter for consistency and discoverability ([PR #5164](https://github.com/apollographql/router/pull/5164)) | ||
|
||
In router documentation, page titles are edited to have title casing, and page subtitles and meta descriptions are updated for better discoverability. | ||
Makes title case consistent for page titles and adds subtitles and meta-descriptions are updated for better discoverability. | ||
|
||
By [@Meschreiber](https://github.com/@Meschreiber) in https://github.com/apollographql/router/pull/5164 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 8 additions & 2 deletions
10
.changesets/feat_feature_shaika_add_ms_support_to_rhai_engine.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,10 @@ | ||
### Support unix_ms_now in rhai engine ([Issue #5182](https://github.com/apollographql/router/issues/5182)) | ||
### Add support for `unix_ms_now` in Rhai customizations ([Issue #5182](https://github.com/apollographql/router/issues/5182)) | ||
|
||
Rhai customizations can now use the `unix_ms_now()` function to obtain the current Unix timestamp in milliseconds since the Unix epoch. | ||
|
||
By [@shaikatzz](https://github.com/shaikatzz) in https://github.com/apollographql/router/pull/5181 | ||
For example: | ||
|
||
```rhai | ||
fn supergraph_service(service) { | ||
let now = unix_ms_now(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
### `apollo_router_opened_subscriptions` counter was inaccurate ([PR #5363](https://github.com/apollographql/router/pull/5363)) | ||
### Inaccurate `apollo_router_opened_subscriptions` counter ([PR #5363](https://github.com/apollographql/router/pull/5363)) | ||
|
||
The counter `apollo_router_opened_subscriptions` was only incrementing and never decrementing. Now it's handled properly. | ||
Fixes the `apollo_router_opened_subscriptions` counter which previously only incremented. The counter now also decrements. | ||
|
||
By [@bnjjj](https://github.com/bnjjj) in https://github.com/apollographql/router/pull/5363 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
### Prevent formatting in hot path ([PR #5405](https://github.com/apollographql/router/pull/5405)) | ||
|
||
This PR removed unneeded formatting in the hot path for demand control. Improving performance. | ||
Removes unneeded formatting in the hot path for demand control to improve performance. | ||
|
||
By [@BrynCooke](https://github.com/BrynCooke) in https://github.com/apollographql/router/pull/5405 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
### Optimize graphql instruments ([PR #5375](https://github.com/apollographql/router/pull/5375)) | ||
|
||
When processing selectors for graphql instruments we need to make sure we perform no heap allocation otherwise performance is affected. | ||
### Optimize GraphQL instruments ([PR #5375](https://github.com/apollographql/router/pull/5375)) | ||
|
||
This PR removes Vec allocations that were being performed on every field yielding a significant improvement in performance. | ||
When processing selectors for GraphQL instruments, heap allocations should be avoided for optimal performance. This change removes Vec allocations that were previously performed per field, yielding significant performance improvements. | ||
|
||
By [@BrynCooke](https://github.com/BrynCooke) in https://github.com/apollographql/router/pull/5375 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
### Disable GraphOS tests when apollo key not present ([PR #5362](https://github.com/apollographql/router/pull/5362)) | ||
### Skip GraphOS tests when Apollo key not present ([PR #5362](https://github.com/apollographql/router/pull/5362)) | ||
|
||
A number of tests require APOLLO_KEY and APOLLO_GRAPH_REF to be present to execute successfully. | ||
Some tests require `APOLLO_KEY` and `APOLLO_GRAPH_REF` to execute successfully. | ||
These are now skipped if these env variables are not present. | ||
|
||
By [@BrynCooke](https://github.com/BrynCooke) in https://github.com/apollographql/router/pull/5362 |