Releases: valincius/BlazorScheduler
Releases · valincius/BlazorScheduler
v4.1.0 - Breaking changes
Changes
- Config object removed
- Config values are now parameters on the Scheduler component
- Rename config value
DisableDragging
toEnableDragging
- New config value
EnableRescheduling
- Add support for dragging to move/reschedule an appointment
OnReschedule
callback added toAppointment
- See Interactions demo for example
v4.0.0 - .NET 6
Update workflow to net6
v3.1.0
v3.0.0
Changes
- Deprecates/Removes
BlazorScheduler.Core
- Removes the need for having your model implement
BlazorScheduler.Core.IAppointment
- Appointments are now components that may be changed dynamically without modifying the original reference
- Removes the need for having your model implement
- Typeparam removed from
Scheduler
(and all other components) - Removes
OnAppointmentClick
callback - Removes
OnDayClick
- Day number is no longer clickable by default
- Adds
Appointment
component- This component should be rendered under a
<Scheduler />
OnClick
callback replacesScheduler.OnAppointmentClick
ChildContent
is rendered on the appointment instead of text, allowing for more customizabilityColor
is now a string rather thanSystem.Drawing.Color
- This component should be rendered under a
- Callbacks have all had
MouseEventArgs
removed from their arguments - Moves
ThemeColor
&StartDayOfWeek
toConfig
ThemeColor
is now a string- The header can now be templated (see demo)
- The day component can now be templated (see demo)
- Fixed weekday text to be truncated on smaller devices
- Added configuration values for modifying the "Today" button and the text that shows for overflow appointments.
- Added new demos to show the features and customizations
- Day names are now localized
- Added
Invalidate
method toScheduler
- This can be called to rerender child components incase you make updates to a template
- Only necessary for day templates at the moment (see demo)
- This can be called to rerender child components incase you make updates to a template
- Added
OnRequestNewData
action- This is called on the first render & whenever the current date changes, so we can send a request and get the appointments for the current date range
- Fixed weekday text in default header template for small devices
- Added ability to customize the header row (Today button, changing month)
- Added ability to customize the Month and Day names, and the "+ n others" text
- Added New (better) demos
- Base demo
- Configuration demo
- Interactions demo
- Header template
- Day template
v2.1.2
-
Add
Config
parameterAlwaysShowYear
- toggle whether the year is always visible or only when we're viewing a different year than the current one.MaxVisibleAppointmentsPerDay
- change the number of appointments that are visible.DisableDragging
- disable dragging.
-
Made the date number clickable.
OnDayClick
will be called when the date number is clicked.
v2.0.0
- Created BlazorScheduler.Core project
- This project will contain any classes/interfaces that may be required outside of the main UI project.
- Moved IAppointment from BlazorScheduler to BlazorScheduler.Core
- You will need to add using BlazorScheduler.Core to where you are creating your implementation of IAppointment