Skip to content

Releases: timocov/dts-bundle-generator

5.5.0

08 Nov 15:11
Compare
Choose a tag to compare

Fixed

  • Fixed incorrect handling re-export default export with setting a name to the original one (see #141)

5.4.0

22 Aug 11:58
Compare
Choose a tag to compare

Fixed

  • Fixed incorrect handling export with multiple renamings (e.g. one while import and another one while export) (see #132)

5.3.0

26 Jul 10:06
Compare
Choose a tag to compare

Fixed

5.2.0

25 Jul 17:49
Compare
Choose a tag to compare

Fixed

  • Inlining of export = foo when it's declare namespace foo (see #124)
  • Import from "events" but the /// is omitted (see #123)

5.1.0

19 Jul 12:32
Compare
Choose a tag to compare

Fixed

  • Fixed bug with handling import Name = require() imports (see #122)

5.0.0

05 Jul 10:50
Compare
Choose a tag to compare

Breaking changes

  • Dropped support for NodeJS < 12 (see 0ef6d2f)
  • Dropped support for TypeScript < 3.0 (see 18babb8)
  • Changed structure of published package - all scripts moved to dist folder (see 9605695)
    dts-bundle-generator/config-schema typings are still on the root level, so all previous imports or that "module" should still work.

Fixed

  • Added correctly handling re-exports with renaming from the entry point (see #117)

4.3.0

21 Apr 22:16
Compare
Choose a tag to compare

Fixed

  • Fixed generating declare keyword for not-exported variables/functions (see #115 and 9436133)

Thanks to @tohosaku!

4.2.0

16 Apr 13:15
Compare
Choose a tag to compare

Fixed

  • Added handling TS18003 error ("No inputs were found in config file") while parsing tsconfig file (see #114)

Thanks @monkeywithacupcake for adding opencollective info to the repo (see #113)

4.1.0

09 Apr 20:53
Compare
Choose a tag to compare

Added

  • Added cli option --respect-preserve-const-enum to strip the const keyword from every direct-exported (or re-exported) from entry file const enum (see #110)

4.0.0

19 Mar 13:14
Compare
Choose a tag to compare

This release finally removed the first 2 limitation of the tool (about usage import * as name and renaming while import) 🎉.

Breaking changes

The only explicit breaking changes are updated dependencies, but I assume that #62 might broke something not covered by tests, so that's why it's major release.

Added

  • Added a small banner to the top of the generated file and cli option --no-banner to disable it (see #106)

Fixed

  • importedLibraries not working as expected (see #98)
  • unknown library "Function" autoadd. (see #101)
  • import default from namespace with esmoduleInterop true (see #62)
  • Sub-Paths in imports and renamed imports generate invalid output (see #54)
  • Cannot find namespace 'fs' (see #84)
  • need option for external default imports (see #59)

Deps updates

  • yargs has been updated to 15.3.0 version