graphile-utils
5.0.0-rc.8
Patch Changes
- #2990
5d408bd
Thanks @benjie! - No code changes. Updates the
release process, cleans up package.json, uses fixed identifiers for peer
dependencies (unless they're explicit dependencies also). Hopefully move to
trusted publishing.
5.0.0-rc.7
Patch Changes
-
#2957
5615d3f
Thanks @benjie! - Significantly reduce the size
of a PostGraphile exported schema (around 20% reduction on test fixtures) by:- marking optional things as optional
- excluding many optional things from being specified in configuration objects
(includingtagsobjects if no tags are present) - using
LIST_TYPESfor PostgreSQL builtin list types - extracting inline function definitions to be global functions where
appropriate, and simplifying functions where not
Breaking changes to types (but more accurate reflection of reality):
extensionsis now marked as optional in many places.extensions.tagsis now marked optional in many places.PgCodecAttribute.notNullis now marked as optional.PgResourceParameter.requiresis now marked as optional.PgCodecRelation.isUniqueis now marked as optional.pgGetArgDetailsFromParameters().argDetails.postgresArgNameis now optional
(may returnundefinedin addition tonull) and.requiredis now
optional (returnsboolean | undefined)
-
#2956
b793077
Thanks @benjie! - Internal refactor: replace
usage of isExecutableStep/assertExecutableStep with isStep/assertStep. -
#2965
d15e1c2
Thanks @benjie! - Make EXPORTABLE's scope a
readonly array for greater compatibility. -
Updated dependencies
[5615d3f,
b793077,
8384026,
81ade71,
57dfa70,
d15e1c2,
eb9695b,
c0b8af9,
5821e39,
c9fd9f3,
60c8690,
8543720,
b73416b]:- graphile-build-pg@5.0.0-rc.6
- graphile-build@5.0.0-rc.5
- @dataplan/pg@1.0.0-rc.6
- grafast@1.0.0-rc.8
- tamedevil@0.1.0-rc.5
5.0.0-rc.6
Patch Changes
-
#2946
cdeae97
Thanks @benjie! - Further reduce wrapPlans
warnings -
#2950
f75fc20
Thanks @benjie! - Add support forbaked()and
apply()in input object definitions inextendSchema(). -
Updated dependencies
[8f50146,
5e83533,
03e5ce5,
f213a8e]:- graphile-build-pg@5.0.0-rc.5
- graphile-config@1.0.0-rc.5
- @dataplan/pg@1.0.0-rc.5
- grafast@1.0.0-rc.7
5.0.0-rc.5
Patch Changes
- #2934
3bb06eb
Thanks @benjie! - Fix major bug in PostGraphile
v5 RC5 where smart tag string matching matches all entities after the first
check due to mutation. - Updated dependencies
[fc2f84f]:- grafast@1.0.0-rc.6
5.0.0-rc.4
Patch Changes
-
#2910
9eb3829
Thanks @benjie! - Use consistent type export
syntax -
a3722d6
Thanks @benjie! - Refactor to enable TypeScript
options rewriteRelativeImportExtensions and erasableSyntaxOnly (including
using .ts extensions in source code) -
#2924
8b4b611
Thanks @benjie! -pgSmartTags()and related
functions now have more natural typing/better inference and improved
performance. -
#2921
e688cc1
Thanks @benjie! - Give extendSchema() support for
argument applyPlan -
#2895
7b20942
Thanks @benjie! - Fix thewrapPlans()resolver
emulation warning to only occur when the type has noassertStep, group
related calls and log them together, offer an option to disable this warning
(along with the ability to name the plugin), and introduce an error page with
detailed information about the why and how to fix of the issue. -
Updated dependencies
[9eb3829,
a3722d6,
0f913ee,
5fc379e,
1d5d63e,
7ca663e]:- graphile-build@5.0.0-rc.4
- graphile-config@1.0.0-rc.4
- @dataplan/pg@1.0.0-rc.4
- grafast@1.0.0-rc.5
- graphile-build-pg@5.0.0-rc.4
- tamedevil@0.1.0-rc.4
5.0.0-rc.3
Patch Changes
-
#2877
1e45a3d
Thanks @benjie! - Safety - use null prototype
objects in more places. -
#2873
0772086
Thanks @benjie! - Update TypeScript configuration
to support Node 22 minimum -
#2888
1a56db2
Thanks @benjaie! - Node v22+ is required for
this module. -
#2875
ced4abe
Thanks @benjie! -wrapPlans()now refuses to
wrap the plan for a field that both has no plan and either has aresolve()
orsubscribe()method (i.e. resolver emulation will be used). This is done
by simply skipping wrapping the resolver, and emitting a warning to the
console. This is a breaking fix as fields that may have previously had the
default plan resolver wrapped may no longer do so, but should not impact
anyone running a "pure" PostGraphile/Grafast schema (it only impacts you if
you are using traditional (non-plan) resolvers, e.g. viaextendSchema(), and
you're also usingwrapPlans()to target these same fields). -
#2872
4ca27c1
Thanks @benjie! - Fix a bug whereapply()
couldn't be added to enum values viaextendSchema(). This is a breaking
fix - if you add non-scalar enum values to your schema viaextendSchema()
then you will now need to use an object wrapper to set them instead (see
example below). An error will be thrown if we suspect this of being the case,
to ensure we don't incorrectly build your schema.extendSchema({ typeDefs: `enum SomeEnum { FOO, BAR }`, enums: { SomeEnum: { values: { + // Scalar values can be specified directly FOO: 7, + // Non-scalars look like enum specification (`value`, `apply()`, + // `extensions`, etc), so must be specified via a wrapper object: - BAR: { mol: 42 }, + BAR: { + value: { mol: 42 }, + }, } } } }) -
Updated dependencies
[44555c7,
86db203,
b69a2b0,
c2ae685,
1e45a3d,
0772086,
a60ed2a,
a565503,
d9ccc82,
1a56db2,
eafa3f0,
22bfbc0,
bd3250e,
456d387,
c65d03c,
b27c562,
f23f0cf,
a258427,
65d9556]:- grafast@1.0.0-rc.4
- graphile-build-pg@5.0.0-rc.3
- @dataplan/pg@1.0.0-rc.3
- graphile-build@5.0.0-rc.3
- graphile-config@1.0.0-rc.3
- tamedevil@0.1.0-rc.3
5.0.0-rc.2
Patch Changes
-
#2806
5ad7ad0
Thanks @benjie! - Fix issues with extending
interfaces by adding newbuild.appendhelper. -
#2802
980e97e
Thanks @miguelocarvajal! - Have
extendSchema()plugins automatically run after many of the builtin plugins,
so the callback runs in a more consistent state. -
Updated dependencies
[5ad7ad0,
f3a9869,
68f61cd,
bd6b605,
a82e6fa]:- graphile-build-pg@5.0.0-rc.2
- graphile-build@5.0.0-rc.2
- grafast@1.0.0-rc.2
- graphile-config@1.0.0-rc.2
- @dataplan/pg@1.0.0-rc.2
- tamedevil@0.1.0-rc.2
5.0.0-rc.1
Patch Changes
-
#2736
3fb7111
Thanks @benjie! -wrapPlans()now automatically
appliesfieldArgswhen you call the underlyingplan(), so your wrapper
applies after field args have been applied. This helps address invalid plan
heirarchy issues due to side effects your plan wrappers may wish to add and
similar. Opt out via
{ autoApplyFieldArgs: false, plan(plan, $parent, fieldArgs) { ... } }. -
#2788
8a852d2
Thanks @benjie! - Fix defining directives in
extendSchema()sometimes throwing
Must not call build.getTypeByName before 'init' phase is complete -
Updated dependencies
[9797500,
be318e6,
abb623d,
92781a1,
930240a,
7b86454,
42a0785,
d196d60,
982c1a5,
6a4e3b9,
eb39702,
c6cbe61,
d4ac603,
8a5a7c5,
ea0135f,
91b8376,
b6821f5]:- @dataplan/pg@1.0.0-rc.1
- grafast@1.0.0-rc.1
- graphile-build-pg@5.0.0-rc.1
- graphile-build@5.0.0-rc.1
- graphile-config@1.0.0-rc.1
- tamedevil@0.1.0-rc.1
5.0.0-beta.45
Patch Changes
-
#2720
2814c63
Thanks @benjie! - Ensure types that implement an
interface defined in extendSchema are added to the schema. -
#2730
4c3cf22
Thanks @benjie! - Updategraphqlversion range -
#2712
32ba479
Thanks @benjie! - Improve errors around
changeNullability() plugin -
Updated dependencies
[4c3cf22,
7ce4d41,
0465b4a,
71e0af2,
a0a6082,
ab96e5f,
278b4d3,
eaa771b,
b539002,
e28e4d9,
020b579,
e790f7a,
c8412aa,
13eb44b,
d0c15cc,
74e15d5,
3488ac0,
b20a63f,
bffbb77,
d414491,
c48ca48,
05f3e44,
81c62bb]:- graphile-build-pg@5.0.0-beta.47
- graphile-build@5.0.0-beta.39
- @dataplan/pg@0.0.1-beta.39
- grafast@0.1.1-beta.27
5.0.0-beta.44
Patch Changes
-
#2692
3d5c464
Thanks @benjie! - Allow forbidding certain
objects/functions from being exported, and raise error as early as possible. -
#2655
5bea9c1
Thanks @hos! - Fix handling of empty string in
changeNullability() -
#2678
6dafac1
Thanks @benjie! - Remove peer dependency
optionality in an attempt to satisfy pnpm's installation algorithms -
#2692
aa8fb3d
Thanks @benjie! - Forbid export of 'build', this
has required a slight degradation of the
makeAddPgTableConditionPlugin/addPgTableCondition signature for people using
the legacy signature - namely the entire build object is no longer available
in the callback that is the fourth argument. (Only have 3 arguments to your
call? You're not impacted!) In the unlikely event this causes you any issues,
your best bet is to move to theapply()approach (only use the 3 documented
arguments), but we can also potentially expand the parts of build that are
made available. -
Updated dependencies
[5dbb9e8,
cfd4c3c,
c3f9c38,
68a1243,
3d5c464,
6762c70,
05b971e,
13513dd,
bc2b188,
87a4c92,
703d162,
c13813e,
4a9072b,
7766c19,
6dafac1,
e15f886,
34efed0,
185d449,
e2048e2]:- graphile-build-pg@5.0.0-beta.45
- @dataplan/pg@0.0.1-beta.37
- graphile-config@0.0.1-beta.18
- grafast@0.1.1-beta.26
- graphile-build@5.0.0-beta.38
- tamedevil@0.0.0-beta.9
5.0.0-beta.43
Patch Changes
- #2649
8cfd4b3
Thanks @benjie! - Allow setting scope in the new
extendSchema()format on all the GraphQL types, plus object fields and input
object fields. - Updated dependencies
[9e21b2a,
2adfd6e,
73f626b,
6113518]:- graphile-build@5.0.0-beta.37
- graphile-build-pg@5.0.0-beta.44
- @dataplan/pg@0.0.1-beta.36
- grafast@0.1.1-beta.25
5.0.0-beta.42
Patch Changes
-
#2559
4c8f028
Thanks @benjie! - Removemake...Plugin
prefix/suffix from plugin factories. (Old name is still supported but
deprecated, this is non-breaking.) -
#2620
c54c6db
Thanks @benjie! - Add experimentalapplyScope()
method to input objects/enums to provide ascopeto.apply(...)methods
invoked by the undocumentedapplyInput(). Documentation help welcome. -
Updated dependencies
[4c8f028,
5451c90,
c54c6db,
7147cb0,
7847c0b,
9d86063,
0e6c4e0,
ad588ec]:- graphile-build-pg@5.0.0-beta.42
- @dataplan/pg@0.0.1-beta.35
- grafast@0.1.1-beta.24
- graphile-build@5.0.0-beta.36
5.0.0-beta.41
Patch Changes
-
Updated dependencies
[0c6b1f1,
e0cdabe]:- graphile-build-pg@5.0.0-beta.41
- graphile-build@5.0.0-beta.35
- graphile-config@0.0.1-beta.17
- @dataplan/pg@0.0.1-beta.34
- grafast@0.1.1-beta.23
5.0.0-beta.40
Patch Changes
- Updated dependencies
[5c802ea6819361eed36b75f246ae0adb35b14669]:- graphile-build-pg@5.0.0-beta.40
- @dataplan/pg@0.0.1-beta.33
- graphile-build@5.0.0-beta.34
5.0.0-beta.39
Patch Changes
-
#2482
459e1869a2ec58925b2bac5458af487c52a8ca37
Thanks @benjie! - Minimum version of Node.js
bumped to Node 22 (the latest LTS). -
#2527
576fb8bad56cb940ab444574d752e914d462018a
Thanks @{! - In order to make the libraries more type
safe,makeGrafastSchema(fromgrafast) andmakeExtendSchemaPlugin(from
postgraphile/utils) have deprecated thetypeDefs/planspattern since
plans(likeresolversin the traditional format) ended up being a
mish-mash of lots of different types and__-prefixed fields for special
cases.Instead the configuration should be split into
typeDefswithobjects,
interfaces,unions,inputObjects,scalarsandenums; and object and
input object fields should be specified via theplansentry within the type
to avoid conflicts withresolveType/isTypeOf/planType/scopeand
similar type-level (rather than field-level) properties. Similarly, enum
values should be added under avaluesproperty. This also means these
type-level fields no longer have the__prefix.Migration is quite straightforward:
- Add new top-level properties. Add
objects,interfaces,unions,
inputObjects,scalars, andenumsas top level properties alongside
typeDefsandplans. Each should be an empty object. You can skip any
where you're not defining types of that kind. - Split definitions based on type kind. For each type defined in
plans
move it into the appropriate new property based on the keyword used to
define the type in thetypeDefs(type→objects,interface
→interfaces,union→unions,input object→
inputObjects,scalar→scalars,enum→enums). - Move field plans into nested
plans: {...}object. For each type
defined in the newobjectsandinputObjectsmaps: create a
plans: { ... }entry inside the type and move all fields (anything not
prefixed with__) inside this new (nested) property. - Move enum values into nested
values: {...}object. For each type
defined in the newenumsmap: create avalues: { ... }entry inside the
type and move all values (anything not prefixed with__) inside this new
(nested) property. - Remove
__prefixes. For each type across
objects/interfaces/unions/interfaceObjects/scalarsandenums:
remove the__prefix from any methods/properties.
Example:
typeDefs: ..., -plans: { +objects: { - __isTypeOf(v) { + isTypeOf(v) { return v.username != null; }, + plans: { fieldName($source, fieldArgs) { // ... }, + }, }, +}, +interfaces: {, MyInterface: { - __resolveType($specifier) { + resolveType($specifier) { // ... } } +}, +enums: { MyEnum: { + values: { ONE: {value: 1}, TWO: {value: 2}, THREE: {value: 3}, + } } },
Other changes:
ObjectPlans/GrafastPlans/FieldPlans/InputObjectPlans/ScalarPlans
all changed to signularInterfaceOrUnionPlanssplit toInterfacePlan/UnionPlan(identical
currently)- Shape of
ObjectPlan/InterfacePlan/UnionPlanhas changed;
DeprecatedObjectPlan/etc exist for backcompat FieldArgscan now accept an input shape indicating the args and their
typesFieldPlanResolver<TArgs, TParentStep, TResultStep>has switched the order
of the first two generic parameters:
FieldPlanResolver<TParentStep, TArgs, TResultStep>- this is to reflect
the order of the arguments to the function. Also null has been removed from
the generics.- Various generics (including
GrafastFieldConfig) that used to take a
GraphQL type instance as a generic parameter no longer do - you need to use
external code generation because TypeScript cannot handle the dynamic
creation. GrafastFieldConfiglast two generics swapped order.GrafastArgumentConfiggenerics completely changed
- Add new top-level properties. Add
-
Updated dependencies
[0e36cb9077c76710d2e407830323f86c5038126e,
c0c3f48fa9f60cb9a4436ea135979b779ecc71ec,
cef9a37f846b4af105ac20960530d65c9f44afa9,
56ce94a847c6a4094643665cbf5d3712f56140b6,
070467c4ea693a2516fc8006bebb88b1ab96fb26,
192a27e08763ea26607344a2ea6c7f5c595cc2a3,
142e39f26ce329f09bee0b5427f1ddc5103e610e,
6ef6abce15936a896156d5316020df55cf7d18e3,
0239c2d519300a72f545e0db7c371adae4ade2a9,
09d95319be3e25e023dfbab9d1542dfe06f65355,
0ea439d33ccef7f8d01ac5f54893ab2bbf1cbd4d,
8034614d1078b1bd177b6e7fcc949420614e3245,
a830770e775a65ce1d09fa767f38e84f5c0e5139,
459e1869a2ec58925b2bac5458af487c52a8ca37,
c350e49e372ec12a4cbf04fb6b4260e01832d12b,
3176ea3e57d626b39613a73117ef97627370ec83,
46a42f5547c041289aa98657ebc6815f4b6c8539,
be3f174c5aae8fe78a240e1bc4e1de7f18644b43,
c43ed67b9d3acbadb172ee88ba9c2a4d32528a25,
576fb8bad56cb940ab444574d752e914d462018a,
9f459101fa4428aa4bac71531e75f99e33da8e17,
921665df8babe2651ab3b5886ab68bb518f2125b,
78bb1a615754d772a5fda000e96073c91fa9eba7,
ab0bcda5fc3c136eea09493a7d9ed4542975858e,
455f4811d37ad8fff91183c7a88621bcf9d79acf,
45adaff886e7cd72b864150927be6c0cb4a7dfe8,
b05d57b932ea00d10715dcab9f79d443408881fc]:- grafast@0.1.1-beta.22
- @dataplan/pg@0.0.1-beta.33
- graphile-build-pg@5.0.0-beta.39
- graphile-build@5.0.0-beta.34
- graphile-config@0.0.1-beta.16
- tamedevil@0.0.0-beta.8
5.0.0-beta.38
Patch Changes
-
d68c5831ed66dc8a7a79aab2100ca733409c6f72
Thanks @benjie! - Improve error messages around
correct usage of typeDefs and gql helper. -
#2355
7bb77961a38abea8a07980a3f47bc3ca22dac8f8
Thanks @benjie! - Fix bug in makeWrapPlansPlugin
where the default plan resolver used was incorrect; use the new
defaultPlanResolverexport fromgrafastinstead of building our own. -
#2376
da6f3c04efe3d8634c0bc3fcf93ac2518de85322
Thanks @benjie! - Overhaul Grafast to remove more
input planning - inputs should be evaluated at runtime - and remove more
plan-time step evaluation.FieldArgs.getis no more; useFieldArgs.getRawor usebakedInput()
(TODO: document) to get the "baked" version of a raw input value.Input object fields no longer have
applyPlan/inputPlan, instead having the
runtime equivalentsapply()andbaked().FieldArgsis no longer
available on input object fields, since these fields are no longer called at
plantime; instead, the actual value is passed.FieldArgsgains.typeAt(path)method that details the GraphQL input type
at the given path.Field arguments are no longer passed
FieldArgs, instead they're passed a
(similar)FieldArgobject representing the argument value itself.autoApplyAfterParentPlanis no more - instead if an argument hasapplyPlan
it will be called automatically unless it was called during the field plan
resolver itself.autoApplyAfterParentSubscribePlanis no more - instead if an argument has
applySubscribePlanit will be called automatically unless it was called
during the field plan resolver itself.Field arguments no longer support
inputPlan- usebakedInput()if you need
that.Input fields no longer support
inputPlan,applyPlan,
autoApplyAfterParentInputPlannorautoApplyAfterParentApplyPlan. Instead,
apply()(which is called byapplyStep()at runtime) has been added.sqlValueWithCodec(value, codec)can be used at runtime in places where
$step.placeholder($value, codec)would have been used previously.
placeholderhas been removed from all places that are now runtime - namely
the list of modifiers below...The following
ModifierStepclasses have all dropped theirStepsuffix,
theseModifierclasses now all run at runtime, and are thus no longer steps;
they're invoked as part of the newapplyInput()(TODO: document) step:ModifierStep⇒ModifierPgBooleanFilterStep⇒PgBooleanFilterPgClassFilterStep⇒PgClassFilterPgConditionCapableParentStep⇒PgConditionCapableParentPgConditionLikeStep⇒PgConditionLikePgConditionStepMode⇒PgConditionModePgConditionStep⇒PgConditionPgManyFilterStep⇒PgManyFilterPgOrFilterStep⇒PgOrFilterPgTempTableStep⇒PgTempTableSetterCapableStep⇒SetterCapableSetterStep⇒Setter
(Interestingly, other than the removal of
placeholderand the fact they deal
with runtime values rather than steps now, they're very similar to what they
were before.)The deprecated forms of the above have been removed.
Methods that rely on these modifier plans have been removed:
PgUnionAllStep.wherePlan- use
fieldArg.apply($unionAll, qb => qb.whereBuilder())insteadPgUnionAllStep.havingPlan- use
fieldArg.apply($unionAll, qb => qb.havingBuilder())instead- Same for PgSelectStep
The following gain query builders:
PgInsertSinglePgUpdateSinglePgDeleteSingle
Query builders gain
meta, an object that can be augmented with metadata
about the operation (typically this relates to cursors and similar
functionality). This is now used to implementclientMutationId.Extends query builders with additional functionality.
Many of the types have had their generics changed, TypeScript should guide you
if you have issues here.NodeIdHandlernow requires agetIdentifiersmethod that runs at runtime
and returns the identifiers from a decoded NodeId string.Types around GraphQL Global Object Identification (i.e.
Node/id) have
changed. -
Updated dependencies
[d34014a9a3c469154cc796086ba13719954731e5,
d3ae3415c230784fdfefc9d192ad93aca462bceb,
98516379ac355a0833a64e002f3717cc3a1d6473,
f8602d05eed3247c90b87c55d7af580d1698effc,
65df25534fa3f787ba2ab7fd9547d295ff2b1288,
1b3c76efd27df73eab3a5a1d221ce13de4cd6b1a,
f6e22692b628703b8ea48e580dc0b6f0bcbc9c5a,
c3538050abbb485cf1d43f7c870b89f1ad7c2218,
3c0a925f26f10cae627a23c49c75ccd8d76b60c8,
fcaeb48844156e258a037f420ea1505edb50c52a,
68926abc31c32ce527327ffbb1ede4b0b7be446b,
98c5009e21e423b0da22c2cb70cdb62909578f50,
4b49dbd2df3b339a2ba3f1e9ff400fa1a125298b,
d7950e8e28ec6106a4ce2f7fe5e35d88b10eac48,
c8f1971ea4198633ec97f72f82abf65089f71a88,
182ed0564104f59b012e0f9ffd452556b0927750,
dd3d22eab73a8554715bf1111e30586251f69a88,
a120a8e43b24dfc174950cdbb69e481272a0b45e,
be1e558d6a1a8cae3bf4b5724c340469d8837504,
84f06eafa051e907a3050237ac6ee5aefb184652,
4a3aeaa77c8b8d2e39c1a9d05581d0c613b812cf,
12d3a7174949794a1679132635e196f5dadce8a2,
ab7658ac44e1a5a0a98c6bb688a26d94b1175cc1,
bc2a00d35f0a1954dba22e857adc3f4e2f5118e5,
ceeb9a6b63e566b09298e0440a385943302ad0f9,
3e8c64bef928295494119e15e1e55cbdadb696fa,
0fc2db95d90df918cf5c59ef85f22ac78d8000d3,
90e81a5deeae554a8be2dd55dcd01489860e96e6,
836c8327a5ca1bd3c69f72055e71d00694de363e,
2f31836cb89a7ab27a8919803fe12b53a46d77e4,
c59132eb7a93bc82493d2f1ca050db8aaea9f4d1,
7c38cdeffe034c9b4f5cdd03a8f7f446bd52dcb7,
728888b28fcd2a6fc481e0ccdfe20d41181a091f,
f4f39092d7a51517668384945895d3b450237cce,
5cf3dc9d158891eaf324b2cd4f485d1d4bbb6b5e,
925689578ee9def403382df70f0e003bb299c166,
83d3b533e702cc875b46ba2ca02bf3642b421be8,
7001138c38e09822ad13db1018c62d2cac37941e,
e9e7e33665e22ec397e9ead054d2e4aad3eadc8c,
bb6ec8d834e3e630e28316196246f514114a2296,
3e188c2e981193d228ba3b7433f5e326336f629b,
07a5469e5d3d050a7bcab928bb751c9e150d2e49,
e6da5d956ab696932410e7172cedfacba71dbf5e,
2b1918d053f590cdc534c8cb81f7e74e96c1bbe6,
037a1bcdc8ed8493d4748e08c18f258e4382a815,
72b300b436a7acedaa7d0e3a7a5458d15a0e5396,
770363214ee630746cddc9080dec22bbf38a3bb5,
d1ecb39693a341f85762b27012ec4ea013857b0c,
042ebafe11fcf7e2ecac9b131265a55dddd42a6d,
fa005eb0783c58a2476add984fbdd462e0e91dbe,
df0e5a0f968cf6f9ae97b68745a9a2f391324bf5,
ef4cf75acd80e6b9c700c2b5a7ace899e565ef7f,
ba2bfa15deaaddd92757a56c2b761624afe940bd,
c041fd250372c57601188b65a6411c8f440afab6,
629b45aab49151810f6efc18ac18f7d735626433,
6d19724330d50d076aab9442660fa8abddd095cb,
ca5bc1a834df7b894088fb8602a12f9fcff55b38,
da6f3c04efe3d8634c0bc3fcf93ac2518de85322,
8026b982a81776fb3d1d808392970c2d678c4023,
d257a1a1e59a7d4da0bf67345c07b04c04a2f7da,
00d79e6f5608affc3f36bb0ce4ca2547230174e7,
15854c5109114919b3d38fa675c539cda1f634a1,
f0bc64b71914dfdd3612f4b65370401fd85b97bc]:- grafast@0.1.1-beta.21
- @dataplan/pg@0.0.1-beta.32
- graphile-build-pg@5.0.0-beta.38
- graphile-build@5.0.0-beta.33
- graphile-config@0.0.1-beta.15
5.0.0-beta.37
Patch Changes
- Updated dependencies
[fc9d64eb8,
a2dbad945,
31078842a,
5a0ec31de]:- @dataplan/pg@0.0.1-beta.31
- grafast@0.1.1-beta.20
- graphile-build-pg@5.0.0-beta.37
- graphile-build@5.0.0-beta.32
5.0.0-beta.36
Patch Changes
- Updated dependencies
[83c546509]:- graphile-config@0.0.1-beta.14
- @dataplan/pg@0.0.1-beta.30
- grafast@0.1.1-beta.19
- graphile-build@5.0.0-beta.31
- graphile-build-pg@5.0.0-beta.36
5.0.0-beta.35
Patch Changes
- Updated dependencies
[7580bc16a,
b336a5829]:- graphile-config@0.0.1-beta.13
- @dataplan/pg@0.0.1-beta.29
- grafast@0.1.1-beta.18
- graphile-build@5.0.0-beta.30
- graphile-build-pg@5.0.0-beta.35
5.0.0-beta.34
Patch Changes
- Updated dependencies
[bee1db4f4]:- graphile-build-pg@5.0.0-beta.34
5.0.0-beta.33
Patch Changes
- Updated dependencies
[555d65cce,
69ab227b5,
efa25d97d,
d13b76f0f,
b167bd849,
a202145c5,
2a37fb99a,
5d9f2de85,
6a13ecbd4,
84f07626d,
86e228299,
933786868,
cba6ee06d]:- graphile-build-pg@5.0.0-beta.33
- graphile-build@5.0.0-beta.29
- grafast@0.1.1-beta.17
- graphile-config@0.0.1-beta.12
- @dataplan/pg@0.0.1-beta.28
5.0.0-beta.32
Patch Changes
- Updated dependencies
[87bdf9730,
5626c7d36,
76c7340b7,
aa480f6a3]:- graphile-build-pg@5.0.0-beta.32
- graphile-config@0.0.1-beta.11
- grafast@0.1.1-beta.16
- @dataplan/pg@0.0.1-beta.27
- graphile-build@5.0.0-beta.28
5.0.0-beta.31
Patch Changes
- Updated dependencies
[632691409]:- graphile-build-pg@5.0.0-beta.31
- graphile-build@5.0.0-beta.27
5.0.0-beta.30
Patch Changes
- Updated dependencies
[0b1f7b577]:- graphile-build-pg@5.0.0-beta.30
- graphile-build@5.0.0-beta.26
5.0.0-beta.29
Patch Changes
- Updated dependencies
[d7e6e714f,
d5834def1,
bb006ec7b,
653929af0,
6fdc6cad8,
42b982463,
eb69c7361,
54054b873,
884a4b429,
0df171123,
1eac03ec2,
dfac43992,
38835313a,
426e9320e,
e8a9fd424,
cc0941731,
50f6ce456,
b0865d169,
3b09b414f,
b7b6dd64f,
8b472cd51,
ba637b56d,
9cd9bb522]:- graphile-build-pg@5.0.0-beta.29
- grafast@0.1.1-beta.15
- graphile-build@5.0.0-beta.25
- @dataplan/pg@0.0.1-beta.26
- graphile-config@0.0.1-beta.10
5.0.0-beta.28
Patch Changes
- Updated dependencies
[52ef49ca9,
82ce02cd9,
871d32b2a,
e8a0c4441,
d9d07b97b,
a26e3a30c,
eca7e62e2,
02c11a4d4]:- graphile-build-pg@5.0.0-beta.28
- @dataplan/pg@0.0.1-beta.25
- grafast@0.1.1-beta.14
- graphile-build@5.0.0-beta.24
5.0.0-beta.27
Patch Changes
- Updated dependencies
[807650035]:- @dataplan/pg@0.0.1-beta.24
- grafast@0.1.1-beta.13
- graphile-build-pg@5.0.0-beta.27
- graphile-build@5.0.0-beta.23
5.0.0-beta.26
Patch Changes
-
#2094
c0e50a1b4
Thanks @benjie! - makeWrapPlansPlugin more likely
to be exportable. -
Updated dependencies
[1f67999eb,
1bd50b61e,
8bdc553b7,
4e102b1a1,
1cabbd311,
7bb1573ba,
590b6fdf5,
18addb385,
d6102714e,
6ed615e55,
b25cc539c,
867f33136,
925123497,
cf535c210,
acf99b190,
4967a197f,
1908e1ba1,
084d80be6,
aa0474755]:- graphile-build-pg@5.0.0-beta.26
- grafast@0.1.1-beta.12
- @dataplan/pg@0.0.1-beta.23
- graphile-build@5.0.0-beta.22
5.0.0-beta.25
Patch Changes
- Updated dependencies
[582bd768f]:- graphile-build@5.0.0-beta.21
- graphile-config@0.0.1-beta.9
- @dataplan/pg@0.0.1-beta.22
- grafast@0.1.1-beta.11
- graphile-build-pg@5.0.0-beta.25
5.0.0-beta.24
Patch Changes
- Updated dependencies
[3c161f7e1,
a674a9923,
b7cfeffd1]:- grafast@0.1.1-beta.10
- @dataplan/pg@0.0.1-beta.21
- graphile-build@5.0.0-beta.20
- graphile-build-pg@5.0.0-beta.24
5.0.0-beta.23
Patch Changes
- Updated dependencies
[437570f97]:- graphile-build-pg@5.0.0-beta.23
- grafast@0.1.1-beta.9
- @dataplan/pg@0.0.1-beta.20
- graphile-build@5.0.0-beta.19
5.0.0-beta.22
Patch Changes
- Updated dependencies
[1842af661,
bd5a908a4]:- graphile-build-pg@5.0.0-beta.22
- graphile-build@5.0.0-beta.18
- grafast@0.1.1-beta.8
- @dataplan/pg@0.0.1-beta.19
5.0.0-beta.21
Patch Changes
-
#2042
e22cb4dfa
Thanks @benjie! - Exposenullable?: booleanas
an orderByAscDesc option, and default it true if 'nulls' is set. Vital if
you're ordering by nullable things! -
#2006
bee0a0a68
Thanks @benjie! - Adopt improved inflection
typings. -
Updated dependencies
[357d475f5,
30bcd6c12,
3551725e7,
80836471e,
b788dd868,
5eca6d65a,
a5c20fefb,
1ce08980e,
ab08cbf9c,
dff4f2535,
a287a57c2,
45e10950b,
2fe56f9a6,
fed603d71,
ed6e0d278,
86168b740,
7ad35fe4d,
e82e4911e,
272608c13,
42ece5aa6,
e0d69e518,
db8ceed0f,
6699388ec,
966203504,
c1645b249,
ed8bbaa3c,
a0e82b9c5,
14e2412ee,
c48d3da7f,
57ab0e1e7,
8442242e4,
bee0a0a68,
51a94417f,
64ce7b765,
cba842357,
2fa77d0f2,
81d17460c]:- @dataplan/pg@0.0.1-beta.18
- grafast@0.1.1-beta.7
- tamedevil@0.0.0-beta.7
- graphile-build-pg@5.0.0-beta.21
- graphile-build@5.0.0-beta.17
- graphile-config@0.0.1-beta.8
5.0.0-beta.20
Patch Changes
- #1958
8315e8d01
Thanks @benjie! - EXPORTABLE now accepts a third
argument,nameHint, which is used to hint what variable name to use for the
given value. Used this ingraphile-exportalong with some fixes and
optimizations to improve the exports further. - Updated dependencies
[9f85c614d,
6c6be29f1,
6c80c44b7,
179d25b09,
8315e8d01,
9d53dde72]:- @dataplan/pg@0.0.1-beta.17
- grafast@0.1.1-beta.6
- graphile-build-pg@5.0.0-beta.20
- graphile-build@5.0.0-beta.16
- tamedevil@0.0.0-beta.6
5.0.0-beta.19
Patch Changes
-
#1924
ef44c29b2
Thanks @benjie! - 🚨 TypeScript is now configured
to hide interfaces marked as@internal. This may result in a few errors
where you're accessing things you oughtn't be, but also may hide some
interfaces that should be exposed - please file an issue if an API you were
dependent on has been removed from the TypeScript typings. If that API happens
to bestep.dependencies; you should first read this:
https://benjie.dev/graphql/ancestors -
#1931
ec3112c7b
Thanks @benjie! - Add support for deprecating
arguments to makeExtendSchemaPlugin -
Updated dependencies
[49fd8afed,
63dd7ea99,
d801c9778,
3a2ea80ee,
ef44c29b2,
8ea67f891,
5de3e86eb,
e20e66ed7]:- tamedevil@0.0.0-beta.5
- grafast@0.1.1-beta.5
- graphile-build-pg@5.0.0-beta.19
- graphile-build@5.0.0-beta.15
- @dataplan/pg@0.0.1-beta.16
- graphile-config@0.0.1-beta.7
5.0.0-beta.18
Patch Changes
-
#1916
a2176ea32
Thanks @benjie! - Add__assertStepregistration
support to makeGrafastSchema and PostGraphile's makeExtendSchemaPlugin. -
#1917
886833e2e
Thanks @benjie! - AddpolymorphicBranchstep to
core to help users deal with simple polymorphic use cases. -
#1920
635af159f
Thanks @benjie! - Add ability to set (and infer)
scopes to makeExtendSchemaPlugin -
Updated dependencies
[555a2be03,
1b6c2f636,
a2176ea32,
886833e2e,
5b2db0c75,
184773382,
f97d7976a]:- @dataplan/pg@0.0.1-beta.15
- tamedevil@0.0.0-beta.4
- grafast@0.1.1-beta.4
- graphile-build-pg@5.0.0-beta.18
- graphile-build@5.0.0-beta.14
5.0.0-beta.17
Patch Changes
- Updated dependencies
[0df5511ac]:- graphile-config@0.0.1-beta.6
- @dataplan/pg@0.0.1-beta.14
- grafast@0.1.1-beta.3
- graphile-build@5.0.0-beta.13
- graphile-build-pg@5.0.0-beta.17
5.0.0-beta.16
Patch Changes
- #1886
8a76db07f
Thanks @benjie! - Attempt to catch invalid plan
resolvers (e.g. those returningundefined) sooner. - Updated dependencies
[3fdc2bce4,
aeef362b5,
8a76db07f,
bce0636d4,
f305c3278,
3b558e0c1,
2ae8d33aa,
9e1df08b7,
8a0cdb95f,
dbd91fdd8,
f1d5ad18e,
c66c3527c,
f66cc40b3,
f18635a5c,
1c9f1c0ed,
9fb5cc06e]:- grafast@0.1.1-beta.2
- graphile-build-pg@5.0.0-beta.16
- graphile-build@5.0.0-beta.12
- graphile-config@0.0.1-beta.5
5.0.0-beta.15
Patch Changes
- Updated dependencies
[49fcb0d58,
2e7fc6449,
7aef73319]:- grafast@0.1.1-beta.1
- graphile-build-pg@5.0.0-beta.15
- graphile-config@0.0.1-beta.4
- graphile-build@5.0.0-beta.11
5.0.0-beta.14
Patch Changes
- Updated dependencies
[2d447a6b4]:- graphile-build-pg@5.0.0-beta.14
5.0.0-beta.13
Patch Changes
- Updated dependencies
[26e0bc726]:- graphile-build-pg@5.0.0-beta.13
5.0.0-beta.12
Patch Changes
- Updated dependencies []:
- grafast@0.1.1-beta.0
- graphile-build-pg@5.0.0-beta.12
5.0.0-beta.11
Patch Changes
-
#1760
eeccfd675
Thanks @benjie! - makeExtendSchemaPlugin now
support specifying scalar details via resolvers/plans -
#1768
264158f03
Thanks @benjie! - Fixtype Foo extends Bar
syntax in makeExtendSchemaPlugin - no longer throws
getTypeByName before 'init' phaseerror. -
Updated dependencies
[4a4d26d87,
b2bce88da,
861a8a306,
9a84bc6dd,
b728d7fb9,
7d55d2c34]:- grafast@0.1.1-beta.0
- graphile-build-pg@5.0.0-beta.11
- graphile-build@5.0.0-beta.10
5.0.0-beta.10
Patch Changes
-
#514
c9848f693
Thanks @benjie! - Update package.json repository
information -
Updated dependencies
[c9848f693,
ede1092fe,
566983fbd,
409bf6071]:- graphile-build-pg@5.0.0-beta.10
- graphile-build@5.0.0-beta.9
- graphile-config@0.0.1-beta.3
- grafast@0.0.1-beta.8
- tamedevil@0.0.0-beta.3
5.0.0-beta.9
Patch Changes
- Updated dependencies
[3700e204f]:- grafast@0.0.1-beta.7
- graphile-build@5.0.0-beta.8
- graphile-build-pg@5.0.0-beta.9
5.0.0-beta.8
Patch Changes
-
#496
c9bfd9892
Thanks @benjie! - Update dependencies (sometimes
through major versions). -
Updated dependencies
[c9bfd9892,
e613b476d]:- graphile-build-pg@5.0.0-beta.8
- graphile-build@5.0.0-beta.7
- graphile-config@0.0.1-beta.2
- grafast@0.0.1-beta.6
- tamedevil@0.0.0-beta.2
5.0.0-beta.7
Patch Changes
- Updated dependencies
[53186213a,
e916b7412,
73f1b5218,
109c8ec67]:- grafast@0.0.1-beta.5
- graphile-build-pg@5.0.0-beta.7
- graphile-build@5.0.0-beta.6
5.0.0-beta.6
Patch Changes
- #460
07883a1a5
Thanks @benjie! - Fix makeExtendSchemaPlugin: now
calls callback in 'init' phase, soBuildtype is used (rather than
Partial<Build>) and other types/handlers/etc should already be registered. - Updated dependencies
[f9cc88dc4,
d17dd1cd4,
00d026409]:- grafast@0.0.1-beta.4
- graphile-build-pg@5.0.0-beta.6
- graphile-build@5.0.0-beta.5
5.0.0-beta.5
Patch Changes
- Updated dependencies
[22ecd1e5d]:- graphile-build-pg@5.0.0-beta.5
5.0.0-beta.4
Patch Changes
- Updated dependencies
[196e5c1aa,
e75bf57dd]:- graphile-build-pg@5.0.0-beta.4
- graphile-build@5.0.0-beta.4
5.0.0-beta.3
Patch Changes
- Updated dependencies
[46cd08aa1,
d3ab4e12d]:- grafast@0.0.1-beta.3
- graphile-build-pg@5.0.0-beta.3
- graphile-build@5.0.0-beta.3
5.0.0-beta.2
Patch Changes
- Updated dependencies
[23bd3c291]:- grafast@0.0.1-beta.2
- graphile-build@5.0.0-beta.2
- graphile-build-pg@5.0.0-beta.2
5.0.0-beta.1
Patch Changes
-
Updated dependencies
[cbd987385]:- grafast@0.0.1-beta.1
- graphile-build@5.0.0-beta.1
- graphile-build-pg@5.0.0-beta.1
- graphile-config@0.0.1-beta.1
- tamedevil@0.0.0-beta.1
5.0.0-alpha.20
Patch Changes
- Updated dependencies
[dfefdad3c,
6c1c1a34f]:- graphile-build-pg@5.0.0-alpha.20
- grafast@0.0.1-alpha.16
- graphile-build@5.0.0-alpha.18
5.0.0-alpha.19
Patch Changes
-
#428
c00a21cb9
Thanks @benjie! - Improve name and description of
TagsFilePlugin -
Updated dependencies
[ea003ca3a,
5491e10b0,
a9561d62d,
232885703,
db19ed9c3,
31e776e03,
055c4e438,
cf32f0397,
57d88b5fa,
a22830b2f,
9f87a26b1,
9695c65f8]:- grafast@0.0.1-alpha.15
- graphile-build-pg@5.0.0-alpha.19
- graphile-build@5.0.0-alpha.17
- graphile-config@0.0.1-alpha.7
5.0.0-alpha.18
Patch Changes
5.0.0-alpha.17
Patch Changes
- Updated dependencies
[c1518fad0]:- graphile-build-pg@5.0.0-alpha.17
- graphile-build@5.0.0-alpha.16
5.0.0-alpha.16
Patch Changes
- Updated dependencies
[d99d666fb]:- grafast@0.0.1-alpha.14
- graphile-build@5.0.0-alpha.15
- graphile-build-pg@5.0.0-alpha.16
5.0.0-alpha.15
Patch Changes
-
#418
9ab2adba2
Thanks @benjie! - Overhaul peerDependencies and
dependencies to try and eliminate duplicate modules error. -
#410
4eda0cd57
Thanks @benjie! - Use a single behavior check per
location.In the past two weeks I added a few behavior strings like
array:attribute:filterBy(a scoped form ofattribute:filterByto only be
used by attributes that were arrays); however I've realised that this will
require plugin authors to implement all the same logic to figure out what type
an attribute is in order to then see if it has the relevant behavior. This
goes against the design of the behavior system, and makes plugin authors'
lives harder. So I've reverted this, and instead used theentityBehaviors
system to add or remove the baseattribute:filterBy(etc) behavior depending
on what the type of the attribute is. -
Updated dependencies
[e7dd2e039,
620f9e07e,
f115b6fb2,
1882e0185,
881672305,
e5012f9a1,
9ab2adba2,
47f6f018b,
ff4395bfc,
502b23340,
4eda0cd57]:- graphile-build-pg@5.0.0-alpha.15
- graphile-build@5.0.0-alpha.14
- grafast@0.0.1-alpha.13
5.0.0-alpha.14
Patch Changes
- #406
9f5a784c6
Thanks @benjie! - Introduce TypeScript CIF
gatherConfig() to help typing thegatherphase for plugins. - Updated dependencies
[bfe5997e3,
9281a2d88,
903c04b3b,
c5eceba07,
675b7abb9,
c5050dd28,
9281a2d88,
808af8af3,
9f5a784c6,
2849cc3fb,
8ca9425ed,
51414d328,
a298fc893,
1300a9753,
0d1782869,
9281a2d88,
bc14d488d,
dda361d11]:- graphile-build-pg@5.0.0-alpha.14
- grafast@0.0.1-alpha.12
- graphile-build@5.0.0-alpha.13
- graphile-config@0.0.1-alpha.6
- pg-introspection@0.0.1-alpha.4
5.0.0-alpha.13
Patch Changes
- Updated dependencies
[70b2c3900,
37d829b89,
ff91a5660,
644938276,
47365f0df,
339cb005e]:- graphile-build-pg@5.0.0-alpha.13
- graphile-build@5.0.0-alpha.12
- graphile-config@0.0.1-alpha.5
- grafast@0.0.1-alpha.11
5.0.0-alpha.12
Patch Changes
-
#399
409581534
Thanks @benjie! - Change many of the dependencies
to be instead (or also) peerDependencies, to avoid duplicate modules. -
#396
7573bf374
Thanks @benjie! - Address a decent number of
TODO/FIXME/etc comments in the codebase. -
#383
2c8586b36
Thanks @benjie! - Change
'objectType.extensions.grafast.Step' to
'objectType.extensions.grafast.assertStep', accept it via object spec,
deprecate registerObjectType form that accepts it (pass via object spec
instead), improve typings around it. -
Updated dependencies
[409581534,
17fe531d7,
b7533bd4d,
326aa99cd,
9238d3ce4,
9feb769c2,
b5eb7c490,
976958e80,
7573bf374,
95b2ab41e,
2c8586b36,
8230fcaeb,
6f545683c,
c43802d74,
b118b8f6d,
b66d2503b,
9008c4f87,
47ff7e824,
b868aa63f,
e8c81cd20,
3caaced6c,
9f2507ed9]:- graphile-build-pg@5.0.0-alpha.12
- graphile-build@5.0.0-alpha.11
- grafast@0.0.1-alpha.10
- pg-introspection@0.0.1-alpha.3
5.0.0-alpha.11
Patch Changes
- Updated dependencies
[56237691b,
ed1982f31,
a94f11091,
1fe47a2b0,
198ac74d5,
6878c589c,
2ac706f18,
bcfffd5fe,
dad4d4aae,
e443db39b]:- grafast@0.0.1-alpha.9
- graphile-build-pg@5.0.0-alpha.11
- graphile-build@5.0.0-alpha.10
- graphile-config@0.0.1-alpha.4
5.0.0-alpha.10
Patch Changes
- Updated dependencies
[dd3ef599c]:- grafast@0.0.1-alpha.8
- graphile-build@5.0.0-alpha.9
- graphile-build-pg@5.0.0-alpha.10
5.0.0-alpha.9
Patch Changes
- Updated dependencies
[5c9d32264,
2fcbe688c,
3a984718a,
fe9154b23,
adc7ae5e0]:- grafast@0.0.1-alpha.7
- graphile-build-pg@5.0.0-alpha.9
- graphile-build@5.0.0-alpha.8
- graphile-config@0.0.1-alpha.3
5.0.0-alpha.8
Patch Changes
- Updated dependencies
[dcc3d0355,
f75926f4b,
ca1526b70,
3426b0f4a]:- graphile-build-pg@5.0.0-alpha.8
- grafast@0.0.1-alpha.6
- graphile-build@5.0.0-alpha.7
5.0.0-alpha.7
Patch Changes
- Updated dependencies
[ef8432511,
86e503d78,
2850e4732,
24822d0dc]:- graphile-build-pg@5.0.0-alpha.7
- grafast@0.0.1-alpha.5
- graphile-build@5.0.0-alpha.6
5.0.0-alpha.6
Patch Changes
- Updated dependencies
[1ea7acdf5]:- graphile-build-pg@5.0.0-alpha.6
5.0.0-alpha.5
Patch Changes
- Updated dependencies
[45dcf3a8f]:- grafast@0.0.1-alpha.4
- graphile-build@5.0.0-alpha.5
- graphile-build-pg@5.0.0-alpha.5
5.0.0-alpha.4
Patch Changes
- Updated dependencies
[faa1c9eaa]:- graphile-build-pg@5.0.0-alpha.4
- graphile-build@5.0.0-alpha.4
5.0.0-alpha.3
Patch Changes
-
7f857950a
Thanks @benjie! - Upgrade to the latest
TypeScript/tslib -
Updated dependencies
[2389f47ec,
e91ee201d,
865bec590,
7f857950a,
9605165d5,
d39a5d409]:- grafast@0.0.1-alpha.3
- graphile-build@5.0.0-alpha.3
- graphile-build-pg@5.0.0-alpha.3
- graphile-config@0.0.1-alpha.2
- pg-introspection@0.0.1-alpha.2
5.0.0-alpha.2
Patch Changes
- Updated dependencies
[3df3f1726]:- grafast@0.0.1-alpha.2
- graphile-build-pg@5.0.0-alpha.2
- graphile-build@5.0.0-alpha.2
5.0.0-alpha.1
Patch Changes
-
759ad403d
Thanks @benjie! - Alpha release - see
https://postgraphile.org/news/2023-04-26-version-5-alpha -
Updated dependencies
[759ad403d]:- grafast@0.0.1-alpha.1
- graphile-build@5.0.0-alpha.1
- graphile-build-pg@5.0.0-alpha.1
- graphile-config@0.0.1-alpha.1
- pg-introspection@0.0.1-alpha.1
5.0.0-1.3
Patch Changes
- Updated dependencies
[8d270ead3,
b4eaf89f4]:- grafast@0.0.1-1.3
- graphile-config@0.0.1-1.2
- graphile-build-pg@5.0.0-1.3
- graphile-build@5.0.0-1.3
5.0.0-1.2
Patch Changes
- Updated dependencies
[7dcb0e008]:- grafast@0.0.1-1.2
- graphile-build@5.0.0-1.2
- graphile-build-pg@5.0.0-1.2
5.0.0-1.1
Patch Changes
-
#260
d5312e6b9
Thanks @benjie! - TypeScript v5 is now required -
#271
261eb520b
Thanks @benjie! - 🚨 RENAME ALL THE THINGSThe term 'source' was overloaded, and 'configs' was too vague, and
'databaseName' was misleading, and 'source' behaviours actually applied to
resources, and more. So, we've renamed lots of things as part of the API
stabilization work. You're probably only affected by the first 2 bullet
points.pgConfigs->pgServices(also applies to relatedpgConfigterms such
asmakePgConfig->makePgService,MakePgConfigOptions->
MakePgServiceOptions, etc) - see yourgraphile.config.tsor equivalent
file- All
*:source:*behaviors are now*:resource:*behaviors (use regexp
/:source\b|\bsource:[a-z$]/to find the places that need updating) PgDatabaseConfiguration->PgServiceConfigurationdatabaseName->serviceName(because it's not the name of the database,
it's the name of thepgServices(which waspgConfigs) entry)PgResourceConfig::source->PgResourceConfig.from('source' is
overloaded, so use a more direct term)PgResource::source->PgResource.fromPgSelectPlanJoin::source->PgSelectPlanJoin.fromhelpers.pgIntrospection.getDatabase->
helpers.pgIntrospection.getServicehelpers.pgIntrospection.getExecutorForDatabase->
helpers.pgIntrospection.getExecutorForService
-
Updated dependencies
[2df36c5a1,
c5d89d705,
a73f9c709,
ae304b33c,
d5312e6b9,
22ec50e36,
0f4709356,
c22dcde7b,
bd37be707,
96b0bd14e,
d951897ee,
366b166dc,
261eb520b,
395b4a2dd,
a14cf5f4c]:- graphile-build-pg@5.0.0-1.1
- graphile-build@5.0.0-1.1
- grafast@0.0.1-1.1
- pg-introspection@0.0.1-1.1
- graphile-config@0.0.1-1.1
5.0.0-0.35
Patch Changes
- Updated dependencies
[89d16c972,
8f323bdc8,
9e7183c02]:- grafast@0.0.1-0.23
- graphile-build-pg@5.0.0-0.34
- graphile-build@5.0.0-0.29
5.0.0-0.34
Patch Changes
- #236
c802cb307
Thanks @benjie! - 🚨 makeWrapPlansPlugin callback
is now passedbuildrather thanoptions- usebuild.optionsto get the
options object. 🚨 makeWrapPlansPlugin filters now accept only three args
(context,build,field) since the fourth argument (options) was
redundant - get it frombuild.optionsinstead.
5.0.0-0.33
Patch Changes
-
#233
a50bc5be4
Thanks @benjie! - Introduce new
GraphQLObjectType_fields_field_args_arg and
GraphQLInterfaceType_fields_field_args_arg hooks to resolve some plugin
ordering issues. -
#233
11e7c12c5
Thanks @benjie! - Solve mutation issue in plugin
ordering code which lead to heisenbugs. -
Updated dependencies
[a50bc5be4,
6fb7ef449,
11e7c12c5,
2f50a633a,
005e5cea0]:- graphile-build@5.0.0-0.28
- graphile-build-pg@5.0.0-0.33
- graphile-config@0.0.1-0.6
- grafast@0.0.1-0.22
5.0.0-0.32
Patch Changes
- Updated dependencies
[f5a04cf66,
13cfc7501,
b9a2236d4,
ac6137bb6]:- grafast@0.0.1-0.21
- graphile-build-pg@5.0.0-0.32
- graphile-build@5.0.0-0.27
5.0.0-0.31
Patch Changes
- Updated dependencies [
aac8732f9]:- grafast@0.0.1-0.20
- graphile-build@5.0.0-0.26
- graphile-build-pg@5.0.0-0.31
5.0.0-0.30
Patch Changes
- Updated dependencies
[397e8bb40]:- grafast@0.0.1-0.19
- graphile-build@5.0.0-0.25
- graphile-build-pg@5.0.0-0.30
5.0.0-0.29
Patch Changes
- #223
df8c06657
Thanks @benjie! -graphile-utilsnow includes
themakeAddPgTableConditionPluginandmakeAddPgTableOrderByPlugin
generators, freshly ported from V4. The signatures of these functions has
changed slightly, but the functionality is broadly the same. - Updated dependencies
[4c2b7d1ca,
2abc58cf6,
c8a56cdc8,
df8c06657]:- grafast@0.0.1-0.18
- graphile-build@5.0.0-0.24
- graphile-build-pg@5.0.0-0.29
5.0.0-0.28
Patch Changes
5.0.0-0.27
Patch Changes
- Updated dependencies [
f48860d4f]:- grafast@0.0.1-0.17
- graphile-build@5.0.0-0.22
- graphile-build-pg@5.0.0-0.27
5.0.0-0.26
Patch Changes
- Updated dependencies
[df89aba52,
3ed7d3349]:- grafast@0.0.1-0.16
- graphile-build-pg@5.0.0-0.26
- graphile-build@5.0.0-0.21
5.0.0-0.25
Patch Changes
- Updated dependencies [
a8d26b30a]:- graphile-build-pg@5.0.0-0.25
5.0.0-0.24
Patch Changes
- Updated dependencies [
5812ad277]:- graphile-build-pg@5.0.0-0.24
5.0.0-0.23
Patch Changes
-
#210
b523118fe
Thanks @benjie! - Replace BaseGraphQLContext with
Grafast.Context throughout. -
Updated dependencies
[2fb5001b4,
2bd4b619e,
b523118fe]:- graphile-build@5.0.0-0.20
- graphile-build-pg@5.0.0-0.23
- grafast@0.0.1-0.15
5.0.0-0.22
Patch Changes
- #206
851b78ef2
Thanks @benjie! - Grafserv now masks untrusted
errors by default; trusted errors are constructed via GraphQL's GraphQLError
or Grafast's SafeError. - Updated dependencies
[d76043453,
afa0ea5f6,
851b78ef2,
384b3594f]:- grafast@0.0.1-0.14
- graphile-build@5.0.0-0.19
- graphile-build-pg@5.0.0-0.22
5.0.0-0.21
Patch Changes
- Updated dependencies
[dca706ad9]:- graphile-build@5.0.0-0.18
- graphile-build-pg@5.0.0-0.21
5.0.0-0.20
Patch Changes
- Updated dependencies [
e5b664b6f]:- grafast@0.0.1-0.13
- graphile-build-pg@5.0.0-0.20
- graphile-build@5.0.0-0.17
5.0.0-0.19
Patch Changes
-
#200
9f85b0308
Thanks @benjie! - Fix bugs around handling of the
plans/resolvers objects. -
#198
f9948e4e9
Thanks @benjie! - Fix bug in
makePgSmartTagsPlugin that prevented smart tags being loaded early enough from
files. -
Updated dependencies
[4f5d5bec7,
a1158d83e,
25f5a6cbf]:- grafast@0.0.1-0.12
- graphile-build@5.0.0-0.16
- graphile-build-pg@5.0.0-0.19
5.0.0-0.18
Patch Changes
-
0ab95d0b1- Update sponsors. -
Updated dependencies [
0ab95d0b1,
4783bdd7c,
652cf1073,
80091a8e0]:- grafast@0.0.1-0.11
- graphile-build@5.0.0-0.15
- graphile-build-pg@5.0.0-0.18
- graphile-config@0.0.1-0.5
- pg-introspection@0.0.1-0.3
5.0.0-0.17
Patch Changes
- Updated dependencies [
72bf5f535]:- graphile-build@5.0.0-0.14
- graphile-build-pg@5.0.0-0.17
5.0.0-0.16
Patch Changes
- Updated dependencies
[842f6ccbb]:- graphile-config@0.0.1-0.4
- grafast@0.0.1-0.10
- graphile-build@5.0.0-0.13
- graphile-build-pg@5.0.0-0.16
5.0.0-0.15
Patch Changes
- Updated dependencies
[ebb24895c,
d3cba220c,
3eb9da95e]:- graphile-build-pg@5.0.0-0.15
- graphile-build@5.0.0-0.12
5.0.0-0.14
Patch Changes
- Updated dependencies
[1b040b3ba,
19e2961de,
6be68a53e,
11d6be65e]:- graphile-build-pg@5.0.0-0.14
- graphile-config@0.0.1-0.3
- grafast@0.0.1-0.9
- graphile-build@5.0.0-0.11
5.0.0-0.13
Patch Changes
-
#173
208166269
Thanks @benjie! - Fix bug in grafast causing
loadOne to error. Add missing JSON5 dependency. -
Updated dependencies
[208166269]:- grafast@0.0.1-0.8
- graphile-build@5.0.0-0.10
- graphile-build-pg@5.0.0-0.13
5.0.0-0.12
Patch Changes
- Updated dependencies
[af9f11f28,
6ebe3a13e,
0e440a862]:- graphile-build-pg@5.0.0-0.12
- graphile-build@5.0.0-0.9
5.0.0-0.11
Patch Changes
- Updated dependencies [
677c8f5fc]:- graphile-build@5.0.0-0.8
- graphile-build-pg@5.0.0-0.11
- pg-introspection@0.0.1-0.2
- grafast@0.0.1-0.7
5.0.0-0.10
Patch Changes
- Updated dependencies []:
- graphile-build-pg@5.0.0-0.10
5.0.0-0.9
Patch Changes
-
9b296ba54- More secure, more compatible, and lots of fixes
across the monorepo -
Updated dependencies [
9b296ba54]:- grafast@0.0.1-0.6
- graphile-build@5.0.0-0.7
- graphile-build-pg@5.0.0-0.9
- graphile-config@0.0.1-0.2
- pg-introspection@0.0.1-0.1
5.0.0-0.8
Patch Changes
- Updated dependencies [
cd37fd02a]:- grafast@0.0.1-0.5
- graphile-build-pg@5.0.0-0.8
- graphile-build@5.0.0-0.6
5.0.0-0.7
Patch Changes
-
768f32681- Fix peerDependencies ranges -
Updated dependencies [
768f32681]:- grafast@0.0.1-0.4
- graphile-build@5.0.0-0.5
- graphile-build-pg@5.0.0-0.7
5.0.0-0.6
Patch Changes
- Updated dependencies []:
- graphile-build-pg@5.0.0-0.6
5.0.0-0.5
Patch Changes
- Updated dependencies []:
- graphile-build-pg@5.0.0-0.5
5.0.0-0.4
Patch Changes
- Updated dependencies [
d11c1911c]:- grafast@0.0.1-0.3
- graphile-build@5.0.0-0.4
- graphile-build-pg@5.0.0-0.4
- graphile-config@0.0.1-0.1
5.0.0-0.3
Patch Changes
- Updated dependencies [
25037fc15]:- grafast@0.0.1-0.2
- graphile-build-pg@5.0.0-0.3
- graphile-build@5.0.0-0.3
5.0.0-0.2
Patch Changes
- Updated dependencies [
55f15cf35]:- grafast@0.0.1-0.1
- graphile-build-pg@5.0.0-0.2
- graphile-build@5.0.0-0.2