All Versions
35
Latest Version
Avg Release Cycle
21 days
Latest Release
1434 days ago

Changelog History
Page 3

  • v2.10.1 Changes

    October 11, 2019

    🍱 🐞 Fixes

    • vue-app, webpack
      • #6504 Remove consola from client
    • utils
      • #6515 Fix error when router.trailingSlash is false
    • generator
      • #6362 Remove trailing slash when no subFolders are used
    • webpack
      • #6520 chunkhash and contenthash not work with extractCSS
    • cli
      • #6525 Enable server for nuxt build when pages should be generated

    🏑 Chore

    • readme
      • #6511 Remove deprecated starter template

    ⬆️ βš“ Dependency Upgrades

    • πŸš€ vue-meta: Upgraded to v2.3 which fixes duplicated tags in SPA mode

    🍱 πŸ’– Thanks to

  • v2.10.0 Changes

    October 02, 2019

    🍱 🌟Highlights

    • πŸ‘Œ Support for improved typescript runtime
    • πŸ— Experimental support for feature toggling for SUPER slim builds!
    • Mitigate problems with nuxt server stocking during development
    • πŸ›  Fix issues with internet-explorer in development mode
    • πŸš€ Upgrade to terser webpack plugin v2
    • πŸ‘Œ Improved stability of loading-screen. No more endless loops (nuxt/loading-screen#44) and show fatal errors (nuxt/loading-screen#45) for the initial build

    🍱 πŸ› Bug Fixes

    • core
      • #6490 Clear resolver cache for project files dev mode
    • vue-app
      • #6479 Error page layout not correctly applied in client-side rendering
      • #6473 Pass vm as arg to support data() with arrow function
      • #6433 Fix asyncData hydration when features.transition is false
      • #6430 Clear idle callback
      • #6217 Prevent looping on error during render of error page
    • webpack
      • #6298 Fix consola IE compatibility
      • Revert pause/resume
      • #6460 Correct sass options for sass-loader@8
      • #6448 Don't push to compilersWatching in callback
    • cli
      • #6441 Server should not be initialized in nuxt build
    • babel-preset-app
      • #6435 Use loose mode for babel class plugin
    • vue-renderer
      • #6429 Dont mutate options.head
    • config
      • #6371 Enable total timing by default when server.timing is enabled
    • config, vue-app
      • #6379 Add module declaration for config and vue-app

    🍱 πŸš€ Features

    • cli, config
      • #6399 cli.bannerColor option
    • config
      • #6414 serverMiddleware as a simple key/value object
    • πŸ— builder
      • #6368 followSymlinks option to allow for symlinks
      • #6285 extendPlugins option and builder:extendPlugins hook
      • #6329 Add builder:prepared hook
      • #6342 Support adding custom middleware
    • cli
      • #6475 Catch build errors with cli:buildError hook
    • webpack
      • #6477 Use vue-meta browser build for client bundle
      • #6398 Upgrade terser-webpack-plugin to v2
      • #6350 Add webpack:config hook
    • server
      • #6438 Add config option to define etag hash function
    • vue-app
      • #6292 Add prefetch prop to <nuxt-link>
      • #6287 Support configurable features
      • #6297 Function watchQuery
    • general
      • #6432 Support setting (non-essential) vue-meta options by user
    • utils
      • #6277 Export sort routes
    • πŸ— builder, router
      • #6331 Enforce uniform trailing slash handling

    πŸ”¨ πŸ’… Refactors

    • cli
      • #6353 Call setup hook in run command with more args
    • πŸ— builder
      • #6352 Await build.createRoutes to allow async functions inside it
    • babel-preset-app
      • #6087 Simplify babel preset config

    🍱 πŸ“ Examples

    • with-sockets
      • #6396 Create server inside the export function

    🏑 Chore

    • general
      • Fix example in babel-preset-app readme
      • #6390 Lint vue-app templates
      • #6363 Rename setup hook to run:before

    🍱 πŸ’– Thanks to

  • v2.9.2 Changes

    August 28, 2019

    🍱 πŸ› Bug Fixes

    • general
      • #6257 Improve watching experience for generated files
    • πŸ— builder
      • #6283 fix(builder): apply overrides from app dir only
    • server
      • #6265 Treat https: null as https: undefined
    • nuxt-start
      • #6267 Add missing vue-client-only dependency
    • vue-app
      • #6264 Only overwrite leave listener when none provided or without done arg
      • #6255 Enforce default css when used with frameworks
    • config
      • #6258 Provide typescript backward compatibility

    πŸ”¨ πŸ’… Refactors

  • v2.9.1 Changes

    August 20, 2019

    🍱 πŸ› Bug Fixes

    🍱 πŸ“ Examples

    • CoffeeScript
      • #6248 Update module for using additionalExtensions

    🍱 πŸ’– Thanks to

  • v2.9.0 Changes

    August 20, 2019

    🍱 ⚠️ Important Notes

    • 🍱 πŸ‘‰ Minimum required node version is 8.9.0
    • 🍱 πŸ‘‰ Typescript support is now externalized. Refer to official docs and migration guide.
    • πŸš€ πŸ‘‰ vue-meta upgraded to 2.0.0. Please refer to the changelog to review notable changes.
    • 🍱 πŸ‘‰ scrollBehavior option is deprecated in favor of app/router.scrollBehavior.js (#6055)
    • πŸ— πŸ‘‰ devModules option is deprecated in favor of buildModules (#6203)

    🍱 πŸ› Bug Fixes

    • general
      • #6118 Fix modulepreload warnings
      • #6075 Throw error when building failed in quiet mode
      • #6070 Support babel corejs config for modern mode
      • #6021 Babel polyfill can not be disabled
    • renderer
      • #6033 Correctly load nomodule scripts in safari 10
    • cli
      • #6020 Prevent both nuxt & nuxt-edge being installed
    • vue-app
      • #6012 Emit triggerScroll to support hash navigation
      • #5920 Fix font-size and make width bigger
      • #5891 Always finish transition.leave asynchronously
      • #5890 Fix position of the build indicator when page scrolled
    • vue-renderer
      • #6223 Call render:resourcesLoaded hook before createRenderer
      • #5964 Clone SPA meta to prevent cache modification
    • webpack
      • #5906 Extract css breaks hmr and source-maps

    🍱 πŸš€ Features

    • cli
    • server
      • #6178 Allow passing loadingTimeout and other arguments to renderAndGetWindow
    • webpack
      • #6120 Allow function entries for build.transpile
    • vue-app
      • #6194 Add $nuxt.refresh
      • #6186 Use EventSource instead of WebSocket for build indicator
      • #6055 Support app/router.scrollBehavior.js and deprecate scrollBehavior
      • #5941 Add <client-only> alias for <no-ssr>
      • #5844 Allow customizing loading indicator
      • #6194 Add $nuxt.refresh() method or refresh the actual page asyncData and fetch
      • #6231 Export router options
      • #6222 Support functional watchQuery
    • vue-renderer
      • #5975 Add csp option for csp v1 compatibility
      • #6134 Support prepend/append body tags during ssr for all allowed tag types
    • typescript
      • #5858 Externalize typescript support

    πŸ”¨ πŸ’… Refactors

    • config
      • #6203 Rename devModules to buildModules
    • babel-preset-app
      • #6197 Remove babel-plugin-dynamic-import-node
    • webpack
      • #6179 Simplify transpile normalization
    • general

    🏑 Chore

    • general
      • #6065 Fix typo
      • #5990 Inverse wording of error message
      • #5910 Update opencollective infos
      • #5869 Rename backers -> nuxters
    • babel-preset-app
      • #5897 Fix typo in babel-preset readme

    ⬆️ βš“ Dependency Upgrades

    • file-loader@4
    • url-loader@2
    • cache-loader@4
    • css-loader@3
    • vue-meta@2
    • fs-extra@8

    🍱 πŸ’– Thanks to

  • v2.8.1 Changes

    June 04, 2019

    🍱 πŸ› Bug Fixes

    • vue-renderer
      • #5867 Fix exception on property access of undefined object
      • #5863 Prevent "can't set headers after they are sent" error in modern server mode
    • vue-app
      • #5864 Reduce consola direct access and don't override browser console.log
    • cli
      • #5865 Don't mutate options export to prevent ESM regression with nuxt.config in mixed (cjs + esm) mode ( TIP: never mix them as is non-standard and may be unsupported in any future version)

    πŸ”¨ πŸ’… Refactors

    • typescript
      • #5854 Prepare for external typescript support

    🍱 πŸ’– Thanks to

    • RafaΕ‚ ChΕ‚odnicki (@rchl)
  • v2.8.0 Changes

    May 30, 2019

    🍱 😎 Developer Experience

    • πŸ”Š #5770 Add a group for SSR logs to avoid polluting the browser console
    • πŸ”Š #5810 Fancier browser logs with consola

    πŸ”Š nuxt-ssr-logs-2

    • πŸ— #5820, #5832, #5834 Show build indicator in the browser when rebuilding code:

    nuxt-hmr-indicator

    • 0️⃣ #5753 Watch for pages/ creation when default page displayed
    • πŸ‘ #5812 Only listen for file changes for supported extensions
    • #5753 Re-use the same port when randomly assigned when restarting in dev mode

    🍱 πŸ› Bug Fixes

    • vue-renderer
      • #5807 Add User-Agent‍ to Vary header in modern server mode
      • #5764 Safe format SSR logs
    • server
      • #5793 Preserve random port when restarting
      • Return listener when calling listen
    • πŸ— builder
      • #5753 Watch for pages/ creation when default page displayed
      • #2812 Only listen for file changes for supported extensions
    • generator
      • #5791 Minify spa fallback
    • types
      • #5785 Add type definition for functional babel.presets
    • vue-app
      • #5757 Reuse page component with watchQuery
      • #5746 Remove trailing slash in vue-router non-strict mode
      • #5752 Don't attach catch handler to already loaded component
      • #5824 fixPrepatch in-out transition fix (issue #5797)
    • utils
      • #5754 Handle serializeFunction edge case

    🍱 πŸš€ Features

    • vue-renderer
      • #5745 Add render.injectScripts option
      • #5784 Support render.ssrLog for controlling SSR logs

    πŸ”¨ πŸ’… Refactors

    • core
      • #5796 Use require.resolve instead of Module internals
    • πŸ— builder
      • #5792 Pass nuxt options to template as nuxtOptions
    • vue-app
      • #5770 Add a group for SSR logs
      • #5826 simplify mount error log
    • general
      • #5748 Small readability improvements

    🍱 πŸ“ Examples

    • auth-jwt
      • #5775 Use named store export to prevent warning
    • typescript
      • #5742 Add missing ts-node dependency

    🏑 Chore

    • ci
      • #5802 Upload test report to CircleCI and Azure
      • Add flags for codecov
      • Enable audit
    • general
      • Remove unused dependency cross-env
      • Add FUNDING.md
      • Improve links in readme

    🍱 ♻️ Tests

    • general
      • #5790 Add unit tests for core/resolver.js
      • #5782 Remove duplicate unit tests in packages/core/test/resolver

    ⬆️ βš“ Dependency upgrades

    🍱 πŸ’– Thanks to

  • v2.7.1 Changes

    May 14, 2019

    πŸ›  Fixes

    • πŸ— builder : use warn only for mismatched dependencies (#5723)
    • webpack : correctly resolve consola for the client bundle (#5729)

    ⬆️ Dependency Upgrades

    Thanks to

  • v2.7.0 Changes

    May 14, 2019

    🍱 DX Improvements πŸ’…

    🍱 SSR logs in your browser πŸ–₯️

    πŸ”Š We all know the console.log debugging method, but when working with universal applications, you have to remember that sometimes, your logs are in your terminal and not in your browser console.

    πŸ”Š This can be really annoying when developing a Nuxt.js application, starting with this version and running nuxt dev, the ssr logs are now reported to your browser console :

    πŸ”Š nuxt-logs-ssr

    🍱 Detecting store/ creation πŸ‘€

    Nuxt.js now detects when you created a store/ directory and will reload himself auto-magically so you don't have to restart it anymore.

    nuxt-store-watch

    PS: We also improved the serverMiddleware watch to restart Nuxt.js and clean their cache

    Fixes βœ”οΈ

    • πŸ— builder : corretly detect mode of hashed plugins (#5695)
    • πŸ— builder : call watch:restart after watch:fileChanged hook (#5620)
    • utils : node v8 not support dotAll in regex (#5608)
    • vue-app : properly catch component loading error (#5687) (#5688) (#5690)
    • vue-app : consider watchQuery option in routerViewKey (#5516)
    • vue-renderer : await on spa:templateParams hook (#5619)
    • webpack : set log level to warn for HardSourcePlugin (#5653)
    • vue-app : properly catch loading error in component prefetching (#5688) (#5690)
    • vue-app : avoid using aliases in templates (#5656)
    • πŸ— builder : watch store dir and serverMiddleware paths (#5681)

    πŸ”‹ Features πŸš€

    • vue-app : rename transition to pageTransition and deprecate it (#5558)
    • vue-renderer/vue-app : report SSR console logs to the browser with consola (#5673)
    • webpack : suppress not found typescript warnings (#5635)
    • webpack : extendable babel.presets and babel envName (#5637)
    • πŸ”§ configurable aliases (#5655)

    πŸ”¨ Refactors 🧹

    • server : exclude dist files request from browser detection (#5571)
    • vue-renderer : remove chalk in renderer (#5609)
    • vue-renderer : split renderer into ssr, spa and modern (#5559)
    • 🚚 move modern detection from server to utils (#5584)

    🍱 Examples πŸ“š

    • auth-routes: fix typo (#5651)
    • babel-preset-app: add core-js@3 example in the readme (#5633)
    • 🐳 docker : fix Dockerfile casing (#5705)

    πŸ‘· Typescript πŸ‘·

    ⬇️ Only for typescript users, Nuxt.js v2.7 dropped support for node < 8.6 relate to ts-loader v6

    • βž• add babel config types (#5666)
    • ⬆️ upgrade ts-loader to v6 (#5691)
    • πŸ›  fix context.app type (#5701)
    • πŸ›  fix extendRoutes method type (#5700)
    • prevent ts-node to register twice (#5699)

    🍱 Thanks to πŸ™

  • v2.6.3 Changes

    April 25, 2019

    πŸ›  Fixes

    • cli : Watch and reload nuxt.config (#5574)
    • utils : serialize inline functions (#5051) (#5580)
    • vue-app : Fix context req and res types (#5560)
    • webpack : Fix production font preloading (#5436)
    • Don't customize esm options (91c3642)

    ⬆️ Dependency Upgrades