Skip to content

Latest commit

 

History

History
628 lines (502 loc) · 55.5 KB

CHANGELOG.md

File metadata and controls

628 lines (502 loc) · 55.5 KB

Migrating from v0.10.6

  • With the Webpack 4, if you use cozy-scripts without custom configurations you don't need to do anything. But if you do use app.config.js to provided custom configurations, you'll need to update these configurations to be compatible with Webpack 4 and update related webpack packages/plugins/loaders.
  • Now the default webpack config uses React, if your application was using preact with preact-compat as before, you will have to use the preact bundle in an app.config.js file like following:
    // app.config.js
    module.exports = [require('cozy-scripts/config/webpack.bundle.preact')]
  • CCA now uses Babel 7 which introduces some breaking changes:
    • You may need to use babel.config.js instead of a .babelrc file to set your Babel configuration (see comment).
    • If you only use babel-preset-cozy-app in your application, you just need to have the latest version of this package. But if you use other babel core/configs/plugins, you will need to upgrade these dependencies to be compatible with Babel 7.
  • cozy-scripts now installs babel-jest and vue-jest for you, you can remove them from your application and still use them (see comment)
  • The cozy-scripts standalone command is now named cozy-scripts start and does much more than its predecessor
  • If you want to have the Hot Module Replacement working with your React application, you may need to use react-hot-loader in your main App component as in the template

[email protected] (2019-07-10)

🐛 Bug Fixes:

Committers: 2

💅 Enhancements:

  • cozy-scripts
    • #1145 feat: Don't use the slow stylus resolver (@nono)
    • #1142 feat: Make SVGO optimize a bit more the SVGs (@nono)
    • #1135 feat: Make the minification faster (@nono)

🐛 Bug Fixes:

  • cozy-scripts
  • cozy-scripts-vanilla, cozy-scripts
    • #1122 Avoid the glitch while loading the app (@nono)

Committers: 2

[email protected] (2019-02-08)

💅 Enhancements:

🐛 Bug Fixes:

  • cozy-scripts

📝 Documentations:

⬆️ Dependencies:

Committers: 2

[email protected] (2019-01-23)

🐛 Bug Fixes:

  • cozy-scripts

⬆️ Dependencies:

Committers: 1

[email protected] (2019-01-21)

Fix wrong previous version release 1.12.0. v1.12.0 changes:

✨ New Features:

  • cozy-scripts

🐛 Bug Fixes:

⬆️ Dependencies:

Committers: 1

[email protected] (2019-01-21): Use 1.12.1 instead

✨ New Features:

  • cozy-scripts

🐛 Bug Fixes:

⬆️ Dependencies:

Committers: 1

[email protected] (2019-01-17)

🐛 Bug Fixes:

⬆️ Dependencies:

Committers: 2

[email protected] (2019-01-14)

✨ New Features:

  • cozy-scripts
    • #1028 feat(cozy-scripts): Handle flags at build time (@drazik)

💅 Enhancements:

  • cozy-scripts
    • #1052 Handle services by default + build public/intents only for browser target (@CPatchane)

⬆️ Dependencies:

Committers: 2

[email protected] (2019-01-10)

🐛 Bug Fixes:

⬆️ Dependencies:

💅 Enhancements:

  • cozy-scripts
    • #1035 feat(cozy-scripts): Show regexp when using --show-config flag (@drazik)

🐛 Bug Fixes:

⬆️ Dependencies:

Committers: 2

[email protected] (2018-12-28)

💅 Enhancements:

🐛 Bug Fixes:

  • cozy-scripts

⬆️ Dependencies:

[email protected] (2018-12-26)

🐛 Bug Fixes:

⬆️ Dependencies:

Committers: 1

[email protected] (2018-12-12)

💥 Breaking Changes:

  • cozy-scripts
    • #991 feat: BREAKING CHANGE don't auto-inject mobile chunks (mobile target only) (@y-lohse)

🐛 Bug Fixes:

  • cozy-scripts

⬆️ Dependencies:

Committers: 1

[email protected] (2018-12-11)

✨ New Features:

  • cozy-scripts

💅 Enhancements:

⬆️ Dependencies:

Committers: 2

[email protected] (2018-12-03)

✨ New Features:

  • cozy-scripts
    • #952 Use paths as functions + handle more CLI path options (@CPatchane)

💅 Enhancements:

🔧 Chore:

  • cozy-scripts
    • #954 Better environment variables handling code and paths testing (@CPatchane)

⬆️ Dependencies:

[email protected] (2018-11-28)

🐛 Bug Fixes:

📝 Documentations:

⬆️ Dependencies:

[email protected] (2018-11-24)

💅 Enhancements:

🐛 Bug Fixes:

  • cozy-scripts
    • #932 Split React and Preact exposer into two exposers (@CPatchane)
    • #931 Don't change state of unmounted component in React template (@CPatchane)

⬆️ Dependencies:

Committers: 2

💅 Enhancements:

⬆️ Dependencies:

[email protected] (2018-10-30)

🔧 Chore:

  • cozy-scripts

⬆️ Dependencies:

Committers: 1

[email protected] (2018-10-17)

✨ New Features:

⬆️ Dependencies:

Committers: 1

💅 Enhancements:

  • cozy-scripts

🐛 Bug Fixes:

⬆️ Dependencies:

[email protected] (2018-10-04)

🐛 Bug Fixes:

  • cozy-scripts
    • #841 Add missing postcss-discard-empty dependency (@CPatchane)
    • #840 Fix: Exiting the script stops docker correctly (@briced)

Committers: 2

💥 Breaking Changes:

✨ New Features:

  • cozy-scripts, create-cozy-app
  • cozy-scripts

💅 Enhancements:

  • cozy-scripts, create-cozy-app
  • cozy-scripts
  • cozy-scripts-vanilla, cozy-scripts

🐛 Bug Fixes:

🔧 Chore:

  • cozy-scripts-vanilla, cozy-scripts, create-cozy-app

📝 Documentations:

⬆️ Dependencies:

Committers: 3