Skip to content

Commit

Permalink
Get v4 initial alpha ready for release (#6680)
Browse files Browse the repository at this point in the history
* direnv: allow a gitignored .env file

* changeset: clear pre state because we have added more packages

* changeset add

* changeset pre enter alpha

* changeset version

* changeset config tweaks

- We are only publishing public packages so let's do that.
- For now, we're not doing changesets on main, so baseBranch should be
  version-4.

* package-lock update
  • Loading branch information
glasser committed Jul 13, 2022
1 parent ff9ae17 commit 6ac5082
Show file tree
Hide file tree
Showing 15 changed files with 86 additions and 27 deletions.
4 changes: 2 additions & 2 deletions .changeset/config.json
Expand Up @@ -6,8 +6,8 @@
],
"commit": false,
"fixed": [["@apollo/server", "@apollo/server-integration-testsuite"]],
"access": "restricted",
"baseBranch": "main",
"access": "public",
"baseBranch": "version-4",
"updateInternalDependencies": "patch",
"ignore": []
}
6 changes: 0 additions & 6 deletions .changeset/great-hats-rhyme.md

This file was deleted.

6 changes: 5 additions & 1 deletion .changeset/pre.json
Expand Up @@ -2,8 +2,12 @@
"mode": "pre",
"tag": "alpha",
"initialVersions": {
"@apollo/server-integration-testsuite": "3.6.7",
"@apollo/server-plugin-response-cache": "3.6.7",
"@apollo/server": "3.6.7",
"@apollo/usage-reporting-protobuf": "3.3.1"
},
"changesets": []
"changesets": [
"small-cycles-hammer"
]
}
8 changes: 8 additions & 0 deletions .changeset/small-cycles-hammer.md
@@ -0,0 +1,8 @@
---
"@apollo/server-integration-testsuite": major
"@apollo/server-plugin-response-cache": major
"@apollo/server": major
"@apollo/usage-reporting-protobuf": major
---

Initial Apollo Server 4 release
6 changes: 6 additions & 0 deletions .envrc
Expand Up @@ -10,5 +10,11 @@ if ! [ -f "$VOLTA_HOME/bin/volta" ]; then
CURL_CA_BUNDLE=.cacert.pem bash -c 'curl https://get.volta.sh/ | bash'
fi

# Lets you add more environment variables if you want. (For example, GITHUB_TOKEN
# for changesets.)
if [ -f .env ]; then
dotenv .env
fi

# Allow you to run jest and other things in node_modules/.bin without npx.
layout node
3 changes: 3 additions & 0 deletions .gitignore
Expand Up @@ -38,3 +38,6 @@ smoke-test/generated

# This file is written by postinstall scripts.
packages/server/src/generated/packageVersion.ts

# Lets you add more env vars.
.env
20 changes: 10 additions & 10 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions packages/integration-testsuite/CHANGELOG.md
@@ -0,0 +1,13 @@
# @apollo/server-integration-testsuite

## 4.0.0-alpha.0

### Major Changes

- [`f39d9eec7`](https://github.com/apollographql/apollo-server/commit/f39d9eec7ab72d0f471a0bb0646dd42ad81c56cf) Thanks [@glasser](https://github.com/glasser)! - Initial Apollo Server 4 release

### Patch Changes

- Updated dependencies [[`f39d9eec7`](https://github.com/apollographql/apollo-server/commit/f39d9eec7ab72d0f471a0bb0646dd42ad81c56cf)]:
- @apollo/server@4.0.0-alpha.0
- @apollo/usage-reporting-protobuf@4.0.0-alpha.0
6 changes: 3 additions & 3 deletions packages/integration-testsuite/package.json
@@ -1,6 +1,6 @@
{
"name": "@apollo/server-integration-testsuite",
"version": "3.6.7",
"version": "4.0.0-alpha.0",
"description": "Test suite for Apollo Server integrations",
"type": "module",
"main": "dist/index.js",
Expand Down Expand Up @@ -30,7 +30,7 @@
"@apollo/client": "^3.6.9",
"@apollo/utils.keyvaluecache": "^1.0.1",
"@apollo/utils.createhash": "^1.1.0",
"@apollo/usage-reporting-protobuf": "^3.3.1",
"@apollo/usage-reporting-protobuf": "^4.0.0-alpha.0",
"@josephg/resolvable": "^1.0.1",
"body-parser": "^1.20.0",
"express": "^4.18.1",
Expand All @@ -40,7 +40,7 @@
"supertest": "^6.2.3"
},
"peerDependencies": {
"@apollo/server": "^3.6.7",
"@apollo/server": "^4.0.0-alpha.0",
"@jest/globals": "28.x",
"graphql": "^16.5.0",
"jest": "28.x"
Expand Down
12 changes: 12 additions & 0 deletions packages/plugin-response-cache/CHANGELOG.md
@@ -0,0 +1,12 @@
# @apollo/server-plugin-response-cache

## 4.0.0-alpha.0

### Major Changes

- [`f39d9eec7`](https://github.com/apollographql/apollo-server/commit/f39d9eec7ab72d0f471a0bb0646dd42ad81c56cf) Thanks [@glasser](https://github.com/glasser)! - Initial Apollo Server 4 release

### Patch Changes

- Updated dependencies [[`f39d9eec7`](https://github.com/apollographql/apollo-server/commit/f39d9eec7ab72d0f471a0bb0646dd42ad81c56cf)]:
- @apollo/server@4.0.0-alpha.0
4 changes: 2 additions & 2 deletions packages/plugin-response-cache/package.json
@@ -1,6 +1,6 @@
{
"name": "@apollo/server-plugin-response-cache",
"version": "3.6.7",
"version": "4.0.0-alpha.0",
"description": "Apollo Server full query response cache",
"type": "module",
"main": "dist/cjs/index.js",
Expand Down Expand Up @@ -33,7 +33,7 @@
"@apollo/utils.keyvaluecache": "^1.0.1"
},
"peerDependencies": {
"@apollo/server": "^3.6.7",
"@apollo/server": "^4.0.0-alpha.0",
"graphql": "^16.0.0"
}
}
12 changes: 12 additions & 0 deletions packages/server/CHANGELOG.md
@@ -0,0 +1,12 @@
# @apollo/server

## 4.0.0-alpha.0

### Major Changes

- [`f39d9eec7`](https://github.com/apollographql/apollo-server/commit/f39d9eec7ab72d0f471a0bb0646dd42ad81c56cf) Thanks [@glasser](https://github.com/glasser)! - Initial Apollo Server 4 release

### Patch Changes

- Updated dependencies [[`f39d9eec7`](https://github.com/apollographql/apollo-server/commit/f39d9eec7ab72d0f471a0bb0646dd42ad81c56cf)]:
- @apollo/usage-reporting-protobuf@4.0.0-alpha.0
4 changes: 2 additions & 2 deletions packages/server/package.json
@@ -1,6 +1,6 @@
{
"name": "@apollo/server",
"version": "3.6.7",
"version": "4.0.0-alpha.0",
"description": "Core engine for Apollo GraphQL server",
"type": "module",
"main": "dist/cjs/index.js",
Expand Down Expand Up @@ -84,7 +84,7 @@
"node": ">=12.0"
},
"dependencies": {
"@apollo/usage-reporting-protobuf": "^3.3.0",
"@apollo/usage-reporting-protobuf": "^4.0.0-alpha.0",
"@apollo/utils.createhash": "^1.1.0",
"@apollo/utils.fetcher": "^1.0.0",
"@apollo/utils.isnodelike": "^1.1.0",
Expand Down
7 changes: 7 additions & 0 deletions packages/usage-reporting-protobuf/CHANGELOG.md
@@ -0,0 +1,7 @@
# @apollo/usage-reporting-protobuf

## 4.0.0-alpha.0

### Major Changes

- [`f39d9eec7`](https://github.com/apollographql/apollo-server/commit/f39d9eec7ab72d0f471a0bb0646dd42ad81c56cf) Thanks [@glasser](https://github.com/glasser)! - Initial Apollo Server 4 release
2 changes: 1 addition & 1 deletion packages/usage-reporting-protobuf/package.json
@@ -1,6 +1,6 @@
{
"name": "@apollo/usage-reporting-protobuf",
"version": "3.3.1",
"version": "4.0.0-alpha.0",
"description": "Protobuf format for Apollo usage reporting",
"type": "module",
"exports": {
Expand Down

0 comments on commit 6ac5082

Please sign in to comment.