Skip to content

[DONT MERGE] async hooks and context generation - alpha version release #460

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

Open
wants to merge 19 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .azure-devops/graphitation-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ pr: none
trigger:
- main
- alloy/relay-apollo-duct-tape
- jvejr/context-and-async-hooks-alpha

variables:
- group: InfoSec-SecurityResults
Expand Down
5 changes: 4 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"cSpell.words": ["Daichi", "fukuda", "Kadji"]
"cSpell.words": ["Daichi", "fukuda", "Kadji"],
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
}
6 changes: 3 additions & 3 deletions examples/apollo-watch-fragments/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": true,
"dependencies": {
"@apollo/client": "~3.6.0",
"@graphitation/apollo-react-relay-duct-tape": "^1.3.5",
"@graphitation/apollo-react-relay-duct-tape": "^1.3.6",
"@graphitation/graphql-js-tag": "^0.9.4",
"@graphql-tools/schema": "^9.0.19",
"graphql": "^15.6.0",
Expand Down Expand Up @@ -36,9 +36,9 @@
]
},
"devDependencies": {
"@graphitation/apollo-react-relay-duct-tape-compiler": "^1.6.4",
"@graphitation/apollo-react-relay-duct-tape-compiler": "^1.6.5",
"@graphitation/embedded-document-artefact-loader": "^0.8.5",
"@graphitation/supermassive": "^3.6.2",
"@graphitation/supermassive": "^3.6.3",
"@graphql-codegen/cli": "2.2.0",
"@graphql-codegen/typescript": "2.2.2",
"@graphql-codegen/typescript-resolvers": "^2.2.1",
Expand Down
8 changes: 4 additions & 4 deletions examples/supermassive-todomvc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
"dependencies": {
"@apollo/client": "~3.6.0",
"@babel/runtime": "^7.12.0",
"@graphitation/apollo-react-relay-duct-tape": "^1.3.5",
"@graphitation/apollo-react-relay-duct-tape-compiler": "^1.6.4",
"@graphitation/apollo-react-relay-duct-tape": "^1.3.6",
"@graphitation/apollo-react-relay-duct-tape-compiler": "^1.6.5",
"@graphitation/graphql-js-tag": "^0.9.4",
"@graphitation/supermassive": "^3.6.2",
"@graphitation/supermassive": "^3.6.3",
"@graphitation/ts-transform-graphql-js-tag": "^1.4.4",
"concurrently": "^6.5.1",
"graphql": "^15.6.1",
Expand Down Expand Up @@ -58,7 +58,7 @@
"@types/uuid": "^8.3.1",
"graphql-let": "^0.18.5",
"prettier": "^2.8.7",
"@graphitation/webpack-loader": "^1.0.12",
"@graphitation/webpack-loader": "^1.0.13",
"typescript": "^5.5.3",
"webpack-dev-server": "^4.13.3"
}
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
"lint": "lage lint --continue",
"lage": "lage",
"ci": "yarn lage build types test lint && yarn checkchange",
"beachball": "beachball -b origin/main",
"beachball": "beachball -b origin/jvejr/context-and-async-hooks-alpha",
"change": "yarn beachball change",
"checkchange": "yarn beachball check",
"release": "yarn beachball publish -t latest",
"release": "yarn beachball publish -t alpha",
"postinstall": "patch-package"
},
"devDependencies": {
Expand Down
15 changes: 15 additions & 0 deletions packages/apollo-react-relay-duct-tape-compiler/CHANGELOG.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
{
"name": "@graphitation/apollo-react-relay-duct-tape-compiler",
"entries": [
{
"date": "Wed, 30 Oct 2024 09:41:18 GMT",
"version": "1.6.5",
"tag": "@graphitation/apollo-react-relay-duct-tape-compiler_v1.6.5",
"comments": {
"patch": [
{
"author": "beachball",
"package": "@graphitation/apollo-react-relay-duct-tape-compiler",
"comment": "Bump @graphitation/supermassive to v3.6.3",
"commit": "not available"
}
]
}
},
{
"date": "Thu, 24 Oct 2024 13:15:11 GMT",
"version": "1.6.4",
Expand Down
10 changes: 9 additions & 1 deletion packages/apollo-react-relay-duct-tape-compiler/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
# Change Log - @graphitation/apollo-react-relay-duct-tape-compiler

<!-- This log was last generated on Thu, 24 Oct 2024 13:15:11 GMT and should not be manually modified. -->
<!-- This log was last generated on Wed, 30 Oct 2024 09:41:18 GMT and should not be manually modified. -->

<!-- Start content -->

## 1.6.5

Wed, 30 Oct 2024 09:41:18 GMT

### Patches

- Bump @graphitation/supermassive to v3.6.3

## 1.6.4

Thu, 24 Oct 2024 13:15:11 GMT
Expand Down
4 changes: 2 additions & 2 deletions packages/apollo-react-relay-duct-tape-compiler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@graphitation/apollo-react-relay-duct-tape-compiler",
"description": "The build tools to cater to @graphitation/apollo-react-relay-duct-tape's needs.",
"license": "MIT",
"version": "1.6.4",
"version": "1.6.5",
"main": "./src/index.ts",
"bin": {
"duct-tape-compiler": "./src/cli-cjs.js"
Expand Down Expand Up @@ -42,7 +42,7 @@
},
"peerDependencies": {
"graphql": "^15.0.0",
"@graphitation/supermassive": "^3.6.2",
"@graphitation/supermassive": "^3.6.3",
"typescript": "^5.5.3"
},
"publishConfig": {
Expand Down
15 changes: 15 additions & 0 deletions packages/apollo-react-relay-duct-tape/CHANGELOG.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
{
"name": "@graphitation/apollo-react-relay-duct-tape",
"entries": [
{
"date": "Wed, 30 Oct 2024 09:41:18 GMT",
"version": "1.3.6",
"tag": "@graphitation/apollo-react-relay-duct-tape_v1.3.6",
"comments": {
"patch": [
{
"author": "beachball",
"package": "@graphitation/apollo-react-relay-duct-tape",
"comment": "Bump @graphitation/apollo-react-relay-duct-tape-compiler to v1.6.5",
"commit": "not available"
}
]
}
},
{
"date": "Thu, 24 Oct 2024 13:15:11 GMT",
"version": "1.3.5",
Expand Down
10 changes: 9 additions & 1 deletion packages/apollo-react-relay-duct-tape/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
# Change Log - @graphitation/apollo-react-relay-duct-tape

<!-- This log was last generated on Thu, 24 Oct 2024 13:15:11 GMT and should not be manually modified. -->
<!-- This log was last generated on Wed, 30 Oct 2024 09:41:18 GMT and should not be manually modified. -->

<!-- Start content -->

## 1.3.6

Wed, 30 Oct 2024 09:41:18 GMT

### Patches

- Bump @graphitation/apollo-react-relay-duct-tape-compiler to v1.6.5

## 1.3.5

Thu, 24 Oct 2024 13:15:11 GMT
Expand Down
4 changes: 2 additions & 2 deletions packages/apollo-react-relay-duct-tape/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@graphitation/apollo-react-relay-duct-tape",
"description": "A compatibility wrapper that provides the react-relay API on top of Apollo Client.",
"license": "MIT",
"version": "1.3.5",
"version": "1.3.6",
"repository": {
"type": "git",
"url": "https://github.com/microsoft/graphitation.git",
Expand Down Expand Up @@ -30,7 +30,7 @@
"graphql": "^15.0.0",
"monorepo-scripts": "*",
"react": "^18.2.0",
"@graphitation/apollo-react-relay-duct-tape-compiler": "^1.6.4",
"@graphitation/apollo-react-relay-duct-tape-compiler": "^1.6.5",
"ts-expect": "^1.3.0"
},
"peerDependencies": {
Expand Down
131 changes: 131 additions & 0 deletions packages/cli/CHANGELOG.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,137 @@
{
"name": "@graphitation/cli",
"entries": [
{
"date": "Thu, 14 Nov 2024 14:18:34 GMT",
"version": "1.13.0-alpha.4",
"tag": "@graphitation/cli_v1.13.0-alpha.4",
"comments": {
"none": [
{
"author": "beachball",
"package": "@graphitation/cli",
"comment": "Bump @graphitation/ts-codegen to v2.13.0-alpha.6",
"commit": "not available"
}
]
}
},
{
"date": "Wed, 13 Nov 2024 20:52:03 GMT",
"version": "1.13.0-alpha.4",
"tag": "@graphitation/cli_v1.13.0-alpha.4",
"comments": {
"prerelease": [
{
"author": "77059398+vejrj@users.noreply.github.com",
"package": "@graphitation/cli",
"commit": "e9a34254f389d06042d7deb11bca819dd2d642ed",
"comment": "Solution cleanup - new cli parameters and inheritance fixes"
},
{
"author": "beachball",
"package": "@graphitation/cli",
"comment": "Bump @graphitation/ts-codegen to v2.13.0-alpha.5",
"commit": "not available"
}
]
}
},
{
"date": "Mon, 11 Nov 2024 14:13:12 GMT",
"version": "1.13.0-alpha.3",
"tag": "@graphitation/cli_v1.13.0-alpha.3",
"comments": {
"prerelease": [
{
"author": "77059398+vejrj@users.noreply.github.com",
"package": "@graphitation/cli",
"commit": "f3b1a34db0e9fc7bbf4ddf972fd509f4e7d9f5ac",
"comment": "Added import state machines templating"
},
{
"author": "beachball",
"package": "@graphitation/cli",
"comment": "Bump @graphitation/ts-codegen to v2.13.0-alpha.4",
"commit": "not available"
}
]
}
},
{
"date": "Mon, 04 Nov 2024 17:34:20 GMT",
"version": "1.13.0-alpha.2",
"tag": "@graphitation/cli_v1.13.0-alpha.2",
"comments": {
"prerelease": [
{
"author": "77059398+vejrj@users.noreply.github.com",
"package": "@graphitation/cli",
"commit": "dd33b80a0c6975c118d8376cbba61cda706802c7",
"comment": "Added context namespace into the codegen"
},
{
"author": "beachball",
"package": "@graphitation/cli",
"comment": "Bump @graphitation/ts-codegen to v2.13.0-alpha.3",
"commit": "not available"
}
]
}
},
{
"date": "Wed, 30 Oct 2024 20:39:21 GMT",
"version": "1.13.0-alpha.1",
"tag": "@graphitation/cli_v1.13.0-alpha.1",
"comments": {
"none": [
{
"author": "beachball",
"package": "@graphitation/cli",
"comment": "Bump @graphitation/ts-codegen to v2.13.0-alpha.2",
"commit": "not available"
}
]
}
},
{
"date": "Wed, 30 Oct 2024 10:07:52 GMT",
"version": "1.13.0-alpha.1",
"tag": "@graphitation/cli_v1.13.0-alpha.1",
"comments": {
"prerelease": [
{
"author": "77059398+vejrj@users.noreply.github.com",
"package": "@graphitation/cli",
"commit": "22df54e57ce24fd771c02b1e52dc3bd8feb73187",
"comment": "CLI alpha bump"
}
]
}
},
{
"date": "Wed, 30 Oct 2024 09:41:18 GMT",
"version": "1.13.0",
"tag": "@graphitation/cli_v1.13.0",
"comments": {
"prerelease": [
{
"author": "77059398+vejrj@users.noreply.github.com",
"package": "@graphitation/cli",
"commit": "d69740884c12998eb1fb43ce8dc46afc1a577956",
"comment": "metadata written to a file and tests fixed"
}
],
"patch": [
{
"author": "beachball",
"package": "@graphitation/cli",
"comment": "Bump @graphitation/ts-codegen to v2.13.0-alpha.1",
"commit": "not available"
}
]
}
},
{
"date": "Thu, 24 Oct 2024 13:15:11 GMT",
"version": "1.12.1",
Expand Down
49 changes: 48 additions & 1 deletion packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,56 @@
# Change Log - @graphitation/cli

<!-- This log was last generated on Thu, 24 Oct 2024 13:15:11 GMT and should not be manually modified. -->
<!-- This log was last generated on Wed, 13 Nov 2024 20:52:03 GMT and should not be manually modified. -->

<!-- Start content -->

## 1.13.0-alpha.4

Wed, 13 Nov 2024 20:52:03 GMT

### Changes

- Solution cleanup - new cli parameters and inheritance fixes (77059398+vejrj@users.noreply.github.com)
- Bump @graphitation/ts-codegen to v2.13.0-alpha.5

## 1.13.0-alpha.3

Mon, 11 Nov 2024 14:13:12 GMT

### Changes

- Added import state machines templating (77059398+vejrj@users.noreply.github.com)
- Bump @graphitation/ts-codegen to v2.13.0-alpha.4

## 1.13.0-alpha.2

Mon, 04 Nov 2024 17:34:20 GMT

### Changes

- Added context namespace into the codegen (77059398+vejrj@users.noreply.github.com)
- Bump @graphitation/ts-codegen to v2.13.0-alpha.3

## 1.13.0-alpha.1

Wed, 30 Oct 2024 10:07:52 GMT

### Changes

- CLI alpha bump (77059398+vejrj@users.noreply.github.com)

## 1.13.0

Wed, 30 Oct 2024 09:41:18 GMT

### Patches

- Bump @graphitation/ts-codegen to v2.13.0-alpha.1

### Changes

- metadata written to a file and tests fixed (77059398+vejrj@users.noreply.github.com)

## 1.12.1

Thu, 24 Oct 2024 13:15:11 GMT
Expand Down
Loading