Releases: trusktr/lowclass
Releases · trusktr/lowclass
v8.0.0 - unexport all the things
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'
- BREAKING: Instead of importing things
Full Changelog: v7.0.1...v8.0.0
v7.0.0 - Construct all the things!
Features:
- add more constructor helpers for dealing also with abstract constructors:
Constructor
already exists for non-abstract classes, theAbstractConstructor
type is added for abstract classes,
and theAnyConstructor
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
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.