Skip to content

Update dependency com.kizitonwose.calendar:compose to v2.8.0 #337

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 1, 2024

This PR contains the following updates:

Package Change Age Confidence
com.kizitonwose.calendar:compose 2.4.0 -> 2.8.0 age confidence

Release Notes

kizitonwose/calendar (com.kizitonwose.calendar:compose)

v2.8.0

Compare Source

Compose (Android):

  • Bump Compose UI to version 1.8.3

Compose (Multiplatform):

Kotlin DateTime 0.7.x comes with some API changes that have been inherited by the multiplatform calendar which depends on it.

The most important changes are:

  • Addition of the YearMonth type, which replaces the one previously provided by the calendar library. You'll need to replace the imports com.kizitonwose.calendar.core.YearMonth with kotlinx.datetime.YearMonth.
  • Removal of kotlinx.datetime.Clock, please use kotlin.time.Clock instead.

Note that there are some method and field name differences between the YearMonth previously provided by the library and the new one in the Kotlin DateTime library. The relevant methods and fields are listed below.

com.kizitonwose.calendar.core.YearMonth kotlinx.datetime.YearMonth
atStartOfMonth() firstDay
atEndOfMonth() lastDay
lengthOfMonth() numberOfDays
atDay() onDay()

See the release notes for Kotlin DateTime 0.7.0 for all changes.

Dependencies:

  • Bump AGP to 8.11.1

v2.7.0

Compare Source

Compose (Android & Multiplatform) :

  • Bump Compose UI to version 1.8.1 (Android) and 1.8.0 (Multiplatform)

Dependencies:

  • Bump AGP to version 8.10.0
  • Bump Kotlin to version 2.1.21

v2.6.2

Compare Source

View:

  • Allow overriding calculateExtraLayoutSpace in the layout manager.
  • Minimum SDK version is now 21 due to a bump in RecyclerView version.

Compose:

The following methods are now available in the compose module:

Month calendar:

  • scrollToDate
  • scrollToDay
  • animateScrollToDate
  • animateScrollToDay

Week calendar:

  • scrollToDate
  • scrollToDay
  • animateScrollToDate
  • animateScrollToDay

Year calendar:

  • scrollToDate
  • scrollToDay
  • scrollToMonth
  • animateScrollToDate
  • animateScrollToDay
  • animateScrollToMonth

Note that unlike the view system (RecyclerView) which allows offset calculation when the scroll target index becomes visible on the screen, compose (LazyList) requires you to provide the desired scroll offset for the target index before initiating the scroll. Therefore, the current implementation assumes equal-sized headers in each item to be able to calculate the day offset in the target index.

v2.6.1

Compare Source

Compose (Android & Multiplatform) :

  • Bump Compose UI to version 1.7.5 (Android) and 1.7.1 (Multiplatform)

Dependencies:

  • Bump AGP to version 8.7.3
  • Bump Desugar to version 2.1.3

v2.6.0

Compare Source

Compose (Android & Multiplatform) :

  • Bump Compose UI to version 1.7.2 (Android) and 1.7.0-beta02 (Multiplatform).

Dependencies:

  • Bump Kotlin to version 2.0.20
  • Bump AGP to version 8.5.2

v2.5.4

Compare Source

Compose (Android & Multiplatform) :

  • Rename year calendar composable parameter columns to monthColumns.

View:

  • Add YearCalendarView class to match the year calendar composable available in the compose module. See documentation.

v2.5.3

Compare Source

Compose (Android & Multiplatform) :

Add HorizontalYearCalendar and VerticalYearCalendar composables for compose version 1.6.x. See documentation.

v2.5.2

Compare Source

View:

Core:

  • Remove desugar dependency from the library.

Note: Apps with min SDK version below 26 still need to use desugar, however the library itself is no longer bundled with this dependency, which means that apps with min SDK version 26 and above will be able to use the library without desugar.

v2.5.1

Compare Source

Compose:

  • Fix - Changing the values passed to rememberCalendarState() function does not refresh the calendar.

v2.5.0

Compare Source

Compose:

  • Add support for Compose UI 1.6.1

v2.4.1

Compare Source

Compose:

  • Fix - Changing firstDayOfWeek does not refresh the current month #​514

View:

  • Bring back the previous (somewhat better) snap helper for the horizontal calendar.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/com.kizitonwose.calendar-compose-2.x branch 3 times, most recently from b3b766d to f7a1eeb Compare August 3, 2024 09:59
@renovate renovate bot changed the title Update dependency com.kizitonwose.calendar:compose to v2.5.3 Update dependency com.kizitonwose.calendar:compose to v2.5.4 Aug 3, 2024
@renovate renovate bot force-pushed the renovate/com.kizitonwose.calendar-compose-2.x branch from f7a1eeb to c96ae31 Compare September 21, 2024 16:06
@renovate renovate bot changed the title Update dependency com.kizitonwose.calendar:compose to v2.5.4 Update dependency com.kizitonwose.calendar:compose to v2.6.0 Sep 21, 2024
@renovate renovate bot force-pushed the renovate/com.kizitonwose.calendar-compose-2.x branch from c96ae31 to a7e6020 Compare December 8, 2024 12:08
@renovate renovate bot changed the title Update dependency com.kizitonwose.calendar:compose to v2.6.0 Update dependency com.kizitonwose.calendar:compose to v2.6.1 Dec 8, 2024
@renovate renovate bot force-pushed the renovate/com.kizitonwose.calendar-compose-2.x branch from a7e6020 to d45b47e Compare January 19, 2025 16:58
@renovate renovate bot changed the title Update dependency com.kizitonwose.calendar:compose to v2.6.1 Update dependency com.kizitonwose.calendar:compose to v2.6.2 Jan 19, 2025
@renovate renovate bot force-pushed the renovate/com.kizitonwose.calendar-compose-2.x branch from d45b47e to a9d3b65 Compare May 17, 2025 18:14
@renovate renovate bot changed the title Update dependency com.kizitonwose.calendar:compose to v2.6.2 Update dependency com.kizitonwose.calendar:compose to v2.7.0 May 17, 2025
@renovate renovate bot force-pushed the renovate/com.kizitonwose.calendar-compose-2.x branch from a9d3b65 to cd599c9 Compare July 16, 2025 22:56
@renovate renovate bot changed the title Update dependency com.kizitonwose.calendar:compose to v2.7.0 Update dependency com.kizitonwose.calendar:compose to v2.8.0 Jul 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants