Skip to content

Latest commit

 

History

History
432 lines (364 loc) · 20.2 KB

CHANGELOG.md

File metadata and controls

432 lines (364 loc) · 20.2 KB

@comandeer/rollup-lib-bundler Changelog

All notable changes to this project will be documented in this file. The format is based on Keep a Changelog and this project adheres to Semantic Versioning.


0.23.0 – 2024-05-01

Added

  • #314: support for Node 22.

Changed

  • #311: BREAKING CHANGE: updated dependencies:

    Dependency Old version New version
    @babel/core ^7.22.0 ^7.24.5
    @babel/plugin-syntax-import-assertions ^7.22.5 ^7.24.1
    @babel/preset-env ^7.22.9 ^7.24.5
    ⚠️ @comandeer/cli-spinner ^0.3.2 ^1.0.2
    @rollup/plugin-babel ^6.0.3 ^6.0.4
    @rollup/plugin-commonjs ^25.0.2 ^25.0.7
    @rollup/plugin-json ^6.0.0 ^6.1.0
    @rollup/plugin-terser ^0.4.3 ^0.4.4
    @rollup/plugin-typescript ^11.1.2 ^11.1.6
    @rollup/plugin-virtual ^3.0.1 ^3.0.2
    chalk N/A ^5.3.0
    ☠️ console-control-strings ^1.1.0 N/A
    ⚠️ globby ^13.2.2 ^14.0.1
    pathe ^1.1.1 ^1.1.2
    rimraf ^5.0.1 ^5.0.5
    ⚠️ rollup ^3.26.2 ^4.17.2
    ⚠️ rollup-plugin-dts ^5.3.0 ^6.1.0
    tslib ^2.6.0 ^2.6.2
    typescript ^5.1.6 ^5.4.5

    New dependencies are marked with the "⭐" emoji.

    Dependencies with major version change are marked with the "⚠️" emoji.

    Removed dependencies are marked with the "☠️" emoji.

Removed

  • #314: BREAKING CHANGE: support for Node 16 & 18.

0.22.1 – 2023-07-28

Fixed

  • #303: incorrect package published on GitHub.
  • #306: incorrect orderd of exports in the package.json file.

0.22.0 – 2023-07-23

Added

  • #232: type definitions for the library.

Changed

  • #232: BREAKING CHANGE: rewrote the project in TS.

0.21.0 – 2023-07-20

Changed

  • #300: BREAKING CHANGE: updated the logic for linking to other bundles.

  • #279: BREAKING CHANGE: updated dependencies:

    Dependency Old version New version
    @babel/core ^7.20.12 ^7.22.9
    @babel/plugin-syntax-import-assertions ^7.20.0 ^7.22.5
    ☠️ @babel/plugin-transform-typescript ^7.20.13 N/A
    @babel/preset-env ^7.20.2 ^7.22.9
    ☠️ @babel/types ^7.20.7 N/A
    ⚠️ @rollup/plugin-commonjs ^24.0.0 ^25.0.2
    ⚠️ @rollup/plugin-terser ^0.3.0 ^0.4.3
    @rollup/plugin-typescript ^11.0.0 ^11.1.2
    globby ^13.1.3 ^13.2.2
    magic-string N/A ^0.30.1
    pathe ^1.1.0 ^1.1.1
    ⚠️ rimraf ^4.0.7 ^5.0.1
    rollup ^3.10.0 ^3.26.2
    tslib ^2.4.1 ^2.6.0
    ⚠️ typescript ^5.1.6 ^4.9.4

    New dependencies are marked with the "⭐" emoji.

    Dependencies with major version change are marked with the "⚠️" emoji.

    Removed dependencies are marked with the "☠️" emoji.

Removed

  • #276: BREAKING CHANGE: outputting CJS bundles; now only the ESM one is produced.

Fixed

  • #300: incorrect linking to other bundles in .d.ts files.

0.20.0 – 2023-07-13

