Skip to content
Merged
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
14 changes: 14 additions & 0 deletions doc/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
## 0.25.0

### Notes for upgrading to 0.25.0

We have removed the code for configuring Bluebird from `main.[js|ts]`. This code has been moved to a file that is now prepended to `vendor-bundle.js`. You will need to update the `prepend` section of your `vendor-bundle.js` configuration to start with the following two files:

```json
"prepend": [
"node_modules/bluebird/js/browser/bluebird.core.js",
"node_modules/aurelia-cli/lib/resources/scripts/configure-bluebird.js",
```

This change will remove the errors seen when running an Aurelia CLI app in Firefox, Edge, or IE.

## 0.24.0

### Features
Expand Down
1 change: 1 addition & 0 deletions lib/commands/new/project-template.js
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,7 @@ exports.ProjectTemplate = class {
"name":"vendor-bundle.js",
"prepend": [
"node_modules/bluebird/js/browser/bluebird.core.js",
"node_modules/aurelia-cli/lib/resources/scripts/configure-bluebird.js",
"node_modules/requirejs/require.js"
],
"dependencies": [
Expand Down
6 changes: 6 additions & 0 deletions lib/resources/scripts/configure-bluebird.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
//Configure Bluebird Promises.
Promise.config({
warnings: {
wForgottenReturn: false
}
});