UNPKG

96.4 kBMarkdownView Raw
1# Changelog
2
3All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
5## [0.29.0](https://github.com/mattlewis92/angular-calendar/compare/v0.28.28...v0.29.0) (2021-12-11)
6
7
8### ⚠ BREAKING CHANGES
9
10* angular 12 or higher is now required to use this package
11* if you are implementing your own date adapter you will now need to implement the `getTimezoneOffset` method
12* angular 10 or higher is now required to use this package
13* **week-view:** Previously when resizing events the minimum event height would be calculated based on `hourSegments`, `hourSegmentHeight` and `hourDuration`. It now respects the `minimumEventHeight` input instead.
14
15To restore the old behaviour you will need to set `minimumEventHeight` appropriately (by default it's `30` so should continue to work as expected for most users)
16* when using the moment date formatter, the day view title format has changed to be locale aware. If you prefer the old behaviour you can restore it by overriding the `dayViewTitle` method in the moment date formatter like so:
17
18```
19class CustomMomentDateFormatter extends CalendarMomentDateFormatter {
20
21 public dayViewTitle({ date, locale }: DateFormatterParams): string {
22 return this.moment(date).locale(locale).format('dddd, D MMMM, YYYY');
23 }
24
25}
26```
27* angular 6 and 7 are no longer supported. To use this package you must upgrade to angular 8 or higher.
28* **week-view:** the drag behaviour now mimicks the resize behaviour where you can drag an event down to move it into the next day. To restore the old behaviour you can use the new `validateEventTimesChanged` input to control where an event can be dragged.
29* **week-view:** events on the week and day view will now always be at least 30 pixels high by default. To restore the old behaviour you can set `[minimumEventHeight]="1"`.
30
31### Features
32
33* add support for rtl ([caaf96c](https://github.com/mattlewis92/angular-calendar/commit/caaf96c388824801c142a5ad1b844b95273054e3)), closes [#1203](https://github.com/mattlewis92/angular-calendar/issues/1203)
34* allow timezone offset to be overridden in the date adapter ([96726e1](https://github.com/mattlewis92/angular-calendar/commit/96726e12a54011e2845e8839d7514126b1c84803))
35* drop support for angular 6 and 7 ([bc15e03](https://github.com/mattlewis92/angular-calendar/commit/bc15e03459f2b1b5d0c8ef19304d109e4a285a28))
36* publish package in ivy partial compilation mode ([29eb8c9](https://github.com/mattlewis92/angular-calendar/commit/29eb8c902a12c36b138f0eb5301974f9361958d3)), closes [#1536](https://github.com/mattlewis92/angular-calendar/issues/1536)
37* **week-view:** add hourDuration option ([6a72448](https://github.com/mattlewis92/angular-calendar/commit/6a72448b43f77184de6a10cc94dfd7169798c249)), closes [#1080](https://github.com/mattlewis92/angular-calendar/issues/1080)
38* **week-view:** add minimumEventHeight option ([7789fda](https://github.com/mattlewis92/angular-calendar/commit/7789fdaf8d7f48c725e5cc33918f0556e809694e)), closes [#1192](https://github.com/mattlewis92/angular-calendar/issues/1192)
39* **week-view:** allow customising where events can be dragged ([cd12d3c](https://github.com/mattlewis92/angular-calendar/commit/cd12d3cfa63a3d5c15bb3163c5677e8c8edcde10)), closes [#1183](https://github.com/mattlewis92/angular-calendar/issues/1183)
40* **week-view:** allow customising where events can be resized ([ba45051](https://github.com/mattlewis92/angular-calendar/commit/ba4505176e43b71185adae0e7d9cc98be245252e)), closes [#1183](https://github.com/mattlewis92/angular-calendar/issues/1183)
41
42
43### Bug Fixes
44
45* use locale aware day view title for moment date formatter ([acf93a3](https://github.com/mattlewis92/angular-calendar/commit/acf93a3598e96ca95b0fbbef03fffa3b2e43a2ba)), closes [#1396](https://github.com/mattlewis92/angular-calendar/issues/1396)
46* **week-view:** allow dragging events to span multiple days ([ef5749c](https://github.com/mattlewis92/angular-calendar/commit/ef5749cb08c0972679c314cecde099a93f337821)), closes [#1234](https://github.com/mattlewis92/angular-calendar/issues/1234)
47* **week-view:** respect minimumEventHeight input when resizing ([5f0f6be](https://github.com/mattlewis92/angular-calendar/commit/5f0f6beb5494d031d3b3012c649f26940553170b))
48
49
50### build
51
52* upgrade to angular 10 ([0417635](https://github.com/mattlewis92/angular-calendar/commit/0417635e6694a2dafee3e54ed510766608a019cd))
53
54### [0.28.28](https://github.com/mattlewis92/angular-calendar/compare/v0.28.27...v0.28.28) (2021-09-01)
55
56* no functional changes, just needed to publish a readme update to npm
57
58### [0.28.27](https://github.com/mattlewis92/angular-calendar/compare/v0.28.26...v0.28.27) (2021-08-27)
59
60
61### Bug Fixes
62
63* **month-view:** add missing a11y attributes ([959029e](https://github.com/mattlewis92/angular-calendar/commit/959029eff6d65b3c561ddf247a920c8e580f7e7d))
64
65### [0.28.26](https://github.com/mattlewis92/angular-calendar/compare/v0.28.25...v0.28.26) (2021-06-20)
66
67
68### Bug Fixes
69
70* **schematics:** fix deprecation warning on install ([cd47e98](https://github.com/mattlewis92/angular-calendar/commit/cd47e980c994c71bfbee7767cce7a371273946cc))
71
72### [0.28.25](https://github.com/mattlewis92/angular-calendar/compare/v0.28.24...v0.28.25) (2021-06-20)
73
74
75### Bug Fixes
76
77* **schematics:** support newer versions of angular ([0e70548](https://github.com/mattlewis92/angular-calendar/commit/0e70548c08b4115ae7beceefa7cfdd6ada7e62bf)), closes [#1471](https://github.com/mattlewis92/angular-calendar/issues/1471)
78
79### [0.28.24](https://github.com/mattlewis92/angular-calendar/compare/v0.28.23...v0.28.24) (2021-05-03)
80
81
82### Bug Fixes
83
84* restore compatibility with angular 6 and 7 ([79c2509](https://github.com/mattlewis92/angular-calendar/commit/79c2509450221b5f14fa5dd8ff0b07fa1c7ae6df))
85
86### [0.28.23](https://github.com/mattlewis92/angular-calendar/compare/v0.28.22...v0.28.23) (2021-05-03)
87
88### [0.28.22](https://github.com/mattlewis92/angular-calendar/compare/v0.28.21...v0.28.22) (2020-10-20)
89
90
91### Bug Fixes
92
93* prevent events from disappearing when dragging in quick succession ([d37e459](https://github.com/mattlewis92/angular-calendar/commit/d37e4597887b1e46ba183cef7226f4633bdd61b1)), closes [#1346](https://github.com/mattlewis92/angular-calendar/issues/1346)
94
95### [0.28.21](https://github.com/mattlewis92/angular-calendar/compare/v0.28.20...v0.28.21) (2020-10-20)
96
97
98### Bug Fixes
99
100* **week-view:** use correct height for events on days where DST changes ([3531e6e](https://github.com/mattlewis92/angular-calendar/commit/3531e6e02f776fe8a30a192208b1933f5019157f)), closes [#1348](https://github.com/mattlewis92/angular-calendar/issues/1348)
101
102### [0.28.20](https://github.com/mattlewis92/angular-calendar/compare/v0.28.19...v0.28.20) (2020-09-13)
103
104
105### Bug Fixes
106
107* **week-view:** fix dragging of events when snapDraggedEvents=false ([fdb1181](https://github.com/mattlewis92/angular-calendar/commit/fdb118141d73091c98dbba953b13437a9bd3737b)), closes [#1269](https://github.com/mattlewis92/angular-calendar/issues/1269)
108
109### [0.28.19](https://github.com/mattlewis92/angular-calendar/compare/v0.28.18...v0.28.19) (2020-09-13)
110
111
112### Bug Fixes
113
114* **day-view:** add sourceEvent to click events ([71dfc63](https://github.com/mattlewis92/angular-calendar/commit/71dfc63f7bb9feb0e7ca06f9970f5096b8b4ca6d)), closes [#1274](https://github.com/mattlewis92/angular-calendar/issues/1274)
115
116### [0.28.18](https://github.com/mattlewis92/angular-calendar/compare/v0.28.17...v0.28.18) (2020-09-12)
117
118
119### Bug Fixes
120
121* prevent commonjs warning for drag and drop library ([0c8a147](https://github.com/mattlewis92/angular-calendar/commit/0c8a14735c8190d85013251823c0ab98cb53420a)), closes [#1283](https://github.com/mattlewis92/angular-calendar/issues/1283)
122
123### [0.28.17](https://github.com/mattlewis92/angular-calendar/compare/v0.28.16...v0.28.17) (2020-09-12)
124
125
126### Bug Fixes
127
128* export date adapters as es modules to enable tree shaking ([8ab3113](https://github.com/mattlewis92/angular-calendar/commit/8ab311323148a1b239be09655b9ecad0f3058877)), closes [#1283](https://github.com/mattlewis92/angular-calendar/issues/1283) [#1331](https://github.com/mattlewis92/angular-calendar/issues/1331) [#1292](https://github.com/mattlewis92/angular-calendar/issues/1292)
129
130### [0.28.16](https://github.com/mattlewis92/angular-calendar/compare/v0.28.15...v0.28.16) (2020-05-30)
131
132
133### Bug Fixes
134
135* restore compatibility with angular 6 and 7 ([d64138f](https://github.com/mattlewis92/angular-calendar/commit/d64138fe1684b9ede34af7d15d978a98166cc6ce)), closes [#1268](https://github.com/mattlewis92/angular-calendar/issues/1268)
136
137### [0.28.15](https://github.com/mattlewis92/angular-calendar/compare/v0.28.14...v0.28.15) (2020-05-16)
138
139
140### Bug Fixes
141
142* **week-view:** update event time when dragging and not snapping events ([558f6f3](https://github.com/mattlewis92/angular-calendar/commit/558f6f37e85793776723326d8171b080eb3dc3f2)), closes [#1238](https://github.com/mattlewis92/angular-calendar/issues/1238)
143
144### [0.28.14](https://github.com/mattlewis92/angular-calendar/compare/v0.28.13...v0.28.14) (2020-05-14)
145
146
147### Bug Fixes
148
149* **schematics:** fix error on install ([4afe3ae](https://github.com/mattlewis92/angular-calendar/commit/4afe3ae50eecfc04461080064b5946e5e9c0be5d)), closes [#1253](https://github.com/mattlewis92/angular-calendar/issues/1253)
150* re-add peer dependencies ([19588d6](https://github.com/mattlewis92/angular-calendar/commit/19588d65e05f87c4c7c32c12bc543009db7a48bd))
151
152### [0.28.13](https://github.com/mattlewis92/angular-calendar/compare/v0.28.11...v0.28.13) (2020-05-03)
153
154
155### Bug Fixes
156
157* **month-view:** dont fire click event when dropping event in cell ([1b81353](https://github.com/mattlewis92/angular-calendar/commit/1b8135357bf8da501136b46c2cb5381c74de24a8)), closes [#1237](https://github.com/mattlewis92/angular-calendar/issues/1237)
158* **week-view:** update event title time when dragging and resizing ([b31e35b](https://github.com/mattlewis92/angular-calendar/commit/b31e35b2fae177dc10253c44a30468c57608754e)), closes [#1238](https://github.com/mattlewis92/angular-calendar/issues/1238)
159
160### [0.28.11](https://github.com/mattlewis92/angular-calendar/compare/v0.28.10...v0.28.11) (2020-04-19)
161
162
163### Bug Fixes
164
165* fix scroll issues on touch devices when dragging ([4cb3314](https://github.com/mattlewis92/angular-calendar/commit/4cb33148065a5b608385b90d5dee49b9510f19a3))
166
167### [0.28.10](https://github.com/mattlewis92/angular-calendar/compare/v0.28.9...v0.28.10) (2020-04-18)
168
169
170### Bug Fixes
171
172* fix click and scroll events on touch devices ([fe08a96](https://github.com/mattlewis92/angular-calendar/commit/fe08a967f0966b0a14e9f500f09006d87fbe6945)), closes [#1144](https://github.com/mattlewis92/angular-calendar/issues/1144)
173* **tooltip:** hide tooltip when dragging starts ([f565162](https://github.com/mattlewis92/angular-calendar/commit/f565162c0839841e578fa5c1111bac39432c66e9))
174
175### [0.28.9](https://github.com/mattlewis92/angular-calendar/compare/v0.28.8...v0.28.9) (2020-04-18)
176
177
178### Bug Fixes
179
180* **week-view:** allow dragging all day events multiple times ([253ef80](https://github.com/mattlewis92/angular-calendar/commit/253ef804b391b079dd8af69f07e107739169e664)), closes [#1173](https://github.com/mattlewis92/angular-calendar/issues/1173)
181
182### [0.28.8](https://github.com/mattlewis92/angular-calendar/compare/v0.28.7...v0.28.8) (2020-04-13)
183
184
185### Bug Fixes
186
187* **month-view:** show all weeks with view range and excluding days ([3d5f00b](https://github.com/mattlewis92/angular-calendar/commit/3d5f00b7709f5649a990ea79e50ec49c9b1842ce)), closes [#1201](https://github.com/mattlewis92/angular-calendar/issues/1201)
188
189### [0.28.7](https://github.com/mattlewis92/angular-calendar/compare/v0.28.6...v0.28.7) (2020-04-12)
190
191
192### Bug Fixes
193
194* make universal rendering work without any hacks ([40de98d](https://github.com/mattlewis92/angular-calendar/commit/40de98d344f4a0140939b4ce63cf9cb57b01303c)), closes [#1211](https://github.com/mattlewis92/angular-calendar/issues/1211)
195* **universal:** remove need to add KeyboardEvent hack to server.ts ([0e9e8d1](https://github.com/mattlewis92/angular-calendar/commit/0e9e8d1d0fba4dc4eb3ad0743f2eb927048b97e6))
196
197### [0.28.6](https://github.com/mattlewis92/angular-calendar/compare/v0.28.5...v0.28.6) (2020-04-12)
198
199
200### Bug Fixes
201
202* add module type for ivy compatibility ([c622cd8](https://github.com/mattlewis92/angular-calendar/commit/c622cd860fe9ec9e01e66496a24f6a2a7a0333d4)), closes [#1214](https://github.com/mattlewis92/angular-calendar/issues/1214) [#1218](https://github.com/mattlewis92/angular-calendar/issues/1218)
203
204### [0.28.5](https://github.com/mattlewis92/angular-calendar/compare/v0.28.4...v0.28.5) (2020-03-01)
205
206
207### Bug Fixes
208
209* prevent drag and drop on right click ([18702b1](https://github.com/mattlewis92/angular-calendar/commit/18702b10d80a8a1f5a41726b1d7958fcca778216)), closes [#1171](https://github.com/mattlewis92/angular-calendar/issues/1171)
210
211### [0.28.4](https://github.com/mattlewis92/angular-calendar/compare/v0.28.3...v0.28.4) (2020-03-01)
212
213
214### Bug Fixes
215
216* **schematics:** fix setting custom module to add the calendar imports to ([24125e5](https://github.com/mattlewis92/angular-calendar/commit/24125e5a3bcab212996a7d66186df5fff87cb1d3))
217* **schematics:** use default project instead of first project if not set ([ff477a5](https://github.com/mattlewis92/angular-calendar/commit/ff477a5f57176295bab2560ea3e88fd75fc4d09d))
218* fix infinite load on universal with day and week view ([266e159](https://github.com/mattlewis92/angular-calendar/commit/266e159b24ac8c78051e280eb39a4a22b81a7776)), closes [#1177](https://github.com/mattlewis92/angular-calendar/issues/1177)
219
220### [0.28.3](https://github.com/mattlewis92/angular-calendar/compare/v0.28.2...v0.28.3) (2020-02-29)
221
222
223### Bug Fixes
224
225* upgrade positioning to fix ssr ([4e4179e](https://github.com/mattlewis92/angular-calendar/commit/4e4179e5d6ee3429c661fa5be9f81863482efe32)), closes [#1177](https://github.com/mattlewis92/angular-calendar/issues/1177)
226
227### [0.28.2](https://github.com/mattlewis92/angular-calendar/compare/v0.28.1...v0.28.2) (2019-11-21)
228
229
230### Bug Fixes
231
232* fix npm funding link ([5fc574a](https://github.com/mattlewis92/angular-calendar/commit/5fc574acc45eb8127c47344fb22430cf4fcd4e2b))
233
234### [0.28.1](https://github.com/mattlewis92/angular-calendar/compare/v0.28.0...v0.28.1) (2019-11-21)
235
236
237### Bug Fixes
238
239* **schematics:** use correct date adapter when using moment ([2068e83](https://github.com/mattlewis92/angular-calendar/commit/2068e838c9ee80b0be85a476d268f3d1240cd0cc)), closes [#1133](https://github.com/mattlewis92/angular-calendar/issues/1133)
240
241## [0.28.0](https://github.com/mattlewis92/angular-calendar/compare/v0.27.21...v0.28.0) (2019-11-14)
242
243
244### ⚠ BREAKING CHANGES
245
246* date-fns v2 or higher is now required as a peer dependency
247
248If implementing a custom adapter, the `max` function signature has changed to accept an array of dates, instead of an infinite argument list.
249
250The date adapters no longer accept strings as input arguments.
251
252* **week-view:** If extending the root week view component to override the template you must make the following changes:
253
254* Wrap the time events with `<div "class='cal-events-container'">`
255* Change `<div class="cal-time-label-column" *ngIf="view.hourColumns.length > 0">` to `<div class="cal-time-label-column" *ngIf="view.hourColumns.length > 0 && daysInWeek !== 1">`
256* Add `[isTimeLabel]="daysInWeek === 1"` to the bottom `<mwl-calendar-week-view-hour-segment>` elements
257* The trackBy function `trackByDayOrWeekEvent` was split into `trackByWeekAllDayEvent` and `trackByWeekTimeEvent`
258
259* **week-view:** if using a custom `headerTemplate` on the week view, then you must now add `let-dragEnter="dragEnter"` to the templates variables and `(dragEnter)="dragEnter.emit({ date: day.date })"` onto the `mwlDroppable` element.
260* the `columnHeaderClicked` output on the month view now exposes an object instead of just the ISO day number
261
262Before:
263```
264columnHeaderClicked="columnHeaderClicked($event)"
265```
266
267After:
268```
269columnHeaderClicked="columnHeaderClicked($event.isoDayNumber)"
270```
271* **day-view:** The day and week view have now merged. For most users this should be a seamless migration, however there are some edge cases that you may need to take account for:
272
273Any custom styles you used for the day view will need to be adjusted. The `cal-day-view-theme` sass mixin is now gone as all the styles are shared between the week and day view.
274
275The `eventWidth` option is removed, events now fill the available width.
276
277If using `[daysInWeek]="1"` on the week view, the date and title formatters for the day view will be used instead.
278
279The week view now has a border top applied to the top of the component container, rather than the top of the day headers container.
280
281The `getDayView` and `getDayViewHourGrid` functions have been removed from the `CalendarUtils` service.
282
283The following interfaces from `calendar-utils` were renamed: `DayViewHourSegment` -> `WeekViewHourSegment`, `DayViewHour` -> `WeekViewHour`, `DayViewEvent` -> `WeekViewTimeEvent`
284
285The day view scheduler demo is now based off the week view instead, please check the updated demo code for how to migrate: https://mattlewis92.github.io/angular-calendar/#/day-view-scheduler
286
287If using a custom template for the `hourSegmentTemplate`, you must pass `let-isTimeLabel="isTimeLabel"` as a local variable and then change `<div class="cal-time">` to `<div class="cal-time" *ngIf="isTimeLabel">`
288* the dist files are no longer annotated for usage with closure compiler.
289
290### Bug Fixes
291
292* ensure compatibility with angular 9 and ivy ([d4fdfb3](https://github.com/mattlewis92/angular-calendar/commit/d4fdfb3)), closes [#1086](https://github.com/mattlewis92/angular-calendar/issues/1086)
293* **day-view:** expand hour segments across the full calendar width ([61aef47](https://github.com/mattlewis92/angular-calendar/commit/61aef47)), closes [#1083](https://github.com/mattlewis92/angular-calendar/issues/1083)
294* **week-view:** prevent dropping external events on adjacent time slots ([494adb5](https://github.com/mattlewis92/angular-calendar/commit/494adb5)), closes [#1062](https://github.com/mattlewis92/angular-calendar/issues/1062)
295
296### Features
297
298* upgrade date-fns to v2 ([d4d3873](https://github.com/mattlewis92/angular-calendar/commit/d4d3873)), closes [#1064](https://github.com/mattlewis92/angular-calendar/issues/1064)
299* add accessibility support ([05c9a9a](https://github.com/mattlewis92/angular-calendar/commit/05c9a9a)), closes [#941](https://github.com/mattlewis92/angular-calendar/issues/941)
300* **schematics:** support ng add schematics ([2dc2f47](https://github.com/mattlewis92/angular-calendar/commit/2dc2f47)), closes [#888](https://github.com/mattlewis92/angular-calendar/issues/888)
301* **week-view:** add current time marker ([d3872b1](https://github.com/mattlewis92/angular-calendar/commit/d3872b1)), closes [#1102](https://github.com/mattlewis92/angular-calendar/issues/1102)
302* expose the click or keyboard event that triggers click handlers ([d1a2b78](https://github.com/mattlewis92/angular-calendar/commit/d1a2b78)), closes [#962](https://github.com/mattlewis92/angular-calendar/issues/962)
303* **day-view:** merge the week and day view components ([2e92b25](https://github.com/mattlewis92/angular-calendar/commit/2e92b25)), closes [#889](https://github.com/mattlewis92/angular-calendar/issues/889)
304* **day-view:** expose `allDayEventsLabelTemplate` input ([224848c](https://github.com/mattlewis92/angular-calendar/commit/224848c))
305
306### [0.27.21](https://github.com/mattlewis92/angular-calendar/compare/v0.27.20...v0.27.21) (2019-11-14)
307
308* add npm funding link
309
310### [0.27.20](https://github.com/mattlewis92/angular-calendar/compare/v0.27.19...v0.27.20) (2019-10-19)
311
312
313### Bug Fixes
314
315* always use native click event rather than hammerjs's tap event ([ca189c3](https://github.com/mattlewis92/angular-calendar/commit/ca189c3)), closes [#1113](https://github.com/mattlewis92/angular-calendar/issues/1113)
316
317### [0.27.19](https://github.com/mattlewis92/angular-calendar/compare/v0.27.18...v0.27.19) (2019-09-25)
318
319
320### Bug Fixes
321
322* restore peer dependencies ([1c0f6eb](https://github.com/mattlewis92/angular-calendar/commit/1c0f6eb))
323
324### [0.27.18](https://github.com/mattlewis92/angular-calendar/compare/v0.27.17...v0.27.18) (2019-08-18)
325
326
327### Bug Fixes
328
329* display times properly on days where DST changes ([6e139f4](https://github.com/mattlewis92/angular-calendar/commit/6e139f4)), closes [#964](https://github.com/mattlewis92/angular-calendar/issues/964) [#477](https://github.com/mattlewis92/angular-calendar/issues/477)
330* upgrade positioning library ([8480e72](https://github.com/mattlewis92/angular-calendar/commit/8480e72))
331
332### [0.27.17](https://github.com/mattlewis92/angular-calendar/compare/v0.27.16...v0.27.17) (2019-08-18)
333
334
335### Bug Fixes
336
337* **week-view:** handle excluding non consecutive days ([5ca90c9](https://github.com/mattlewis92/angular-calendar/commit/5ca90c9)), closes [#973](https://github.com/mattlewis92/angular-calendar/issues/973)
338* upgrade positioning library ([ad0a521](https://github.com/mattlewis92/angular-calendar/commit/ad0a521)), closes [#956](https://github.com/mattlewis92/angular-calendar/issues/956)
339
340### [0.27.16](https://github.com/mattlewis92/angular-calendar/compare/v0.27.15...v0.27.16) (2019-08-18)
341
342
343### Bug Fixes
344
345* **tooltip:** prevent infinite loop error when positioning tooltip ([cd2cd5a](https://github.com/mattlewis92/angular-calendar/commit/cd2cd5a)), closes [#1046](https://github.com/mattlewis92/angular-calendar/issues/1046)
346
347### [0.27.15](https://github.com/mattlewis92/angular-calendar/compare/v0.27.14...v0.27.15) (2019-08-12)
348
349
350### Bug Fixes
351
352* **week-view:** prevent duplicate drag and drop events ([a2fb2e2](https://github.com/mattlewis92/angular-calendar/commit/a2fb2e2))
353
354### [0.27.14](https://github.com/mattlewis92/angular-calendar/compare/v0.27.13...v0.27.14) (2019-07-20)
355
356
357### Bug Fixes
358
359* **week-view:** expose the week column to custom event template ([cb719af](https://github.com/mattlewis92/angular-calendar/commit/cb719af)), closes [#1039](https://github.com/mattlewis92/angular-calendar/issues/1039)
360
361
362### Build System
363
364* upgrade dependencies ([530afd0](https://github.com/mattlewis92/angular-calendar/commit/530afd0))
365
366
367
368### [0.27.13](https://github.com/mattlewis92/angular-calendar/compare/v0.27.12...v0.27.13) (2019-07-13)
369
370
371### Bug Fixes
372
373* **day-view:** refresh the view when hourSegments changes ([deb6dcf](https://github.com/mattlewis92/angular-calendar/commit/deb6dcf)), closes [#1032](https://github.com/mattlewis92/angular-calendar/issues/1032)
374
375
376### Build System
377
378* fix paths ([e6c68f2](https://github.com/mattlewis92/angular-calendar/commit/e6c68f2))
379* upgrade dependencies ([8763ece](https://github.com/mattlewis92/angular-calendar/commit/8763ece))
380
381
382
383### [0.27.12](https://github.com/mattlewis92/angular-calendar/compare/v0.27.11...v0.27.12) (2019-06-27)
384
385
386### Bug Fixes
387
388* **month-view:** add 1px drag sensitivity ([4a0e581](https://github.com/mattlewis92/angular-calendar/commit/4a0e581)), closes [#1012](https://github.com/mattlewis92/angular-calendar/issues/1012)
389* **month-view:** make slide animation smoother ([8ef9fe8](https://github.com/mattlewis92/angular-calendar/commit/8ef9fe8)), closes [#1017](https://github.com/mattlewis92/angular-calendar/issues/1017)
390
391
392### Build System
393
394* upgrade dependencies ([6e05313](https://github.com/mattlewis92/angular-calendar/commit/6e05313))
395
396
397
398### [0.27.11](https://github.com/mattlewis92/angular-calendar/compare/v0.27.10...v0.27.11) (2019-06-07)
399
400
401### Bug Fixes
402
403* **tooltip:** allow tooltip text to be updated while shown ([c079805](https://github.com/mattlewis92/angular-calendar/commit/c079805)), closes [#1002](https://github.com/mattlewis92/angular-calendar/issues/1002)
404
405
406### Build System
407
408* migrate autoprefixer options ([4d1026c](https://github.com/mattlewis92/angular-calendar/commit/4d1026c))
409* upgrade dependencies ([29ed6a2](https://github.com/mattlewis92/angular-calendar/commit/29ed6a2))
410
411
412
413### [0.27.10](https://github.com/mattlewis92/angular-calendar/compare/v0.27.9...v0.27.10) (2019-06-07)
414
415
416### Bug Fixes
417
418* ensure date adapters are compiled to es5 ([5fef3be](https://github.com/mattlewis92/angular-calendar/commit/5fef3be))
419
420
421### Build System
422
423* upgrade dependencies ([50eacf8](https://github.com/mattlewis92/angular-calendar/commit/50eacf8))
424
425
426
427### [0.27.9](https://github.com/mattlewis92/angular-calendar/compare/v0.27.8...v0.27.9) (2019-06-05)
428
429
430### Bug Fixes
431
432* restore compatibility with universal ([52ff58e](https://github.com/mattlewis92/angular-calendar/commit/52ff58e)), closes [#997](https://github.com/mattlewis92/angular-calendar/issues/997)
433
434
435### Build System
436
437* only include object.entries polyfill ([650242d](https://github.com/mattlewis92/angular-calendar/commit/650242d))
438* upgrade commitlint ([9a743ed](https://github.com/mattlewis92/angular-calendar/commit/9a743ed))
439* upgrade dependencies ([c2562f1](https://github.com/mattlewis92/angular-calendar/commit/c2562f1))
440* **deps:** bump fstream from 1.0.11 to 1.0.12 in /build-tool-examples/angular-cli ([#996](https://github.com/mattlewis92/angular-calendar/issues/996)) ([ff61c03](https://github.com/mattlewis92/angular-calendar/commit/ff61c03))
441* upgrade dependencies ([02a3b4b](https://github.com/mattlewis92/angular-calendar/commit/02a3b4b))
442* upgrade dependencies ([da42f3d](https://github.com/mattlewis92/angular-calendar/commit/da42f3d))
443* upgrade to angular 8 ✨ ([f3d99f7](https://github.com/mattlewis92/angular-calendar/commit/f3d99f7))
444
445
446
447<a name="0.27.8"></a>
448## [0.27.8](https://github.com/mattlewis92/angular-calendar/compare/v0.27.7...v0.27.8) (2019-05-20)
449
450
451### Bug Fixes
452
453* make internal methods callable from sub classes ([8c926ed](https://github.com/mattlewis92/angular-calendar/commit/8c926ed))
454
455
456
457<a name="0.27.7"></a>
458## [0.27.7](https://github.com/mattlewis92/angular-calendar/compare/v0.27.6...v0.27.7) (2019-04-27)
459
460
461### Bug Fixes
462
463* **day-view:** stop events being dragged outside the view when scrolled ([e506885](https://github.com/mattlewis92/angular-calendar/commit/e506885)), closes [#958](https://github.com/mattlewis92/angular-calendar/issues/958)
464
465
466
467<a name="0.27.6"></a>
468## [0.27.6](https://github.com/mattlewis92/angular-calendar/compare/v0.27.5...v0.27.6) (2019-04-27)
469
470
471### Bug Fixes
472
473* **click:** ensure click event always runs inside angular zone ([de0d435](https://github.com/mattlewis92/angular-calendar/commit/de0d435)), closes [#961](https://github.com/mattlewis92/angular-calendar/issues/961) [#959](https://github.com/mattlewis92/angular-calendar/issues/959)
474
475
476
477<a name="0.27.5"></a>
478## [0.27.5](https://github.com/mattlewis92/angular-calendar/compare/v0.27.4...v0.27.5) (2019-04-21)
479
480
481### Bug Fixes
482
483* **draggable:** support scrolling when dragging events ([99c7aa3](https://github.com/mattlewis92/angular-calendar/commit/99c7aa3)), closes [#838](https://github.com/mattlewis92/angular-calendar/issues/838) [#909](https://github.com/mattlewis92/angular-calendar/issues/909)
484* **week-view:** have time grid events fill available space ([8571528](https://github.com/mattlewis92/angular-calendar/commit/8571528)), closes [#833](https://github.com/mattlewis92/angular-calendar/issues/833)
485
486
487
488<a name="0.27.4"></a>
489## [0.27.4](https://github.com/mattlewis92/angular-calendar/compare/v0.27.3...v0.27.4) (2019-04-20)
490
491
492### Bug Fixes
493
494* styling fixes for day and week view when not using bootstrap ([8c0fbf7](https://github.com/mattlewis92/angular-calendar/commit/8c0fbf7)), closes [#951](https://github.com/mattlewis92/angular-calendar/issues/951)
495* **day-view:** fix dashed line separators when not using bootstrap ([f626dce](https://github.com/mattlewis92/angular-calendar/commit/f626dce)), closes [#952](https://github.com/mattlewis92/angular-calendar/issues/952)
496
497
498
499<a name="0.27.3"></a>
500## [0.27.3](https://github.com/mattlewis92/angular-calendar/compare/v0.27.2...v0.27.3) (2019-04-11)
501
502
503### Performance Improvements
504
505* **click:** disable click listeners unless required ([5b315a5](https://github.com/mattlewis92/angular-calendar/commit/5b315a5)), closes [#942](https://github.com/mattlewis92/angular-calendar/issues/942)
506* **click:** lazily initialise all click handlers ([823ee4d](https://github.com/mattlewis92/angular-calendar/commit/823ee4d)), closes [#942](https://github.com/mattlewis92/angular-calendar/issues/942)
507
508
509
510<a name="0.27.2"></a>
511## [0.27.2](https://github.com/mattlewis92/angular-calendar/compare/v0.27.1...v0.27.2) (2019-04-01)
512
513
514### Bug Fixes
515
516* allow setting css variables as event colors ([1fa72b3](https://github.com/mattlewis92/angular-calendar/commit/1fa72b3)), closes [#845](https://github.com/mattlewis92/angular-calendar/issues/845)
517
518
519
520<a name="0.27.1"></a>
521## [0.27.1](https://github.com/mattlewis92/angular-calendar/compare/v0.27.0...v0.27.1) (2019-03-26)
522
523
524### Bug Fixes
525
526* **actions:** fix event is not defined error ([2a2822f](https://github.com/mattlewis92/angular-calendar/commit/2a2822f))
527
528
529
530<a name="0.27.0"></a>
531# [0.27.0](https://github.com/mattlewis92/angular-calendar/compare/v0.26.11...v0.27.0) (2019-03-22)
532
533
534### Bug Fixes
535
536* **week-view:** respect hourSegmentHeight when resizing events ([241f7c3](https://github.com/mattlewis92/angular-calendar/commit/241f7c3)), closes [#929](https://github.com/mattlewis92/angular-calendar/issues/929)
537* allow events to be dragged back to their original location ([0f69010](https://github.com/mattlewis92/angular-calendar/commit/0f69010)), closes [#847](https://github.com/mattlewis92/angular-calendar/issues/847)
538* expose all track by fns to custom templates ([d6fb3de](https://github.com/mattlewis92/angular-calendar/commit/d6fb3de))
539* sanitise invalid hours and minutes on day and week view ranges ([f54a5f5](https://github.com/mattlewis92/angular-calendar/commit/f54a5f5)), closes [#907](https://github.com/mattlewis92/angular-calendar/issues/907)
540* **day-view:** set allDay to false when dragging events ([c4c8bd5](https://github.com/mattlewis92/angular-calendar/commit/c4c8bd5))
541* **week-view:** handle dragging and resizing across excluded days ([5d1c69a](https://github.com/mattlewis92/angular-calendar/commit/5d1c69a))
542
543
544### Features
545
546* **tooltip:** add a configurable tooltip delay ([#891](https://github.com/mattlewis92/angular-calendar/issues/891)) ([07aec13](https://github.com/mattlewis92/angular-calendar/commit/07aec13)), closes [#790](https://github.com/mattlewis92/angular-calendar/issues/790)
547* add sass mixins for easier theming ([447aea9](https://github.com/mattlewis92/angular-calendar/commit/447aea9)), closes [#858](https://github.com/mattlewis92/angular-calendar/issues/858)
548* **month-view:** add activeDay input to override the active day ([864462b](https://github.com/mattlewis92/angular-calendar/commit/864462b)), closes [#885](https://github.com/mattlewis92/angular-calendar/issues/885)
549* **month-view:** add columnHeaderClicked output ([2bd5e2b](https://github.com/mattlewis92/angular-calendar/commit/2bd5e2b)), closes [#722](https://github.com/mattlewis92/angular-calendar/issues/722)
550* **week-view:** track by a unique row id instead of the index ([481eb02](https://github.com/mattlewis92/angular-calendar/commit/481eb02))
551
552
553### Performance Improvements
554
555* only call beforeViewRender output once when changing view date ([ec7021a](https://github.com/mattlewis92/angular-calendar/commit/ec7021a))
556* use correct track by on month rows and event actions ([302170e](https://github.com/mattlewis92/angular-calendar/commit/302170e))
557
558### BREAKING CHANGES
559
560* all 3 views now have a default white background set. If you were relying on it being transparent before you will need to override with css. To migrate you can add this to your global CSS:
561
562```
563.cal-month-view, .cal-week-view, .cal-day-view {
564 background-color: initial;
565}
566```
567
568* If overriding the main week view template, replace
569```
570*ngFor="let eventRow of view.allDayEventRows; trackBy:trackByIndex"
571```
572with
573```
574*ngFor="let eventRow of view.allDayEventRows; trackBy:trackById"
575```
576
577* If extending the `CalendarMonthViewComponent` you must add `[ngStyle]="{ backgroundColor: day.backgroundColor }"` to the `mwl-calendar-month-cell` component.
578
579<a name="0.26.11"></a>
580## [0.26.11](https://github.com/mattlewis92/angular-calendar/compare/v0.26.10...v0.26.11) (2019-03-17)
581
582
583### Bug Fixes
584
585* **week-view:** dont disable tooltips until drag is started ([e1c321c](https://github.com/mattlewis92/angular-calendar/commit/e1c321c)), closes [#829](https://github.com/mattlewis92/angular-calendar/issues/829)
586* **week-view:** preserve css classes on segments when dragging events ([5fe384d](https://github.com/mattlewis92/angular-calendar/commit/5fe384d)), closes [#908](https://github.com/mattlewis92/angular-calendar/issues/908)
587
588
589
590<a name="0.26.10"></a>
591## [0.26.10](https://github.com/mattlewis92/angular-calendar/compare/v0.26.9...v0.26.10) (2019-03-17)
592
593
594### Bug Fixes
595
596* **week-view:** fix dragging on last column when view fills the screen ([79fcefc](https://github.com/mattlewis92/angular-calendar/commit/79fcefc)), closes [#871](https://github.com/mattlewis92/angular-calendar/issues/871)
597
598
599
600<a name="0.26.9"></a>
601## [0.26.9](https://github.com/mattlewis92/angular-calendar/compare/v0.26.8...v0.26.9) (2019-03-17)
602
603
604### Bug Fixes
605
606* allow scrolling on clickable elements on mobile ([b78b87d](https://github.com/mattlewis92/angular-calendar/commit/b78b87d)), closes [#867](https://github.com/mattlewis92/angular-calendar/issues/867)
607
608
609
610<a name="0.26.8"></a>
611## [0.26.8](https://github.com/mattlewis92/angular-calendar/compare/v0.26.7...v0.26.8) (2019-03-17)
612
613
614### Bug Fixes
615
616* **week-view:** update header when week starts on changes ([bf3dd4d](https://github.com/mattlewis92/angular-calendar/commit/bf3dd4d)), closes [#868](https://github.com/mattlewis92/angular-calendar/issues/868)
617* throw better error message on invalid date formatter ([5f1fe72](https://github.com/mattlewis92/angular-calendar/commit/5f1fe72)), closes [#897](https://github.com/mattlewis92/angular-calendar/issues/897)
618
619
620
621<a name="0.26.7"></a>
622## [0.26.7](https://github.com/mattlewis92/angular-calendar/compare/v0.26.6...v0.26.7) (2019-03-16)
623
624
625### Bug Fixes
626
627* allow angular 8 peer dependency ([7230e94](https://github.com/mattlewis92/angular-calendar/commit/7230e94)), closes [#898](https://github.com/mattlewis92/angular-calendar/issues/898)
628
629
630
631<a name="0.26.6"></a>
632## [0.26.6](https://github.com/mattlewis92/angular-calendar/compare/v0.26.5...v0.26.6) (2019-02-05)
633
634
635### Bug Fixes
636
637* allow resizing events back to their original positions ([0b478b8](https://github.com/mattlewis92/angular-calendar/commit/0b478b8))
638
639
640
641<a name="0.26.5"></a>
642## [0.26.5](https://github.com/mattlewis92/angular-calendar/compare/v0.26.4...v0.26.5) (2019-02-03)
643
644
645### Bug Fixes
646
647* allow events to be dragged back to their original location ([cb07924](https://github.com/mattlewis92/angular-calendar/commit/cb07924)), closes [#847](https://github.com/mattlewis92/angular-calendar/issues/847)
648* **week-view:** handle event objects being changed when resizing ([754d427](https://github.com/mattlewis92/angular-calendar/commit/754d427))
649* **week-view:** workaround js error when resizing events ([94c51da](https://github.com/mattlewis92/angular-calendar/commit/94c51da))
650
651
652
653<a name="0.26.4"></a>
654## [0.26.4](https://github.com/mattlewis92/angular-calendar/compare/v0.26.3...v0.26.4) (2018-11-05)
655
656
657### Bug Fixes
658
659* **day-view:** set allDay to false when dragging events ([14f1e5a](https://github.com/mattlewis92/angular-calendar/commit/14f1e5a))
660* make sure moment date formatter is injectable ([bd6da5f](https://github.com/mattlewis92/angular-calendar/commit/bd6da5f))
661* **week-view:** use correct event width for hourly events ([2fd4163](https://github.com/mattlewis92/angular-calendar/commit/2fd4163)), closes [#784](https://github.com/mattlewis92/angular-calendar/issues/784)
662
663
664
665<a name="0.26.3"></a>
666## [0.26.3](https://github.com/mattlewis92/angular-calendar/compare/v0.26.2...v0.26.3) (2018-10-14)
667
668
669### Bug Fixes
670
671* **week-view:** use correct width on overlapping events ([8e32a48](https://github.com/mattlewis92/angular-calendar/commit/8e32a48)), closes [#763](https://github.com/mattlewis92/angular-calendar/issues/763)
672
673
674
675<a name="0.26.2"></a>
676## [0.26.2](https://github.com/mattlewis92/angular-calendar/compare/v0.26.1...v0.26.2) (2018-10-13)
677
678
679### Bug Fixes
680
681* make it easier to extend providers ([c753c22](https://github.com/mattlewis92/angular-calendar/commit/c753c22))
682* **day-view:** add custom cssClass to allDay events ([d2ac44c](https://github.com/mattlewis92/angular-calendar/commit/d2ac44c)), closes [#769](https://github.com/mattlewis92/angular-calendar/issues/769)
683* **month-view:** don't allow dropping events on the source day ([c96c87e](https://github.com/mattlewis92/angular-calendar/commit/c96c87e)), closes [#746](https://github.com/mattlewis92/angular-calendar/issues/746)
684* **month-view:** use correct inflection of month names on the title ([ba9f5ad](https://github.com/mattlewis92/angular-calendar/commit/ba9f5ad)), closes [#757](https://github.com/mattlewis92/angular-calendar/issues/757)
685
686
687
688<a name="0.26.1"></a>
689## [0.26.1](https://github.com/mattlewis92/angular-calendar/compare/v0.26.0...v0.26.1) (2018-09-18)
690
691
692### Bug Fixes
693
694* include license and readme in npm package ([7fe03b1](https://github.com/mattlewis92/angular-calendar/commit/7fe03b1)), closes [#732](https://github.com/mattlewis92/angular-calendar/issues/732)
695
696
697
698<a name="0.26.0"></a>
699# [0.26.0](https://github.com/mattlewis92/angular-calendar/compare/v0.25.2...v0.26.0) (2018-09-03)
700
701
702### Bug Fixes
703
704* allow events that end on different days to be dragged ([df339b9](https://github.com/mattlewis92/angular-calendar/commit/df339b9))
705* **week-view:** make sure currently resized events are always on top ([bb08ec1](https://github.com/mattlewis92/angular-calendar/commit/bb08ec1))
706* allow the mouse to be moved slightly when clicking events ([08661c4](https://github.com/mattlewis92/angular-calendar/commit/08661c4)), closes [#678](https://github.com/mattlewis92/angular-calendar/issues/678)
707* handle scrolling the page while dragging evwnts ([9fe2a0f](https://github.com/mattlewis92/angular-calendar/commit/9fe2a0f))
708* make sure events that are being resized are always on top ([ce8063d](https://github.com/mattlewis92/angular-calendar/commit/ce8063d))
709* **month-view:** stop events overflowing on ie11 ([10ff7d5](https://github.com/mattlewis92/angular-calendar/commit/10ff7d5)), closes [#501](https://github.com/mattlewis92/angular-calendar/issues/501)
710* mark package as having side effects ([b20f821](https://github.com/mattlewis92/angular-calendar/commit/b20f821)), closes [#529](https://github.com/mattlewis92/angular-calendar/issues/529)
711* **day-view:** allow events with no end date to be resized ([b00d57c](https://github.com/mattlewis92/angular-calendar/commit/b00d57c)), closes [#614](https://github.com/mattlewis92/angular-calendar/issues/614)
712* **day-view:** always default eventSnapSize to hour segment height ([8908759](https://github.com/mattlewis92/angular-calendar/commit/8908759)), closes [#514](https://github.com/mattlewis92/angular-calendar/issues/514)
713* **day-view:** disable pointer events whilst resizing ([56dc132](https://github.com/mattlewis92/angular-calendar/commit/56dc132))
714* **day-view:** dont remove events that start and end at the same time ([d2223d5](https://github.com/mattlewis92/angular-calendar/commit/d2223d5))
715* **day-view:** make sure segmentHeight is passed to a custom template ([79dd846](https://github.com/mattlewis92/angular-calendar/commit/79dd846)), closes [#514](https://github.com/mattlewis92/angular-calendar/issues/514)
716* **day-view:** prevent segment double hover when dragging ([1fd9089](https://github.com/mattlewis92/angular-calendar/commit/1fd9089))
717* **event-clicked:** clicking actual events now triggers eventClicked ([403e127](https://github.com/mattlewis92/angular-calendar/commit/403e127)), closes [#568](https://github.com/mattlewis92/angular-calendar/issues/568)
718* **moment:** change weekViewColumnSubHeader from `D MMM` to `MMM D` ([a2fff58](https://github.com/mattlewis92/angular-calendar/commit/a2fff58))
719* more robust way of telling if an event is dropped within a calendar ([46a650a](https://github.com/mattlewis92/angular-calendar/commit/46a650a)), closes [#637](https://github.com/mattlewis92/angular-calendar/issues/637)
720* prevent text getting selected in safari while dragging events ([36fb312](https://github.com/mattlewis92/angular-calendar/commit/36fb312))
721* **month-view:** prevent day clicked from firing when dragging events ([c505d38](https://github.com/mattlewis92/angular-calendar/commit/c505d38)), closes [#487](https://github.com/mattlewis92/angular-calendar/issues/487)
722* **resizable:** prevent resizing of elements when not on top stack ([4bfac45](https://github.com/mattlewis92/angular-calendar/commit/4bfac45)), closes [#662](https://github.com/mattlewis92/angular-calendar/issues/662)
723* **week-view:** allow resizing events with no end date ([ccffe05](https://github.com/mattlewis92/angular-calendar/commit/ccffe05)), closes [#614](https://github.com/mattlewis92/angular-calendar/issues/614)
724* **week-view:** fix cursor on draggable events ([66e9223](https://github.com/mattlewis92/angular-calendar/commit/66e9223))
725* **week-view:** use correct event left positioning ([fb4bbb7](https://github.com/mattlewis92/angular-calendar/commit/fb4bbb7)), closes [#675](https://github.com/mattlewis92/angular-calendar/issues/675)
726
727
728### Features
729
730* add a CalendarView enum to prevent typos in view names ([f634a86](https://github.com/mattlewis92/angular-calendar/commit/f634a86))
731* add time grid to the week view ([5cfbfc7](https://github.com/mattlewis92/angular-calendar/commit/5cfbfc7)), closes [#593](https://github.com/mattlewis92/angular-calendar/issues/593)
732* allow event actions template to be customised ([2c8a6db](https://github.com/mattlewis92/angular-calendar/commit/2c8a6db)), closes [#673](https://github.com/mattlewis92/angular-calendar/issues/673)
733* allow meta to be passed to the event times changed interface ([c27b2d8](https://github.com/mattlewis92/angular-calendar/commit/c27b2d8))
734* allow moment to be used as a replacement to date-fns ([1c5d32f](https://github.com/mattlewis92/angular-calendar/commit/1c5d32f))
735* expose the full week view on the beforeViewRender output ([1185d27](https://github.com/mattlewis92/angular-calendar/commit/1185d27)), closes [#632](https://github.com/mattlewis92/angular-calendar/issues/632)
736* remove deep module imports ([24eb394](https://github.com/mattlewis92/angular-calendar/commit/24eb394))
737* remove direct dependency on date-fns ([b3c9520](https://github.com/mattlewis92/angular-calendar/commit/b3c9520))
738* upgrade draggable library ([d9e76d4](https://github.com/mattlewis92/angular-calendar/commit/d9e76d4))
739* **day-view:** allow dragging and dropping all day events ([62c41b9](https://github.com/mattlewis92/angular-calendar/commit/62c41b9)), closes [#665](https://github.com/mattlewis92/angular-calendar/issues/665)
740* **day-view:** allow events to be dragged outside of the view ([6641319](https://github.com/mattlewis92/angular-calendar/commit/6641319)), closes [#532](https://github.com/mattlewis92/angular-calendar/issues/532)
741* **day-view:** expose events in beforeViewRender output ([44347e2](https://github.com/mattlewis92/angular-calendar/commit/44347e2)), closes [#573](https://github.com/mattlewis92/angular-calendar/issues/573)
742* **day-view:** make previous and next view helpers respect excludeDays ([50159cc](https://github.com/mattlewis92/angular-calendar/commit/50159cc))
743* **day-view:** remove the mwl-calendar-all-day-event component ([c6b095a](https://github.com/mattlewis92/angular-calendar/commit/c6b095a))
744* **event-times-changed:** expose type of event (resize, drag or drop) ([479c75a](https://github.com/mattlewis92/angular-calendar/commit/479c75a))
745* **event-title-formatter:** expose the pre-formatted title ([df62e7a](https://github.com/mattlewis92/angular-calendar/commit/df62e7a)), closes [#587](https://github.com/mattlewis92/angular-calendar/issues/587)
746* **month-view:** add class to day that's being highlighted ([13a688e](https://github.com/mattlewis92/angular-calendar/commit/13a688e)), closes [#630](https://github.com/mattlewis92/angular-calendar/issues/630)
747* **month-view:** allow events to be dropped on the open day events list ([2454892](https://github.com/mattlewis92/angular-calendar/commit/2454892)), closes [#523](https://github.com/mattlewis92/angular-calendar/issues/523)
748* **month-view:** allow the open day events animation to be overridden ([db0c880](https://github.com/mattlewis92/angular-calendar/commit/db0c880))
749* upgrade the drag and drop library ([ab764ec](https://github.com/mattlewis92/angular-calendar/commit/ab764ec))
750* **tooltip:** allow tooltip to be auto positioned ([d6d61c4](https://github.com/mattlewis92/angular-calendar/commit/d6d61c4)), closes [#617](https://github.com/mattlewis92/angular-calendar/issues/617)
751* **week-view:** allow events to be dragged outside of the view ([e2538a1](https://github.com/mattlewis92/angular-calendar/commit/e2538a1)), closes [#516](https://github.com/mattlewis92/angular-calendar/issues/516)
752* **week-view:** allow total days in the week to be customised ([0b4fcd5](https://github.com/mattlewis92/angular-calendar/commit/0b4fcd5))
753* **week-view:** make the week view title work with no config with i18n ([aa7edd9](https://github.com/mattlewis92/angular-calendar/commit/aa7edd9)), closes [#670](https://github.com/mattlewis92/angular-calendar/issues/670)
754
755
756### BREAKING CHANGES
757
758* date-fns is now no longer a direct dependency of this library. To migrate:
759
760Install date-fns with npm:
761```
762npm i date-fns
763```
764
765Add the date-fns calendar-utils adapter to the first argument of the CalendarModule.forRoot method:
766
767```typescript
768import { NgModule } from '@angular/core';
769import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
770import { CalendarModule, DateAdapter } from 'angular-calendar';
771import { adapterFactory } from 'angular-calendar/date-adapters/date-fns';
772
773@NgModule({
774 imports: [
775 BrowserAnimationsModule,
776 CalendarModule.forRoot({
777 provide: DateAdapter,
778 useFactory: adapterFactory
779 })
780 ]
781})
782export class MyModule {}
783```
784
785For system.js users you will also need to add the following entries to your systemjs config:
786```
787'calendar-utils': 'npm:calendar-utils/bundles/calendar-utils.umd.js',
788'calendar-utils/date-adapters/date-fns': 'npm:calendar-utils/date-adapters/date-fns/index.js',
789'angular-calendar/date-adapters/date-fns': 'npm:angular-calendar/date-adapters/date-fns/index.js'
790```
791* **week-view:** the format of the week view title has changed from `Week d of yyyy` to `MMM d - MMM d, yyyy`. You can override this by using a custom date formatter.
792* **day-view:** the allDayEventTemplate option was removed from the day view. To migrate use the eventTemplate input and check if dayEvent.event.allDay is set in the template
793* Week view events will now appear on the bottom time grid. To restore the old behaviour you can set `allDay: true` on the event to make it appear at the top.
794
795People extending the `CalendarWeekViewComponent` will probably have to adjust their child component as the template and internal component api has changed significantly.
796* **month-view:** If using a custom `openDayEventsTemplate` for the month view you must now wrap your template with:
797```
798<div class="cal-open-day-events" [@collapse] *ngIf="isOpen"></div>
799```
800
801and then you must add the collapse animation to the component that contains the open day events `<ng-template>`:
802
803```
804import { collapseAnimation } from 'angular-calendar';
805
806// add this to your component metadata
807animations: [collapseAnimation]
808```
809* **tooltip:** all tooltips now default to auto positioning, you can use the tooltipPlacement input on all components to override this behaviour though
810* **event-clicked:** eventClicked now fires whenever the event container instead of the event title is clicked
811* **day-view:** previously events with no end date that were resized would emit an empty end time, now they will emit a sensible default new end date
812* **resizable:** only one event at a time can now be resized on the day or week views
813* **week-view:** if you were extending the week view component then the internal API has changed slightly and you may need to adjust your app
814* **month-view:** Custom template users will now need to add a "dragActiveClass='cal-drag-active'" anywhere they use an mwlDraggable directive
815
816If using the mwlDraggable directive anywhere else in your app you will need to apply `pointer-events: none` to the element yourself when it's being dragged. This can be done with the `dragActiveClass` option
817* **day-view:** if you were extending the day view component then the internal API has changed slightly and you may need to adjust your app
818* deep module imports angular-calendar/modules/{common,month,week,day} are no longer supported as the package is now treeshakable. To migrate, adjust your imports to be from angular-calendar directly
819* **moment:** the moment weekViewColumnSubHeader format has changed for consistency with the other date formatters
820* there were some minor breaking changes in the drag and drop library that might affect your app if you were using it outside of the calendar. See the changelog for more info: https://github.com/mattlewis92/angular-draggable-droppable/blob/master/CHANGELOG.md
821* **week-view:** events with no end date that are resized now assume to have the start date as the end date
822
823
824
825<a name="0.25.2"></a>
826## [0.25.2](https://github.com/mattlewis92/angular-calendar/compare/v0.25.1...v0.25.2) (2018-05-12)
827
828
829### Bug Fixes
830
831* properly mark styles as having side effects ([625e586](https://github.com/mattlewis92/angular-calendar/commit/625e586))
832
833
834
835<a name="0.25.1"></a>
836## [0.25.1](https://github.com/mattlewis92/angular-calendar/compare/v0.25.0...v0.25.1) (2018-05-11)
837
838
839### Bug Fixes
840
841* mark styles as having side effects ([2667433](https://github.com/mattlewis92/angular-calendar/commit/2667433))
842
843
844
845<a name="0.25.0"></a>
846# [0.25.0](https://github.com/mattlewis92/angular-calendar/compare/v0.24.1...v0.25.0) (2018-05-11)
847
848
849### Features
850
851* upgrade to angular 6 ([71091ab](https://github.com/mattlewis92/angular-calendar/commit/71091ab)), closes [#512](https://github.com/mattlewis92/angular-calendar/issues/512)
852
853
854### BREAKING CHANGES
855
856* angular 6 or higher is now required to use this package
857
858
859
860<a name="0.24.1"></a>
861## [0.24.1](https://github.com/mattlewis92/angular-calendar/compare/v0.24.0...v0.24.1) (2018-05-09)
862
863
864### Bug Fixes
865
866* **day-view:** prevent selection when dragging cal-event ([#521](https://github.com/mattlewis92/angular-calendar/issues/521)) ([f799bf5](https://github.com/mattlewis92/angular-calendar/commit/f799bf5)), closes [#522](https://github.com/mattlewis92/angular-calendar/issues/522)
867
868
869
870<a name="0.24.0"></a>
871# [0.24.0](https://github.com/mattlewis92/angular-calendar/compare/v0.23.7...v0.24.0) (2018-04-17)
872
873
874### Bug Fixes
875
876* use the browsers timezone in the angular date formatter ([41fa40b](https://github.com/mattlewis92/angular-calendar/commit/41fa40b)), closes [#502](https://github.com/mattlewis92/angular-calendar/issues/502)
877
878
879### Features
880
881* make event colors optional ([4f9ed24](https://github.com/mattlewis92/angular-calendar/commit/4f9ed24)), closes [#468](https://github.com/mattlewis92/angular-calendar/issues/468)
882
883
884
885<a name="0.23.7"></a>
886## [0.23.7](https://github.com/mattlewis92/angular-calendar/compare/v0.23.6...v0.23.7) (2018-03-15)
887
888
889### Bug Fixes
890
891* **day-view:** refresh the view when hourSegments changes ([f99a07b](https://github.com/mattlewis92/angular-calendar/commit/f99a07b)), closes [#470](https://github.com/mattlewis92/angular-calendar/issues/470)
892
893
894
895<a name="0.23.6"></a>
896## [0.23.6](https://github.com/mattlewis92/angular-calendar/compare/v0.23.5...v0.23.6) (2018-02-12)
897
898
899### Bug Fixes
900
901* fix partial module imports ([8540a28](https://github.com/mattlewis92/angular-calendar/commit/8540a28)), closes [#461](https://github.com/mattlewis92/angular-calendar/issues/461)
902
903
904
905<a name="0.23.5"></a>
906## [0.23.5](https://github.com/mattlewis92/angular-calendar/compare/v0.23.4...v0.23.5) (2018-02-11)
907
908
909### Bug Fixes
910
911* **month-view:** expose the day the event was dropped on ([6aeb550](https://github.com/mattlewis92/angular-calendar/commit/6aeb550)), closes [#443](https://github.com/mattlewis92/angular-calendar/issues/443)
912
913
914
915<a name="0.23.4"></a>
916## [0.23.4](https://github.com/mattlewis92/angular-calendar/compare/v0.23.3...v0.23.4) (2018-02-11)
917
918
919### Bug Fixes
920
921* **day-view:** fix scrolling on an ipad ([b5955ae](https://github.com/mattlewis92/angular-calendar/commit/b5955ae)), closes [#458](https://github.com/mattlewis92/angular-calendar/issues/458)
922
923
924
925<a name="0.23.3"></a>
926## [0.23.3](https://github.com/mattlewis92/angular-calendar/compare/v0.23.2...v0.23.3) (2018-01-29)
927
928
929### Performance Improvements
930
931* **track-by:** use track by on all ngFor elements ([aebe832](https://github.com/mattlewis92/angular-calendar/commit/aebe832)), closes [#444](https://github.com/mattlewis92/angular-calendar/issues/444)
932
933
934
935<a name="0.23.2"></a>
936## [0.23.2](https://github.com/mattlewis92/angular-calendar/compare/v0.23.1...v0.23.2) (2018-01-10)
937
938
939### Bug Fixes
940
941* **week-view:** ensure event span is correct in some edge cases ([8b8adef](https://github.com/mattlewis92/angular-calendar/commit/8b8adef)), closes [#432](https://github.com/mattlewis92/angular-calendar/issues/432)
942
943
944
945<a name="0.23.1"></a>
946## [0.23.1](https://github.com/mattlewis92/angular-calendar/compare/v0.23.0...v0.23.1) (2018-01-02)
947
948
949### Bug Fixes
950
951* restore compatibility with system.js ([1b3c27a](https://github.com/mattlewis92/angular-calendar/commit/1b3c27a))
952
953
954
955<a name="0.23.0"></a>
956# [0.23.0](https://github.com/mattlewis92/angular-calendar/compare/v0.22.3...v0.23.0) (2018-01-02)
957
958
959### Bug Fixes
960
961* **universal:** make the calendar work with universal (again) ([8ae8419](https://github.com/mattlewis92/angular-calendar/commit/8ae8419)), closes [#408](https://github.com/mattlewis92/angular-calendar/issues/408)
962
963
964### Features
965
966* **date-formatter:** use the angular date formatter by default ([bd68045](https://github.com/mattlewis92/angular-calendar/commit/bd68045))
967* export drag+drop and resizable modules for use in custom templates ([579a51a](https://github.com/mattlewis92/angular-calendar/commit/579a51a)), closes [#419](https://github.com/mattlewis92/angular-calendar/issues/419)
968* upgrade angular draggable droppable package ([fd30c39](https://github.com/mattlewis92/angular-calendar/commit/fd30c39))
969* upgrade angular resizable element ([26e2b53](https://github.com/mattlewis92/angular-calendar/commit/26e2b53))
970* upgrade calendar-utils ([fe59aad](https://github.com/mattlewis92/angular-calendar/commit/fe59aad))
971* upgrade to angular 5 ([775a62e](https://github.com/mattlewis92/angular-calendar/commit/775a62e)), closes [#417](https://github.com/mattlewis92/angular-calendar/issues/417)
972* use ng-packagr for bundling the package ([5744e9b](https://github.com/mattlewis92/angular-calendar/commit/5744e9b)), closes [#408](https://github.com/mattlewis92/angular-calendar/issues/408)
973* **day-view:** expose the period on the beforeViewRender output ([24739ce](https://github.com/mattlewis92/angular-calendar/commit/24739ce)), closes [#418](https://github.com/mattlewis92/angular-calendar/issues/418)
974* **month-view:** call beforeViewRender with the view period ([a9ab6d9](https://github.com/mattlewis92/angular-calendar/commit/a9ab6d9)), closes [#418](https://github.com/mattlewis92/angular-calendar/issues/418)
975* **week-view:** expose the view period on beforeViewRender ([cb73eff](https://github.com/mattlewis92/angular-calendar/commit/cb73eff)), closes [#418](https://github.com/mattlewis92/angular-calendar/issues/418)
976
977
978### BREAKING CHANGES
979
980* angular 5 or higher is now required to use this package
981* if using a locale other than english you will need to import the appropriate locale data somewhere in your app:
982```
983import { registerLocaleData } from '@angular/common';
984import localeFr from '@angular/common/locales/fr'; // to register french
985
986registerLocaleData(localeFr);
987```
988* **date-formatter:** the angular date formatter is now used by default to format dates instead of the formatter that requires the Intl polyfill
989* **day-view:** the event signature of the beforeViewRender output has changed from $event.body to $event.body.hourGrid
990* **week-view:** for people extending the root week view component, eventRows is now named view.eventRows
991* the getWeekView function return signature has changed from an array of event rows to an object with the eventRows property set to the previous arrat value. This should only affect people overriding the CalendarUtils.getWeekView method.
992* the umd entry path has changed from `angular-calendar/umd/angular-calendar.js` to `angular-calendar/bundles/angular-calendar.umd.js`. System.js users will need to update their config
993* The UMD entry point for the `angular-draggable-droppable` package has changed from `angular-draggable-droppable/dist/umd/angular-draggable-droppable.js` to `angular-draggable-droppable/bundles/angular-draggable-droppable.umd.js`. System.js users will need to update their config accordingly.
994
995Also the dragStart output was renamed to dragPointerDown. Users using a custom template for the root day or week view components will need to adjust their templates accordingly.
996* The UMD entry point for the `angular-resizable-element` package has changed from `angular-resizable-element/dist/umd/angular-resizable-element.js` to `angular-resizable-element/bundles/angular-resizable-element.umd.js`. System.js users will need to update their config accordingly.
997* System.js users will now need to add an entry for the `positioning` package to their config `'positioning': 'npm:positioning/dist/umd/positioning.js'`.
998
999
1000<a name="0.22.3"></a>
1001## [0.22.3](https://github.com/mattlewis92/angular-calendar/compare/v0.22.1...v0.22.3) (2017-12-24)
1002
1003
1004### Bug Fixes
1005
1006* allow event actions to work on draggable events ([c4d6abc](https://github.com/mattlewis92/angular-calendar/commit/c4d6abc)), closes [#373](https://github.com/mattlewis92/angular-calendar/issues/373)
1007* restore TS < 2.4 compatibility ([fbfe430](https://github.com/mattlewis92/angular-calendar/commit/fbfe430))
1008
1009
1010
1011<a name="0.22.2"></a>
1012## [0.22.2](https://github.com/mattlewis92/angular-calendar/compare/v0.22.1...v0.22.2) (2017-12-23)
1013
1014
1015### Bug Fixes
1016
1017* restore TS < 2.4 compatibility ([fbfe430](https://github.com/mattlewis92/angular-calendar/commit/fbfe430))
1018
1019
1020
1021<a name="0.22.1"></a>
1022## [0.22.1](https://github.com/mattlewis92/angular-calendar/compare/v0.22.0...v0.22.1) (2017-11-22)
1023
1024
1025### Bug Fixes
1026
1027* restore aot compatibility with angular 4 ([f5e500a](https://github.com/mattlewis92/angular-calendar/commit/f5e500a)), closes [#397](https://github.com/mattlewis92/angular-calendar/issues/397)
1028
1029
1030
1031<a name="0.22.0"></a>
1032# [0.22.0](https://github.com/mattlewis92/angular-calendar/compare/v0.21.3...v0.22.0) (2017-11-19)
1033
1034
1035### Bug Fixes
1036
1037* **day-view:** fix scrolling on touch devices ([e887b89](https://github.com/mattlewis92/angular-calendar/commit/e887b89)), closes [#358](https://github.com/mattlewis92/angular-calendar/issues/358)
1038
1039
1040### Features
1041
1042* **day-view:** allow the hour segment height to be customised ([688693c](https://github.com/mattlewis92/angular-calendar/commit/688693c)), closes [#360](https://github.com/mattlewis92/angular-calendar/issues/360)
1043* add individual month / week / day modules ([e87ae23](https://github.com/mattlewis92/angular-calendar/commit/e87ae23)), closes [#361](https://github.com/mattlewis92/angular-calendar/issues/361)
1044* add runtime validation of event properties ([194fe59](https://github.com/mattlewis92/angular-calendar/commit/194fe59)), closes [#362](https://github.com/mattlewis92/angular-calendar/issues/362)
1045* introduce angular date formatter ([cd40235](https://github.com/mattlewis92/angular-calendar/commit/cd40235)), closes [#376](https://github.com/mattlewis92/angular-calendar/issues/376)
1046* **styles:** move css files into the css root directory ([72ae546](https://github.com/mattlewis92/angular-calendar/commit/72ae546))
1047* move umd bundle up and out of the dist directory ([59d0049](https://github.com/mattlewis92/angular-calendar/commit/59d0049))
1048
1049
1050### BREAKING CHANGES
1051
1052* **styles:** css styles have moved from:
1053```
1054node_modules/angular-calendar/dist/css/angular-calendar.css
1055```
1056to
1057```
1058node_modules/angular-calendar/css/angular-calendar.css
1059```
1060
1061* The umd path for system.js users has changed from:
1062```
1063node_modules/angular-calendar/dist/umd/angular-calendar.js
1064```
1065to
1066```
1067node_modules/angular-calendar/umd/angular-calendar.js
1068```
1069
1070
1071<a name="0.21.3"></a>
1072## [0.21.3](https://github.com/mattlewis92/angular-calendar/compare/v0.21.2...v0.21.3) (2017-10-21)
1073
1074
1075### Bug Fixes
1076
1077* allow angular 5 peer dependency ([d178614](https://github.com/mattlewis92/angular-calendar/commit/d178614))
1078
1079
1080
1081<a name="0.21.2"></a>
1082## [0.21.2](https://github.com/mattlewis92/angular-calendar/compare/v0.21.1...v0.21.2) (2017-09-07)
1083
1084
1085### Bug Fixes
1086
1087* **monthView:** allow adding extra weeks to the month view ([529ebd3](https://github.com/mattlewis92/angular-calendar/commit/529ebd3))
1088
1089
1090
1091<a name="0.21.1"></a>
1092## [0.21.1](https://github.com/mattlewis92/angular-calendar/compare/v0.21.0...v0.21.1) (2017-08-31)
1093
1094
1095### Bug Fixes
1096
1097* **weekView:** prevent ExpressionChangedAfterItHasBeenCheckedError error ([5858644](https://github.com/mattlewis92/angular-calendar/commit/5858644)), closes [#303](https://github.com/mattlewis92/angular-calendar/issues/303)
1098
1099
1100
1101<a name="0.21.0"></a>
1102# [0.21.0](https://github.com/mattlewis92/angular-calendar/compare/v0.20.1...v0.21.0) (2017-08-29)
1103
1104
1105### Bug Fixes
1106
1107* **monthView:** don't fire dayClicked output when clicking on an event and using hammerjs ([283c50e](https://github.com/mattlewis92/angular-calendar/commit/283c50e)), closes [#318](https://github.com/mattlewis92/angular-calendar/issues/318)
1108
1109
1110### Features
1111
1112* **eventTitleTemplate:** allow the event title template to be customised ([e956463](https://github.com/mattlewis92/angular-calendar/commit/e956463)), closes [#312](https://github.com/mattlewis92/angular-calendar/issues/312)
1113
1114
1115
1116<a name="0.20.1"></a>
1117## [0.20.1](https://github.com/mattlewis92/angular-calendar/compare/v0.20.0...v0.20.1) (2017-08-14)
1118
1119
1120### Bug Fixes
1121
1122* **monthView:** make collapse animation smoother ([7b52366](https://github.com/mattlewis92/angular-calendar/commit/7b52366))
1123
1124
1125
1126<a name="0.20.0"></a>
1127# [0.20.0](https://github.com/mattlewis92/angular-calendar/compare/v0.19.0...v0.20.0) (2017-08-06)
1128
1129
1130### Bug Fixes
1131
1132* **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)
1133* **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)
1134* **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))
1135
1136
1137### BREAKING CHANGES
1138
1139* **weekView:** you may need to adjust your CSS slightly to account for this change. See the day
1140view breaking change for how to migrate.
1141* **dayView:** the `event.cssClass` property is now added to the parent container element, rather
1142than the event itself. You may need to update your CSS.
1143
1144Before:
1145```
1146.my-custom-event-class {}
1147```
1148
1149After:
1150```
1151.my-custom-event-class .cal-event {}
1152```
1153
1154People using custom day event event templates can also remove these lines from their template:
1155
1156```
1157[class.cal-starts-within-day]="!dayEvent.startsBeforeDay"
1158[class.cal-ends-within-day]="!dayEvent.endsAfterDay"
1159[ngClass]="dayEvent.event.cssClass"
1160```
1161
1162
1163
1164<a name="0.19.0"></a>
1165# [0.19.0](https://github.com/mattlewis92/angular-calendar/compare/v0.18.3...v0.19.0) (2017-07-14)
1166
1167
1168### Features
1169
1170* **tooltip:** allow the tooltip not to be appended to the body ([100fd75](https://github.com/mattlewis92/angular-calendar/commit/100fd75)), closes [#270](https://github.com/mattlewis92/angular-calendar/issues/270)
1171
1172
1173
1174<a name="0.18.3"></a>
1175## [0.18.3](https://github.com/mattlewis92/angular-calendar/compare/v0.18.2...v0.18.3) (2017-06-28)
1176
1177
1178### Bug Fixes
1179
1180* **tooltipTemplate:** ensure custom tooltip template is available to other custom templates ([ce14b96](https://github.com/mattlewis92/angular-calendar/commit/ce14b96))
1181
1182
1183
1184<a name="0.18.2"></a>
1185## [0.18.2](https://github.com/mattlewis92/angular-calendar/compare/v0.18.1...v0.18.2) (2017-06-26)
1186
1187
1188### Bug Fixes
1189
1190* **dayView:** force hour segments to be 30px in height for non bootstrap users ([ffc708b](https://github.com/mattlewis92/angular-calendar/commit/ffc708b)), closes [#260](https://github.com/mattlewis92/angular-calendar/issues/260)
1191
1192
1193
1194<a name="0.18.1"></a>
1195## [0.18.1](https://github.com/mattlewis92/angular-calendar/compare/v0.18.0...v0.18.1) (2017-06-25)
1196
1197* Missed a breaking change that wasn't included in 0.18.0
1198
1199
1200<a name="0.18.0"></a>
1201# [0.18.0](https://github.com/mattlewis92/angular-calendar/compare/v0.17.4...v0.18.0) (2017-06-25)
1202
1203
1204### Features
1205
1206* **dayView:** introduce the `beforeViewRender` output ([cfab254](https://github.com/mattlewis92/angular-calendar/commit/cfab254))
1207* **monthView:** allow a css class to be added to a column header ([abf02d8](https://github.com/mattlewis92/angular-calendar/commit/abf02d8))
1208* **monthView:** introduce the `beforeViewRender` output ([c9a2366](https://github.com/mattlewis92/angular-calendar/commit/c9a2366))
1209* **tooltip:** allow the event tooltip templates to be customised ([82faaf4](https://github.com/mattlewis92/angular-calendar/commit/82faaf4)), closes [#249](https://github.com/mattlewis92/angular-calendar/issues/249)
1210* **weekendDays:** allow weekend days to be customised ([581b9a8](https://github.com/mattlewis92/angular-calendar/commit/581b9a8)), closes [#255](https://github.com/mattlewis92/angular-calendar/issues/255)
1211* **weekView:** allow a custom css class to be added to a column header ([068d08b](https://github.com/mattlewis92/angular-calendar/commit/068d08b)), closes [#222](https://github.com/mattlewis92/angular-calendar/issues/222)
1212* **weekView:** revert allowDragOutside feature ([ac70656](https://github.com/mattlewis92/angular-calendar/commit/ac70656))
1213* upgrade calendar-utils ([0dd602b](https://github.com/mattlewis92/angular-calendar/commit/0dd602b))
1214* **weekView:** introduce the `dayHeaderClicked` output ([2f11094](https://github.com/mattlewis92/angular-calendar/commit/2f11094)), closes [#222](https://github.com/mattlewis92/angular-calendar/issues/222)
1215
1216### BREAKING CHANGES
1217
1218* **monthView:** the `dayModifier` input has been replaced with a more powerful `beforeViewRender`
1219output. See [the demo](https://mattlewis92.github.io/angular-calendar/#/before-view-render) for an example of how to migrate your code.
1220* **dayView:** the `hourSegmentModifier` has been replaced with the `beforeViewRender` output.
1221* For system.js users only, the UMD path to the `calendar-utils` module has changed from `calendar-utils/dist/umd/calendarUtils.js` to `calendar-utils/dist/umd/calendar-utils.js`
1222* **weekView:** the `allowDragOutside` option has been removed from the week view as this can be implemented in user land. Please see this plunker for how to introduce it yourself: http://plnkr.co/edit/5KyUBC0lnfMsYMcVFAR9?p=preview
1223* **weekView:** the `dayClicked` output has been replaced with the `dayHeaderClicked` output. To migrate:
1224
1225Before:
1226```
1227(dayClicked)="clickedDate = $event.date"
1228```
1229
1230After:
1231```
1232(dayHeaderClicked)="clickedDate = $event.day.date"
1233```
1234
1235
1236<a name="0.17.4"></a>
1237## [0.17.4](https://github.com/mattlewis92/angular-calendar/compare/v0.17.3...v0.17.4) (2017-06-21)
1238
1239
1240### Bug Fixes
1241
1242* various fixes when excluding days on the week and month views ([58ce981](https://github.com/mattlewis92/angular-calendar/commit/58ce981))
1243
1244
1245
1246<a name="0.17.3"></a>
1247## [0.17.3](https://github.com/mattlewis92/angular-calendar/compare/v0.17.2...v0.17.3) (2017-06-12)
1248
1249
1250### Bug Fixes
1251
1252* add explicit peer dependency on typescript 2.3.x ([3998c9c](https://github.com/mattlewis92/angular-calendar/commit/3998c9c)), closes [#221](https://github.com/mattlewis92/angular-calendar/issues/221)
1253
1254
1255
1256<a name="0.17.2"></a>
1257## [0.17.2](https://github.com/mattlewis92/angular-calendar/compare/v0.17.1...v0.17.2) (2017-06-12)
1258
1259
1260### Bug Fixes
1261
1262* **weekView:** use correct event span when the the week doesn't start on a sunday ([f19e970](https://github.com/mattlewis92/angular-calendar/commit/f19e970))
1263
1264
1265
1266<a name="0.17.1"></a>
1267## [0.17.1](https://github.com/mattlewis92/angular-calendar/compare/v0.17.0...v0.17.1) (2017-06-10)
1268
1269
1270### Bug Fixes
1271
1272* **dayView:** allow events to be resized that are next to each other ([f627b8e](https://github.com/mattlewis92/angular-calendar/commit/f627b8e)), closes [#225](https://github.com/mattlewis92/angular-calendar/issues/225)
1273* **weekView:** allow events to be resized that are next to each other ([01b776c](https://github.com/mattlewis92/angular-calendar/commit/01b776c))
1274
1275
1276
1277<a name="0.17.0"></a>
1278# [0.17.0](https://github.com/mattlewis92/angular-calendar/compare/v0.16.0...v0.17.0) (2017-05-29)
1279
1280
1281### Bug Fixes
1282
1283* **dayView:** ensure all day event actions are always visible ([132d990](https://github.com/mattlewis92/angular-calendar/commit/132d990))
1284* **dayView:** ensure event actions are always visible ([445b74f](https://github.com/mattlewis92/angular-calendar/commit/445b74f))
1285* **weekView:** stop events pushing others along when resizing ([e6e02c5](https://github.com/mattlewis92/angular-calendar/commit/e6e02c5)), closes [#191](https://github.com/mattlewis92/angular-calendar/issues/191)
1286
1287
1288### Features
1289
1290* **meta:** add `CalendarEvent` `meta` property for storing arbritary data ([43b0124](https://github.com/mattlewis92/angular-calendar/commit/43b0124)), closes [#218](https://github.com/mattlewis92/angular-calendar/issues/218)
1291* **meta:** make the event meta property generic so it can be strongly typed ([d74c8e8](https://github.com/mattlewis92/angular-calendar/commit/d74c8e8))
1292* **weekView:** show event actions ([7e7af92](https://github.com/mattlewis92/angular-calendar/commit/7e7af92)), closes [#219](https://github.com/mattlewis92/angular-calendar/issues/219)
1293
1294### BREAKING CHANGES
1295
1296* Typescript 2.3 or higher is now required to use this library
1297
1298<a name="0.16.0"></a>
1299# [0.16.0](https://github.com/mattlewis92/angular-calendar/compare/v0.15.4...v0.16.0) (2017-05-27)
1300
1301
1302### Features
1303
1304* **weekView:** Allow drag outside calendar view ([#214](https://github.com/mattlewis92/angular-calendar/issues/214)) ([dcff88a](https://github.com/mattlewis92/angular-calendar/commit/dcff88a))
1305
1306
1307
1308<a name="0.15.4"></a>
1309## [0.15.4](https://github.com/mattlewis92/angular-calendar/compare/v0.15.3...v0.15.4) (2017-05-21)
1310
1311
1312### Bug Fixes
1313
1314* **monthView:** ensure events are dropped onto the correct dates ([af48ed2](https://github.com/mattlewis92/angular-calendar/commit/af48ed2))
1315
1316
1317
1318<a name="0.15.3"></a>
1319## [0.15.3](https://github.com/mattlewis92/angular-calendar/compare/v0.15.2...v0.15.3) (2017-05-21)
1320
1321
1322### Bug Fixes
1323
1324* **monthView:** fix clicking an event dot when using hammerjs ([0a9e9fe](https://github.com/mattlewis92/angular-calendar/commit/0a9e9fe)), closes [#211](https://github.com/mattlewis92/angular-calendar/issues/211)
1325
1326
1327
1328<a name="0.15.2"></a>
1329## [0.15.2](https://github.com/mattlewis92/angular-calendar/compare/v0.15.1...v0.15.2) (2017-05-18)
1330
1331
1332### Bug Fixes
1333
1334* **monthView:** preserve classes when removing a days cssClass ([a7c902d](https://github.com/mattlewis92/angular-calendar/commit/a7c902d)), closes [#210](https://github.com/mattlewis92/angular-calendar/issues/210)
1335
1336
1337
1338<a name="0.15.1"></a>
1339## [0.15.1](https://github.com/mattlewis92/angular-calendar/compare/v0.15.0...v0.15.1) (2017-05-17)
1340
1341
1342### Bug Fixes
1343
1344* **refresh:** use markForCheck instead of detectChanges ([16dc938](https://github.com/mattlewis92/angular-calendar/commit/16dc938))
1345
1346
1347
1348<a name="0.15.0"></a>
1349# [0.15.0](https://github.com/mattlewis92/angular-calendar/compare/v0.14.0...v0.15.0) (2017-05-14)
1350
1351
1352### Bug Fixes
1353
1354* **dayView:** correct events dimensions for apps without bootstrap ([977c344](https://github.com/mattlewis92/angular-calendar/commit/977c344)), closes [#201](https://github.com/mattlewis92/angular-calendar/issues/201)
1355* **tooltip:** avoid ExpressionChangedAfterItHasBeenCheckedError when sometimes showing the tooltip ([f9776c6](https://github.com/mattlewis92/angular-calendar/commit/f9776c6)), closes [#196](https://github.com/mattlewis92/angular-calendar/issues/196)
1356* **tooltip:** position the tooltip correctly when using AoT ([4531ebc](https://github.com/mattlewis92/angular-calendar/commit/4531ebc))
1357
1358
1359### Features
1360
1361* **touch:** use tap event instead of click if hammerjs is loaded ([665520e](https://github.com/mattlewis92/angular-calendar/commit/665520e)), closes [#203](https://github.com/mattlewis92/angular-calendar/issues/203)
1362* allow calendar-utils functions to be overridden ([35ae95a](https://github.com/mattlewis92/angular-calendar/commit/35ae95a)), closes [#199](https://github.com/mattlewis92/angular-calendar/issues/199)
1363* allow overriding of providers via the calendar modules forRoot method ([847212e](https://github.com/mattlewis92/angular-calendar/commit/847212e)), closes [#205](https://github.com/mattlewis92/angular-calendar/issues/205)
1364
1365
1366### BREAKING CHANGES
1367
1368* if not using `CalendarModule.forRoot()` you must explicitly add the `CalendarUtils`
1369provider to your module declaration
1370
1371
1372
1373<a name="0.14.0"></a>
1374# [0.14.0](https://github.com/mattlewis92/angular-calendar/compare/v0.13.6...v0.14.0) (2017-04-21)
1375
1376
1377### Features
1378
1379* **weekView:** add support for minute level precision on week view events ([25d6933](https://github.com/mattlewis92/angular-calendar/commit/25d6933))
1380
1381
1382
1383<a name="0.13.6"></a>
1384## [0.13.6](https://github.com/mattlewis92/angular-calendar/compare/v0.13.5...v0.13.6) (2017-04-21)
1385
1386
1387### Bug Fixes
1388
1389* **dayView:** respect eventSnapSize when dragging events ([028005f](https://github.com/mattlewis92/angular-calendar/commit/028005f))
1390* **dayView:** respect eventSnapSize when resizing events ([c0be926](https://github.com/mattlewis92/angular-calendar/commit/c0be926)), closes [#188](https://github.com/mattlewis92/angular-calendar/issues/188)
1391
1392
1393
1394<a name="0.13.5"></a>
1395## [0.13.5](https://github.com/mattlewis92/angular-calendar/compare/v0.13.4...v0.13.5) (2017-04-14)
1396
1397
1398### Bug Fixes
1399
1400* **draggable:** ensure text isnt selected on firefox ([ac26e14](https://github.com/mattlewis92/angular-calendar/commit/ac26e14)), closes [#183](https://github.com/mattlewis92/angular-calendar/issues/183)
1401
1402
1403
1404<a name="0.13.4"></a>
1405## [0.13.4](https://github.com/mattlewis92/angular-calendar/compare/v0.13.3...v0.13.4) (2017-04-10)
1406
1407
1408### Bug Fixes
1409
1410* **dayView:** fix resizing of events ([18b573f](https://github.com/mattlewis92/angular-calendar/commit/18b573f))
1411
1412
1413
1414<a name="0.13.3"></a>
1415## [0.13.3](https://github.com/mattlewis92/angular-calendar/compare/v0.13.2...v0.13.3) (2017-04-10)
1416
1417
1418### Bug Fixes
1419
1420* **dayView:** allow all events to be clicked ([c1c165d](https://github.com/mattlewis92/angular-calendar/commit/c1c165d)), closes [#179](https://github.com/mattlewis92/angular-calendar/issues/179)
1421
1422
1423
1424<a name="0.13.2"></a>
1425## [0.13.2](https://github.com/mattlewis92/angular-calendar/compare/v0.13.1...v0.13.2) (2017-04-10)
1426
1427
1428### Bug Fixes
1429
1430* **monthView:** handle DST changes in the middle of the month ([fcbca8a](https://github.com/mattlewis92/angular-calendar/commit/fcbca8a))
1431
1432
1433
1434<a name="0.13.1"></a>
1435## [0.13.1](https://github.com/mattlewis92/angular-calendar/compare/v0.13.0...v0.13.1) (2017-04-09)
1436
1437
1438### Bug Fixes
1439
1440* **monthView:** handle DST changes in the middle of the current month ([28b4be2](https://github.com/mattlewis92/angular-calendar/commit/28b4be2)), closes [#173](https://github.com/mattlewis92/angular-calendar/issues/173)
1441
1442
1443
1444<a name="0.13.0"></a>
1445# [0.13.0](https://github.com/mattlewis92/angular-calendar/compare/v0.12.0...v0.13.0) (2017-04-07)
1446
1447
1448### Features
1449
1450* **dayView:** allow the day view event template to be customised ([be4d5ee](https://github.com/mattlewis92/angular-calendar/commit/be4d5ee)), closes [#178](https://github.com/mattlewis92/angular-calendar/issues/178)
1451
1452
1453
1454<a name="0.12.0"></a>
1455# [0.12.0](https://github.com/mattlewis92/angular-calendar/compare/v0.11.0...v0.12.0) (2017-04-05)
1456
1457
1458### Features
1459
1460* **dayView:** allow the all day event template to be customised ([d542d13](https://github.com/mattlewis92/angular-calendar/commit/d542d13))
1461* **dayView:** allow the hour segment template to be customised ([149b605](https://github.com/mattlewis92/angular-calendar/commit/149b605)), closes [#172](https://github.com/mattlewis92/angular-calendar/issues/172)
1462
1463
1464
1465<a name="0.11.0"></a>
1466# [0.11.0](https://github.com/mattlewis92/angular-calendar/compare/v0.10.1...v0.11.0) (2017-03-29)
1467
1468
1469### Features
1470
1471* **weekView:** allow the event template to be customised ([0be434d](https://github.com/mattlewis92/angular-calendar/commit/0be434d)), closes [#171](https://github.com/mattlewis92/angular-calendar/issues/171)
1472
1473
1474
1475<a name="0.10.1"></a>
1476## [0.10.1](https://github.com/mattlewis92/angular-calendar/compare/v0.10.0...v0.10.1) (2017-03-25)
1477
1478
1479### Bug Fixes
1480
1481* allow events array to be null ([bcdf335](https://github.com/mattlewis92/angular-calendar/commit/bcdf335))
1482
1483
1484
1485<a name="0.10.0"></a>
1486# [0.10.0](https://github.com/mattlewis92/angular-calendar/compare/v0.9.1...v0.10.0) (2017-03-24)
1487
1488
1489### Features
1490
1491* **ng4:** upgrade to angular 4 to remove the `<template>` tag deprecation warning ([68a8f39](https://github.com/mattlewis92/angular-calendar/commit/68a8f39)), closes [#163](https://github.com/mattlewis92/angular-calendar/issues/163)
1492
1493
1494### BREAKING CHANGES
1495
1496* **ng4:** angular 4.0 or higher is now required to use this library. The
1497[upgrade](http://angularjs.blogspot.co.uk/2017/03/angular-400-now-available.html) should be seamless
1498for most users.
1499
1500
1501
1502<a name="0.9.1"></a>
1503## [0.9.1](https://github.com/mattlewis92/angular-calendar/compare/v0.9.0...v0.9.1) (2017-03-23)
1504
1505
1506### Bug Fixes
1507
1508* **draggable:** upgrade draggable dependency to allow touch events ([96145d1](https://github.com/mattlewis92/angular-calendar/commit/96145d1)), closes [#165](https://github.com/mattlewis92/angular-calendar/issues/165)
1509
1510
1511
1512<a name="0.9.0"></a>
1513# [0.9.0](https://github.com/mattlewis92/angular-calendar/compare/v0.8.0...v0.9.0) (2017-03-21)
1514
1515
1516### Features
1517
1518* **monthView:** allow open day events template to be customised ([ef5a37f](https://github.com/mattlewis92/angular-calendar/commit/ef5a37f))
1519* **monthView:** allow the cell templates to be customised ([4603e6b](https://github.com/mattlewis92/angular-calendar/commit/4603e6b))
1520* **monthView:** allow the header template to be customised ([53db16b](https://github.com/mattlewis92/angular-calendar/commit/53db16b))
1521* **weekView:** allow the header template to be customised ([595a667](https://github.com/mattlewis92/angular-calendar/commit/595a667))
1522* expose day, week and month view components so they can be extended with inheritance ([426c287](https://github.com/mattlewis92/angular-calendar/commit/426c287))
1523
1524
1525
1526<a name="0.8.0"></a>
1527# [0.8.0](https://github.com/mattlewis92/angular-calendar/compare/v0.7.3...v0.8.0) (2017-03-12)
1528
1529
1530### Features
1531
1532* **excludeDays:** add an option to hide days on the month and week views ([e296357](https://github.com/mattlewis92/angular-calendar/commit/e296357))
1533
1534
1535
1536<a name="0.7.3"></a>
1537## [0.7.3](https://github.com/mattlewis92/angular-calendar/compare/v0.7.2...v0.7.3) (2017-03-04)
1538
1539
1540### Bug Fixes
1541
1542* loosen angular peer dependency to support angular 4 ([e00c115](https://github.com/mattlewis92/angular-calendar/commit/e00c115))
1543* **dayView:** allow dropping of external events ([86e5d06](https://github.com/mattlewis92/angular-calendar/commit/86e5d06)), closes [#150](https://github.com/mattlewis92/angular-calendar/issues/150)
1544* **monthView:** add helper classes to the month view header ([0008a83](https://github.com/mattlewis92/angular-calendar/commit/0008a83)), closes [#152](https://github.com/mattlewis92/angular-calendar/issues/152)
1545* **weekView:** allow external events to be dropped on the column headers ([83266f7](https://github.com/mattlewis92/angular-calendar/commit/83266f7)), closes [#150](https://github.com/mattlewis92/angular-calendar/issues/150)
1546
1547
1548### Performance Improvements
1549
1550* improve performance of draggable and resizable events ([71fe9cd](https://github.com/mattlewis92/angular-calendar/commit/71fe9cd)), closes [#149](https://github.com/mattlewis92/angular-calendar/issues/149)
1551
1552
1553
1554<a name="0.7.2"></a>
1555## [0.7.2](https://github.com/mattlewis92/angular-calendar/compare/v0.7.1...v0.7.2) (2017-02-03)
1556
1557
1558### Bug Fixes
1559
1560* disable drag events when resizing ([43c128c](https://github.com/mattlewis92/angular-calendar/commit/43c128c))
1561
1562
1563
1564<a name="0.7.1"></a>
1565## [0.7.1](https://github.com/mattlewis92/angular-calendar/compare/v0.7.0...v0.7.1) (2017-02-01)
1566
1567
1568### Features
1569
1570* add all declarations to exports (*Please note that these sub components will be subject to breaking changes in the next release once [#16](https://github.com/mattlewis92/angular-calendar/issues/16) lands, however will eventually become part of the public API. Use at your own risk!*) ([f20a991](https://github.com/mattlewis92/angular-calendar/commit/f20a991))
1571
1572
1573
1574<a name="0.7.0"></a>
1575# [0.7.0](https://github.com/mattlewis92/angular-calendar/compare/v0.6.2...v0.7.0) (2017-01-28)
1576
1577
1578### Features
1579
1580* add helper directives for changing the current view ([df398cb](https://github.com/mattlewis92/angular-calendar/commit/df398cb)), closes [#124](https://github.com/mattlewis92/angular-calendar/issues/124)
1581
1582
1583
1584<a name="0.6.2"></a>
1585## [0.6.2](https://github.com/mattlewis92/angular-calendar/compare/v0.6.1...v0.6.2) (2017-01-06)
1586
1587
1588### Bug Fixes
1589
1590* allow events to be dragged and clicked ([bc909a3](https://github.com/mattlewis92/angular-calendar/commit/bc909a3)), closes [#123](https://github.com/mattlewis92/angular-calendar/issues/123)
1591
1592
1593### Features
1594
1595* export the CalendarMonthViewDay interface ([4142231](https://github.com/mattlewis92/angular-calendar/commit/4142231))
1596
1597
1598
1599<a name="0.6.1"></a>
1600## [0.6.1](https://github.com/mattlewis92/angular-calendar/compare/v0.5.0...v0.6.1) (2016-12-30)
1601
1602
1603### Bug Fixes
1604
1605* update the event title in the UI when it changes ([3b611bf](https://github.com/mattlewis92/angular-calendar/commit/3b611bf)), closes [#116](https://github.com/mattlewis92/angular-calendar/issues/116)
1606* **monthView:** cell events should be clickable ([d61719e](https://github.com/mattlewis92/angular-calendar/commit/d61719e)), closes [#111](https://github.com/mattlewis92/angular-calendar/issues/111)
1607
1608
1609<a name="0.6.0"></a>
1610# [0.6.0](https://github.com/mattlewis92/angular-calendar/compare/v0.5.0...v0.6.0) (2016-12-21)
1611
1612
1613### Features
1614
1615* **draggable:** allow external draggable events ([8ba068c](https://github.com/mattlewis92/angular-calendar/commit/8ba068c)), closes [#106](https://github.com/mattlewis92/angular-calendar/issues/106)
1616
1617
1618### BREAKING CHANGES
1619
1620* draggable: if not using CalendarModule.forRoot() and manually adding providers you must now also include the DraggableHelper from the angular-draggable-droppable module
1621
1622Before:
1623```
1624import {CalendarModule, CalendarEventTitleFormatter, CalendarDateFormatter} from 'angular-calendar';
1625
1626imports: [
1627 CalendarModule
1628],
1629providers: [
1630 CalendarEventTitleFormatter,
1631 CalendarDateFormatter
1632]
1633```
1634
1635After:
1636```
1637import {CalendarModule, CalendarEventTitleFormatter, CalendarDateFormatter} from 'angular-calendar';
1638import {DraggableHelper} from 'angular-draggable-droppable';
1639
1640imports: [
1641 CalendarModule
1642],
1643providers: [
1644 CalendarEventTitleFormatter,
1645 CalendarDateFormatter,
1646 DraggableHelper
1647]
1648```
1649
1650
1651<a name="0.5.0"></a>
1652# [0.5.0](https://github.com/mattlewis92/angular-calendar/compare/v0.4.4...v0.5.0) (2016-12-18)
1653
1654
1655### Bug Fixes
1656
1657* **dayView:** don't allow events to be resized outside of the calendar ([78eb123](https://github.com/mattlewis92/angular-calendar/commit/78eb123)), closes [#99](https://github.com/mattlewis92/angular-calendar/issues/99)
1658* **dayView:** use correct event height when resizing from the top ([1c5e74f](https://github.com/mattlewis92/angular-calendar/commit/1c5e74f))
1659* **weekView:** dont allow events to be resized outside of the calendar component ([007fbc5](https://github.com/mattlewis92/angular-calendar/commit/007fbc5)), closes [#99](https://github.com/mattlewis92/angular-calendar/issues/99)
1660
1661
1662### Features
1663
1664* add drag and drop support ([#100](https://github.com/mattlewis92/angular-calendar/issues/100)) ([bbc02f3](https://github.com/mattlewis92/angular-calendar/commit/bbc02f3)), closes [#10](https://github.com/mattlewis92/angular-calendar/issues/10) [#102](https://github.com/mattlewis92/angular-calendar/issues/102)
1665* remove change detection strategy from all components ([#101](https://github.com/mattlewis92/angular-calendar/issues/101)) ([36458ab](https://github.com/mattlewis92/angular-calendar/commit/36458ab)), closes [#94](https://github.com/mattlewis92/angular-calendar/issues/94)
1666* rename `CalendarEventTitle` service to `CalendarEventTitleFormatter` ([45c0142](https://github.com/mattlewis92/angular-calendar/commit/45c0142))
1667
1668
1669### BREAKING CHANGES
1670
1671* the `CalendarEventTitle` service has been renamed to `CalendarEventTitleFormatter`
1672* A dependency on the `angular-draggable-droppable` library has been added. System.js users will need to add this to their config:
1673
1674```
1675'angular-draggable-droppable': 'npm:angular-draggable-droppable/dist/umd/angular-draggable-droppable.js'
1676```
1677* For enhanced performance it is recommended that you add `changeDetection: ChangeDetectionStrategy.OnPush` on all components that use this library. This will restrict change detection to only run when the components inputs change
1678
1679
1680
1681<a name="0.4.4"></a>
1682## [0.4.4](https://github.com/mattlewis92/angular-calendar/compare/v0.4.3...v0.4.4) (2016-12-07)
1683
1684
1685### Bug Fixes
1686
1687* **date-fns:** upgrade date-fns to fix module not found TS errors ([733ed3e](https://github.com/mattlewis92/angular-calendar/commit/733ed3e))
1688
1689
1690
1691<a name="0.4.3"></a>
1692## [0.4.3](https://github.com/mattlewis92/angular-calendar/compare/v0.4.1...v0.4.3) (2016-12-05)
1693
1694
1695### Bug Fixes
1696
1697* allow events array to be undefined ([3a475b9](https://github.com/mattlewis92/angular-calendar/commit/3a475b9)), closes [#96](https://github.com/mattlewis92/angular-calendar/issues/96)
1698
1699
1700
1701<a name="0.4.2"></a>
1702## [0.4.2](https://github.com/mattlewis92/angular-calendar/compare/v0.4.1...v0.4.2) (2016-12-05)
1703
1704* botched release
1705
1706
1707
1708<a name="0.4.1"></a>
1709## [0.4.1](https://github.com/mattlewis92/angular-calendar/compare/v0.4.0...v0.4.1) (2016-11-25)
1710
1711
1712### Bug Fixes
1713
1714* **date-fns:** fix duplicate module declaration typescript errors ([24be6f3](https://github.com/mattlewis92/angular-calendar/commit/24be6f3))
1715
1716
1717
1718<a name="0.4.0"></a>
1719# [0.4.0](https://github.com/mattlewis92/angular-calendar/compare/v0.3.6...v0.4.0) (2016-11-04)
1720
1721
1722### Bug Fixes
1723
1724* **aot:** remove hacks required for AOT to work ([72a6e41](https://github.com/mattlewis92/angular-calendar/commit/72a6e41)), closes [#81](https://github.com/mattlewis92/angular-calendar/issues/81)
1725
1726
1727### Features
1728
1729* **dayView:** add tooltips to events ([2cc7929](https://github.com/mattlewis92/angular-calendar/commit/2cc7929)), closes [#75](https://github.com/mattlewis92/angular-calendar/issues/75)
1730* **dayView:** allow resizing of events ([95b9033](https://github.com/mattlewis92/angular-calendar/commit/95b9033))
1731* **weekView:** support resizing of events ([c034a9d](https://github.com/mattlewis92/angular-calendar/commit/c034a9d)), closes [#9](https://github.com/mattlewis92/angular-calendar/issues/9)
1732* rename module from angular2-calendar to angular-calendar ([fa1ef98](https://github.com/mattlewis92/angular-calendar/commit/fa1ef98)), closes [#69](https://github.com/mattlewis92/angular-calendar/issues/69)
1733
1734
1735### BREAKING CHANGES
1736
1737* The module has now been renamed from angular2-calendar to angular-calendar
1738
1739The path to the sass and UMD builds has now changed. To migrate change all occurences of `angular2-calendar` to `angular-calendar`
1740* dayView: day view events now have tooltips by default
1741* aot: angular 2.1.2 or higher is now required for AOT to work
1742* dayView: A dependency on the `angular-resizable-element` library has now been added. System.js users will need to add this to their config
1743
1744```
1745'angular-resizable-element': 'npm:angular-resizable-element/dist/umd/angular-resizable-element.js',
1746```
1747
1748Part of #9
1749
1750
1751
1752<a name="0.3.6"></a>
1753## [0.3.6](https://github.com/mattlewis92/angular2-calendar/compare/v0.3.5...v0.3.6) (2016-10-30)
1754
1755
1756### Bug Fixes
1757
1758* **dayView:** fix event column stacking ([4570fc6](https://github.com/mattlewis92/angular2-calendar/commit/4570fc6)), closes [#80](https://github.com/mattlewis92/angular2-calendar/issues/80)
1759* **dayView:** show all day events that start outside of the day view start ([edb2614](https://github.com/mattlewis92/angular2-calendar/commit/edb2614)), closes [#79](https://github.com/mattlewis92/angular2-calendar/issues/79)
1760
1761
1762
1763<a name="0.3.5"></a>
1764## [0.3.5](https://github.com/mattlewis92/angular2-calendar/compare/v0.3.4...v0.3.5) (2016-10-13)
1765
1766
1767### Bug Fixes
1768
1769* **system.js:** use date-fns index imports for system.js users ([096d6a2](https://github.com/mattlewis92/angular2-calendar/commit/096d6a2))
1770
1771
1772
1773<a name="0.3.4"></a>
1774## [0.3.4](https://github.com/mattlewis92/angular2-calendar/compare/v0.3.3...v0.3.4) (2016-10-08)
1775
1776
1777### Bug Fixes
1778
1779* **umd:** more robust fix for umd build ([135116a](https://github.com/mattlewis92/angular2-calendar/commit/135116a))
1780
1781
1782
1783<a name="0.3.3"></a>
1784## [0.3.3](https://github.com/mattlewis92/angular2-calendar/compare/v0.3.2...v0.3.3) (2016-10-07)
1785
1786
1787### Bug Fixes
1788
1789* **umd:** fix umd build imports ([87c4764](https://github.com/mattlewis92/angular2-calendar/commit/87c4764)), closes [#68](https://github.com/mattlewis92/angular2-calendar/issues/68)
1790
1791
1792
1793<a name="0.3.2"></a>
1794## [0.3.2](https://github.com/mattlewis92/angular2-calendar/compare/v0.3.1...v0.3.2) (2016-10-06)
1795
1796
1797### Bug Fixes
1798
1799* **rollup:** allow the module to be bundled with rollup ([e6deeea](https://github.com/mattlewis92/angular2-calendar/commit/e6deeea))
1800
1801
1802
1803<a name="0.3.1"></a>
1804## [0.3.1](https://github.com/mattlewis92/angular2-calendar/compare/v0.3.0...v0.3.1) (2016-10-05)
1805
1806
1807### Bug Fixes
1808
1809* support building with rollup ([428e254](https://github.com/mattlewis92/angular2-calendar/commit/428e254))
1810
1811
1812
1813<a name="0.3.0"></a>
1814# [0.3.0](https://github.com/mattlewis92/angular2-calendar/compare/v0.2.7...v0.3.0) (2016-10-05)
1815
1816
1817### Bug Fixes
1818
1819* only versions of angular >= 2.0.0 are supported ([6b1700b](https://github.com/mattlewis92/angular2-calendar/commit/6b1700b)), closes [#66](https://github.com/mattlewis92/angular2-calendar/issues/66)
1820* remove positioning sourcemap from umd build ([d7ea482](https://github.com/mattlewis92/angular2-calendar/commit/d7ea482)), closes [#66](https://github.com/mattlewis92/angular2-calendar/issues/66)
1821
1822
1823### Features
1824
1825* add CalendarModule.forRoot so providers dont need to be specified ([ee54b8f](https://github.com/mattlewis92/angular2-calendar/commit/ee54b8f))
1826
1827
1828### BREAKING CHANGES
1829
1830* no RC versions of angular are supported. This was probably introduced in 0.2.x of this module, but clarifying here as a distinct breaking change
1831
1832
1833
1834<a name="0.2.7"></a>
1835## [0.2.7](https://github.com/mattlewis92/angular2-calendar/compare/v0.2.6...v0.2.7) (2016-10-05)
1836
1837
1838### Bug Fixes
1839
1840* use commonjs date-fns imports for rollup ([7e758ba](https://github.com/mattlewis92/angular2-calendar/commit/7e758ba))
1841
1842
1843
1844<a name="0.2.6"></a>
1845## [0.2.6](https://github.com/mattlewis92/angular2-calendar/compare/v0.2.5...v0.2.6) (2016-09-28)
1846
1847
1848### Bug Fixes
1849
1850* **typings:** dont include reference to core-js ([4daac27](https://github.com/mattlewis92/angular2-calendar/commit/4daac27))
1851
1852
1853
1854<a name="0.2.5"></a>
1855## [0.2.5](https://github.com/mattlewis92/angular2-calendar/compare/v0.2.4...v0.2.5) (2016-09-24)
1856
1857
1858### Bug Fixes
1859
1860* **aot:** export all components for aot ([f701f86](https://github.com/mattlewis92/angular2-calendar/commit/f701f86))
1861
1862
1863
1864<a name="0.2.4"></a>
1865## [0.2.4](https://github.com/mattlewis92/angular2-calendar/compare/v0.2.3...v0.2.4) (2016-09-24)
1866
1867
1868### Bug Fixes
1869
1870* **aot:** export components so aot works ([8b7ffc7](https://github.com/mattlewis92/angular2-calendar/commit/8b7ffc7))
1871
1872
1873
1874<a name="0.2.3"></a>
1875## [0.2.3](https://github.com/mattlewis92/angular2-calendar/compare/v0.2.2...v0.2.3) (2016-09-24)
1876
1877
1878### Bug Fixes
1879
1880* **aot:** fix typescript errors when doing aot ([c5ac3f9](https://github.com/mattlewis92/angular2-calendar/commit/c5ac3f9))
1881
1882
1883
1884<a name="0.2.2"></a>
1885## [0.2.2](https://github.com/mattlewis92/angular2-calendar/compare/v0.2.1...v0.2.2) (2016-09-23)
1886
1887
1888### Bug Fixes
1889
1890* typings and esm paths ([b70b92a](https://github.com/mattlewis92/angular2-calendar/commit/b70b92a))
1891
1892
1893
1894<a name="0.2.1"></a>
1895## [0.2.1](https://github.com/mattlewis92/angular2-calendar/compare/v0.2.0...v0.2.1) (2016-09-23)
1896
1897
1898### Bug Fixes
1899
1900* allow any 1.x version of date-fns to be installed ([726aaac](https://github.com/mattlewis92/angular2-calendar/commit/726aaac))
1901* **esm:** dont import sass files in the esm build ([00120f9](https://github.com/mattlewis92/angular2-calendar/commit/00120f9))
1902* **ng-bootstrap:** add ng-bootstrap dependency to fix es module imports ([af91adc](https://github.com/mattlewis92/angular2-calendar/commit/af91adc))
1903
1904
1905
1906<a name="0.2.0"></a>
1907# [0.2.0](https://github.com/mattlewis92/angular2-calendar/compare/v0.1.3...v0.2.0) (2016-09-23)
1908
1909
1910### Features
1911
1912* **build:** support offline template compilation ([dc12621](https://github.com/mattlewis92/angular2-calendar/commit/dc12621))
1913* replace the moment dependency with the date-fns library ([c147827](https://github.com/mattlewis92/angular2-calendar/commit/c147827)), closes [#48](https://github.com/mattlewis92/angular2-calendar/issues/48)
1914
1915
1916### BREAKING CHANGES
1917
1918* 1/ The `dayClicked`, `dayModifier` and `hourSegmentModifier` output objects now return pure date objects instead of moments
1919
19202/ If using the `CalendarMomentDateFormatter` you must now also provide moment to the calendar like so
1921```
1922import * as moment from 'moment';
1923import {
1924 CalendarMomentDateFormatter,
1925 CalendarDateFormatter,
1926 MOMENT
1927} from './../angular2-calendar';
1928
1929...
1930
1931providers: [
1932 {provide: CalendarDateFormatter, useClass: CalendarMomentDateFormatter},
1933 {provide: MOMENT, useValue: moment}
1934]
1935
1936```
1937
19383/ The week start day is now no longer determined by moment. You must manually pass it to the month and week view components like so
1939```
1940// the first day of the week is Monday
1941[weekStartsOn]="1"
1942```
1943
19444/ If using this library without a module bundler you must make sure the date-fns library is included in a script tag
1945* build: The dist file paths have changed. To migrate
1946
1947Before
1948```
1949import 'angular2-calendar/css/angular2-calendar.css';
1950```
1951
1952After:
1953```
1954import 'angular2-calendar/dist/css/angular2-calendar.css';
1955```
1956
1957For System.js users the path to the UMD files has changed:
1958
1959Before:
1960```
1961node_modules/angular2-calendar/angular2-calendar.js
1962```
1963
1964After:
1965```
1966node_modules/angular2-calendar/dist/umd/angular2-calendar.js
1967```
1968
1969Webpack / browserify users aren't affected
1970
1971
1972
1973<a name="0.1.3"></a>
1974## [0.1.3](https://github.com/mattlewis92/angular2-calendar/compare/v0.1.2...v0.1.3) (2016-09-13)
1975
1976
1977### Bug Fixes
1978
1979* **peerDependencies:** support any version of angular >= RC5 ([2698bcf](https://github.com/mattlewis92/angular2-calendar/commit/2698bcf))
1980
1981
1982
1983<a name="0.1.2"></a>
1984## [0.1.2](https://github.com/mattlewis92/angular2-calendar/compare/v0.1.1...v0.1.2) (2016-09-08)
1985
1986
1987### Bug Fixes
1988
1989* **monthView:** Change month-view header text-overflow to ellipsis ([#60](https://github.com/mattlewis92/angular2-calendar/issues/60)) ([23ba526](https://github.com/mattlewis92/angular2-calendar/commit/23ba526)), closes [#59](https://github.com/mattlewis92/angular2-calendar/issues/59)
1990
1991
1992
1993<a name="0.1.1"></a>
1994## [0.1.1](https://github.com/mattlewis92/angular2-calendar/compare/v0.1.0...v0.1.1) (2016-09-03)
1995
1996
1997### Bug Fixes
1998
1999* **monthView:** fix the eventClicked output ([745fff7](https://github.com/mattlewis92/angular2-calendar/commit/745fff7))
2000
2001
2002
2003<a name="0.1.0"></a>
2004# 0.1.0 (2016-09-03)
2005
2006_Initial release_