- f763170: Add delete method to context caches
- 0d3778a: Allow inputRef to define inputs without normalization via builder.inputRef<Type, false>(...)
- 0f5cfa9: Fix bug when decoding lists of global IDs with null items
- 41fe7d4: Make options optional when registering existing scalars/types
- 1483e74: PothosError now extends GraphQL error
- 22d1426a: Support for adding type mappings in SchemaTypes for Input objects
- f8fb4e6b: Add support for $inferType and $inferInput helpers on Refs
- 96ba1822: Improve validation for global IDs
- b83e671b: Add isOneOf option for input type. this adds @oneOf directive, but does not currently affect the typescript type for the input
- c123a285: If available, prefer Buffer over btoa/atob for encoding and decoding cursor strings to/from base64.
- f0247390: Add isOneOf option for input type. this adds @oneOf directive, but does not currently affect the typescript type for the input
- 6f155d82: Improve normalization of input types so that objects with functions are not normalized
- c7756128: Improve typing for t.expose methods when strict mode is disabled
- adc2d33d: Fix inputRefs when using any as scalar type
- be23f48d: Fix issue with inputRef not serializing symbols correctly
- bd22a282: revert improved inference for inputRef.implement
- 425435af: Improve typing of inputRefs and fix incorrectly normalized function properties of inputRef types
- 664e794c: Fixed a couple bugs related to how types are defined for inputRefs
- 5d3f7b97: Fix the EmptyToOptional utility type when strict mode is disabled
- 013acf2c: Ability to configure meta (description, deprecationReason, extensions) for TS-based enum types
- 4c6bc638: Add provinance to npm releases
- f9b0e2eb: Add onPrepare hook to buildCache
- e8d75349: - allow connection fields (edges / pageInfo) to be promises
- add completeValue helper to core for unwrapping MaybePromise values
- set nodes as null if edges is null and the field permits a null return
- f2259558: Fix duplicate interfaces when building a schema multiple times
- 42bf6190: Allow unionType to receive types as a thunk
- ec411ea1: Allow / unwrap Promises in "expose" type fields
- bf0385ae: Add new PothosError classes
- 3021b43a: Fix an issue with detecting field nullability caused by an incorrrectly distributed type
- c3db3bcd: Enable adding interfaces to connections and edges
- fd08a9d9: allow readonly lists to be exposed and improve inference of t.expose fields
- 02072e1f: return a Ref from builder.queryType
- b1cabe44: Fix types for nullable inputs in non-strict mode
- 7212a3d1: use Buffer from globalThis to avoid compilers detecting ussage of global Buffer
- fae0f943: Default schema extensions to an empty object
- cd1c0502: Add support for nested lists
- d4d41796: Update dev dependencies
- 6f00194c: Fix an issue with esm import transform
- b12f9122: Fix issue with esm build script
- d350f842: update dev deps
- 9fa27cf7: Transform dynamic type imports in d.ts files
- 3a82d645: Apply esm transform to esm d.ts definitions
- c28b8712: restore esm package.json
- 218fc68b: Fix script for copying ems d.ts definitions
- 67531f1e: Create separate typescript definitions for esm files
- 11929311: Update type definitions to work with module: "nodeNext"
- aa18acb7: update dev dependencies
- cf93c7c9: Allow nullable arguments to set null as a default value
- cf93c7c9: Fix some edge cases with how option objects become optional when no arguments are required
- d67764b5: Make options objecst on toSchema, queryType, and mutationType optional
- e297e78a: Support typescript@4.8
- c9b02338: Support context when using custom gloablID encoding or decoding
- 390e74a7: Add
idFieldOptions
to relay plugin options
- c5b1e2d3: Only use abstractReturnShapeKey when resolveType is not provided
- 679baa83: Add option to disable schema sorting
- 33789284: Add utils for base64 encoding that works across environments
- 13216a3d: remove all remaining circular imports
- 3a7ff291: Refactor internal imports to remove import cycles
- 3a7ff291: Update dev dependencies
- 784777c4: Fixed typo in input-field types
- 7311904e: Fix nullability option when using t.expose with a list type
- 32cb5073: Fix resolveType not being correctly applied for interfaces when isTypeOf is not used
- 4e5756ca: Update dev dependencies
-
ecb2714c: Add types entry to export map in package.json and update dev dependencies
This should fix compatibility with typescripts new
"moduleResolution": "node12"
- 89f09498: Fix issue with argument mapping utils that caused nested lists of input objects to be transformed incorrectly in the relay plugin
- 205a8c73: Add support for lazyloaded interfaces and ref checks for interfaces
- 205a8c73: Recactor internal imports to reduce imports from index files
- ce1063e3: Add new tracinig packages
- 040d0664: Use direct imports rather than importing from index files where possible
- f0741c42: Set typename on field configs based on usage rather than field builder constructor.
- 6e4ccc7b: Fix loadable refs when used with builder.objectType
- 9a0ae33e: Omit resolver for exposed fields with matching names to improve perfomance in graphql-jit
- a8e31a70: Improve user experience when srtict mode is disabled
- 7d69b286: Fix field names that match intrinsic object properties (eg constructor)
- 6279235f: Update build process to use swc and move type definitions to dts directory
- 21a2454e: update dev dependencies
- c0bdbc1b: Fix type for InputFieldRef.kind
- cc12c8b3: Huge thank you to @kidqueb for contributing the first one-time sponsorship for pothos!
- cf4a2d14: cleanup style and comments
- 122dd782: Allow subscribe function to return a promise
- 03aecf76: update .npmignore
- 80b24ec1: Add ability to branded objects loaded by relay plugin with typename to reduce need to isTypeOf checks
- 4ad5f4ff: Normalize resolveType and isTypeOf behavior to match graphql spec behavior and allow both to be optional
- 43ca3031: Update dev dependencies
- 2d9b21cd: Use workspace:* for dev dependencies on pothos packages
- 12ac37c7: Update readme links
- 4094e70a: Add initial support for new federation plugin
- a01abb7f: Fix compatability between prisma and auth plugins
- 4caad5e4: Rename GiraphQL to Pothos
- afa16607: Fixed types for serialize in scalarType options
- 9307635a: Migrate build process to use turborepo
- 37841f1b: Revert fix for inputRef unions because of regressions
- 5b3cd026: Merge ts unions passed to inputRef and correctly use merged normalized type for implemented input ref
- c6aa732: graphql@15 type compatibility fix
- 6d6d54e: Add complexity plugin
- 5619aca: Standardize context caches across all plugins to correctly take advantage of
initContextCache
- c85dc33: Add types entry in package.json
- aeef5e5: Update dependencies
- 9107f29: Update dependencies (includes graphql 16)
- 17db3bd: Make type refs extendable by plugins
- 045e4ec: Fix a bug in argMapper that caused mappings to be omitted if the only mappings were for fields for input types without nested mappings
- c976bfe: Update dependencies
- 4150f92: Fixed esm transformer for path-imports from dependencies
- dc87e68: update esm build process so extensions are added during build rather than in source
- b4b8381: Updrade deps (typescript 4.4)
- f04be64: Update dependencies
- a4c87cf: Use ".js" extensions everywhere and add module and exports to package.json to better support ems in node
- f13208c: bump to fix latest tag
- 9ab8fbc: re-release previous version due to build-process issue
- 3dd3ff14: Updated dev dependencies, switched to pnpm, and added changesets for releases
All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
- add relay integration for prisma plugin (e714e54)
Note: Version bump only for package @giraphql/core
- add relay integration for prisma plugin (0b1d378)
Note: Version bump only for package @giraphql/core
- add prisma plugin (d427c82)
Note: Version bump only for package @giraphql/core
Note: Version bump only for package @giraphql/core
- don't use index file import for global types in core (9ee13a9)
Note: Version bump only for package @giraphql/core
- re-export from index file rather than folder to fix auto-discovery issue (b1ba588)
Note: Version bump only for package @giraphql/core
- format error message for better readability (94f58d4)
Note: Version bump only for package @giraphql/core
- add early warning for undefined refs to simplify debugging of circular import issues (095b68b)
Note: Version bump only for package @giraphql/core
- only create error types once (60fddd8)
Note: Version bump only for package @giraphql/core
Note: Version bump only for package @giraphql/core
- make error options optional only when options can be empty objects (6791bcb)
Note: Version bump only for package @giraphql/core
- add errors plugin (88509b4)
- add jsdocs for plugins and fieldUtils (bfe383b)
Note: Version bump only for package @giraphql/core
- make field options args optional when empty (ae71648)
- fix a couple type errors (453bf7b)
- update dev deps (813d9d0)
- add some js docs for field options (656aa2d)
- fix a couple tests (36e6146)
Note: Version bump only for package @giraphql/core
- add example of field helpers for adding common fields to types (1b0d6f8)
Note: Version bump only for package @giraphql/core
- plum parentShape through all ussage of output refs (2dac2ca)
Note: Version bump only for package @giraphql/core
- imporved support for circular imports in schema definitions (72ddf0a)
Note: Version bump only for package @giraphql/core
Note: Version bump only for package @giraphql/core
- add docs and tests for removing fields (a3aa90e)
Note: Version bump only for package @giraphql/core
- update ci build command (7e1d1d2)
Note: Version bump only for package @giraphql/core
- build esm during release script (172d4a2)
Note: Version bump only for package @giraphql/core
- add esm build for all packages (d8bbdc9)
- fix a typo (0f2bdbb)
- fix links in readme (a950d39)
- fix links in readme (6132d42)
- move website link higher in readme (2260e33)
Note: Version bump only for package @giraphql/core
- update readmes (07c727b)
Note: Version bump only for package @giraphql/core
- add new context-cache util for safer context based caching (c1656cf)
- add new ParentShape helper to enable refs with different resolve and parent types (18d8b1c)
- improve resolver types with better errors and async-generator support (3e39492)
Note: Version bump only for package @giraphql/core
- add deno files after deno-build (3f4f94b)
Note: Version bump only for package @giraphql/core
Note: Version bump only for package @giraphql/core
- add script for generating deno compatible files (6dc68c1)
Note: Version bump only for package @giraphql/core
- force version bumps and update validation to 2.0 range (07730b3)
Note: Version bump only for package @giraphql/core
- migrate to @beemo/dev for dev tool configs (1da1283)
Note: Version bump only for package @giraphql/core
Note: Version bump only for package @giraphql/core
- add giraphqlConfig to all extensions and add getInputTypeFieldConfigs method to build cache (7d9c47f)
- add new utils for mapping inputs fields in plugins (be9fd1d)
- add zod plugin (5a77982)
- build graphql types in specific order to make certain plugin use cases easier (65b8942)
- schemas are now sorted after being built (154b51c)
- args builder now coppies prototype methods from field builder so that extending FieldBuilder class works as expected (bc8fd04)
- correctly add extensions from giraphql options to build config objects for input fields (33e59bc)
- add docs on mapping inputs (eed4785)
Note: Version bump only for package @giraphql/core
Note: Version bump only for package @giraphql/core
- correctly set deprecationReason (cdc0c76)
Note: Version bump only for package @giraphql/core
- update plugin API to avoid modifying args. subGraphs are now build by passing subGraph to toSchema (66d456e)
- update plugin exports and names to be more consistent (ee07b35)
- use fieldOptionsByKind pattern for input field builder (6ccf739)
- update dependencies and add license files (cb0d102)
- add 2.0 migration guide (48314c5)
- add more docs o writing plugins (b996fc6)
- wip - plugin guide (cf9c6ec)
Note: Version bump only for package @giraphql/core
- remove field wrapper plugin api (5d7af54)
- updated plugin API to initialize new plugins when calling toSchema (05890db)
- you can no-longer define args on 'exposed' fields (240162b)
- add directives plugin (b44ccde)
- add useGraphQLToolsUnorderedDirectives option to directive plugin (a9e1ca6)
- add initial docs for scope auth plugin (15b086d)
- add some basic scope-auth tests (7ceb24a)
Note: Version bump only for package @giraphql/core
- add useGraphQLToolsUnorderedDirectives option to directive plugin (6517dd4)
Note: Version bump only for package @giraphql/core
- add directives plugin (ff76fe7)
Note: Version bump only for package @giraphql/core
- use thenable instead of types.isPromise to support custom promise implementations (f5625e4)
Note: Version bump only for package @giraphql/core
Note: Version bump only for package @giraphql/core
- improve error messages for unresolved refs and allow arguments to be implemented after references (8c5a8b0)
Note: Version bump only for package @giraphql/core
Note: Version bump only for package @giraphql/core
- only enable wrapping when a plugin with field wrapper is enabled (1c24fcd)
- remove extra async awaits in auth plugin (fe9273d)
- significantly reduce number of awaits in resolve wrappers (3dd028d)
Note: Version bump only for package @giraphql/core
1.1.0 (2020-10-21)
Note: Version bump only for package @giraphql/core
Initial release