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 #775

Closed

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 31, 2023

Mend Renovate logo banner

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
com.google.android.material:material 1.1.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

v1.9.0

Compare Source

What's new since 1.8.0

Dependency Updates

  • No dependency updates.

Library Updates

  • Badge
    • Added shape appearance for badges (89a2a64)
    • Updated M3 style to match specs - alignment tweaks and text appearance changes (3c1ac05)
    • Added new 'offsetAlignmentMode' attribute that determines where the offset starts for the badge (d0d0f54)
  • BottomSheet
    • Added animation for bottom sheet position when keyboard is shown using WindowInsetsAnimationCompat API (697d93a)
  • Carousel
    • Added developer documentation (be9f16c)
    • Released carousel component (4ecba81)
  • Color
    • Added new theme attributes for fixed accent colors. (4f3dc3e)
    • Added tonal surface color theme attributes and updated themes. (989d574)
    • Added support for missing color roles. (169bbca)
    • Added framework color roles support for content color (ce68ec6)
  • SideSheet
    • Added detached variant of modal side sheet. (ad3cf5a)
    • Added detached variants of standard and coplanar sheets. (938105a)
    • Added modal side sheet documentation. (2e9b39f)
  • Slider
    • Added mouse support for slider control. (93f8ffb)
    • Added API for setting the radius of active/inactive tick in xml and Java. (7bbbe39)
  • Tokens
    • Introduced new accent color tokens. (dac9450)

Full list of changes

Full list of release notes

v1.8.0

Compare Source

What's new since 1.7.0

  • Brand new Side Sheet component with standard, modal and coplanar variants! Check out the Side Sheet design guidance and developer documentation for more details.
  • Brand new Search component! Check out the Search design guidance and developer documentation for more details.
  • Integrated tokens for Bottom Sheet, Checkbox, Chip, Dialog, Divider, MaterialButton, NavigationRail, ProgressIndicator, Slider, Switch, Tabs, and TextInputLayout.

Dependency Updates

Dependency Previous version New version
ext.kotlinVersion 1.3.50 -
errorproneVersion - 2.15.0
compileSdkVersion 32 33
targetSdkVersion 32 33

Library Updates

  • A11y
    • Improve date input validation feedback follow up (1200e25)
    • Improve date input validation feedback (f394903)
    • Improve TalkBack focus order when selecting a day (dff70c0)
    • Improve date selection announcements (5c5b1e8)
    • Announce start/end dates (2f9844b)
    • Announce current year and day (c6539f2)
    • Fix TalkBack announcements when switching between year/day selection views (62b2b19)
    • Announce selection (be8b8d4)
    • Improve focus handling (ceacaa6)
    • Request focus on search menu when showing (968e035)
    • Fix focus when changing input mode (eca825f)
    • Update hour content description for 24h clock (ee19b01)
    • Make Clock text scale with system font size (e9fc0a0)
  • Badging
  • BottomAppBar
    • Request layout for FAB when BAB changes so that FAB will always be aware of BAB changes (10fe695)
    • Add attribute to remove shadow on container (1322e61)
    • Added the handle to the bottom sheet. (4c11606)
    • Update motion specs for show/hide bar (fdd8dae)
    • Updating catalog to remove M2 options (8bec167)
    • Small bugs and padding adjustments (63f98bf)
  • BottomNavigationView
    • Remove elevation shadows (e393748)
    • Updated active text label to use a bold typeface. (11e98f2)
    • Fix hardcoded number of children (a2ce1dd)
  • BottomSheet
    • Update motion attributes for bottom sheet dialog animation (1cdb371)
    • Token integration (e474cf4)
    • Update elevation to match specs (617e582)
    • Sync custom actions with drag handle views (0804031)
    • Only remove round corners in M3 styles when it's fullscreen (6631abb)
    • Add shouldRemoveExpandedCorners attribute (6e6c53a)
    • Add method to calculate slide offset (2958d8d)
    • Add attribute for significant velocity threshold (d845db8)
    • Corrected guidance to use modal bottom sheet default style theme attribute for standard bottom sheets and added a callout explaining that there is no default style theme attribute for standard bottom sheets. (4865639)
    • Disable drag handle when restricting expansion (c9e855e)
  • Catalog
    • Fix incorrect time stamps (305e19d)
    • Updated search demo to change search bar hint (fafee33)
    • Updated Catalog demo to change search bar/view demo title. (df85be2)
    • Applied edge-to-edge to preferences bottom sheet (c440d86)
    • Add themed icon (45a569f)
    • Add input mode selector (09f1ee5)
    • Fix navigation bar overlaps ui #​2927 (5c2eb45)
    • Replace android.support dependencies with androidx (3d32f73)
    • Update date picker demo text appearances to M3 (c19efa0)
    • Updated button demo to provide the correct content description for icon only buttons. (2697e0f)
    • Added search/filter functionality to MDC Catalog. (549fe19)
    • Fix the favorite icon vertical alignment on demo landing rows (745acfd)
    • Update Catalog preferences demo to use MaterialSwitch (229eb9d)
    • Fix favorite row button alignment in lower apis. (849be73)
    • Updated catalog preferences for shape corner sizes. (3daa028)
  • Checkbox
    • Update unselected outline color to ?attr/colorOnSurfaceVariant to match tokens. (5d261f5)
    • Integrated tokens (e67e68d)
    • Fixed NPE crash due to layer drawable's constant state issue in APIs < 23. (b8e1b57)
    • Fix a11y announcement for indeterminate state. (6f474b3)
    • Fixed pre 21 issue where the icon did not update its color according to its state properly (ccf67f7)
    • Added indeterminate state support to the checkbox. (8f149b1)
    • Fixed icon color not updating correctly in light mode in pre 21. (a4d6f51)
    • Fix pre-21 issue where a child of the layer drawable (the button and/or the icon drawables) may not have its constant state set up properly. (079371f)
    • Fixed issue where AppCompatCheckBox would not display its drawable when a Material theme was being used. (9ca8a80)
  • Chip
    • Integrate Chip component tokens to Chip st

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.

@renovate renovate bot force-pushed the renovate/com.google.android.material-material-1.x branch from edd8eb5 to fa60579 Compare November 16, 2023 12:53
@JoelWilcox JoelWilcox closed this Nov 22, 2023
Copy link
Contributor Author

renovate bot commented Nov 22, 2023

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (1.10.0). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate bot deleted the renovate/com.google.android.material-material-1.x branch November 22, 2023 01:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant