Skip to content

Commit ec2f456

Browse files
committed
Bump and build v4
With changelog and other v4 doc updates.
1 parent 845b625 commit ec2f456

13 files changed

+2026
-4752
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"description": "The Backbone Framework",
44
"homepage": "https://marionettejs.com/",
55
"main": "./lib/backbone.marionette.js",
6-
"version": "3.5.1",
6+
"version": "4.0.0",
77
"license": "MIT",
88
"keywords": [
99
"backbone",

changelog.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
### v4.0.0 [view commit logs](https://github.com/marionettejs/backbone.marionette/compare/v3.5.1...v4.0.0)
2+
3+
#### Breaking Changes
4+
The breaking changes are documented in the [upgrade guide](https://marionettejs.com/docs/v4.0.0/upgrade-v3-v4.html).
5+
6+
#### Features
7+
* `CollectionView` can now render a template in the same fashion of the removed `CompositeView`.
8+
* `View#triggers` now passes the originating DOM event object as the final argument of the triggered Mn event.
9+
* View classes now have the `bindRequests` and `unbindRequests` API.
10+
* The ES6 package was exposed in `package.json` on `jsnext:main`
11+
* The underscore dependency was updated to include 1.8.3 - 1.9.x.
12+
13+
#### Documentation
14+
The documentation structure was overhauled to provide a flow to reading through the docs.
15+
116
### v3.5.1 [view commit logs](https://github.com/marionettejs/backbone.marionette/compare/v3.5.0...v3.5.1)
217

318
#### Fixes

docs/dom.prerendered.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import { View } from 'backbone.marionette';
99

1010
const myView = new View({ el: $('#foo-selector') });
1111

12-
const myView = new MyView();
1312
myView.isRendered(); // true if '#foo-selector` exists and has content
1413
myView.isAttached(); // true if '#foo-selector` is in the DOM
1514
```

docs/marionette.region.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ const EmptyMsgRegion = Region.extend({
514514
}
515515
});
516516
```
517-
[Live example](https://jsfiddle.net/marionettejs/c1nacq0c/1/)
517+
[Live example](https://jsfiddle.net/marionettejs/c1nacq0c/)
518518

519519
## Set How View's `el` Is Attached and Detached
520520

@@ -615,8 +615,8 @@ const MyView = View.extend({
615615
});
616616
```
617617

618-
[Live example](https://jsfiddle.net/marionettejs/c1nacq0c/3/)
618+
[Live example](https://jsfiddle.net/marionettejs/qtvjLu70/)
619619

620620
Using a similar approach is possible to create a region animated with CSS:
621621

622-
[Live example](https://jsfiddle.net/marionettejs/9ys4d57x/2/)
622+
[Live example](https://jsfiddle.net/marionettejs/8uoabg7c/)

0 commit comments

Comments
 (0)