Skip to content
This repository has been archived by the owner on Jun 19, 2018. It is now read-only.

Latest commit

 

History

History
871 lines (445 loc) · 40.3 KB

CHANGELOG.md

File metadata and controls

871 lines (445 loc) · 40.3 KB

1.0.0 (2017-12-30)

Bug Fixes

  • bower: use valid moment version (a9ffea3)
  • dayView: fix on event click for all day events (f1cd4cc), closes #644

Features

  • 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)

Features

  • 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)

Bug Fixes

  • 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)

Bug Fixes

  • weekView: use correct event span when the week doesn't start on a sunday (a70310b)

0.29.1 (2017-05-21)

Bug Fixes

  • 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)

Bug Fixes

  • weekView: account for scrollbars when doing the drag select on the week view with times (0e56ac9), closes #571

Features

  • draggableAutoScroll: allow the auto scroll value thats passed to interact to be customised (dec7f77), closes #578

0.28.4 (2017-04-10)

Bug Fixes

  • draggable: auto scroll the page when dragging events (c8da9bb), closes #568

0.28.3 (2017-03-18)

Bug Fixes

  • templates: re-include html template files (c8d4240)

0.28.2 (2017-03-18)

Bug Fixes

  • calendarTitle: use start of iso week instead of week for the week view title (357cd28), closes #557

0.28.1 (2017-03-04)

Bug Fixes

  • 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)

Features

  • dayView: add dayViewSidePosition option (5940de5), closes #519

0.27.5 (2017-01-09)

Bug Fixes

  • onDateRangeSelect callback dates should be dates and not moment objects (65710b4), closes #518

0.27.4 (2016-12-19)

Bug Fixes

  • display events on the day view that dont have end dates (e5c1660)

0.27.3 (2016-12-14)

Bug Fixes

  • ensure angular 1.6 compatibility (76a7fab)
  • interact: use new npm package (f14d751)

0.27.2 (2016-12-13)

Bug Fixes

0.27.1 (2016-11-18)

Bug Fixes

  • weekViewWithTimes: fix on timespan click on last column (f8f62e8), closes #496

0.27.0 (2016-11-15)

Features

  • dayView: allow the event width to be customised (c1d9cea), closes #494

0.26.1 (2016-11-13)

Bug Fixes

0.26.0 (2016-11-09)

  • styles: scope all styles to the calendar component

BREAKING CHANGES

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)

Bug Fixes

  • styles: scope all styles to the calendar component (d793053), closes #488

0.25.0 (2016-10-30)

Bug Fixes

  • dayView: various day view fixes (99ab592)

Features

  • dayView: add tooltip to day view events (ba859e2), closes #476

BREAKING CHANGES

  • 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)

Bug Fixes

  • 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

Features

  • 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

BREAKING CHANGES

  • 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 to calendarEventId. 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 new cell-auto-open-disabled option instead.

Before:

slide-box-disabled="true"

After:

cell-auto-open-disabled="true"

0.23.0 (2016-08-12)

Bug Fixes

  • 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

Features

  • 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

BREAKING CHANGES

  • 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)

Bug Fixes

  • 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)

Features

  • 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

BREAKING CHANGES

  • 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 and day-view-end now respect the minutes values. This means the day-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)

Bug Fixes

  • fix moment peer dependency warning on install if using latest moment (30073d9)

0.21.3 (2016-06-29)

Bug Fixes

  • weekViewWithTimes: more robust fix for event offsets (721b3fc)

0.21.2 (2016-06-29)

Bug Fixes

  • weekViewWithTimes: put events in the correct columns (06b0181)

0.21.1 (2016-06-29)

Bug Fixes

  • monthView: fix CSS classes not being added to month cells (3757ecf)

0.21.0 (2016-06-29)

Bug Fixes

  • 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

Features

  • 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

BREAKING CHANGES

  • 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 the calendarEventTitle.yearView and calendarEventTitle.monthView functions instead

