Parcel v1.12.0 Release Notes

Release Date: 2019-03-07 // about 1 year ago
  • ➕ Added

    • CSS/SASS/LESS sourcemaps Details
    • ➕ Add Markdown support Details
    • ⚡️ Unhandled HMR updates should cause a page reload Details
    • 🔌 Enables jsx plugin in case jsx syntax is used in js files Details
    • ➕ Add disabling of autoinstall globally via environment variable Details
    • ➕ Add support for chrome-extension:// protocol to bundle-url.js Details
    • ➕ Add support for Firefox's 'moz-extension://' protocol, to bundle-url.js Details
    • Generate source map files with long extentions (e.g. .js.map) Details
    • ⬆️ upgrade htmlnano dep Details
    • 0️⃣ Default port to process.env.PORT Details
    • 💻 Inline process.browser for better code elimination Details
    • 🚚 Detect files added to/removed from directories. Details
    • Implement depth option for detailed report Details

    🛠 Fixed

    • 📦 Resolve package.browser in subfolders (with backslashes) Details
    • 🛠 fix chokidar ignored regex Details
    • Defer throwing asset errors until after dependencies are handled. Details
    • 🛠 fix(sourcemaps): Handle null mappings properly Details
    • 👉 Use Buffer.from Details
    • ➕ addURLDependency: use always relative path Details
    • reexporting + renaming when scopehoisting Details
    • 🛠 Fix and reenable windows scope-hoisting tests Details
    • 🛠 Fix for typescript asset invalidation Details
    • 🛠 Fix hang up when a lot of parallel operation request the file system Details
    • 🛠 Fix localRequire with package/path requests Details
    • ♻️ Refactor htmlnano tests to test for filesize Details
    • 🗄 pug Deprecated pretty Details
    • 🛠 Fix pug test Details
    • ✅ Use the test to assert this.child.killed rather than checking time difference Details
    • 👌 Improve tests: symlink tests, Kotlin tests, and maybe test-util module Details
    • 🖐 Handle empty html files Details
    • 🛠 Fix HTMLAsset dependency tag with empty src value Details
    • 👍 Allow dotfiles to be served Details
    • 🛠 Fix sourceMappingURL for bundles with multiple entry points Details
    • 🛠 Fix absolute path importing in sass Details
    • 🛠 Fix dependency list parsing in RustAsset for paths on Windows Details
    • For scope hoisting, Asset IDs cannot contain + or / (base64) Details
    • Send CORS headers when a file does not exist Details
    • Prevent circular deps from causing a stack overflow in HMR runtime Details
    • 🛠 Fix postcss modules composes imports Details
    • 🛠 fix: set default pragmaFrag option for JSX Details
    • ✂ Remove unnecessary return await Details
    • 🛠 Fix scopehositing with nested dynamic imports Details
    • 👕 eslint: enable no-return-await Details
    • Throw meaningful error on undefined exports Details
    • ➕ Add helpful plugin errors Details
    • 🛠 Fix HMR failure with js error on load Details