Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ember-auto-import 2 #22

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
68 changes: 35 additions & 33 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,33 +1,35 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).

## Unreleased

## v2.1.1 - 04/09/2019

This release fixes a bug introduced in `v2.1.0` — `debug@4` contains ES6 syntax that breaks compatibility with IE11. We now lock our `debug` dependency below version 4.

## v2.1.0 - 04/09/2019

This release moved to pulling `debug` directly from npm and bringing it into the host application via `ember-auto-import` rather than the AMD build of `debug-dist`.

## v2.0.0 - 10/02/2018

This release removes the automatic injection of the `debug` method on many container-owned objects. To migrate forward, you can either set `debug: debugLogger()` on those objects explicitly or reinstate the implicit injection in your own instance initializer:

```js
export function initialize(instance) {
instance.register('debug-logger:main', debugLogger(), { instantiate: false });

// Do this for each type you want the injection on
instance.inject('route', 'debug', 'debug-logger:main');
}

export default {
name: 'debug-logger',
initialize,
};
```
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).

## Unreleased

Upgrade to ember-auto-import 2.x

## v2.1.1 - 04/09/2019

This release fixes a bug introduced in `v2.1.0` — `debug@4` contains ES6 syntax that breaks compatibility with IE11. We now lock our `debug` dependency below version 4.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could probably widen our acceptable version band now since EAI runs Babel against your imported dependencies these days


## v2.1.0 - 04/09/2019

This release moved to pulling `debug` directly from npm and bringing it into the host application via `ember-auto-import` rather than the AMD build of `debug-dist`.

## v2.0.0 - 10/02/2018

This release removes the automatic injection of the `debug` method on many container-owned objects. To migrate forward, you can either set `debug: debugLogger()` on those objects explicitly or reinstate the implicit injection in your own instance initializer:

```js
export function initialize(instance) {
instance.register('debug-logger:main', debugLogger(), { instantiate: false });

// Do this for each type you want the injection on
instance.inject('route', 'debug', 'debug-logger:main');
}

export default {
name: 'debug-logger',
initialize,
};
```
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"@types/rsvp": "^4.0.1",
"@types/sinon": "^4.1.3",
"broccoli-asset-rev": "^2.7.0",
"ember-cli": "~3.4.2",
"ember-cli": "~3.28.5",
"ember-cli-dependency-checker": "^3.0.0",
"ember-cli-eslint": "^4.2.3",
"ember-cli-htmlbars": "^3.0.0",
Expand All @@ -47,7 +47,8 @@
"loader.js": "^4.7.0",
"qunit-dom": "^0.7.1",
"typescript": "~3.0.1",
"typescript-eslint-parser": "^19.0.2"
"typescript-eslint-parser": "^19.0.2",
"webpack": "^5.74.0"
},
"keywords": [
"ember-addon"
Expand All @@ -65,7 +66,7 @@
"dependencies": {
"@types/debug": "*",
"debug": ">=2.0.0 <4.0.0",
"ember-auto-import": "^1.2.21",
"ember-auto-import": "^2.4.2",
"ember-cli-babel": "^7.6.0"
},
"ember-addon": {
Expand Down
Loading