Skip to content

v12.0.0

Compare
Choose a tag to compare
@ZauberNerd ZauberNerd released this 22 Jan 13:27
· 1115 commits to master since this release
aa6b376

12.0.0 (2020-01-22)

BREAKING CHANGES

  • hops: withConfig and withServerData have a simpler type definition now. They only take one generic argument instead of three.
  • Drop support for node 8
  • The following peer dependencies have increased versions
  • jest: 24.9.0
  • react & react-dom: 16.8.0
  • react-apollo: 3.1.0
  • react-redux: 7.1.0
  • react-router-dom: 5.1.0
  • redux-thunk: 2.3.0
  • `styled-components: 4.4.0
  • typescript: 3.6.0
  • postcss: This upgrade contains two major releases of css-loader
    Please check out their release notes about breaking changes and upgrade
    guides:

Features

  • lambda: make node version configurable (4a77c6d)
  • react: warn on non-whitelisted config property (e914be4)
  • apollo: deprecate config value "shouldPrefetchOnServer" (12a8eb0)
  • apollo: introduce package (d3d399c)
  • apollo-mock-server: introduce package (10b9ba0)
  • hops: add typings for config & server-data context hooks (4420446)
  • hops: improve type definitions for withServerData and withConfig (328e094)
  • hops: re-export config & server-data hooks from hops-react (93dd68a)
  • hops: simplify typings (41f1145)
  • postcss: upgrade to css-loader v3 (c1a7101)
  • pwa: whitelist config keys that should be sent to the browser (7e2ac1f)
  • react: provide hooks for config & server-data contexts (8990f00)
  • redux: deprecate config value "shouldPrefetchOnServer" (6dfd35f)
  • typescript: make typescript a peer dependency (b9588c9)
  • typescript: update typescript to v3.7 (3de81ab)
  • create context extender api (47d8841)
  • upgrade to jest v24 (978ba4f), closes #815

Bug Fixes

  • add array-flat polyfill for node 10 (34d7d9d)
  • update dependency yargs to v15 (5161de9)
  • update dependency globby to v11 (5202da5)
  • update dependency mini-css-extract-plugin to ^0.9.0 (e217005)
  • update dependency semver to v7 (24c28f2)
  • apollo-mock-server: check if graphql-tag/loader is already added (83dc87b)
  • react-apollo: check if graphql-tag/loader is already added (4673dcf)
  • switch to react-helmet-async (870aaa3)
  • update dependency tar to v5 (fb03c51)
  • graphql: add graphqlUri to browser whitelist (4b46ff4)
  • jest-preset: add missing regenerator-runtime dependency (8a1f123)
  • jest-preset: remove unneeded dependency to @types/jest (a821cc8)
  • jest-preset: use core-js v3 (7f86011)