Skip to content

Release apollo@3 (alpha).#1113

Closed
abernix wants to merge 14 commits intomasterfrom
release-apollo-3.x
Closed

Release apollo@3 (alpha).#1113
abernix wants to merge 14 commits intomasterfrom
release-apollo-3.x

Conversation

@abernix
Copy link
Copy Markdown
Member

@abernix abernix commented Mar 13, 2019

This PR (and its associated release-apollo-3.x branch) will act as a staging branch for changes that are considered major breaking changes of the apollo CLI and will be released in a major version bump.

This will allow work on the master branch to continue uninterrupted and allow us to ship important fixes, like the fix to operation normalization in #1027 which are relevant to other parts of the Apollo Platform, immediately.

Periodically, this release-apollo-3.x branch should be updated with work from the master branch by:

$ cd into-this-repository
$ git fetch origin # assuming you are using the `origin` remote name.
$ git checkout release-apollo-3.x
$ git pull origin release-apollo-3.x
$ git merge origin/master # again, assuming you're using `origin`.
$ git push origin release-apollo-3.x

Dev Note

Additional releases on this PR should be able to be published with:

$ npm run release -- prerelease \
    --preid alpha \
    --dist-tag alpha \
    --include-merged-tags # this is important!

trevor-scheer and others added 4 commits March 13, 2019 17:07
1) Remove duplication from client:push and client:extract.
2) Create a test to verify upcoming changes for this PR.
* Add apollo-graphql as a dependency (and project reference)
* Remove apollo-engine-reporting as a dependency
* Update sortAST to normalize order of fragments w.r.t operations
* Tests are failing expectedly at this point
These two operations will likely be used in tandem, and we want this to be consistent across consumers.

Incorporate rename suggestions

Update version for extracted manifest output.

Use empty string and add comment about unused metadata field.

Revert changes to defaultEngineReportingSignature. Apply changes to new function, defaultOperationRegistrySignature.

This new function is the effective interim fix, and the current existing function is now left alone.
…ation

Interim Operation Normalization Fix
abernix and others added 10 commits March 13, 2019 17:37
 - apollo@3.0.0-alpha.0
Pass operation name to the operation registry signature function
 - apollo@3.0.0-alpha.1
Now that registerOperations supports version as an argument
to the mutation, we can leverage this for v2 oeprations manifest
work.
 - apollo-codegen-core@0.32.11-alpha.0
 - apollo-codegen-flow@0.32.11-alpha.0
 - apollo-codegen-scala@0.33.7-alpha.0
 - apollo-codegen-swift@0.32.11-alpha.0
 - apollo-codegen-typescript@0.32.12-alpha.0
 - apollo-language-server@1.5.5-alpha.0
 - apollo@3.0.0-alpha.2
 - vscode-apollo@1.5.6-alpha.0
@trevor-scheer
Copy link
Copy Markdown
Contributor

Closing until we have actionable 3.0 plans

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