Releases: ME-MarvinE/XCalendar
Releases · ME-MarvinE/XCalendar
4.6.0 - Events/Appointments
The wiki has been updated to 4.6.0
General
- Added a way to change the culture of the calendar in playground page of sample apps #182
- Added events to playground page of sample apps
- Added "DayEventCornerRadius", "DayEventsSpacing", and "DayEventsOrientation" to the "DayView" section of the property editor in playground page of sample apps
- Changed target framework of console sample from .NET 7 to .NET 8 #184
- Changed Event Calendar example in sample apps to have events spanning multiple days, and events that don't have an end date
- Changed readme file to include examples from Forms and MAUI sample apps
Core
- Added property
Events
to classCalendar
#183 - Changed interface
ICalendarDay
and classCalendarDay
to take a type parameter indicating the type of events they hold - Changed method "UpdateDays" to be virtual in class
Calendar
Forms & MAUI
- Added properties
Events
,EventCornerRadius
,EventsSpacing
,EventsOrentation
,EventWidthRequest
,EventHeightRequest
,AutoEventsViewVisibility
,EventTemplate
, andEventsTemplate
toDayView
#183 - Added property
DateTime
to "NavigationView"#178 - Changed "CalendarView" and "DaysView" property
Days
type fromIEnumerable<ICalendarDay>
toIEnumerable<object>
(Due to the generics added toICalendarDay
)
MAUI
- Added net8 target in Maui projects to allow unit testing #180 (by @scheidtdav)
New Contributors
- @scheidtdav made their first contribution in #180
Full Changelog: 4.5.5...4.6.0
4.5.5 - Hotfix
Core
- Changed
Calendar
property "Days" from typeObservableCollection
toObservableRangeCollection
#175 - Fixed setting
NavigationUpperBound
orNavigationLowerBound
also settingNavigatedDate
to the new value #176
Full Changelog: 4.5.4...4.5.5
4.5.4 - Bug Fix
Core
- Fixed
NavigationLowerBound
andNavigationUpperBound
not triggering an update to days when changed. This was causing days'IsInvalid
property to not always be accurate, especially on initialisation of the Calendar. #172
Full Changelog: 4.5.3...4.5.4
4.5.3 - .NET 8
General
- Fixed usage of
nameof
keyword in some places of sample app
MAUI
- Updated target framework to .NET 8 #157 (by @migueBarrera)
Full Changelog: 4.5.2...4.5.3
4.5.2 - Localisation
General
- Updated the roadmap in the wiki
- Added info on how to localise the Calendar/CalendarView in the Displaying Dates page of the wiki.
Core
- Changed "DateTimeExtensions" to use
CultureInfo.CurrentCulture
instead ofCultureInfo.CurrentUICulture
for default optional parameters #160 - Changed "Calendar" to use
CultureInfo.CurrentCulture
instead ofCultureInfo.CurrentUICulture
for defaultStartOfWeek
value #160
Forms & MAUI
- Added localisation for days of week by #158 (by @migueBarrera)
- Added LocalizeDayOfWeekAndCharLimitConverter #158 (by @migueBarrera)
- Renamed "CalendarView" and "NavigationView" properties
BackwardsArrowCommand
,BackwardsArrowCommandParameter
andForwardsArrowCommand
,ForwardsArrowCommandParameter
toLeftArrowCommand
,LeftArrowCommandParameter
andRightArrowCommand
,RightArrowCommandParameter
#150
New Contributors
- @migueBarrera made their first contribution in #156
Full Changelog: 4.5.1...4.5.2
4.5.1 - Hotfix
General
- Changed calendar start of week to Sunday in DuolingoStreakCalendarExample in sample apps #143
Forms
- Fixed default day background colour not being transparent in DaysView #144
Full Changelog: 4.5.0...4.5.1
4.5.0 - Better Day Styling
General
- Added "ConnectingSelectedDays" example to sample app #127
- Added "Duolingo Streak Calendar" example to sample app #137
- Added Github Sponsor option to repo
Core
- Added a non-generic class for "Calendar" #129
Forms & MAUI
- Improved CalendarView initialisation/navigation/update speed
- Added "DefaultStyles" class containing default DayView styles for each DayState. You can easily reference them through the {x:Static} XAML markup extension instead of having to recreate them.
- Added
AutoSetStyleBasedOnDayState
property to DayView. When set tofalse
, the DayView will not automatically update the active style when dependent properties likeDateTime
orDayState
change. #133 - Removed default
WidthRequest
value of45
- Changed default
HeightRequest
andWidthRequest
properties in DayView to be set via a default style instead of on the control directly. Setting the values on the controls directly caused them to override any values set in Triggers, Styles, and Visual States so this fixes that #139 - Replaced
[DayState]BackgroundColor
,[DayState]TextColor
,[DayState]Command
, and[DaySate]CommandParameter
properties in DayView with[DayState]Style
properties. Now you can change any property of the DayView depending on its state instead of just itsBackgroundColor
,TextColor
,Command
, andCommandParameter
#132
MAUI
- Fix layout issues where days in a CalendarView would be cut off due to not having enough space
Full Changelog: 4.4.2...4.5.0
4.4.2 - XCalendar.Core.Collections
Core
- Moved
ObservableRangeCollection
from XCalendar.Core.Models to XCalendar.Core.Collections (Should help with name conflicts with XCT and MCT) #119
4.4.1
4.4.0 - Removed CommunityToolkit Dependencies
General
- Improved XML documentation #109, #110
- Changed XCalendar.Core.Tests and XCalendarConsoleSample to target .NET 7 #106
- Changed code to better adhere to C# naming conventions. #104
Forms & MAUI
- Removed 'EnumToBoolConverter'
- Added 'IsNullOrEmptyConverter'
Forms
- Removed dependency on Xamarin.CommunityToolkit #107
MAUI
- Removed dependency on CommunityToolkit.Maui #108
Full Changelog: 4.3.1...4.4.0