1.0.0 (2017-12-30)
- bower: use valid moment version (a9ffea3)
- dayView: fix on event click for all day events (f1cd4cc), closes #644
- day-view: add the day-view-segment-size option (588bcf6)
- droppable: allow the drop overlap option to be configured (2df8e87)
0.30.0 (2017-09-07)
- excluded-days: allow specifying a set of days to be excluded from the month and week views (f1f73ec), closes #570
0.29.3 (2017-06-26)
- monthView: dont fire on-date-range-sekect when dragging an event (628321c), closes #614
- weekView: display event actions (d14d8f2), closes #594
0.29.2 (2017-06-12)
- weekView: use correct event span when the week doesn't start on a sunday (a70310b)
0.29.1 (2017-05-21)
- dragSelect: ignore right-clicks for drag/drop (#585) (e0a51b6)
- monthView: generate correct new start date when dropping an event (e92d647), closes #588
- yearView: generate correct new start date when dropping an event (5da7d4b)
0.29.0 (2017-04-17)
- weekView: account for scrollbars when doing the drag select on the week view with times (0e56ac9), closes #571
- draggableAutoScroll: allow the auto scroll value thats passed to interact to be customised (dec7f77), closes #578
0.28.4 (2017-04-10)
0.28.3 (2017-03-18)
- templates: re-include html template files (c8d4240)
0.28.2 (2017-03-18)
0.28.1 (2017-03-04)
- dayView: fix drag and select when using the week view with times (a4b6213), closes #536
- monthView: hide badge cell total on days not in the current month (ed34832), closes #545
0.28.0 (2017-02-05)
0.27.5 (2017-01-09)
0.27.4 (2016-12-19)
- display events on the day view that dont have end dates (e5c1660)
0.27.3 (2016-12-14)
0.27.2 (2016-12-13)
- dayView: fix recurring events (e5a18fc), closes #504
- monthView: fix recurring events (ccb97cd), closes #504
0.27.1 (2016-11-18)
0.27.0 (2016-11-15)
0.26.1 (2016-11-13)
0.26.0 (2016-11-09)
- styles: scope all styles to the calendar component
All styles are now scoped to the mwl-calendar
namespace. If using custom styles that ovveride the calendars defaults you will need to wrap them with the mwl-calendar
selector so they will not be overridden.
0.25.2 (2016-11-09)
- This reverts a fix from the previous release that was accidentlly a breaking change
0.25.1 (2016-11-09)
0.25.0 (2016-10-30)
- dayView: various day view fixes (99ab592)
- dayView: Tooltips are now added to all day view events by default. To disable them do:
calendarEventTitle.dayViewTooltip = angular.noop;
0.24.0 (2016-10-10)
- dayView: dont throw when dragging an event and the date range select is enabled (1e3efdd), closes #439
- weekView: ensure events are always ordered by start date (419626e), closes #443
- update event track by ids when the original calendar events are reset (580a967), closes #457
- weekView: fix event span for end of day events (5e038c5)
- weekView: use correct date for onTimespanClick callback (e05882e), closes #454
- weekViewWithTimes: call the cell-modifier for each days hour segment (29725a8), closes #424
- cellAutoOpenDisabled: allow disabling the auto opening and closing of the slidebox (682b522), closes #426
- dayView: allow all hour segment times to be shown (06bc836), closes #429
- monthView: add cal-day-open class to the open day (75d84c6), closes #463
- weekView: if using a custom week view template, the getClickedDate function has been removed
- If using a custom template the event track by field has changed from
$id
tocalendarEventId
. It is also now enumerable. - weekViewWithTimes: The
cell-modifier
will now be called for every days hour segment instead of just the first day in the week.
The cssClass added will now be added on the segments day column instead of on the entire row.
The structure of the week view with times template has also changed slightly if using a custom template
- cellAutoOpenDisabled: The
slide-box-disabled
option is deprecated and will be removed in the next release. Use the newcell-auto-open-disabled
option instead.
Before:
slide-box-disabled="true"
After:
cell-auto-open-disabled="true"
0.23.0 (2016-08-12)
- dayView: hide all day events that dont occur on the given day (28354e6), closes #414
- remove deprecated
event.type
(c53d4c8) - remove deprecated edit and delete actions (fadbf75), closes #417
- customTemplates: allow a parent scope to be accessed in custom templates (c84e9ab), closes #415
- customTemplates: show a warning when a template doesnt exist in the template cache (a7eee2a), closes #422
- dayView: call the cell modifier for day view hour segments (835f17b), closes #418
on-edit-event-click
,on-delete-event-click
,edit-event-html
,delete-event-html
options have been removed in favour of generic event actions.
See the 0.22.0 changelog for migration details
- The deprecated
event.type
property has been removed.
See 0.22.0 release notes for migration instructions
- dayView: the
cell-modifier
callback is now called for the day view.
To migrate add a guard on the callback to check what the current view is and act accordingly
0.22.0 (2016-07-27)
- dayView: fix event border colors (93d1a35)
- dayView: have day view start and end respect minutes (80bdc39), closes #344
- dayView: make hour list take up full width of overflow content (22737dd), closes #389
- dayView: use correct height when the end is part of the way through an hour (beb2d31)
- onDateRangeSelect: fix behaviour after bug was introduced in previous commit (e0c260c)
- show deprecation warning when event type is set (08bbf74)
- eventActions: allow custom event actions to be set (5744685), closes #386
- events: allow the event colors to be customised (f06eb1d), closes #402
- i18n: allow the i18nStrings.weekNumber option to be a function (247f2c1), closes #393
- monthView: support on-date-range-select callback on the month view (fa3b02e), closes #391
- eventActions:
on-edit-event-click
,on-delete-event-click
,edit-event-html
,delete-event-html
are now deprecated and will be removed in a future release. Instead use the new event actions.
Before:
// in your template
events="events"
edit-event-html="'<i class=\'glyphicon glyphicon-pencil\'></i>'"
on-edit-event-click="vm.eventEdited(calendarEvent)"
After:
// in your controller
$scope.events = [{
actions: [{
label: '<i class=\'glyphicon glyphicon-pencil\'></i>',
onClick: function(args) {
vm.eventEdited(args.calendarEvent);
}
}]
}];
- events: The
type
field on event objects is now deprecated, you must now explicitly state the events color on each event. The old functionality will continue to work but will be removed in a future release.
Before:
var events = [{
title: 'foo',
type: 'info',
... other properties
}];
After:
var events = [{
title: 'foo',
color: {
primary: '#1e90ff',
secondary: '#d1e8ff'
},
... other properties
}];
To ease migration the old events colors are available on the calendarConfig.colorTypes object so you can also do:
var events = [{
title: 'foo',
color: calendarConfig.colorTypes.info,
... other properties
}];
- dayView: The
day-view-start
andday-view-end
now respect the minutes values. This means theday-view-start
value must now be the end of the hour instead of the beginning of the next hour
Before:
day-view-end="22:00"
After:
day-view-end="22:59"
0.21.5 (2016-07-07)
- Fix the NPM package description
0.21.4 (2016-07-04)
- fix moment peer dependency warning on install if using latest moment (30073d9)
0.21.3 (2016-06-29)
- weekViewWithTimes: more robust fix for event offsets (721b3fc)
0.21.2 (2016-06-29)
- weekViewWithTimes: put events in the correct columns (06b0181)
0.21.1 (2016-06-29)
- monthView: fix CSS classes not being added to month cells (3757ecf)
0.21.0 (2016-06-29)
- bower: ignore non source files (a78b3fd), closes #374
- dayView: support updating the day view chunk and split options on the fly (12d99a2), closes #358
- dependencies: remove bootstrap as a peer dependency so other bootstrap CSS libs can be used (7e74ddd), closes #375
- monthView: bind once to the ng-include template value so it doesn't change after render (48f3869), closes #346
- npm: change browser to main for compatibility with more module bundlers (88c1e9a), closes #371
- npm: only publish dist folder to npm (3c4913d), closes #374
- warnings: dont log a warning that the event ends at is missing if it is a falsey value (da101ab), closes #348
- calendarEventTitle: abstract all event title logic into a service that can easily be overridde (a8ad01a), closes #349 #361
- calendarSlideBox: expose the current month or year cell to the slide box controller for use in (a6d2bdb), closes #369
- custom-template-urls: allow setting of custom template on a per calendar instance basis (0ae7661), closes #355
- dayView: add edit and delete actions to day view events (08c4292), closes #351
- onDateRangeSelect: support dragd and selecting a range on the week view with times (1efeee0), closes #366
- weekView: bucket sort events into columns rather than having each event sit on its own lin (fdaea2d), closes #381
- weekView: the UX of the week view has now changed. The template has also changed heavily if you were using a custom template.
- calendarEventTitle: The
calendarConfig.displayEventTimes
option has been removed. Just override thecalendarEventTitle.yearView
andcalendarEventTitle.monthView
functions instead
0.20.2 (2016-06-01)
- monthView: dont call on-timespan-click when clicking on an event on the month cell (a194fb0), closes #345
The previous fix for the day view starting on minutes has also been reverted as it caused several bugs.
0.20.1 (2016-05-30)
0.20.0 (2016-05-13)
- draggableEvents: copy the year when dropping an event on a month or year cell (8467347), closes #326
- warnings: add example of how to fix date type warnings (bf9d58f)
- weekView: update event sizes when the window is resized (75c7a76), closes #328
- allDayEvents: allow events to be displayed as all day on the day view (9be6426), closes #312
- dayViewEventChunkSize: add
day-view-event-chunk-size
option (ef2f327), closes #320 - onDateRangeSelect: Add function for selecting range on day view. (dd4a3d3)
0.19.6 (2016-03-31)
- templates: replace the default interpolation symbol with the user configured one (73a052e), closes #309
0.19.5 (2016-03-26)
- weekTitle: use the correct year when the week spans 2 years (638c741)
0.19.4 (2016-03-22)
- bower.json: looser dependency versions of moment and bootstrap (7ee084b)
- draggable: disable the cursor when dragging disabled events (834e1ee), closes #307
- droppable: allow the drop active class to be customised (fc85410)
- resizeable: disable the cursor when resizing disabled events (ad9beb7), closes #307
0.19.3 (2016-03-11)
- dayView: correctly display events that finish within 1 hour after the day view end (3fc4104), closes #302
0.19.2 (2016-03-08)
0.19.1 (2016-02-29)
0.19.0 (2016-02-27)
- dayView: remove the day view column header (e624c68), closes #293
- slide-box-disabled: add new option to disable the slidebox on the month and year views (da92130), closes #292
- dayView: the day view column header has been removed
0.18.9 (2016-02-16)
0.18.8 (2016-02-13)
- dayView: allow external events to be dropped on the day view (9b937b1), closes #284
- weekView: allow external events to be dropped on week column headers (1ea99a3)
0.18.7 (2016-02-10)
- start watchers after templates have been loaded (b5621df)
0.18.6 (2016-02-09)
- moment: allow any version of moment for compatibility with angular-moment (f9cd661)
0.18.5 (2016-02-09)
- templates: ensure all custom templates are loaded before rendering the calendar (01009ce), closes #279
0.18.4 (2016-01-27)
0.18.3 (2016-01-22)
0.18.2 (2016-01-12)
0.18.1 (2016-01-09)
- week-view: show recurring events in the weekview. Closes #252 (4615973), closes #252
- weekTitle: Use isoWeek instead of week to fix tests. Closes #257 (c594f39), closes #257
0.18.0 (2016-01-02)
- calendarConfig: change the calendarConfig provider to a plain object. Part of #236 (0eb50e0)
- current-day: rename current-day to view-date. Closes #244 (c44a50e), closes #244
- directives: all element directives are now E instead of EA. Closes #247 (b0887a1), closes #247
- drag-and-drop: expose the date the calendar event was dragged from on the month view (5ca6920), closes #250
- on-drill-down-click: rename to on-view-change-click. Closes #245 (2514975), closes #245
- templates: make all templates configurable from the calendarConfig (8fc02fe), closes #236
- directives: The mwl-calendar directive is now element only instead of an attribute as well.
To migrate:
<div mwl-calendar></div>
will no longer work. Instead you must use <mwl-calendar></mwl-calendar>
- templates:
month-cell-template-url
andmonth-cell-events-template-url
options have been removed in favour of the calendarConfig.
To migrate:
angular.module('myModule')
.config(function(calendarConfig) {
calendarConfig.templates.calendarMonthCell = '/path/to/custom/template.html';
calendarConfig.templates.calendarMonthCellEvents = '/path/to/custom/template.html';
});
- calendarConfig:
calendarConfig
is now just a plain angular value. The helper methods were removed and now you directly set the properties on a plain object.
Before:
.config(function(calendarConfigProvider) {
calendarConfigProvider.setDateFormatter('moment');
});
After:
.config(function(calendarConfig) {
calendarConfig.dateFormatter = 'moment';
});
-
current-day: the
current-day
attribute has been renamed toview-date
-
on-drill-down-click:
on-drill-down-click
has been renamed toon-view-change-click
0.17.6 (2015-12-02)
- MonthAndYearViews: Check openRowIndex is explicitly null so that the condition evaluates proper (67ae22a)
0.17.5 (2015-12-01)
- WeekViewTimes: Fix event widths and positioning to match the day columns (3dfe882)
0.17.4 (2015-11-30)
- WeekView: Temporarily revert to the old behaviour as the new functionality has a load of b (2d36a54)
0.17.3 (2015-11-30)
- DayView: Allow dragging day view events to the side for better UX (e147f6b)
0.17.2 (2015-11-30)
- draggable: Remove the z-index from events once they aren't being dragged (26087c4)
0.17.1 (2015-11-23)
- DragAndResize: Prevent UI flicker when dragging and resizing events. Closes #209 (38c2d29), closes #209
- SlideBox: Fix the slide box sometimes opening the wrong cell. (aa7bcba)
- WeekView: Fix bug in eventsComparer function (54dc317)
0.17.0 (2015-11-14)
- WeekViewWithTimes: Combine WeekView and DayView (cb62228)
0.16.0 (2015-11-07)
- cellIsOpen: Add a 2 way bound attribute to control if the year and month view slide box is o (a0a5117), closes #199
- ui-bootstrap: Upgraded ui-bootstrap to 0.14.3 (07aedb6)
- ui-bootstrap: The minimum compatible version of ui-bootstrap is now 0.14.0
- cellIsOpen: auto-open has been renamed to cell-is-open. It is now 2 way bound if the slidebox is open or not so you can programmatically control the visibility of the slidebox.
0.15.5 (2015-10-24)
- build: Don't leak the module name characters into the global space (1b18fae)
For all previous release notes with breaking changes, new features and bug fixes please see the github release notes.