Skip to content
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

Update dependency com.google.android.material:material to v1.10.0 #1565

Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 5, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
com.google.android.material:material 1.9.0 -> 1.10.0 age adoption passing confidence

Release Notes

material-components/material-components-android (com.google.android.material:material)

v1.10.0

Compare Source

What's new since 1.9.0

Important

New minimum requirements for your app's project:
  • Update compileSdkVersion to 34

Dependency Updates

Dependency Previous version New version
Gradle 7.2.0 7.4.2
androidx.activity -- 1.8.0
androidx.appcompat 1.5.0 1.6.1
androidx.resourceinspection:resourceinspection-annotation -- 1.0.1
androidx.resourceinspection:resourceinspection-processor -- 1.0.1

Library Updates

  • A11y
    • Do not count headers for accessibility (917da52)
  • Badging
    • Deprecate bottom badge gravities and update docs and usages in catalog (27abfdb)
    • Add new attribute for vertical offset when font is large (2362f4b)
    • Fix table formatting and remove unnecessary badge invalidation (44a97f4)
    • Fix crash caused by non-ascii strings (532b65d)
    • Badge cleanup/fixes: (4d50aa4)
    • Add attribute to automatically adjust badge so that it is within the anchor view's grandparent view's bounds (b706506)
    • Add getters/setters for vertical and horizontal badge padding (a0d0b53)
    • Allow text strings in badges (c1ef52b)
    • Center badge content more correctly (fc0de1b)
    • Add padding in between top and bottom edges of badge and text (8499b83)
    • Integrating tokens (68c844c)
    • Add shape appearance for badges (2ddcfe4)
    • Update badge images (c1eba1b)
  • BottomAppBar
    • Fix bug with transparent top app bar when in bottom app bar layout (c22eb0d)
    • Fix issue with pre-21 FAB elevation/shadow sometimes appearing (2ea3df9)
  • BottomNavigationView
    • Integrate tokens and add shape appearance support (7bd9724)
  • BottomSheet
    • Fix sheet corners animation (a5ff190)
    • Update bottom sheet documentation (af1fa70)
    • Integrate tokens (86cd9d7)
    • Add method to allow programmatically changing shouldRemoveExpandedCorners behavior (c8a0d47)
    • Update expanded corner removal to check if sheet view is actually at top of screen (1c01e82)
    • Fix for detached from bottom sheet behavior. (9c4b73d)
    • Ignore ACTION_MOVE events in BottomSheetBehavior that weren't preceded by an ACTION_DOWN event. (d8c01c1)
  • Carousel
    • Add orientation helper to clean up CarouselLayoutManager orientation differences (7822ef8)
    • Update docs to include hero variant (ec509cc)
    • Add vertical scrolling capability (6b48d3b)
    • Deprecate set/get mask x percentages in Maskable as they are no longer used anywhere, and is a misleading method due to these methods not actually having any effect on the Carousel as CarouselLayoutManager overrides the values. (29d8742)
    • Ensure that masks are pushed out beyond the parent bounds if they are on the parent bounds (9486de5)
    • Carousel updates and fixes (16c1575)
    • Fix contained mask logic to only update masks when it is still in view, and remove restrictions on mask size with childWidth/2F. The only restriction is that the right of the mask must be greater than the left of the mask. (7d6a977)
    • Fixed multi browse strategy clipping extra small items before being fully collapsed (85b6d50)
    • Add Carousel Hero strategy demo (b57dae5)
    • Add Hero carousel strategy (340cd44)
    • Add option for snapping with multi-browse carousel demo (26c3779)
    • Add CarouselSnapHelper (8938da8)
    • Refactor to reuse logic between different Carousel strategy classes (1c27404)
    • Fix item masking for API 21 (7bc26e5)
    • Updated MultiBrowseCarouselStrategy to find best arrangments using a cost function (0184b5b)
    • Fixed mutli-browse catalog demo crashing due to invalid position slider values. (5bc7a50)
    • Add support for transitions by forcing canvas clipping when detaching from the window. (93ceb7e)
    • Updated MaskableFrameLayout to use Outline path clipping on 33+ only. (43c5077)
    • Updated setForceCompatClipping visibility for testing. (3856af1)
    • Updated MaskableFrameLayout to clip more performantly. (733c9e0)
    • Changed Maskable.add/removeOnMaskChangedListener to Maskable.setOnMaskChangedListener. (359580b)
    • Fixed child index bug causing items to be ordered incorrectly. (9d0732b)
  • Catalog
    • Update side sheet state handling to be more accurate in demos (4442635)
    • Update bottom sheet state handling to be more accurate in demos (386d47b)
    • Update to compileSdkVersion 34 and update catalog to use androidx.activity:activity:1.8.0-alpha05 (2336c23)
    • Fixed catalog errors for some demos. (4c3e1d5)
    • Fixes context menu are not themed on S (33e4f84)
  • Checkbox
    • Fixed checkmark icon not updating color on error correctly in pre 21. (62aa802)
  • Chip
    • Fix hand pointer icon not showing up on whole Chip when using mouse input (2702b1a)
    • Add theme overlays supported on API < 23 (fd0c815)
  • Color
    • Temporarily remove v34 Android U color references which could be causing resource NotFoundExceptions (2a1a67f)
    • Fixed lint error. (824d75e)
    • Integrate container color token (206928b)
    • Made SearchBar and SearchView's container colors configurable in XML style. (cf006c5)
    • Added U color resources for contrast mode support. (93f386c)
  • Dialog
    • Update DialogWhenLarge theme to have correct parent theme (dae89b7)
    • Made dialog background color configurable in XML styles. (77cdc1e)
    • Made dialog background color configurable in XML styles. (303fabd)
  • Documentation
    • Fix SideSheetDialog class definition and source links (e4d0fd3)
    • Revise version guidance for Search usage. (0bcb570)
    • Formatted tables in the eng doc. (ef57f69)
    • Fix doc formatting for github (e75654d)
  • ExposedDropdownMenu
    • Added attribute to set dropdown menu's container. (1562d0b)
  • FloatingActionButton
    • Correctly handle min touch target size (d6f36e8)
  • Material 3
    • Remove resources loader support for tonal surface update (dfd9bfb)
    • Fix harmonization demo bug (836c51e)
    • Updated content-based dynamic colors (e9b485d)
    • Update Color doc (d7f9a06)
    • Updated content-based dynamic colors (a511501)
    • Adds Search class definition link to Search documentation. (e157608)
    • Added ColorContrast API (a6cf098)
    • Updated content-based dynamic with contrast levels (b335436)
    • Updated SearchDemoUtils to mark the class and methods as public so that it can be resued. (3b43d41)
    • Code style update (1fd695c)
    • Fix Search view prefix style. (e56e9b1)
    • Updated search styles to set the default style attributes in the related theme overlay. (9ffaa8d)
    • Improve performance by preventing item change notifications during inflation. (203d5ec)
    • Fixed a crash in search components when view attributes inspection dev setting is turned on. (1159923)
    • Color Component demo update (2aa1cf3)
    • Color Component demo update (c786582)
  • MaterialButton
    • Set up Android Studio resource inspection annotation and annotation processor, and add @​Attribute annotation to MaterialButton#getIconPadding (2b5c75f)
  • MaterialDatePicker
    • Allow client app to access user selected inputMode (4d80434)
    • Fix crash when clicking OK/Cancel on text input mode due to hiding keyboard (7ccf670)
    • Add getTextColor to DayViewDecorator (29b59c2)
    • a11y/i18n alignment (f4d0f56)
    • ContentDescription for "DayName" is not properly getting read by talkback for the German language (35bd1fc)
    • Fix time zone when custom text input format is set (619d5a6)
    • Update screen width at which days size is 48dp in portrait mode. (ec511a5)
    • Made dialog container color configurable in xml style. (7b2c19b)
    • Fix hint for Korean (bcc97bf)
    • Integrated tokens. (30ea33e)
    • Fix keyboard not showing at first in text input mode (4032a74)
  • NavigationRail
    • Added bigger padding in between items on the navigation rail when font scale is large so there is more room for the badges when they are forced inside the view bounds (8b016a0)
    • Integrate tokens and add shapeAppearance attribute (3b2b827)
    • Added attribute to control the application of start window inset padding. (3f99392)
    • Fixed active item focused state color not being visible. (1d2a59b)
  • NavigationView
    • Updated NavigationView to use ViewOutlineProvider to handle corner clipping when possible and remove drawerLayoutCornerClippingEnabled attribute. (c031144)
    • Removed canvas clipping by default and added an option to enabled/disable manually (e3b493f)
  • Predictive Back
    • Fix issue where modal accessibility is not reset after collapsing search view predictively, which caused the screen to appear frozen when using TalkBack (e8af8f9)
    • Fixed IllegalStateException crashes caused by MaterialBackAnimationHelper. (845007e)
    • Fixed UnsupportedOperationException AnimatorSet crash in SearchView. (6720e24)
    • Fix custom predictive back implementations and update androidx.activity dependency to 1.8.0-alpha06. (722b936)
    • Fixed MaterialBackAnimationHelper.onCancelBackProgress being called twice. (ad60bbf)
    • Fixed possible NaN crashes in MaterialBottomContainerBackHelper, MaterialMainContainerBackHelper and MaterialSideContainerBackHelper. (122c296)
    • Update components to use BackEventCompat (a67a885)
    • Make MaterialMainContainerBackHelper collapsedView optional (fb56ab4)
    • Fix issue on Android U where clicking SearchView back button causes SearchBar to disappear and back arrow animation to not run (e69a324)
    • Minor dev doc edits (82a91c8)
    • Update dev docs (47c307d)
    • Fix expand/collapse animation for non-predictive back cases where rootView bounds are not equal to searchView bounds (577d23e)
    • Added updateBackProgress() predictive back support for coplanar side sheets. (5ba704a)
    • Added handleBackInvoked() predictive back support for coplanar side sheets. (b984e64)
    • Fix subtle detached side sheet glitch where after predictive back the sheet does not fully slide off screen (52f1737)
    • Fix custom nav drawer Catalog demo pre-T crash due to OnBackAnimationCallback class not found (d8c5c2c)
    • Added predictive back support for modal side sheets. (f335a50)
    • Added predictive back support for standard side sheets. (562285e)
    • Update side container back helper to support containers with arbitrary child views (9405121)
    • Only use device corner radius if SearchView reaches edge of screen (a93c91a)
    • Make back helpers support generified View type (69b5386)
    • Add ability to opt-out of back handling (176ce5e)
    • Update SearchView to support predictive back when set up with SearchBar (a4b6f46)
    • Fix bug where standard hideable bottom sheets don't stay hidden after predictive back (2c23d2a)
    • Add top-level developer documentation (8105cb7)
    • Update Bottom Sheet to support predictive back (d6fad95)
    • Infrastructure for back handling in components + Navigation Drawer predictive back support (2c297fa)
    • Migrate Catalog to use AndroidX back pressed callbacks and enable predictive back-to-home (22c4e0d)
  • Search
    • Enforced outline variant to use colorSurface as container color. (cbbd50d)
    • Support stylus handwriting in SearchBar (884a454)
  • SideSheet
    • Aligned close affordance and title text along the baseline rather than the top. (7a3f30b)
    • Mapped close affordance to ?attr/colorOnSurfaceVariant in catalog. (7ee0b72)
    • Add links to class definitions in Side Sheet documentation and revise version guidance. (d005ad7)
    • Changed side sheet child containers in Catalog from LinearLayouts to FrameLayouts. (690cd5d)
    • Changed side sheet title text appearance to Title Large. (a0d4fa0)
    • Fixed modal sheet text field formatting bug in catalog. (87a45a2)
    • Renamed private references of "origin" to "inner" in SheetDelegate and related delegate classes. (ad9ad20)
    • Fixed side sheet swipe calculations in RightSheetDelegate. (8ae8a37)
    • Added left/start modal sheet. (d0ad45e)
    • Fixed container color assigned to incorrect attribute. (a4c65d8)
    • Removed the hasValue check for shapeAppearance to guarantee it always has a user value or default value to avoid NPE. (5e427da)
    • Added LeftSheetDelegate and left sheet support for standard and coplanar side sheets. (78fa157)
  • Switch
    • Amendments to thumb icon size support (3abb658)
    • Add support for setting thumb icon size (2e85f06)
    • Fix morphing time of switch thumbs (23a2b17)
  • Tabs
    • Create tab demo fragment that uses viewpager2 in Catalog (add7f5d)
    • Re-adding mistakenly removed tab layout theme (e708d98)
    • Fix issue with indicator not being drawn when viewpager starts scrolling before onLayout is called (34d6a14)
  • TextInputLayout
    • Added API to set cursor colors for API 28+. (c598ccd)
    • Make collapsed hint aligned with prefix and suffix text (d9b97b4)
  • TimePicker
    • Fix crash when clicking OK/Cancel/Icon on text input mode due to hiding keyboard (1fcde2c)
    • Made dialog container color configurable in xml style. (5f542c8)
  • Tokens
    • Upgraded outdated token output in textfield & appbar. (d722a78)
    • Updated to v0.162 for a new target. (0be665c)
    • Upgraded to v0.162. (9f1caa2)
  • TopAppBar
    • Updated to take a CSL as the AppBarLayout background color. (6980c40)
    • Removing keyboard scroll event workaround for AppBarLayout since CoordinatorLayout issue has been fixed in androidx.core:core:1.10.0 (fdaff78)
    • Fixed dragging the app bar layout overshoots the status bar. (b3f7b66)
    • Added support to pass toolbar style. (cdda1fc)
    • Fix bug in AppBarLayout that refreshes all its children's drawables instead of just its own (21a7aff)
  • Other
    • Update library version to 1.10.0 (5a45d85)
    • Update androidx.activity dependency to version 1.8.0 (4faa81c)
    • Update androidx.activity dependency to version 1.8.0-rc01 (7160a68)
    • Update library version to 1.10.0-rc01 (bcc2f91)
    • Update androidx.activity dependency to version 1.8.0-beta01 (bb0973f)
    • Update library version to 1.10.0-beta01 (7b8507f)
    • Update library version to 1.10.0-alpha06 (0c0addd)
    • Merge branch 'master' into release-1.10 (543c473)
    • Updated library version to 1.10.0-alpha05. (174a57d)
    • [TextInputEditText]Fix: TextInputEditText misses some visible lines in CursorAnchorInfo#getVisibleLineBounds after scrolled (bdef355)
    • Fix kotlin version alignment (fc6f0a2)
    • Fix kotlin version alignment (7671188)
    • Merge branch 'master' into release-1.10 (797d494)
    • Update library version to 1.10.0-alpha04 (9123e4f)
    • Replaced BuildCompat#isAtLeastU() method calls with explicit SDK checks for UPSIDE_DOWN_CAKE. (f2e70d2)
    • Add itemTextAppearanceActiveBoldEnabled attr (022e217)
    • Update library version to 1.10.0-alpha03 (11b8da4)
    • Update AppCompat dependency to 1.6.1 (46778db)
    • Update library version to 1.10.0-alpha02 (1a2078b)
    • Update to AGP 7.4.2 to get latest lint and fix Android U lint issues (5a37e4b)
    • Update library version to 1.10.0-alpha01 (c7d31fb)
    • Minor fix. (dfbf4d9)
    • Upgrade to 7.6.1. (500c8eb)
    • Update gradle-wrapper.jar (bb2716f)
    • Update string translations (5689ce2)
    • Update compileSdkVersion to android-UpsideDownCake (3fb6bb2)

Full list of changes

Full list of release notes


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 has been generated by Mend Renovate. View repository job log here.

@JakeWharton JakeWharton enabled auto-merge (squash) October 5, 2023 19:00
@JakeWharton JakeWharton merged commit 79eb92e into trunk Oct 5, 2023
8 checks passed
@JakeWharton JakeWharton deleted the renovate/com.google.android.material-material-1.x branch October 5, 2023 21:35
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.

1 participant