- Updated dependencies.
- Apollo Client v2 compatibility:
- Export a terminating Apollo Link instead of custom network interfaces.
- New
apollo-linkandgraphqlpeer dependencies.
- Rejigged package scripts.
- Updated Prettier and ESLint config.
- Lint errors when attempting to commit partially staged files no longer commits the whole file.
- Using Babel v7 directly instead of Rollup.
- Using
babel-preset-envto handle polyfills so only required ones are included for our level of browser support. - Using
prettierto format distribution code as well as source code. - No more source maps, as Prettier does not support them.
- Renamed
distdirectory tolib. - Module files now have
.mjsextension. - Removed
babel-eslintas the vanilla parser works fine. - Readme improvements:
- Relative logo path.
- Added links to badges.
- Simplified code examples.
- Mark relevant example code blocks as JSX instead of JS.
- Removed the inspiration links; they are less relevant to the evolved codebase.