Skip to content

Releases: graphql-hive/graphql-scalars

v0.4.2

02 Aug 22:04
a28cecb

Choose a tag to compare

Do you want The Guild to keep your codebase up to date and run your build on each GraphQL Scalars commit so we'll make sure not to break your app?
Contact us here: https://the-guild.dev/connected-build

Changed

  • URL - Now supports localhost (e.g., http://localhost or http://localhost:3000) and more
    set of URLs (Credit: @igtm)
  • Updated .eslintrc.js with new rule for linebreak-style to override the Airbnb defaults. On Windows
    systems the default line break style is CRLF, which previously would cause linting errors when
    developing on Windows. If Unix style line endings are necessary, those can be fixed via a script
    on commit. Please see https://eslint.org/docs/rules/linebreak-style for more info.
    (Credit: @Saeris)

Added

  • Added ./src/scalars.js which defines and exports GraphQL scalar definitions as strings, both
    individually and as an array. (Credit: @Saeris)
  • ./src/index.js now exports the scalar definitions both individually and the array of scalar
    definitions as OKGScalarDefinitions. (Credit: @Saeris)
  • Added new usage documentation for Apollo Server to the README. Updated the list of scalars to
    include RegularExpression, UnsignedInt and UnsignedFloat.
    (Credit: @Saeris)

v0.4.1

02 Aug 22:05
0b76be4

Choose a tag to compare

Do you want The Guild to keep your codebase up to date and run your build on each GraphQL Scalars commit so we'll make sure not to break your app?
Contact us here: https://the-guild.dev/connected-build

Changed

  • DateTime - Add support for serializing from a valid Date ISO string format

v0.4.0

02 Aug 22:05
c2aae41

Choose a tag to compare

Do you want The Guild to keep your codebase up to date and run your build on each GraphQL Scalars commit so we'll make sure not to break your app?
Contact us here: https://the-guild.dev/connected-build

Added

  • RegularExpression scalar type generator
  • UnsignedInt alias for NonNegativeInt
  • UnsignedFloat alias for NonNegativeFloat

v0.3.0

02 Aug 22:05

Choose a tag to compare

Do you want The Guild to keep your codebase up to date and run your build on each GraphQL Scalars commit so we'll make sure not to break your app?
Contact us here: https://the-guild.dev/connected-build

Changed

  • Updated package versions in devDependencies
  • Updated graphql version dependency to 0.13.1
  • Added Prettier configuration to package.json
  • Linted (based on updates to eslint packages) and Prettier-ed all files

Added

  • PhoneNumber
  • PostalCode
  • package-lock.json

v0.2.0

02 Aug 22:05
4ce0e4e

Choose a tag to compare

Do you want The Guild to keep your codebase up to date and run your build on each GraphQL Scalars commit so we'll make sure not to break your app?
Contact us here: https://the-guild.dev/connected-build

Changed

  • Implemented more strict numeric type checking
  • Some type exception messages changed slightly
  • Changed graphql from a dependency to a peer dependency

Added

  • NegativeInt
  • NegativeFloat
  • NonPositiveInt
  • NonPositiveFloat
  • more tests

v0.1.0

02 Aug 22:05

Choose a tag to compare

Do you want The Guild to keep your codebase up to date and run your build on each GraphQL Scalars commit so we'll make sure not to break your app?
Contact us here: https://the-guild.dev/connected-build

Added