Added

  • #264: support for bundling .d.cts and .d.mts type declaration files.
  • #265: official support for non-standard dist directories.
  • #271: support for import assertions syntax to enable importing JSON files in the pure ESM packages.
  • #278: official support for Node.js 20.

Changed

  • #233: BREAKING CHANGE: package is a pure ESM one now.
  • #266: BREAKING CHANGE: remove warning for skipping a CJS build.
  • #264: updated the rollup-plugin-dts dependency from ^5.1.1 to ^5.3.0.
  • #265: added docs around import suggestions in VSC.

Removed

  • #249: BREAKING CHANGE: CJS bundle.

Fixed

  • #277: incorrect file permissions for bundled executables.

0.19.1 – 2023-02-25

Fixed

  • #267: the @babel/preset-env dependency was incorrectly marked as the dev one instead of production one.
  • #268: the package.json file contained the incorrect path to the rlb executable.

0.19.0 – 2023-02-23

Added

  • #116: support for bundling binaries based on the bin field from the package.json file.

Changed

  • #230: BREAKING CHANGE: bundler now omits bundling files that are marked in package.json as bundle entrypoints; such files will be always treated as external and imported.

  • #243: BREAKING CHANGE: bundler of type definitions loads now the tsconfig.json file of the project being bundled.

  • #247: BREAKING CHANGE: the bundler's package.json contains now only the exports-based entrypoints.

  • #248: BREAKING CHANGE: bundler of type definitions uses now virtual filesystem instead of a real temporary directory.

  • BREAKING CHANGE: the list of dependencies changed:

    Dependency Added/Removed Old version New version
    @babel/plugin-transform-typescript Added N/A ^7.20.13
    @babel/types Added N/A ^7.20.7
    @rollup/plugin-virtual Added N/A ^3.0.1
    rollup-plugin-preseve-shebang Added N/A ^1.0.1
    tempy Removed ^3.0.0 N/A
  • #235: binary now uses the ESM version of the bundler.

Fixed

  • #255: .ts source files were not transpiled by Babel to syntax understandable by specified Node.js version (v16.0.0 at the moment of fixing).

0.18.0 – 2023-02-05

Changed

  • #209: BREAKING CHANGE: parsing the project's package.json is no longer blocking as all file operations were rewritten to be asynchronous.

Removed

  • #228: BREAKING CHANGE: support for non-exports entrypoints.

Fixed

  • #240: bundling types incorrectly removes bundled types definitions right after creating them.
  • #242: bundling of types creates incorrect file structure in dist/ if source files are inside subdirectories.

0.17.0 – 2023-01-22

Added

  • #220: Support for bundling TypeScript projects.

Changed

  • #225: BREAKING CHANGE: Update dependencies, including major versions:
    • @rollup/plugin-babel5.3.1^6.0.3;
    • @rollup/plugin-commonjs22.0.2^24.0.0;
    • @rollup/plugin-json4.1.0^6.0.0;
    • rimraf3.0.2^4.0.7;
    • rollup2.79.1^3.10.0;
    • rollup-plugin-terser@rollup/plugin-terser.

0.16.1 – 2022-11-10

Fixed

  • #222: dynamic external imports aren't preserved.

0.16.0 – 2022-05-08

Added

  • #214: Support for Node 18.

Changed

  • #216: BREAKING CHANGE: update dependencies including major versions of:
    • @rollup/plugin-commonjs from 21.x to ^22.0.0.
  • #215: make CJS builds optional.

Removed

  • #214: BREAKING CHANGE: support for Node 12 and 14.

0.15.1 – 2022-03-07

Fixed

  • #212: rimraf is incorrectly marked as a dev dependency instead of a production one.

0.15.0 – 2022-03-07

Added

  • #204: BREAKING CHANGE: clearing the dist/ directory before bundling.
  • #185: Support for subpath exports.

Changed

  • #199: BREAKING CHANGE: update dependencies including major versions of:
    • @rollup/plugin-commonjs from 19.x to ^21.0.0.
  • #202: spinner provided by gauge is replaced by @comandeer/cli-spinner.

