Release date: November 1, 2020
Features
-
[Scheduler]
Built-in XSS protection (on output)
-
[Calendar]
Built-in XSS protection
- [Month] Built-in XSS protection
- [Gantt] Built-in XSS protection
Improvements
-
[Scheduler]
cellWidthSpec property synchronized during callbacks (Scheduler)
(build 8503)
-
[Calendar]
DayPilot.Calendar.xssProtection ("Enabled" by default) added
(build 8504)
-
[Month]
DayPilot.Month.loadingLabelHtml added
(build 8504)
-
[Scheduler]
DayPilot.Scheduler.onBeforeEventExport: args.textLeft and args.textRight added.
(build 8504)
-
[Month]
DayPilot.Month.xssProtection added ("Enabled" by default).
(build 8504)
-
[Scheduler]
DayPilot.Scheduler.getCoords() supports "event" and "eventOffset" in the returned object.
(build 8504)
-
[Scheduler]
DayPilot.Scheduler.cornerText added
(build 8504)
-
[Calendar]
DayPilot.Calendar.cornerText added
(build 8504)
-
[Calendar]
DayPilot.Calendar.loadingLabelHtml added
(build 8504)
-
[Scheduler]
DayPilot.Scheduler.onAfterEventEditRender event added (experimental).
(build 8504)
-
DayPilot.Menu.items[].html added, .text automatically escaped
(build 8504)
-
[Scheduler]
DayPilot.Scheduler.loadingLabelHtml added
(build 8504)
-
[Scheduler]
DayPilot.Scheduler.onEventEdit/args.newText can be changed (it used to be read-only).
(build 8504)
-
[Scheduler]
DayPilot.Scheduler.xssProtection property added
(build 8504)
-
Gantt DayPilot.Gantt.xssProtection, loadingLabelHtml, cornerText.
(build 8504)
Fixes
-
[Calendar]
ResizeObserver disconnecting on dispose fixed (Calendar).
(build 8504)
-
[Scheduler]
Auto cell width updated after row header is resized using splitter (Scheduler).
(build 8504)
-
[Calendar]
DayPilot.Calendar.onEventResizing: "forbidden" CSS class should be applied for args.allowed = false (fixed).
(build 8504)
-
[Scheduler]
Vertical grid lines updated properly in bottom-frozen rows (Scheduler).
(build 8504)
API Changes
-
Static DayPilot.Duration initialization methods renamed to avoid confusion: seconds() -> ofSeconds(), minutes() -> ofMinutes(), hours() -> ofHours(), days() -> ofDays(), weeks() -> ofWeeks().
(build 8504)
-
DayPilot.Event.text() updates html with escaped value (regardless of xssProtection value).
(build 8504)
-
[Scheduler]
DayPilot.Scheduler.message(text, options) escapes the text to be displayed, use options.rawHtml = true to override this behavior.
(build 8504)
-
DayPilot.Task.text() updates html with escaped value (regardless of xssProtection value).
(build 8504)