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

Bump material from 1.6.1 to 1.7.0 #2514

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 20, 2022

Bumps material from 1.6.1 to 1.7.0.

Release notes

Sourced from material's releases.

1.7.0

What's new since 1.6.1

  • All new Switch component with a new look! Check out the updated documentation for details.
  • New Shape system that is now being used by all components. Learn about the shape system and see how its used in the Material3 theme and components by checking out the updated documentation
  • Checkbox has been redesigned and now supports indeterminate and error states! Check out the updated documentation.
  • BottomAppBar has been redesigned! Check out the updated documentation
  • New Icon Button support has been added including outlined, tonal, and filled variants!

New minimum requirements for your app's project:

Dependency Updates

Dependency Previous version New version
androidx.appcompat 1.5.0-beta01 1.5.0
androidx.core 1.5.0 1.6.0
androidx.test 1.1.0 1.4.0
Android Gradle Plugin (AGP) 4.0.0 7.2.0
Gradle 6.1.1 7.3.3
Java Version 1.7 (7) 1.8 (8)

Other highlights

  • MaterialButton
    • Added methods to not toggle checked state on buttons on click (a6011078689521cf0c042e7444c36b6607cedcf9)
    • Updated M3 button style to add outlined icon button style (467a2c9f7314cdfd5300594b4e66a70657d5d702)
    • Updated M3 button style to add filled tonal icon button style (14578ed68cb296080d511ceb502469903c0ef5d7)
    • Updated M3 button style to add filled icon button style (25606cf34addae1420eeba24eec0f90aef06d0d2)
    • Fix icon textStart/End alignment with multiline text (b6b895a1e40efbf2e36b2ea5e91bae7bcd0bdb8c)
    • Fix icon position with multiline text (19d05000bcc273f781a85ce41530f604fead268e)
  • Documentation
    • Updated typography guidelines to M3 (104a342307c31170494c3dcd2011ca63b182e4b5)
    • Added an example to demonstrate how to make bottom sheet dialog in edge-to-edge mode (57a3c989ffdaee252fa00bbe5246f837d18b6a60)
    • Updated Snackbar doc regarding CoordinatorLayout (ef2c2fad36d11933d71ea5c9a2826be3119bec17)
    • Add status bar / edge-to-edge section to Top App Bar doc (b8e1f978940c218502ee6161d0b3f673299eceb0)
  • TopAppBar
    • Fixed bug in HeaderScrollingViewBehavior that causes child translation Y not to be reset to default if the behavior is changed from an overlapping to non-overlapping behavior in layoutParams.setBehavior (00c62d21c9e21eb595d2d83bddcf6782a9773729)
    • Excluded views that are GONE from scroll range calculation (687e73590de5ea219a14a336094002b9d3884af5)
    • Fixed collapsing title issue with different fonts (0c341c4e9b9703945ffbf22af0a4158bde41582c)
    • Added setLiftOnScrollTargetView() method (d6c435461eece74656db5e2de92944c7ca807439)
  • A11y
    • Made multi-selection Chips announce as Buttons (d4c2c9549051d706d91dcd96ceb79c52e1aedd30)
    • Made drawer announce its number of items (b1f7d5bebc298865a25747d2f28050a67b15761d)
  • TextInputLayout
    • Added a new custom length counter field and getters/setters to switch how text length is calculated for the counter. (4ded01ed3ff5f6669080b6330c3d6dce8869cdca)
    • Fixed hint is not displayed when expanding space is limited (73cb1b6e78a0e28d157a1b5da061568117c2fa40)

... (truncated)

Commits
  • 355c69d Update library version to 1.7.0
  • 5cb92c8 [Snackbar] Made snackbar javadoc more clear of how its dismissing works.
  • c0e24cd [Documentation][Shape] Update documentation
  • 7e18ac4 [Checkbox] Fixed NPE crash due to layer drawable's constant state issue in AP...
  • ec1663f [CheckBox] Fix a11y announcement for indeterminate state.
  • aaa7646 Update library version to 1.7.0-rc01
  • 2cc8932 [Checkbox] Fixed pre 21 issue where the icon did not update its color accordi...
  • a394314 [Process] Update AppCompat version to 1.5 stable
  • 3af5784 [ExposedDropdownMenu] Fixed missing icon activated color.
  • c1e20e2 [Docs] Changing the name for the AGP compatibility variable so that the IDE p...
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added 3. to review Waiting for reviews dependencies labels Oct 20, 2022
@AndyScherzinger
Copy link
Member

requires compileSdk >= 32

@AndyScherzinger AndyScherzinger force-pushed the dependabot/gradle/com.google.android.material-material-1.7.0 branch 2 times, most recently from 3317ceb to ef9f479 Compare November 16, 2022 09:52
Copy link
Member

@AndyScherzinger AndyScherzinger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@timkrueger works fine for me with the compile sdk bump to 32, tested typical navigation and notifications incl. replies/mark as read actions

dependabot bot and others added 2 commits November 16, 2022 11:15
Bumps [material](https://github.com/material-components/material-components-android) from 1.6.1 to 1.7.0.
- [Release notes](https://github.com/material-components/material-components-android/releases)
- [Commits](material-components/material-components-android@1.6.1...1.7.0)

---
updated-dependencies:
- dependency-name: com.google.android.material:material
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
@AndyScherzinger AndyScherzinger force-pushed the dependabot/gradle/com.google.android.material-material-1.7.0 branch from ef9f479 to 2e3a2be Compare November 16, 2022 10:15
@github-actions
Copy link

Codacy

Lint

TypemasterPR
Warnings112112
Errors11

SpotBugs

CategoryBaseNew
Bad practice44
Correctness3131
Dodgy code268268
Experimental22
Internationalization77
Malicious code vulnerability5353
Performance2222
Security22
Total389389

@github-actions
Copy link

APK file: https://www.kaminsky.me/nc-dev/android-artifacts/2514-talk.apk

qrcode

To test this change/fix you can simply download above APK file and install and test it in parallel to your existing Nextcloud Talk app.

@timkrueger
Copy link
Contributor

@timkrueger works fine for me with the compile sdk bump to 32, tested typical navigation and notifications incl. replies/mark as read actions

Thanks @AndyScherzinger. I'll also do some testing up to next Monday.

@timkrueger timkrueger merged commit 76c7e34 into master Nov 19, 2022
@delete-merged-branch delete-merged-branch bot deleted the dependabot/gradle/com.google.android.material-material-1.7.0 branch November 19, 2022 17:21
@AndyScherzinger AndyScherzinger added this to the 15.1.0 milestone Nov 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews dependencies technical debt Technical issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants