github graphile/crystal graphile-utils@5.0.0

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
      (including tags objects if no tags are present)
    • using LIST_TYPES for 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):

    • extensions is now marked as optional in many places.
    • extensions.tags is now marked optional in many places.
    • PgCodecAttribute.notNull is now marked as optional.
    • PgResourceParameter.requires is now marked as optional.
    • PgCodecRelation.isUnique is now marked as optional.
    • pgGetArgDetailsFromParameters().argDetails.postgresArgName is now optional
      (may return undefined in addition to null) and .required is now
      optional (returns boolean | 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 for baked() and
    apply() in input object definitions in extendSchema().

  • 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 the wrapPlans() resolver
    emulation warning to only occur when the type has no assertStep, 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 a resolve()
    or subscribe() 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. via extendSchema(), and
    you're also using wrapPlans() to target these same fields).

  • #2872
    4ca27c1
    Thanks @benjie! - Fix a bug where apply()
    couldn't be added to enum values via extendSchema(). This is a breaking
    fix - if you add non-scalar enum values to your schema via extendSchema()
    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 new build.append helper.

  • #2802
    980e97e
    Thanks @miguelocarvajal! - Have
    extendSchema() plugins automatically run after many of the builtin plugins,
    so the callback runs in a more consistent state.

  • #2829
    a82e6fa
    Thanks @benjie! - Update dependency ranges.

  • 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
    applies fieldArgs when you call the underlying plan(), 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

  • 8a5a7c5
    Thanks @benjie! - Bump to release candidate

  • 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

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 the apply() 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! - Remove make...Plugin
    prefix/suffix from plugin factories. (Old name is still supported but
    deprecated, this is non-breaking.)

  • #2620
    c54c6db
    Thanks @benjie! - Add experimental applyScope()
    method to input objects/enums to provide a scope to .apply(...) methods
    invoked by the undocumented applyInput(). 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

  • #2577
    0c6b1f1
    Thanks @benjie! - Update dependencies

  • 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

5.0.0-beta.39

Patch Changes

5.0.0-beta.38

Patch Changes

5.0.0-beta.37

Patch Changes

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

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

5.0.0-beta.28

Patch Changes

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

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

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 in graphile-export along 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 be step.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

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

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

5.0.0-beta.10

Patch Changes

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

5.0.0-beta.6

Patch Changes

  • #460
    07883a1a5
    Thanks @benjie! - Fix makeExtendSchemaPlugin: now
    calls callback in 'init' phase, so Build type 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

  • cbd987385
    Thanks @benjie! - Bump all packages to beta

  • 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

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 of attribute:filterBy to 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 the entityBehaviors
    system to add or remove the base attribute: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

5.0.0-alpha.13

Patch Changes

5.0.0-alpha.12

Patch Changes

5.0.0-alpha.11

Patch Changes

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

5.0.0-alpha.8

Patch Changes

5.0.0-alpha.7

Patch Changes

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

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

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 THINGS

    The 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 related pgConfig terms such
      as makePgConfig -> makePgService, MakePgConfigOptions ->
      MakePgServiceOptions, etc) - see your graphile.config.ts or equivalent
      file
    • All *:source:* behaviors are now *:resource:* behaviors (use regexp
      /:source\b|\bsource:[a-z$]/ to find the places that need updating)
    • PgDatabaseConfiguration -> PgServiceConfiguration
    • databaseName -> serviceName (because it's not the name of the database,
      it's the name of the pgServices (which was pgConfigs) entry)
    • PgResourceConfig::source -> PgResourceConfig.from ('source' is
      overloaded, so use a more direct term)
    • PgResource::source -> PgResource.from
    • PgSelectPlanJoin::source -> PgSelectPlanJoin.from
    • helpers.pgIntrospection.getDatabase ->
      helpers.pgIntrospection.getService
    • helpers.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

5.0.0-0.34

Patch Changes

  • #236
    c802cb307
    Thanks @benjie! - 🚨 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.

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

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-utils now includes
    the makeAddPgTableConditionPlugin and makeAddPgTableOrderByPlugin
    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

  • Updated dependencies
    [f2c1423fb,
    b58f5dfac]:
    • graphile-build-pg@5.0.0-0.28
    • graphile-build@5.0.0-0.23

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

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

5.0.0-0.14

Patch Changes

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

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

5.0.0-0.1

Patch Changes

  • #125
    91f2256b3
    Thanks @benjie! - Initial changesets release

  • Updated dependencies
    [91f2256b3]:

    • grafast@0.0.1-0.0
    • graphile-build@5.0.0-0.1
    • graphile-build-pg@5.0.0-0.1
    • graphile-config@0.0.1-0.0
    • pg-introspection@0.0.1-0.0

Don't miss a new crystal release

NewReleases is sending notifications on new releases.