All Versions
15
Latest Version
Avg Release Cycle
56 days
Latest Release
610 days ago

Changelog History
Page 1

  • v1.14.0 Changes

    August 18, 2022

    โž• Added

    • โž• Added an option for vertical calendars to scroll to the top when the system status bar is tapped

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed a crash that occurred when programmatically scrolling to an out-of-bounds day
    • ๐Ÿ›  Fixed an issue that could cause the calendar to recalculate its layout using stale information after setting its content to a new value

    ๐Ÿ”„ Changed

    • โšก๏ธ Updated README.md to not reference deprecated functions
    • โœ‚ Removed an unnecessary layout assertion and replaced it with a warning
  • v1.13.0 Changes

    December 23, 2021

    ๐Ÿ”„ Changed

    • ๐Ÿ—„ Deprecated CalendarViewContent functions that have a "with" prefix, replacing them with equivalent functions that omit the unnecessary prefix
  • v1.12.0 Changes

    December 22, 2021

    โž• Added

    • โž• Added the ability to change the aspect ratio of individual days in the calendar, removing the limitation that all days must have square frames
  • v1.11.0 Changes

    November 09, 2021

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed a broken code example in README.md

    ๐Ÿ”„ Changed

    • โšก๏ธ Updated programmatic scroll code to animate at 120hz on ProMotion displays
    • ๐Ÿ‘Œ Improved layout logic to enable horizontal calendars to derive their height from their width, layout margins, and content. When using a horizontal calendar with Auto Layout, only position and width constraints are needed; a tightly-bounding height will be set automatically.
  • v1.10.0 Changes

    September 14, 2021

    โž• Added

    • โž• Added DayView, DayOfWeekView, and MonthHeaderView - public, configurable views that cover many common use cases
  • v1.9.0 Changes

    September 04, 2021

    โž• Added

    • โž• Added a .pageScrolled accessibility notification when the calendar scrolls due to an accessibility gesture
    • โž• Added a _didEndDragging closure that includes a willDecelerate parameter. The didEndDragging closure has been deprecated.

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed a bug that caused the z-positions of views to be incorrect when snapshotting the CalendarView
    • ๐Ÿ›  Fixed a visual issue that occurred when programmatically scrolling to a day or month and using partial-month-visibility
    • ๐Ÿ›  Fixed a bug that caused the three-finger-accessibility-scroll gesture to not work
    • ๐Ÿ›  Fixed a bug that caused the current scroll position to be lost on device rotation or when the layout margins change

    ๐Ÿ”„ Changed

    • ๐Ÿ‘Œ Improved the example project to better demonstrate how to implement day selection
    • ๐Ÿ‘Œ Improved accessibility support the example project
    • ๐Ÿ—„ Deprecated the didEndDragging closure in favor of _didEndDragging
  • v1.8.0 Changes

    March 05, 2021

    โž• Added

    • โž• Added an API to get an accessibility element for a visible date - useful for working with UIAccessibility.post(notification:argument:) to programmatically change accessibility focus

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed a visual issue that occurred when programmatically scrolling to a day or month and using non-zero layout margins
    • ๐Ÿ›  Fixed an issue that could cause layout margins to be set to an incorrect value
  • v1.7.0 Changes

    January 27, 2021

    โž• Added

    • โž• Added HorizontalMonthsLayoutOptions and VerticalMonthsLayoutOptions for configuring horizontal and vertical calendars
    • โž• Added pagination support for horizontal calendars

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed a localization issue with the date formatters used by the default month header and day views
    • ๐Ÿ›  Fixed a layout bug due to inaccurate floating point comparison math
    • ๐Ÿ›  Fixed a visual issue where reused subviews of the calendar would animate from their old frame to their new frame
    • ๐Ÿ›  Fixed an incorrect Hashable / Equatable implementation for the internal VisibleCalendarItem type
    • ๐Ÿ›  Fixed a bug that caused didEndDecelerating to be called instead of didEndDragging
    • ๐Ÿ›  Fixed a Mac-Catalyst scrolling bug

    ๐Ÿ”„ Changed

    • โšก๏ธ Updated the MonthsLayout API to be more consistent for both vertical and horizontal calendars
    • ๐Ÿ—„ Deprecated MonthsLayout.horizontal(monthWidth: CGFloat) in favor of MonthsLayout.horizontal(options: HorizontalMonthsLayoutOptions)
    • โšก๏ธ Updated README.md to use Calendar.current rather than Calendar(identifier: .gregorian)
    • Consolidated some internal layout code
    • Simplified internal UIScrollView state management to no longer loop the scroll position
  • v1.6.0 Changes

    November 07, 2020

    ๐Ÿ”„ Changed

    • ๐Ÿ—„ Deprecated the CalendarViewContent withBackgroundColor(_:) API; developers should use the UIView backgroundColor property on CalendarView directly.
  • v1.5.0 Changes

    September 20, 2020

    โž• Added

    • โž• Added support for right-to-left layout when using a right-to-left language like Hebrew and Arabic

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed a broken code example in README.md
    • ๐Ÿ›  Fixed CI
    • ๐Ÿ›  Fixed an issue that caused layout margins to be ignored when programmatically scrolling

    ๐Ÿ”„ Changed

    • โšก๏ธ Updated README.md to use the new CalendarItemModel type, rather than the deprecated CalendarItem type
    • โœ‚ Removed an artificial limitation that caused all non-day item views to have isUserInteractionEnabled set to false