Skip to content

4.0.1 (2017-10-17)

Compare
Choose a tag to compare
@axe312ger axe312ger released this 17 Oct 13:45
· 1347 commits to master since this release

The uncompressed browser bundle size was reduced in this release from 64K to 56K. (Gzipped: 19K -> 15K)

Breaking Changes
  • The browser bundle got renamed and split up. Modern browsers can use contentful-management.browser.min.js while legacy browsers might need contentful-management.legacy.min.js
New Features
  • es-modules: add es-modules version. Available via the module field in package.json. Webpack and Rollup will automatically pick this version. (55bfd7cc)
  • legacy browsers split up browser bundle. One small one for modern browsers, another legacy one for old browsers like IE11.
  • user: Add user/me endpoint (#139) (bd84f510)
  • entities: Add Snapshots endpoint (#125) (c0ad18ce)
Bug Fixes
  • api-keys: omit invalid properties when updating api keys (4967a74e)
  • package: remove browser entry since it was misconfigured (2059c052)
Refactors
  • dependencies:
    • Replace most lodash functions with modern JS and enable tree-shaking for lodash. Reduces bundle size significantly.
    • Remove/Replace some other dependencies to reduce the bundle size further.
Build System / Dependencies
  • npm: Upgrade all dependencies
  • webpack: Upgrade to webpack 3.8.0
Documentation Changes
  • README:
Tests
  • integration: unskip test since API bug is fixed - fixes #82 (cc91b956)
  • size: add bundle size test to avoid accidentally rising bundle sizes.
  • e2e: add end to end tests with Firefox and Internet Explorer (712bc92c)