0.20.2 (2016-06-01)

Bug Fixes

  • 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)

Bug Fixes

  • dayView: allow day view start and end to use minutes rather than just hours (c98152c), closes #340

0.20.0 (2016-05-13)

Bug Fixes

  • 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

Features

  • 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)

Bug Fixes

  • templates: replace the default interpolation symbol with the user configured one (73a052e), closes #309

0.19.5 (2016-03-26)

Bug Fixes

  • weekTitle: use the correct year when the week spans 2 years (638c741)

0.19.4 (2016-03-22)

Bug Fixes

  • 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)

Bug Fixes

  • dayView: correctly display events that finish within 1 hour after the day view end (3fc4104), closes #302

0.19.2 (2016-03-08)

Bug Fixes

  • recursOn: allow recursOn to be an empty string (4bbde4e), closes #300

0.19.1 (2016-02-29)

Bug Fixes

  • monthView: get the correct week number on hover of the month view week (dac97e7), closes #298

0.19.0 (2016-02-27)

Bug Fixes

  • weekViewWithTimes: ensure on-timespan-click is called with the correct date (66277a1), closes #291

Features

  • 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

BREAKING CHANGES

  • dayView: the day view column header has been removed

0.18.9 (2016-02-16)

Bug Fixes

  • resizeable: dont allow events to be resized to 0 height or width (df410ae), closes #287

0.18.8 (2016-02-13)

Features

  • 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)

Bug Fixes

  • start watchers after templates have been loaded (b5621df)

0.18.6 (2016-02-09)

Bug Fixes

  • moment: allow any version of moment for compatibility with angular-moment (f9cd661)

0.18.5 (2016-02-09)

Bug Fixes

  • templates: ensure all custom templates are loaded before rendering the calendar (01009ce), closes #279

0.18.4 (2016-01-27)

Features

  • onTimespanClick: expose the cell that was clicked for the month or year view (7184960), closes #270

0.18.3 (2016-01-22)

Bug Fixes

  • events: use lower z-index to prevent conflict with mdDialog (5ef9369), closes #264

0.18.2 (2016-01-12)

Bug Fixes

  • mark all optional attributes as such for ng 1.3.x compatibility (20ed32e), closes #259

0.18.1 (2016-01-09)

Bug Fixes

  • 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)

Features

  • 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

BREAKING CHANGES

  • 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 and month-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 to view-date

  • on-drill-down-click: on-drill-down-click has been renamed to on-view-change-click

0.17.6 (2015-12-02)

Bug Fixes

  • MonthAndYearViews: Check openRowIndex is explicitly null so that the condition evaluates proper (67ae22a)

0.17.5 (2015-12-01)

Bug Fixes

  • WeekViewTimes: Fix event widths and positioning to match the day columns (3dfe882)

0.17.4 (2015-11-30)

Bug Fixes

  • WeekView: Temporarily revert to the old behaviour as the new functionality has a load of b (2d36a54)

0.17.3 (2015-11-30)

Bug Fixes

  • DayView: Allow dragging day view events to the side for better UX (e147f6b)

0.17.2 (2015-11-30)

Bug Fixes

  • draggable: Remove the z-index from events once they aren't being dragged (26087c4)

0.17.1 (2015-11-23)

Bug Fixes

  • 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)

Features

  • WeekViewWithDays: Add missing on-timespan-click callback. Closes #214 (1c269e6), closes #214

0.17.0 (2015-11-14)

Features

  • WeekViewWithTimes: Combine WeekView and DayView (cb62228)

0.16.0 (2015-11-07)

Bug Fixes

  • monthView: Allow the week number to be i18n'd (ba19b86), closes #197

Features

  • 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)

BREAKING CHANGES

  • 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)

Bug Fixes

  • build: Don't leak the module name characters into the global space (1b18fae)

Previous releases for versions before 0.15.5

For all previous release notes with breaking changes, new features and bug fixes please see the github release notes.