Skip to content
This repository has been archived by the owner on Jul 30, 2018. It is now read-only.

Releases: dojo/shim

Release 0.2.3

30 Nov 15:12
Compare
Choose a tag to compare
Release 0.2.3 Pre-release
Pre-release

👍 Enhancements

  • Typescript 2.6 (#118)

Release 0.2.2

30 Nov 15:12
Compare
Choose a tag to compare
Release 0.2.2 Pre-release
Pre-release

✅ Fixes

  • Replacing noEmitHelpers with importHelpers (#120)

Release 0.2.1

30 Nov 15:11
Compare
Choose a tag to compare
Release 0.2.1 Pre-release
Pre-release

✅ Fixes

  • Re-adding forOf to unbreak other packages (#119)

    Details
    • Re-adding forOf to unbreak other packages

Release 0.2.0

30 Nov 15:10
Compare
Choose a tag to compare
Release 0.2.0 Pre-release
Pre-release

⚠️ Breaking Changes

  • Adding polyfills (#114)

    Details

    Importing tslib, adding AMD util, polyfills

👍 Enhancements

  • Upgrade to Intern 4 (#115)

  • Upgrade to Intern 4.1 (#117)

  • Add dist to CI and default to declaration true (#112)

    Details

    Refs: dojo/meta#200

  • Update CI for new release of grunt-dojo2 (#116)

Release 0.1.0

30 Nov 15:09
Compare
Choose a tag to compare
Release 0.1.0 Pre-release
Pre-release

👍 Enhancements

  • Update tag for @dojo dependencies

Release 2.0.0 Beta3 1

30 Nov 15:08
Compare
Choose a tag to compare
Release 2.0.0 Beta3 1 Pre-release
Pre-release

👍 Enhancements

  • Converting to intern4 (#110)

    Details
    • Converting to intern4

    • Code review feedback

    • Removing this:any in favor of the correct types

    • Intern4 updates

  • Ignoring coverage files from intern4 (#113)

  • Update tag for @dojo dependencies

Release 2.0.0 Beta2 4

30 Nov 15:06
Compare
Choose a tag to compare
Release 2.0.0 Beta2 4 Pre-release
Pre-release

✅ Fixes

  • Adding overwrite flag to has additions, issue #97 (#105)

  • Fixing queue in a web worker (#108)

    Details
    • Saying postMessage is unavailable if you are running in a web worker, dojo/core #324

👍 Enhancements

  • Update tag for @dojo dependencies

Release v2.0.0 Beta2 3

27 Jul 09:29
9ba602e
Compare
Choose a tag to compare
Pre-release

Changes

  • Improve shims (#101)
    • BREAKING CHANGE Aligns shim types to match more recent native types from TypeScript libraries. The biggest change is that collections now properly return an | undefined when getting values. This may break previously working code which may have been unsafe by not properly guarding against undefined.
    • BREAKING CHANGE The Promise shim is fully global. This allows easier support of async/await in code as well as makes it possible for downstream projects to target an emit of ES2015 or beyond without running into type conflicts. This does mean that a "local" promise should no longer be imported like import Promise from '@dojo/shim/Promise'; and only needs to be imported for side effects once by a project. Most users of other Dojo 2 packages will not have an issue with this, but if only using @dojo/shim or only parts of @dojo/core it may make sense to import the module for side-effects like import '@dojo/shim/Promise';. Also, when targeting ES5, the lib compiler option should be used and the es2015.promise lib should be added.
    • BREAKING CHANGE the /native/ modules have been removed, instead all the shim modules have been reworked so that they can be more easily build optimised using the features in dojo/cli-build-webpack#172.
    • BREAKING CHANGE the feature detection flags for the Has API have been reworked to be more concise.

Fixes

  • Add detection for buggy MutationObserver implementations (#104)
    • Internet Explorer 11 has a unreliable implementation of MutationObserver. This was being used in the async queuing library used by the Promise shim. Under certain conditions, the queue would not drain, causing Promises not to be resolved. This fix detects the buggy version and asserts that the platform does not have MutationObservers, which then defaults the async queuing library to use other mechanisms to resolve promises.

Release 2.0.0 Beta2 2

27 Aug 15:42
Compare
Choose a tag to compare
Release 2.0.0 Beta2 2 Pre-release
Pre-release

New Features

Fixes

  • Introduce global in package root and make compatible with CSP (#80)
    This aligns to the TC39 global proposal
    Resolves #61