UNPKG

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