All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
0.6.2 (2017-01-06)
- export the CalendarMonthViewDay interface (4142231)
0.6.1 (2016-12-30)
- update the event title in the UI when it changes (3b611bf), closes #116
- monthView: cell events should be clickable (d61719e), closes #111
0.6.0 (2016-12-21)
- draggable: if not using CalendarModule.forRoot() and manually adding providers you must now also include the DraggableHelper from the angular-draggable-droppable module
Before:
import {CalendarModule, CalendarEventTitleFormatter, CalendarDateFormatter} from 'angular-calendar';
imports: [
CalendarModule
],
providers: [
CalendarEventTitleFormatter,
CalendarDateFormatter
]
After:
import {CalendarModule, CalendarEventTitleFormatter, CalendarDateFormatter} from 'angular-calendar';
import {DraggableHelper} from 'angular-draggable-droppable';
imports: [
CalendarModule
],
providers: [
CalendarEventTitleFormatter,
CalendarDateFormatter,
DraggableHelper
]
0.5.0 (2016-12-18)
- dayView: don't allow events to be resized outside of the calendar (78eb123), closes #99
- dayView: use correct event height when resizing from the top (1c5e74f)
- weekView: dont allow events to be resized outside of the calendar component (007fbc5), closes #99
- add drag and drop support (#100) (bbc02f3), closes #10 #102
- remove change detection strategy from all components (#101) (36458ab), closes #94
- rename
CalendarEventTitle
service toCalendarEventTitleFormatter
(45c0142)
- the
CalendarEventTitle
service has been renamed toCalendarEventTitleFormatter
- A dependency on the
angular-draggable-droppable
library has been added. System.js users will need to add this to their config:
'angular-draggable-droppable': 'npm:angular-draggable-droppable/dist/umd/angular-draggable-droppable.js'
- 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
0.4.4 (2016-12-07)
- date-fns: upgrade date-fns to fix module not found TS errors (733ed3e)
0.4.3 (2016-12-05)
0.4.2 (2016-12-05)
- botched release
0.4.1 (2016-11-25)
- date-fns: fix duplicate module declaration typescript errors (24be6f3)
0.4.0 (2016-11-04)
- dayView: add tooltips to events (2cc7929), closes #75
- dayView: allow resizing of events (95b9033)
- weekView: support resizing of events (c034a9d), closes #9
- rename module from angular2-calendar to angular-calendar (fa1ef98), closes #69
- The module has now been renamed from angular2-calendar to angular-calendar
The path to the sass and UMD builds has now changed. To migrate change all occurences of angular2-calendar
to angular-calendar
- dayView: day view events now have tooltips by default
- aot: angular 2.1.2 or higher is now required for AOT to work
- dayView: A dependency on the
angular-resizable-element
library has now been added. System.js users will need to add this to their config
'angular-resizable-element': 'npm:angular-resizable-element/dist/umd/angular-resizable-element.js',
Part of #9
0.3.6 (2016-10-30)
- dayView: fix event column stacking (4570fc6), closes #80
- dayView: show all day events that start outside of the day view start (edb2614), closes #79
0.3.5 (2016-10-13)
- system.js: use date-fns index imports for system.js users (096d6a2)
0.3.4 (2016-10-08)
- umd: more robust fix for umd build (135116a)
0.3.3 (2016-10-07)
0.3.2 (2016-10-06)
- rollup: allow the module to be bundled with rollup (e6deeea)
0.3.1 (2016-10-05)
- support building with rollup (428e254)
0.3.0 (2016-10-05)
- only versions of angular >= 2.0.0 are supported (6b1700b), closes #66
- remove positioning sourcemap from umd build (d7ea482), closes #66
- add CalendarModule.forRoot so providers dont need to be specified (ee54b8f)
- 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
0.2.7 (2016-10-05)
- use commonjs date-fns imports for rollup (7e758ba)
0.2.6 (2016-09-28)
- typings: dont include reference to core-js (4daac27)
0.2.5 (2016-09-24)
- aot: export all components for aot (f701f86)
0.2.4 (2016-09-24)
- aot: export components so aot works (8b7ffc7)
0.2.3 (2016-09-24)
- aot: fix typescript errors when doing aot (c5ac3f9)
0.2.2 (2016-09-23)
- typings and esm paths (b70b92a)
0.2.1 (2016-09-23)
- allow any 1.x version of date-fns to be installed (726aaac)
- esm: dont import sass files in the esm build (00120f9)
- ng-bootstrap: add ng-bootstrap dependency to fix es module imports (af91adc)
0.2.0 (2016-09-23)
- build: support offline template compilation (dc12621)
- replace the moment dependency with the date-fns library (c147827), closes #48
- 1/ The
dayClicked
,dayModifier
andhourSegmentModifier
output objects now return pure date objects instead of moments
2/ If using the CalendarMomentDateFormatter
you must now also provide moment to the calendar like so
import * as moment from 'moment';
import {
CalendarMomentDateFormatter,
CalendarDateFormatter,
MOMENT
} from './../angular2-calendar';
...
providers: [
{provide: CalendarDateFormatter, useClass: CalendarMomentDateFormatter},
{provide: MOMENT, useValue: moment}
]
3/ 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
// the first day of the week is Monday
[weekStartsOn]="1"
4/ If using this library without a module bundler you must make sure the date-fns library is included in a script tag
- build: The dist file paths have changed. To migrate
Before
import 'angular2-calendar/css/angular2-calendar.css';
After:
import 'angular2-calendar/dist/css/angular2-calendar.css';
For System.js users the path to the UMD files has changed:
Before:
node_modules/angular2-calendar/angular2-calendar.js
After:
node_modules/angular2-calendar/dist/umd/angular2-calendar.js
Webpack / browserify users aren't affected
0.1.3 (2016-09-13)
- peerDependencies: support any version of angular >= RC5 (2698bcf)
0.1.2 (2016-09-08)
0.1.1 (2016-09-03)
- monthView: fix the eventClicked output (745fff7)
Initial release