v3.0.0
·
65 commits
to master
since this release
Introduction of a set of date/time scalars that implement the RFC 3339 profile of the ISO 8601 standard for representation of dates and times using the Gregorian calendar.
New
- Scalar
Timerepresenting a time string at UTC. - Scalar
DateTimerepresenting a date-time string at UTC.
Improvements
- Scalar
Datecan now be serialized from a date string. In earlier versions this scalar could only be serialized from a javascript Date instance.
Breaking
- The
Datescalar is no longer the default export. Instead, it is now a named export calledGraphQLDate. In order to update from versions 2.x and below do the following:
+ import { GraphQLDate } from 'graphql-iso-date'
- import GraphQLDate from 'graphql-iso-date'