Fixed

  • #208: warnings are logged to the stdout instead of stderr.

0.14.0 – 2021-07-21

Added

  • #189: Support for Node 16.
  • #156: User-friendly error handling.

Changed

  • #197: BREAKING CHANGE: public API has changed to be always asynchronous.
  • #191: BREAKING CHANGE: update @rollup/plugin-commonjs from ^18.0.0 to ^19.0.1 and other dependencies.
  • #193: New, better output.

0.13.0 – 2021-05-03

Added

Removed

  • #179 BREAKING CHANGE: support for Node 10.

0.12.0 – 2020-10-17

Changed

  • #176 Update dependencies, including major versions:
    • @rollup/plugin-commonjs – 11.1.0 → 15.1.0;
    • rollup-plugin-terser – 5.3.0 → 7.0.2;
    • mocha – 7.1.2 → 8.2.0 (dev).

0.11.0 – 2020-05-10

Added

Changed

  • #173 rollup-plugin-babel and rollup-plugin-commonjs dependencies are now @rollup/plugin-babel and @rollup/plugin-commonjs ones.

Fixed

0.10.0 – 2020-04-11

Changed

  • #163 BREAKING CHANGE: switch from babel-minify to terser.

Removed

  • #162 BREAKING CHANGE: support for Node 8.
  • #164 BREAKING CHANGE: named exports from the package.

0.9.0 – 2019-06-30

Added

  • #129 Support for Node 12.
  • #128 Official support for Windows and macOS.

Removed

  • #129 BREAKING CHANGE: support for Node 6.

0.8.0 – 2019-01-20

Changed

  • #110 BREAKING CHANGE: Update rollup to ^1.1.0.
  • #111 Update rollup-plugin-babel-minify to ^7.0.0.

0.7.1 – 2018-10-07

Fixed

  • #105 Incorrect sourcemaps for bundles.

0.7.0 – 2018-08-29

Added

  • #71 Add support for Babel 7.

Remove

  • #71 BREAKING CHANGE: remove support for Babel < 7.

0.6.0 – 2018-05-20

Changed

  • #83 BREAKING CHANGE: update rollup-plugin-babel-minify to version ^5.0.0.

0.5.0 – 2018-05-01

Added

  • #80 Add support for Node 10.

Changed

  • #67 BREAKING CHANGE: CJS bundle is also transpiled.
  • #68 BREAKING CHANGE: update @comandeer/babel-preset-rollup to version ^2.0.0.
  • #74 BREAKING CHANGE: rename keys returned by packageParser:
    • dist.es5dist.cjs,
    • dist.es2015dist.esm.

Removed

  • #62 #80 BREAKING CHANGE: remove support for Node <6, 7, 9.

0.4.2 – 2018-02-11

Fixed

  • #58 Usage of deprecated Rollup config options.

0.4.1 – 2018-02-11

Added

  • #54 Add babel-core as dependency.

0.4.0 – 2018-02-03

Changed

  • #48 BREAKING CHANGE: add new line after the banner comment.

Fixed

  • #49 Fix incorrect version of package in banner comment.

0.3.0 – 2017-09-16

Changed

  • #30 BREAKING CHANGE: force Babel to ignore .babelrc file.
  • #16 Update rollup to ^0.50.0.
  • b36613d Update other dependencies.

0.2.0 – 2017-09-03

Changed

  • #17 Switch from rollup-plugin-babili to rollup-plugin-babel-minify.
  • #21 Update rollup to ^0.49.2.
  • #17 Remove rollup-plugin-uglify in favor of rollup-plugin-babel-minify.
  • #18 Replace babel-preset-es2015-rollup with dedicated evergreen @comandeer/babel-preset-rollup.

0.1.2 – 2017-06-17

Fixed

  • #6 Fix incorrect parsing of author's metadata.

0.1.1 – 2017-03-19

Added

0.1.0 – 2017-03-19

Added

  • First working version, yay!