Skip to content

Releases: trusktr/lowclass

v8.0.0 - unexport all the things

10 Sep 07:35
Compare
Choose a tag to compare

What's Changed

  • Avoid re-exporting everything from the index file (leave only the version, which is auto-updated). This makes it possible to import only what you need only, instead of importing everything. Some tools were reporting a warning on native.js due to its use of eval(). by @trusktr in #14
    • BREAKING: Instead of importing things from 'lowclass', import them directly from the file where they come from, f.e. import {Constructor} from 'lowclass/dist/Constructor.js'

Full Changelog: v7.0.1...v8.0.0

v7.0.0 - Construct all the things!

17 Nov 22:53
Compare
Choose a tag to compare

Features:

  • add more constructor helpers for dealing also with abstract constructors: Constructor already exists for non-abstract classes, the AbstractConstructor type is added for abstract classes,
    and the AnyConstructor type is added for representing both.

BREAKING:

We also updated the TypeScript version. You might not need to do anything, but knowing TypeScript there's a bigger chance compared to with other tools that something broke because they don't follow the semver versioning rules established in the JavaScript community.

Full Changelog: v6.0.0...v7.0.0

v6.0.0 - Unglobalization

24 Oct 07:58
Compare
Choose a tag to compare

BREAKING: remove the global build. Migration: if you were importing the dist/global.js file with a script tag, instead use import syntax to import lowclass into your project.