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

Graphile Crystal (PostGraphile V5, Grafast, etc) #1747

Merged
merged 8,195 commits into from
Sep 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
8195 commits
Select commit Hold shift + click to select a range
6fd34d6
Add rawClient to new NodePostgresPgClient subtype
benjie Aug 10, 2023
00d0264
docs(changeset): `@dataplan/pg/adaptors/pg` now adds `rawClient` prop…
benjie Aug 10, 2023
3783f8c
Remove unused import
benjie Aug 10, 2023
4116b60
Add rawClient to new NodePostgresPgClient subtype (#464)
benjie Aug 10, 2023
9bbbd74
Add h3 server support
benjie Aug 9, 2023
8abfef6
Update fwds
benjie Aug 9, 2023
43ddd36
Use node:stream instead
benjie Aug 10, 2023
2a9b42b
Capitalization
benjie Aug 10, 2023
22fa623
docs(changeset): Add experimental support for h3 server to grafserv.
benjie Aug 10, 2023
f09e000
Lint
benjie Aug 10, 2023
9053d4f
Lowlatency support
benjie Aug 10, 2023
b92d596
Add experimental h3 server support (for Nuxt) (#463)
benjie Aug 10, 2023
853a3b8
Make type of specFromNodeId more flexible
benjie Aug 10, 2023
f9cc88d
docs(changeset): Make type of step in specFromNodeId more flexible.
benjie Aug 10, 2023
1650336
Make type of step used in specFromNodeId more flexible (#465)
benjie Aug 10, 2023
ebd7dab
RELEASING: Releasing 11 package(s)
benjie Aug 10, 2023
d1aa9cb
expand the menus
jemgillam Aug 11, 2023
679ccf2
Improve error message
benjie Aug 11, 2023
11cf3df
Catch bugs in spec callbacks where they getTypeByName prematurely
benjie Aug 11, 2023
85adb92
Move type fetching into callbacks to avoid circular dependencies
benjie Aug 11, 2023
d32261a
Fix more issues raised by new autodetection
benjie Aug 11, 2023
828582b
Catch more missing callbacks
benjie Aug 11, 2023
74413c8
Catch yet another bad bit of code
benjie Aug 11, 2023
a31abb3
Improve errors; forbid a bad pattern (#478)
benjie Aug 12, 2023
764d2de
website: expand the menus on PostGraphile site (#477)
benjie Aug 12, 2023
5adbafd
Update make-extend-schema-plugin.md
EloB Aug 12, 2023
a92c0a1
Fixes a potential typo
Vince-Smith Aug 12, 2023
f5bf741
clarify
Vince-Smith Aug 12, 2023
51ee88c
Clarify comment on inflection (#480)
benjie Aug 21, 2023
c736de3
Fix mistake in documentation re: `$pgSelectSingle.select()` (#479)
benjie Aug 21, 2023
a7bf412
Use really irritating primary key names to force handling of edge cases
benjie Aug 21, 2023
f7b5546
Hide second primary key from relational interface tables
benjie Aug 21, 2023
1f78d36
Omit second primary key in more ways
benjie Aug 21, 2023
ae18b7b
Use really irritating primary key names to force handling of edge cas…
benjie Aug 22, 2023
36df331
Don't look at me, I'm hideous
benjie Aug 22, 2023
76dd5ac
Lint
benjie Aug 22, 2023
57f44bf
Run tests
benjie Aug 22, 2023
e516beb
Add test
benjie Aug 22, 2023
da51caf
handler.codec can be accessed directly
benjie Aug 22, 2023
9a6e96e
Keep data clean
benjie Aug 22, 2023
69953cd
Use spec directly - no need to fetch rows
benjie Aug 22, 2023
63958bc
Test basic relay id mutation
benjie Aug 22, 2023
36ebfbd
Add test for single table polymorphic table
benjie Aug 22, 2023
644a1eb
Give eval'd function a name
benjie Aug 22, 2023
c16ac7e
Use a dollar to break naming conflict
benjie Aug 22, 2023
45f2faa
Fix detection of SQL identifiers
benjie Aug 22, 2023
09adb53
Fix fetching a single row in a relation
benjie Aug 22, 2023
e048068
Insert initial data into relations tables
benjie Aug 22, 2023
301a7f2
Fix tests, fix relational fetch
benjie Aug 22, 2023
8030ac8
More tests
benjie Aug 22, 2023
9e0400b
Add new examples area
jemgillam Aug 22, 2023
b2edf8f
Function that reproduces issue
benjie Aug 22, 2023
a61e765
Change how nodeId variant works for functions
benjie Aug 22, 2023
4288796
Lint fixes
benjie Aug 22, 2023
b40b663
Update snapshots
benjie Aug 22, 2023
2fdf1ea
Add test for deleting using a nodeId
benjie Aug 23, 2023
041c771
Test inserting into composite polymorphic primary key
benjie Aug 23, 2023
4a30348
Update schema snapshots
benjie Aug 23, 2023
97ddfe9
Rename makeDecodedNodeIdForHandlers -> makeDecodeNodeId
benjie Aug 23, 2023
9f82b86
docs(changeset): Fix detection of SQL aliases
benjie Aug 23, 2023
c44271b
EXPORTABLE + lint
benjie Aug 23, 2023
b82d399
Ignore exported schema
benjie Aug 23, 2023
a74ac72
Use common build.pgTableResource helper
benjie Aug 23, 2023
aca7212
Unstrict version allows for virtual resources
benjie Aug 23, 2023
72ef919
Lint fixes
benjie Aug 23, 2023
342bce6
Fix order plugin bug
benjie Aug 23, 2023
316697d
Exportable
benjie Aug 23, 2023
1777e39
Update plan
benjie Aug 23, 2023
5318621
docs(changeset): Expose new `makeDecodeNodeId` helper
benjie Aug 23, 2023
95e902f
docs(changeset): Don't try and inline a query when it includes an inn…
benjie Aug 23, 2023
73f1b52
docs(changeset): specForHandler now only requires handler - no need t…
benjie Aug 23, 2023
109c8ec
docs(changeset): Add new pgTableResource helper and refactor a lot of…
benjie Aug 23, 2023
e916b74
docs(changeset): Fix issues with polymorphism when interacting with n…
benjie Aug 23, 2023
b1faf1a
Split tests up again because CI ran out of memory
benjie Aug 23, 2023
b4d8b0c
Format a file
benjie Aug 23, 2023
e3b5e0a
Content
jemgillam Aug 23, 2023
d19ecdf
Linting
jemgillam Aug 23, 2023
e626e38
Relay preset polymorphism fixes + Ruru alias fix (#488)
benjie Aug 23, 2023
b5e62a8
RELEASING: Releasing 13 package(s)
benjie Aug 23, 2023
24844d1
Remove preprepack since its unused
CSNWEB Aug 25, 2023
561afb7
Move eslint and prettier to seperate workflows
CSNWEB Aug 25, 2023
0edcfa5
Prepack graphile-export plugin
CSNWEB Aug 25, 2023
7fe98e4
Improve names
CSNWEB Aug 25, 2023
064638e
Add yarn caching
CSNWEB Aug 25, 2023
69deefa
Remove accidentally pasted line
CSNWEB Aug 25, 2023
2e8a2b0
Update setup node
CSNWEB Aug 25, 2023
a3f6180
Remove uneeded CI var
CSNWEB Aug 25, 2023
2b874d3
Give eslint more space?
CSNWEB Aug 25, 2023
d036aa5
Test new single package test script
CSNWEB Aug 25, 2023
5e4273f
Prefix tsc with yarn
CSNWEB Aug 25, 2023
8b0142e
Test calling base workflow
CSNWEB Aug 25, 2023
ec4feb9
Move workflow to correct folder
CSNWEB Aug 25, 2023
1f471d6
Fix workflow name
CSNWEB Aug 25, 2023
d088f76
Genereted test and post test
CSNWEB Aug 25, 2023
bcb2249
Better naming and no ci arg for post test
CSNWEB Aug 25, 2023
37cff73
Remove old ci
CSNWEB Aug 25, 2023
590f27d
Forgot the dashes for the ci arg
CSNWEB Aug 25, 2023
3c13292
Add all missing test files + generation file
CSNWEB Aug 25, 2023
d18e843
Add depcheck workflow
CSNWEB Aug 25, 2023
95ba420
Fix depcheck name
CSNWEB Aug 25, 2023
a79b044
Change link
jemgillam Aug 25, 2023
311b3db
docs: Change link to simplify-inflection (#494)
benjie Aug 25, 2023
c865ede
Apply minor code edits from code review
benjie Aug 25, 2023
f18ca45
Merge posttests
CSNWEB Aug 26, 2023
957218f
Move generated jobs out
CSNWEB Aug 26, 2023
aca7c24
Increase number of jobs to 2
CSNWEB Aug 26, 2023
3f3d8b7
Nice name for prettier workflow
CSNWEB Aug 28, 2023
82e0356
Merge small test into single workflow
CSNWEB Aug 28, 2023
d459caf
Add test for @dataplan/pg
CSNWEB Aug 28, 2023
b58df11
Split up postgraphile tests
CSNWEB Aug 28, 2023
ffe51a4
Remove generated workflows + script to generate them
CSNWEB Aug 28, 2023
3a4f29f
Better postgraphile test workflow names
CSNWEB Aug 28, 2023
faa893f
Merge eslint and prettier
CSNWEB Aug 28, 2023
88ae3eb
Fix typo
CSNWEB Aug 28, 2023
5377597
Add a .gitattributes to fix linguist detection of languages
benjie Aug 29, 2023
7b34382
Split ESLint and prettier
benjie Aug 30, 2023
8edad47
Consistent ordering
benjie Aug 30, 2023
c3ef97c
Prettier
benjie Aug 30, 2023
1cd5d7b
Rename for easier reference
benjie Aug 30, 2023
f8da344
Use the underlying commands rather than repetition
benjie Aug 30, 2023
24cc634
Run CI on PR too
benjie Aug 30, 2023
145aad0
Consistent order
benjie Aug 30, 2023
0135880
pr -> pull_request
benjie Aug 30, 2023
cfbf53d
estree weirdness
benjie Aug 30, 2023
43d2a9f
Combine the tests into fewer files
benjie Aug 30, 2023
387c2df
Use a different @types/estree
benjie Aug 30, 2023
9f093a2
Fix test names
benjie Aug 30, 2023
4e3301b
depcheck is a lint really
benjie Aug 30, 2023
a344219
Rename lint file to 'linting'
benjie Aug 30, 2023
7be52cb
Also run prettier on yml files
benjie Aug 30, 2023
1146c04
Split up GitHub Actions to enable parallelization (#492)
benjie Aug 30, 2023
12fd9ed
Upgrade ESLint and babel
benjie Aug 30, 2023
888f0ef
Reset yarn.lock
benjie Aug 30, 2023
d583795
Tweaks so TypeScript compiles again
benjie Aug 30, 2023
bb7b7c8
No longer required
benjie Aug 30, 2023
af0bc87
Lint fixes and edits for tests
benjie Aug 30, 2023
86f1dc5
Upgrade changesets and docusaurus
benjie Aug 31, 2023
a05140b
Upgrade typedoc
benjie Aug 31, 2023
10a6fde
Upgrade TypeScript
benjie Aug 31, 2023
0342e3e
Upgrade prettier
benjie Aug 31, 2023
facc5d9
Reformat code
benjie Aug 31, 2023
a95fdb1
Prettier API now async
benjie Aug 31, 2023
e6b335d
Remove conventional-changelog
benjie Aug 31, 2023
18d2ec7
Update test-related packages
benjie Aug 31, 2023
7882a22
Fix typescript
benjie Aug 31, 2023
0898538
Add prettier v2 for jest compatibility
benjie Aug 31, 2023
2cde0ba
New jest snapshot formatter updates
benjie Aug 31, 2023
a402070
Update various minor dependencies
benjie Aug 31, 2023
a5580ee
Revert @whatwg-node/fetch so tests pass again
benjie Aug 31, 2023
3529bda
Latest version
benjie Aug 31, 2023
7433f2a
Upgrade jsonwebtoken
benjie Aug 31, 2023
ddd00f9
Upgrade envelop
benjie Aug 31, 2023
3b7d5b1
Upgrade mermaid and stuff
benjie Aug 31, 2023
97155fe
Downgrade mermaid (ESM); upgrade GraphiQL
benjie Aug 31, 2023
1349af4
Reset yarn.lock
benjie Aug 31, 2023
473d70b
Ruru working again
benjie Sep 1, 2023
d2528c3
Oops
benjie Sep 1, 2023
95080af
No longer need these hacks
benjie Sep 1, 2023
03d034a
Start moving to JSON-based plan
benjie Sep 1, 2023
08873f3
Convert mermaid rendering to run based on the JSON
benjie Sep 1, 2023
bf5a043
More mermaid rendering fixes
benjie Sep 1, 2023
6d8a82e
Another mermaid diagram fix
benjie Sep 1, 2023
e728533
Update mermaid diagrams
benjie Sep 1, 2023
60bdb28
Extract mermaid methods to their own entrypoint
benjie Sep 1, 2023
25cfdd1
Lint
benjie Sep 1, 2023
9ed5d2a
Reduce storage
benjie Sep 1, 2023
85daa22
Don't bundle mermaid
benjie Sep 1, 2023
161ba36
Iterate on mermaid refactor
benjie Sep 1, 2023
297effc
Don't bundle mermaid
benjie Sep 1, 2023
df629f3
Downgrade API to mermaid 9, fix <br> in SVG
benjie Sep 1, 2023
9b93674
Lint
benjie Sep 1, 2023
64d90b3
Update more deps
benjie Sep 1, 2023
0e1742c
Update minor deps
benjie Sep 1, 2023
e9142c0
Declare more dependencies
benjie Sep 1, 2023
e64ada6
Upgrade @what-wg/fetch now graphql-http compatibility bug has been re…
benjie Sep 1, 2023
e613b47
docs(changeset): `mermaid-js` explain type no longer supported, inste…
benjie Sep 1, 2023
c3c1b99
v2 themes
benjie Sep 1, 2023
0f7a420
Downgrade MDX for Docusaurus compat
benjie Sep 1, 2023
1e425b2
Fix some posttest stuff
benjie Sep 1, 2023
3185369
Update yarn.lock
benjie Sep 1, 2023
c747d91
docs(changeset): Modules converted to ESM to fix compatibility with G…
benjie Sep 1, 2023
d58ee93
Fix Grafast website playground
benjie Sep 1, 2023
bba730f
Mermaid in playground
benjie Sep 1, 2023
c7bdf6d
Fix playground code editing
benjie Sep 1, 2023
149a803
Remove dead code
benjie Sep 1, 2023
1867d36
docs(changeset): Ruru now runs on React 18
benjie Sep 1, 2023
ac092e0
docs(changeset): PostGraphile no longer exports `GraphileBuild` nor `…
benjie Sep 1, 2023
c9bfd98
docs(changeset): Update dependencies (sometimes through major versions).
benjie Sep 1, 2023
3f47a41
Upgrade everything; explain plan converted to JSON (#496)
benjie Sep 1, 2023
24090d0
experimental ws for h3 server
Dodobibi Sep 2, 2023
40680a3
Fixed: 'this' is undefined on API routes
Dodobibi Sep 3, 2023
104280a
draft : h3 and nuxt documentation
Dodobibi Sep 3, 2023
e10a37a
RELEASING: Releasing 23 package(s)
benjie Sep 8, 2023
4a97746
Fix grafast mermaid
benjie Sep 8, 2023
3700e20
docs(changeset): Fix grafast mermaid export
benjie Sep 8, 2023
2950c16
Fix mermaid export in Grafast
benjie Sep 8, 2023
5c51084
Mermaid don't need nobody
benjie Sep 8, 2023
f337fe4
RELEASING: Releasing 12 package(s)
benjie Sep 8, 2023
d3db703
Don't include buckets subgraph if buckets are skipped
benjie Sep 8, 2023
4c39d7c
docs(changeset): Bump - npm broke the publish?
benjie Sep 9, 2023
8fd4332
RELEASING: Releasing 6 package(s)
benjie Sep 9, 2023
984053d
When optimizing access step into output plan, optionalGet should stil…
benjie Sep 10, 2023
409bf60
docs(changeset): Fix bug when merging AccessStep into OutputPlan rela…
benjie Sep 10, 2023
bba83c6
Fix bug in OutputPlan when AccessPlan is inlined without optionalGet …
benjie Sep 10, 2023
24cd7cc
Add apostrophes for possesives in plan-resolvers.md
b9r5 Sep 10, 2023
671bc29
Update make-extend-schema-plugin.md
delcaos Sep 11, 2023
0d04341
Update postgraphile/website/postgraphile/make-extend-schema-plugin.md
benjie Sep 11, 2023
05f9150
Add apostrophes for possessives in plan-resolvers.md (#503)
benjie Sep 11, 2023
5473f66
Fix makeExtendSchemaPlugin example (#504)
benjie Sep 11, 2023
e8842d1
Automatic application of applyPlan is incorrect
benjie Sep 15, 2023
9f8209e
Add doc publishing script
benjie Sep 15, 2023
b59cc0d
Grafast website uses grafast
benjie Sep 15, 2023
7e07fe3
Keep classnames when building website
benjie Sep 15, 2023
bac7ec1
No, really, don't minimize classnames
benjie Sep 15, 2023
e41a52b
Fix misplaced comment
jemgillam Sep 15, 2023
8fbb2c8
Fix misplaced comment (#511)
benjie Sep 15, 2023
4df031c
sponsorship: update sponsors 🙏
jemgillam Sep 15, 2023
711ee1a
Update utils/tamedevil/README.md
benjie Sep 15, 2023
447557a
sponsorship: update sponsors 🙏 (#512)
benjie Sep 15, 2023
d9ccfa3
Overhaul the Grafast homepage
benjie Sep 15, 2023
ee02ded
Layout fixes for mobile
benjie Sep 15, 2023
c5c975b
Add V4 link
benjie Sep 16, 2023
b6de840
Emphasis
benjie Sep 16, 2023
78d0799
Update script to use new planToMermaid
benjie Sep 2, 2023
7c4d701
Fix mermaid plan rendering when layerPlan disappears
benjie Sep 2, 2023
760577a
Concise mode
benjie Sep 2, 2023
052d07f
Fix a couple more plan rendering issues
benjie Sep 2, 2023
fcad53b
Use latest rendering for mermaid diagrams in docs
benjie Sep 2, 2023
ede1092
docs(changeset): A couple minor follow-up fixes to plan diagrams
benjie Sep 16, 2023
132d7ca
Lint fixes
benjie Sep 16, 2023
90acdd4
Update snapshots with missing buckets
benjie Sep 2, 2023
231791e
isListLikeStep
benjie Sep 2, 2023
30ea115
loadOne and loadMany can now indicate which of their output values ar…
benjie Sep 2, 2023
7142d22
Rename specEquivalent to ioEquivalence
benjie Sep 2, 2023
ea4a94b
Document I/O equivalence for loadOne/loadMany
benjie Sep 2, 2023
566983f
docs(changeset): loadOne and loadMany now support "input/output equiv…
benjie Sep 2, 2023
0b4189d
Sort imports
benjie Sep 2, 2023
81863e4
More mermaid plan fixes (#513)
benjie Sep 16, 2023
847a866
loadOne/loadMany can now indicate input=output fields (#498)
benjie Sep 16, 2023
e1c13a5
website: Example Gallery (#489)
benjie Sep 16, 2023
06b1cea
Apply suggestions from code review
benjie Sep 16, 2023
69e9117
Update grafast/grafserv/src/servers/h3/v1/index.ts
benjie Sep 16, 2023
5c4be3c
Experimental ws for H3Grafserv (#495)
benjie Sep 16, 2023
5e02cb1
Apply suggestions from code review
benjie Sep 16, 2023
b1aafbf
Prettier
benjie Sep 16, 2023
542bdff
h3 and nuxt documentation (#499)
benjie Sep 16, 2023
9aba497
Update repo locations
benjie Sep 16, 2023
ecb86c2
Give Docusaurus plugin a name
benjie Sep 16, 2023
c9848f6
docs(changeset): Update package.json repository information
benjie Sep 16, 2023
0911db2
Update repo locations (#514)
benjie Sep 16, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
26 changes: 26 additions & 0 deletions .changeset/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Changesets notes

Docs: https://github.com/changesets/changesets

## publishConfig.directory

We rely on the (seemingly undocumented) changesets feature to publish a package
at a subdirectory introduced in this PR:
https://github.com/changesets/changesets/pull/428

To leverage this, we need the following in the relevant package.json:

```json
"scripts": {
// ...
// Optional:
"postpack": "echo 'FORBIDDEN' && exit 1"
},
"publishConfig": {
"access": "public",
"directory": "release"
}
```

We use this, for example, in grafast so that we can release a webpacked version
of the code to clear development code and minimise require/import overhead.
6 changes: 6 additions & 0 deletions .changeset/afraid-candles-cover.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"graphile-build-pg": patch
"postgraphile": patch
---

Have ref fields support ordering and filtering.
5 changes: 5 additions & 0 deletions .changeset/afraid-ghosts-sin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@dataplan/pg": patch
---

Expose pgWhereConditionSpecListToSQL helper function.
48 changes: 48 additions & 0 deletions .changeset/afraid-guests-help.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
---
"postgraphile": patch
"grafserv": patch
"ruru": patch
---

🚨 Ruru is now a CommonJS module, no longer an ESM module.

Ruru CLI now reads options from a `graphile.config.ts` file if present.

It's now possible to customize the HTML that Ruru is served with (specifically
the meta, title, stylesheets, header JS, body content, body JS, and init
script), either via configuration:

```ts
import { defaultHTMLParts } from "ruru/server";

const preset: GraphileConfig.Preset = {
//...
ruru: {
htmlParts: {
titleTag: "<title>GraphiQL with Grafast support - Ruru!</title>",
metaTags:
defaultHTMLParts.metaTags +
`<meta name="viewport" content="width=device-width, initial-scale=1" />`,
},
},
};
```

or via a plugin, which allows you to change it on a per-request (per-user)
basis:

```ts
const RuruMetaPlugin: GraphileConfig.Plugin = {
name: "RuruMetaPlugin",
version: "0.0.0",
grafserv: {
hooks: {
ruruHTMLParts(_info, parts, extra) {
// extra.request gives you access to request details, so you can customize `parts` for the user

parts.metaTags += `<meta name="viewport" content="width=device-width, initial-scale=1" />`;
},
},
},
};
```
10 changes: 10 additions & 0 deletions .changeset/afraid-llamas-sin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
"graphile-build": patch
"graphile-build-pg": patch
"graphile-utils": patch
"postgraphile": patch
---

Introduce new GraphQLObjectType_fields_field_args_arg and
GraphQLInterfaceType_fields_field_args_arg hooks to resolve some plugin ordering
issues.
20 changes: 20 additions & 0 deletions .changeset/beige-cherries-nail.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
"@dataplan/json": patch
"@dataplan/pg": patch
"grafast": patch
"grafserv": patch
"graphile-build": patch
"graphile-build-pg": patch
"@graphile/simplify-inflection": patch
"graphile-utils": patch
"postgraphile": patch
"eslint-plugin-graphile-export": patch
"graphile-config": patch
"jest-serializer-graphql-schema": patch
"jest-serializer-simple": patch
"pg-introspection": patch
"pg-sql2": patch
"tamedevil": patch
---

Update sponsors.
8 changes: 8 additions & 0 deletions .changeset/beige-falcons-retire.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"grafast": patch
"postgraphile": patch
---

🚨 **BREAKING CHANGE** `hookArgs()` now accepts arguments in the same order as
`grafast()`: `hookArgs(args, resolvedPreset, ctx)`. Please update all your
`hookArgs` calls.
5 changes: 5 additions & 0 deletions .changeset/big-kiwis-stare.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tamedevil": patch
---

'toJSON' export is now named 'stringifyJSON'
8 changes: 8 additions & 0 deletions .changeset/big-students-shake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"graphile-build-pg": patch
"postgraphile": patch
"@dataplan/pg": patch
"grafast": patch
---

Change bundling techniques for grafast and @dataplan/pg
5 changes: 5 additions & 0 deletions .changeset/brave-monkeys-brake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@dataplan/pg": patch
---

Correctly drop null/undefined pgSettings keys
7 changes: 7 additions & 0 deletions .changeset/brave-plants-visit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"postgraphile": patch
"grafserv": patch
---

Overhaul websocket handling in Grafserv providing cleaner integration with
Grafast.
8 changes: 8 additions & 0 deletions .changeset/bright-keys-pull.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"postgraphile": patch
"grafserv": patch
---

Grafserv now has a plugin system (via graphile-config), first plugin hook
enables manipulating the incoming request body which is useful for persisted
operations.
6 changes: 6 additions & 0 deletions .changeset/bright-windows-watch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"grafast": patch
---

Change type of `args` from `ExecutionArgs` to `Grafast.ExecutionArgs` and thus
the type of `args.contextValue` from `unknown` to `Grafast.Context`.
7 changes: 7 additions & 0 deletions .changeset/calm-zebras-own.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"graphile-build-pg": patch
"postgraphile": patch
---

Ability to control via behaviors whether the record type is selectable on CRUD
mutation payloads.
27 changes: 27 additions & 0 deletions .changeset/chatty-ducks-care.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
"@graphile/simplify-inflection": patch
"jest-serializer-graphql-schema": patch
"eslint-plugin-graphile-export": patch
"graphile-build-pg": patch
"graphile-build": patch
"graphile-utils": patch
"jest-serializer-simple": patch
"@grafserv/persisted": patch
"postgraphile": patch
"ruru-components": patch
"pg-introspection": patch
"@dataplan/json": patch
"graphile-config": patch
"graphile-export": patch
"@dataplan/pg": patch
"grafserv": patch
"pgl": patch
"grafast": patch
"tamedevil": patch
"graphile": patch
"pg-sql2": patch
"ruru": patch
"@graphile/lru": patch
---

Update package.json repository information
6 changes: 6 additions & 0 deletions .changeset/chilled-eagles-sneeze.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@dataplan/pg": patch
"postgraphile": patch
---

Allow passing `pool` directly to `makePgConfig`.
6 changes: 6 additions & 0 deletions .changeset/chilled-squids-admire.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@dataplan/pg": patch
"postgraphile": patch
---

Allow 'null' to be passed to `withPgClient`/`withPgClientTransaction`
7 changes: 7 additions & 0 deletions .changeset/chilly-lobsters-grab.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"tamedevil": patch
"pg-sql2": patch
---

Allow multiple instances of pg-sql2 and tamedevil to help handle package manager
shenanigans.
8 changes: 8 additions & 0 deletions .changeset/chilly-suits-lie.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"grafast": patch
"graphile-build-pg": patch
"postgraphile": patch
---

PgClassSinglePlan is now enforced, users will be informed if plans return a step
incompatible with the given GraphQL object type.
8 changes: 8 additions & 0 deletions .changeset/clean-drinks-provide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"graphile-utils": patch
---

🚨 makeWrapPlansPlugin callback is now passed `build` rather than `options` -
use `build.options` to get the options object. 🚨 makeWrapPlansPlugin filters
now accept only three args (`context`, `build`, `field`) since the fourth
argument (`options`) was redundant - get it from `build.options` instead.
6 changes: 6 additions & 0 deletions .changeset/clean-falcons-sell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"graphile-build": patch
---

Also trim the empty descriptions from interface fields/args in addition to all
the existing places empty descriptions are trimmed.
6 changes: 6 additions & 0 deletions .changeset/clean-poets-relax.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"graphile": patch
---

Fix bug in 'graphile config print' where plugins weren't treated as providing
themselves.
6 changes: 6 additions & 0 deletions .changeset/clean-seahorses-develop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@dataplan/pg": patch
---

List and range codecs now use the underlying codec to parse values from
Postgres.
14 changes: 14 additions & 0 deletions .changeset/cold-papayas-melt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
"graphile-build-pg": patch
"graphile-build": patch
"graphile-utils": patch
"@grafserv/persisted": patch
"@dataplan/pg": patch
"grafserv": patch
"grafast": patch
"graphile": patch
"ruru": patch
---

Change many of the dependencies to be instead (or also) peerDependencies, to
avoid duplicate modules.
12 changes: 12 additions & 0 deletions .changeset/commit.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/*
* This file exists so that `yarn changeset` auto-commits, but
* `yarn changeset version` does not - we want you to run
* `yarn changeset:version` instead (which will commit).
*/
const commit = require("@changesets/cli/commit");

Object.defineProperty(exports, "__esModule", { value: true });
exports.getAddMessage = commit.default.getAddMessage;
exports.default = {
getAddMessage: exports.getAddMessage,
};
26 changes: 26 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
"changelog": [
"@changesets/changelog-github",
{
"repo": "benjie/crystal"
}
],
"//": {
"snapshot": {
"useCalculatedVersion": true
}
},
"commit": [
"./commit.js",
{
"skipCI": "version"
}
],
"fixed": [],
"linked": [],
"access": "public",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
}
7 changes: 7 additions & 0 deletions .changeset/cool-ducks-brush.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"grafast": patch
---

Restore field-local handling of planning errors safely, eradicating all steps
created while planning an errored field (and falling back to blowing up the
request on error).
5 changes: 5 additions & 0 deletions .changeset/cool-pets-pull.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"graphile-export": patch
---

Fix the name of some exported variables (Step -> Plan)
12 changes: 12 additions & 0 deletions .changeset/cuddly-apricots-beg.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
"grafast": patch
"graphile-build-pg": patch
"graphile-build": patch
"@grafserv/persisted": patch
"postgraphile": patch
"@dataplan/pg": patch
---

Exported `version` no longer uses `require('../package.json')` hack, instead the
version number is written to a source file at versioning time. Packages now
export `version`.
10 changes: 10 additions & 0 deletions .changeset/curly-poems-know.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
"grafast": patch
---

- Adjust OutputPlan printing
- Fix `path` used to track planning errors
- Fix tree shaking when eradicating all steps in a LayerPlan
- Don't `deduplicateSteps()` when printing the plan graph 🤣
- `each()` can now be as connection capable as the list plan was (via
delegation)
7 changes: 7 additions & 0 deletions .changeset/curly-wombats-sit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"graphile-build": patch
"graphile-build-pg": patch
"postgraphile": patch
---

retryOnInitFail implemented, and bug in introspection cache on error resolved.
6 changes: 6 additions & 0 deletions .changeset/cyan-bees-type.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"graphile-build-pg": patch
"postgraphile": patch
---

Introduce \_allRows base inflector used by allRowsConnection and allRowsList
6 changes: 6 additions & 0 deletions .changeset/cyan-queens-admire.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"grafast": patch
---

Gra*fast* will no longer hoist steps into a mutationField layer plan making it
safer to mutate `context` and similar things during a mutation.
8 changes: 8 additions & 0 deletions .changeset/dirty-icons-smoke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"graphile-build-pg": patch
"graphile-build": patch
"postgraphile": patch
---

Improve error messages from custom string scalars when they cannot be parsed as
a string.
Loading