v14.4.0
v14.4.0 (2019-06-26)
New Feature 🚀
- #1906 Use 'Object.freeze' consistently on all exported Array/Object constants (@IvanGoncharov)
- #1878 Add "version" string and parsed "versionInfo" (@IvanGoncharov)
- #1942 Export "SubscriptionArgs" type (@IvanGoncharov)
- #1946 GraphQLScalarType: make 'serialize' optional with 'identityFunc' as default (@IvanGoncharov)
- #1359 validateSchema: validate Input Objects self-references (@IvanGoncharov)
- #1949 [printError] Make location formatting IDE friendly (@alloy)
- #1955 Make 'parseLiteral' optional and use wrapped 'parseValue' by default (@IvanGoncharov)
- #1965 Added partial support for repeatable directives (@IvanGoncharov)
- #1984 Extract 'printLocation' & 'printSourceLocation' functions (@IvanGoncharov)
- #1985 Print minified location (@IvanGoncharov)
Bug Fix 🐞
- #1916 findBreakingChanges: use string representation to compare default values (@IvanGoncharov)
- #1920 Remove trailing spaces from 'Int' and 'Float' descriptions (@IvanGoncharov)
- #1937 Accept normal object as 'variableValues' arg of 'graphql' function (@IvanGoncharov)
- #1938 Allow null value on 'data' property of 'ExecutionResult' type (@IvanGoncharov)
- #1939 Accept normal object as 'variableValues' arg of subscribe functions (@IvanGoncharov)
- #1983 printError shouldn't return trailing new line (@IvanGoncharov)
Docs 📝
2 PRs were merged
- #1923 Copy 'site/graphql-js' folder from 'graphql.github.io' repo (@IvanGoncharov)
- #1959 Fix URLs to the GraphQL Specification and its repository (@IvanGoncharov)
Polish 💅
40 PRs were merged
- #1901 findBreakingChanges: extract 'findByName' utility function (@IvanGoncharov)
- #1902 findBreakingChanges: Simplify type to string conversion (@IvanGoncharov)
- #1903 findBreakingChanges: add missing dots to descriptions (@IvanGoncharov)
- #1904 findBreakingChanges-test: Unify changes snapshots (@IvanGoncharov)
- #1905 findBreakingChanges: simplify schema iteration (@IvanGoncharov)
- #1907 findBreakingChanges: unify how changes are collected (@IvanGoncharov)
- #1908 findBreakingChanges: extract "diff" utility function (@IvanGoncharov)
- #1909 findBreakingChanges: reduce duplication by merging some functions (@IvanGoncharov)
- #1910 Replace some "for" cycles with "for of" (@IvanGoncharov)
- #1911 findBreakingChanges: merge funcs and remove duplicated iteration logic (@IvanGoncharov)
- #1912 findBreakingChanges: sort functions in logical order (@IvanGoncharov)
- #1914 ESLint: Forbid unnecessary backticks (@IvanGoncharov)
- #1918 tests: replace 'printNode' with more high-level 'printASTNode' (@IvanGoncharov)
- #1921 Manually concat all static strings (@IvanGoncharov)
- #1927 validation-tests: remove useless parseValue & parseLiteral (@IvanGoncharov)
- #1934 Add typings to introspection resolvers (@IvanGoncharov)
- #1936 Remove dead code since args are always present on fields and directives (@IvanGoncharov)
- #1943 Simplify args handling in 'graphql', 'subscribe' and 'execute' funcs (@IvanGoncharov)
- #1944 Extract "didYouMean" util function (@IvanGoncharov)
- #1945 Extract 'identityFunc' function to be used instead of 'x => x' (@IvanGoncharov)
- #1950 validateSchema: use 'astNode' from fields/args instead of type's subnodes (@IvanGoncharov)
- #1952 tests: replace
invariant
withassertEnumType
(@IvanGoncharov) - #1957 Remove unnecessary concatenations from template strings (@IvanGoncharov)
- #1962 parser: remove unused token that was returned from keyword match (@IvanGoncharov)
- #1963 buildASTSchema-test: inline SDL in 'buildSchema' calls (@IvanGoncharov)
- #1964 Simplify SDLs used in 'buidSchema'/`extendSchema' tests (@IvanGoncharov)
- #1960 Update LICENSE and remove license header from source files (@IvanGoncharov)
- #1972 inspect: Handle 'null' explicitly (@IvanGoncharov)
- #1973 Extract 'isObjectLike' utility function (@IvanGoncharov)
- #1974 buildClientSchema: add dev check for invalid introspection argument (@IvanGoncharov)
- #1975 inspect-test: Improve coverage (@IvanGoncharov)
- #1976 inspect-test: remove $FlowFixMe (@IvanGoncharov)
- #1977 buildClientSchema: improve coverage (@IvanGoncharov)
- #1978 Flow: switch to new '...' syntax for inexact objects (@IvanGoncharov)
- #1980 Correct imports to use direct paths instead of relying on 'index.js' (@IvanGoncharov)
- #1981 Move TokenKind into separate file to solve cycle import (@IvanGoncharov)
- #1982 printError: improve coverage (@IvanGoncharov)
- #1988 Add test for didYouMean with sub-message (@Cito)
- #1994 Improve Flow typing for 'memoize3' (@IvanGoncharov)
- #1995 Improve typings for 'toJSONDeep' function (@IvanGoncharov)
Internal 🏠
19 PRs were merged
- #1915 Travis: don't duplicate testing on Node's latest LTS (@IvanGoncharov)
- #1917 Manually update 'version.js' (@IvanGoncharov)
- #1919 Update GitHub schema (@IvanGoncharov)
- #1922 Add "codecov.yml" to .npmignore (@IvanGoncharov)
- #1924 Add 'docs' to .npmignore (@IvanGoncharov)
- #1928 package.json: Rename "check-cover" to "check:cover" (@IvanGoncharov)
- #1929 benchmark: create 'exec' wrap for execSync function (@IvanGoncharov)
- #1930 Convert Flow coverage to istanbul format and use nyc for reporting (@IvanGoncharov)
- #1931 npmignore: remove all dot files since they already covered by '.*' (@IvanGoncharov)
- #1940 Allow 'async/await' in 'resources' scripts (@IvanGoncharov)
- #1941 Speed up "check:cover" by using async exec (@IvanGoncharov)
- #1947 Remove 'watch' script (@IvanGoncharov)
- #1953 Remove "coverage/flow" before every "check:cover" run. (@IvanGoncharov)
- #1966 Add script to generate changelog (@IvanGoncharov)
- #1968 Add some stats to the 'yarn build' command (@IvanGoncharov)
- #1969 Improve generated changelog (@IvanGoncharov)
- #1991 Change formating of '.travis.yml' to better match output of Travis CLI (@IvanGoncharov)
- #1992 Change formatting of '.travis.yml'. Continuation of 2b9d571 (@IvanGoncharov)
- #1996 Update NPM token inside '.travis.yml' (@IvanGoncharov)
Dependency 📦
8 PRs were merged
- #1926 Update deps (@IvanGoncharov)
- #1933 Update deps (@IvanGoncharov)
- #1935 Update Flow to v0.100.0 (@IvanGoncharov)
- #1956 Update prettier to v1.18.0 (@IvanGoncharov)
- #1961 Update deps (@IvanGoncharov)
- #1971 Update deps (@IvanGoncharov)
- #1990 Update deps (@IvanGoncharov)
- #1993 Update Flow to v0.102 (@IvanGoncharov)
Committers: 3
- Christoph Zwerschke(@Cito)
- Eloy Durán(@alloy)
- Ivan Goncharov(@IvanGoncharov)