Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deps: inline binary-install, with updated axios version #1819

Merged
merged 5 commits into from
Jan 25, 2024

Conversation

goto-bus-stop
Copy link
Member

@goto-bus-stop goto-bus-stop commented Jan 19, 2024

There is currently an open security warning on axios versions < 1.0, used by binary-install. Users were never affected by this issue (it's only relevant for cross-site requests, which installation packages never do), but they do get scary warnings when they install rover.

There are some open PRs on binary-install that address this but it may be easier to fix it by copying the code into the rover installer. I updated axios to 1.0. We can also remove the rimraf dependency as its functionality is built-in to all our target versions of Node.js (14.14+).

It seems like axios 1.0 has some proxy environment related code built in now, but I opted to keep the axios-proxy-builder package so we don't need to spend time comparing the two.

IMO, it would be great to go back to using binary-install in the future when it's updated.

Closes #1812

@goto-bus-stop goto-bus-stop merged commit 26c5187 into main Jan 25, 2024
9 checks passed
@goto-bus-stop goto-bus-stop deleted the binary-install branch January 25, 2024 16:54
@goto-bus-stop goto-bus-stop added this to the v0.23.0-rc.1 milestone Jan 26, 2024
@Geal Geal mentioned this pull request Feb 6, 2024
@abernix abernix mentioned this pull request Feb 14, 2024
Geal added a commit that referenced this pull request Mar 26, 2024
## 🚀 Features

- **Add `--no-url` shorthand to `subgraph publish` - @lennyburdette PR
#1809**

This is slightly more convenient and less awkward than `--routing-url ""
--allow-invalid-routing-url`

- **Support unix socket URLs - @Geal PR #1879**

Since its [1.43.0
release](https://github.com/apollographql/router/releases/tag/v1.43.0),
the Router can now connect to subgraph over unix sockets. This removes a
warning when publishing a schema with a `unix://` URL.

## 🐛 Fixes

- **Use task specific `rayon` threadpools and not the global threadpool
- @garypen PR #1872**

This increases rover's reliability by executing independent tasks in
different thread pools.

- **Prevent an infinite loop when restarting the router - @Geal PR
#1855**

When restarting a Router on schema updates, it could happen that an
internal task of Rover would go in an infinite loop and consume CPU
needlessly. This is now fixed and should make `rover dev` more reliable.

- **Use `proposalCoverage`` in addition to `severityLevel`` to build
correct proposal check messaging - @swcollard PR #1845**

This updates the message on proposal checks depending on the
`proposalCoverage` field


## 🛠 Maintenance

- **Upgrade axios to address a security warning - @goto-bus-stop PR
#1819**

The vulnerability didn't affect rover, but now you won't get a warning
for it!

- **Remove yanked online check - @dylan-apollo PR #1803**

## 📚 Documentation 

- **Update dev docs about which Router version is used - @smyrick PR
#1822**

- **Update warning about `federation_version` in `rover compose` -
@smyrick, @Meschreiber PR #1806**

- **Document how to use `subgraph fetch` with proposals - @Meschreiber
PR #1823**

---------

Co-authored-by: Geoffroy Couprie <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants