Skip to content

Releases: symfony/webpack-encore

v0.16.0

14 Oct 18:24
Compare
Choose a tag to compare

Great Scott! It's a new Release!

To upgrade: yarn upgrade

Changes: v0.15.1..v0.16.0

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

Highlights:

  • Added a priority argument to the addPlugin() method so that we
    can (mostly in the future) allow plugins to be ordered, if/when
    that becomes necessary - #177 via @Lyrkan

  • Fixed several minor bugs related to extra .map files (#170),
    always having a DefinePlugin enabled (#172), fixing extra
    instances of the ts-loader (#181) and upgrading a dependency
    to avoid a deprecation warning (#182) - all via @Lyrkan

v0.15.1

25 Sep 20:12
Compare
Choose a tag to compare

Yes! New Release! Bugs have been squashed!!!

To upgrade: yarn upgrade

Changes: v0.15.0..v0.15.1

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

Highlights:

  • Fixed bug with using ? in your versioning strategy with
    addStyleEntry - #161 via @Lyrkan

  • Fixed bug when using webpack.config.babel.js with ES6
    imports - #167 via @Lyrkan

v0.15.0

14 Sep 20:17
Compare
Choose a tag to compare

We did it! Tell your friends! Another new release!

To upgrade: yarn upgrade

Changes: v0.14.0..v0.15.0

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

Highlights:

  • Add support for Preact - #144 via @Lyrkan

  • Added Encore.configureManifestPlugin() method - #142 via @Seikyo

  • Added 5 new methods to configure plugins! #152 via @Lyrkan

    • Encore.configureDefinePlugin()
    • Encore.configureExtractTextPlugin()
    • Encore.configureFriendlyErrorsPlugin()
    • Encore.configureLoaderOptionsPlugin()
    • Encore.configureUglifyJsPlugin()

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