Skip to content

Commit 86ea012

Browse files
author
Matt Lewis
committed
chore(release): 0.20.0
1 parent 8573565 commit 86ea012

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

CHANGELOG.md

+38
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,44 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
<a name="0.20.0"></a>
6+
# [0.20.0](https://github.com/mattlewis92/angular-calendar/compare/v0.19.0...v0.20.0) (2017-08-06)
7+
8+
9+
### Bug Fixes
10+
11+
* **dayView:** add the event.cssClass to the event container instead of the event itself ([591dd4a](https://github.com/mattlewis92/angular-calendar/commit/591dd4a)), closes [#299](https://github.com/mattlewis92/angular-calendar/issues/299)
12+
* **monthView:** only call beforeViewRender once when refreshing the view ([3dd3118](https://github.com/mattlewis92/angular-calendar/commit/3dd3118)), closes [#293](https://github.com/mattlewis92/angular-calendar/issues/293)
13+
* **weekView:** custom event `cssClass`'s are now added to the event container instead of the event i ([712ded8](https://github.com/mattlewis92/angular-calendar/commit/712ded8))
14+
15+
16+
### BREAKING CHANGES
17+
18+
* **weekView:** you may need to adjust your CSS slightly to account for this change. See the day
19+
view breaking change for how to migrate.
20+
* **dayView:** the `event.cssClass` property is now added to the parent container element, rather
21+
than the event itself. You may need to update your CSS.
22+
23+
Before:
24+
```
25+
.my-custom-event-class {}
26+
```
27+
28+
After:
29+
```
30+
.my-custom-event-class .cal-event {}
31+
```
32+
33+
People using custom day event event templates can also remove these lines from their template:
34+
35+
```
36+
[class.cal-starts-within-day]="!dayEvent.startsBeforeDay"
37+
[class.cal-ends-within-day]="!dayEvent.endsAfterDay"
38+
[ngClass]="dayEvent.event.cssClass"
39+
```
40+
41+
42+
543
<a name="0.19.0"></a>
644
# [0.19.0](https://github.com/mattlewis92/angular-calendar/compare/v0.18.3...v0.19.0) (2017-07-14)
745

0 commit comments

Comments
 (0)