Skip to content

Releases: symfony/webpack-encore

v0.14.0

16 Aug 13:20
Compare
Choose a tag to compare

Holy progress Batman! It's a new release!

To upgrade: yarn upgrade

Changes: v0.13.0..v0.14.0

Documentation: http://symfony.com/doc/current/frontend.html

Highlights:

  • Added Encore.configureFilenames() so that you can fully control
    the filename patterns for all types of files - #137 via @Lyrkan

  • Added Encore.configureRuntimeEnvironment(), which is useful
    if you need to require webpack.config.js from some non-Encore
    process (e.g. Karma) - #115 via @Lyrkan

v0.13.0

09 Aug 14:35
Compare
Choose a tag to compare

Amazing, wonderful, incredible news! It's a new release!

To upgrade: yarn upgrade

Changes: v0.12.0..v0.13.0

Documentation: http://symfony.com/doc/current/frontend.html

Highlights:

  • [BEHAVIOR CHANGE] Image and font files now always include
    a hash in their filename, and the hash is shorter - #110 via @Lyrkan

  • Fixed a bug that caused extra comments to be in the final production
    compiled JavaScript - #132 via @weaverryan

  • Encore.enablePostCssLoader() now accepts an options callback -
    #130 via @Lyrkan

  • Encore.enableLessLoader() now accepts an options callback -
    #134 via @Lyrkan

  • Added Encore.enableForkedTypeScriptTypesChecking() to enable
    fork-ts-checker-webpack-plugin
    for faster typescript type checking - #101 via @davidmpaz

  • Added Encore.disableImagesLoader() and Encore.disableFontsLoader()
    to totally disable the file-loader rules for images and fonts -
    #103 via @Lyrkan

v0.12.0

26 Jul 16:55
Compare
Choose a tag to compare

Woohoo! New Release!

To upgrade: yarn upgrade

Changes: v0.11.0..v0.12.0

Documentation: http://symfony.com/doc/current/frontend.html

Highlights:

  • Fixed a bug with webpack 3.4.0 ("Can't resolve dev") - #114.

  • Added --keep-public-path option to dev-server that allows
    you to specify that you do not want your publicPath to
    automatically point at the dev-server URL. Also relaxed the
    requirements when using dev-server so that you can now
    specify a custom, fully-qualified publicPath URL - #96

  • Fixed bug where @import CSS wouldn't use postcss - #108

v0.11.0 - Webpack 3

21 Jul 00:10
Compare
Choose a tag to compare

Yes! New Release!

To upgrade: yarn upgrade

Changes: v0.10.0..v0.11.0

Documentation: http://symfony.com/doc/current/frontend.html

Highlights:

  • The webpack package was upgraded from version 2.2 to 3.1 #53. The
    extract-text-webpack-plugin package was also upgraded from
    2.1 to 3.0.

v0.10.0

12 Jul 23:39
Compare
Choose a tag to compare

Great Scott! A new Release!

To upgrade: yarn upgrade

Changes: v0.9.1..v0.10.0

Documentation: http://symfony.com/doc/current/frontend.html

Highlights:

  • [BC BREAK] If you're using enableSassLoader() AND passing an options
    array, the options now need to be moved to the second argument:

    // before
    .enableSassLoader({ resolve_url_loader: true });
    
    // after
    enableSassLoader(function(sassOptions) {}, {
        resolve_url_loader: true
    })
  • Allowing typescript options callback to be optional - #75

  • Allow the Encore singleton to be reset - #83

  • Fixing bug with vue-loader and sass - #89

v0.9.1

02 Jul 13:40
Compare
Choose a tag to compare

Squashing a bug!

Changes: v0.9.0..v0.9.1

Upgrade with yarn upgrade

Documentation: http://symfony.com/doc/current/frontend.html

Highlights:

  • Syntax error fix - #64

v0.9.0

29 Jun 19:46
Compare
Choose a tag to compare

Yes! New Release!

Changes: v0.8.0..v0.9.0

Documentation: http://symfony.com/doc/current/frontend.html

Highlights:

  • [BEHAVIOR CHANGE] When using autoProvidejQuery(), window.jQuery is now also
    included (and so will be re-written in the compiled files). If you're also exposing
    jQuery as a global variable, you'll need to update your code:

    // Before: if you had this
    window.jQuery = require('jquery');
    
    // After: change to this
    global.jQuery = require('jquery');
  • Vue.js support! See #49

  • Typescript support! See #50

v0.8.0

21 Jun 15:38
Compare
Choose a tag to compare

Changes: v0.7.2..v0.8.0

Highlights:

  • Windows support fixed #28

  • Added Encore.addPlugin() #19

  • Added Encore.addLoader() #11

  • Encore.cleanupOutputBeforeBuild() now empties the directory
    instead or removing it.