Skip to content

Releases: ME-MarvinE/XCalendar

4.6.0 - Events/Appointments

10 Mar 23:59
64b25df
Compare
Choose a tag to compare

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 class Calendar #183
  • Changed interface ICalendarDay and class CalendarDay 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, and EventsTemplate to DayView #183
  • Added property DateTime to "NavigationView"#178
  • Changed "CalendarView" and "DaysView" property Days type from IEnumerable<ICalendarDay> to IEnumerable<object> (Due to the generics added to ICalendarDay)

MAUI

  • Added net8 target in Maui projects to allow unit testing #180 (by @scheidtdav)

New Contributors

Full Changelog: 4.5.5...4.6.0

4.5.5 - Hotfix

25 Jan 19:48
a33ee71
Compare
Choose a tag to compare

Core

  • Changed Calendar property "Days" from type ObservableCollection to ObservableRangeCollection #175
  • Fixed setting NavigationUpperBound or NavigationLowerBound also setting NavigatedDate to the new value #176

Full Changelog: 4.5.4...4.5.5

4.5.4 - Bug Fix

18 Jan 00:40
430a1dc
Compare
Choose a tag to compare

Core

  • Fixed NavigationLowerBound and NavigationUpperBound 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

04 Dec 19:20
86b19d9
Compare
Choose a tag to compare

General

  • Fixed usage of nameof keyword in some places of sample app

MAUI

Full Changelog: 4.5.2...4.5.3

4.5.2 - Localisation

08 Sep 17:40
ae4dff8
Compare
Choose a tag to compare

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 of CultureInfo.CurrentUICulture for default optional parameters #160
  • Changed "Calendar" to use CultureInfo.CurrentCulture instead of CultureInfo.CurrentUICulture for default StartOfWeek 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 and ForwardsArrowCommand, ForwardsArrowCommandParameter to LeftArrowCommand, LeftArrowCommandParameter and RightArrowCommand, RightArrowCommandParameter #150

New Contributors

Full Changelog: 4.5.1...4.5.2

4.5.1 - Hotfix

24 May 21:43
62478bb
Compare
Choose a tag to compare

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

24 May 02:59
e20b509
Compare
Choose a tag to compare

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 to false, the DayView will not automatically update the active style when dependent properties like DateTime or DayState change. #133
  • Removed default WidthRequest value of 45
  • Changed default HeightRequest and WidthRequest 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 its BackgroundColor, TextColor, Command, and CommandParameter #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

18 Mar 14:16
c6271fc
Compare
Choose a tag to compare

Core

  • Moved ObservableRangeCollection from XCalendar.Core.Models to XCalendar.Core.Collections (Should help with name conflicts with XCT and MCT) #119

4.4.1

17 Mar 21:21
cf746d0
Compare
Choose a tag to compare

Forms & MAUI

  • Fixed crash when a null value is provided to StringCharLimitConverter #113
  • [Android] Fixed certain controls causing a crash when opened in release mode #115 (by @Janausch), #116

New Contributors

Full Changelog: 4.4.0...4.4.1

4.4.0 - Removed CommunityToolkit Dependencies

03 Feb 20:36
dda69fa
Compare
Choose a tag to compare

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

MAUI

Full Changelog: 4.3.1...4.4.0