Releases: Urigo/graphql-scalars
v1.0.4
Come talk to us directly on our Discord channel: https://discord.gg/xud7bH9
Do you want The Guild to keep your codebase up to date and run your build on each GraphQL Inspector commit so we'll make sure not to break your app?
Contact us here: the-guild.dev/connected-build
- Add BigInt fallback to Number if it is not natively supported
- Reduce bundlesize
v1.0.3
Come talk to us directly on our Discord channel: https://discord.gg/xud7bH9
Do you want The Guild to keep your codebase up to date and run your build on each GraphQL Inspector commit so we'll make sure not to break your app?
Contact us here: the-guild.dev/connected-build
v1.0.2
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
- Fix TypeScript typings issues with JSONObject and URL
1.0.1
1.0.0
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
- Migrate codebase to TypeScript
- Add
BigInt
,Long
,GUID
,Hexadecimal
,HexColorCode
,HSL
,HSLA
,IPv4
,IPv6
,ISBN
,MAC
,Port
,RGB
,RGBA
,USCurrency
,JSON
andJSONObject
scalar types. https://github.com/Urigo/graphql-scalars#the-types - Add mocking functions for each scalar like Apollo has for
Int
,Float
,Boolean
,String
andID
.
https://github.com/Urigo/graphql-scalars#using-mocks-with-apollo-server - Use native
URL
parser instead of a regular expression. So right now,URL
scalar uses nativeURL
objects.
v0.4.5
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
Fixed
- Fixed the TypeScript definitions in
graphql-scalars.d.ts
(Credit: @capaj)
v0.4.4
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
- Bump dependendencies (Credit: @capaj)
Added
v0.4.3
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 packages and dependencies
- Updated Airbnb eslint rules but disabled a couple and fixed issues for one rule
- Add yarn.lock
Added
- A new options argument for the RegularExpression scalar
v0.4.2
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
orhttp://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 asOKGScalarDefinitions
. (Credit: @Saeris)- Added new usage documentation for Apollo Server to the README. Updated the list of scalars to
includeRegularExpression
,UnsignedInt
andUnsignedFloat
.
(Credit: @Saeris)
v0.4.1
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