sarvex / Sunshine

ISC License
0 stars 0 forks source link

Update dependency com.jakewharton:butterknife to v10 #24

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
com.jakewharton:butterknife 6.1.0 -> 10.2.3 age adoption passing confidence

⚠ Dependency Lookup Warnings ⚠

Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information.


Release Notes

JakeWharton/butterknife ### [`v10.2.3`](https://togithub.com/JakeWharton/butterknife/blob/HEAD/CHANGELOG.md#Version-1023--2020-08-12-) [Compare Source](https://togithub.com/JakeWharton/butterknife/compare/10.2.2...10.2.3) Heads up: Development on this tool is winding down as [view binding](https://developer.android.com/topic/libraries/view-binding) is stable in AS/AGP 3.6+. - Fix: Support receiving `MotionEvent` in an `@OnTouch` callback when using 'butterknife-reflect'. ### [`v10.2.2`](https://togithub.com/JakeWharton/butterknife/blob/HEAD/CHANGELOG.md#Version-1022--2020-08-03-) [Compare Source](https://togithub.com/JakeWharton/butterknife/compare/10.2.1...10.2.2) Heads up: Development on this tool is winding down as [view binding](https://developer.android.com/topic/libraries/view-binding) is stable in AS/AGP 3.6+. - Fix: Views detached while processing click callbacks will no longer disable future clicks on other views. ### [`v10.2.1`](https://togithub.com/JakeWharton/butterknife/blob/HEAD/CHANGELOG.md#Version-1021--2019-12-19-) [Compare Source](https://togithub.com/JakeWharton/butterknife/compare/10.2.0...10.2.1) Heads up: Development on this tool is winding down as [view binding](https://developer.android.com/topic/libraries/view-binding) will be stable in AS/AGP 3.6. - New: Make R2-generating Gradle task cacheable by default. - Fix: R2 classes now generate their own unique values for entries. This ensures that the annotation processor can always do a reverse mapping from ID back to name and type. In AGP 3.6.0, the `R.txt` symbol table that was previously used as a source for values now uses 0 for every entry which required this change. - Fix: Lint check for R2 values now properly handles static imports for entries. ### [`v10.2.0`](https://togithub.com/JakeWharton/butterknife/blob/HEAD/CHANGELOG.md#Version-1020--2019-09-12-) [Compare Source](https://togithub.com/JakeWharton/butterknife/compare/10.1.0...10.2.0) - New: Support incremental annotation processing. - Fix: Detect generated superclass bindings across compilation units. - Fix: Avoid deprecated APIs from the Android Gradle plugin. As a result, the new minimum supported version of the Android Gradle plugin is 3.3. ### [`v10.1.0`](https://togithub.com/JakeWharton/butterknife/blob/HEAD/CHANGELOG.md#Version-1010--2019-02-13-) [Compare Source](https://togithub.com/JakeWharton/butterknife/compare/10.0.0...10.1.0) - New: Listeners which require return values (e.g., long click) can now be bound to methods returning `void`. The default value of `true` will be returned in this case. - New: Add support for `@OnTextChanged` and `@OnPageChange` to reflection backend. - Remove enforcement of required views in the reflection backend. Most `@Nullable` annotations do not have runtime retention so they can't be checked at runtime with reflection. Instead of forcing everyone to find a new annotation, this enforcement is now dropped. While this might lead to nulls in otherwise required view bindings, they'll either be unused or quickly cause a `NullPointerException`. ### [`v10.0.0`](https://togithub.com/JakeWharton/butterknife/blob/HEAD/CHANGELOG.md#Version-1000--2019-01-03-) [Compare Source](https://togithub.com/JakeWharton/butterknife/compare/9.0.0...10.0.0) - Equivalent to 9.0.0 but only supports AndroidX-enabled builds. - Removed APIs deprecated in 9.0.0. ### [`v9.0.0`](https://togithub.com/JakeWharton/butterknife/blob/HEAD/CHANGELOG.md#Version-900--2019-01-03-) [Compare Source](https://togithub.com/JakeWharton/butterknife/compare/8.8.1...9.0.0) - New: Support for AndroidX. Requires `android.useAndroidX=true` in `gradle.properties` to generate AndroidX code. - New: A `butterknife-runtime` artifact has been extracted from `butterknife` which contains the APIs required for the generated code but does not contain the code to reflectively look up the generated code. This allows you to reference the generated code directly such that R8/ProGuard optimization can rename both the generated code and your classes. `ButterKnife.bind` and the consumer R8/ProGuard rules remain in the old `butterknife` artifact. - New: Experimental `butterknife-reflect` artifact eliminates the need to run the annotation processor for IDE builds. This artifact is binary compatible with `butterknife` so it can be interchanged depending on how your build is being invoked. See [its README](butterknife-reflect/README.md) for more information. Currently about 90% of functionality is covered. File bugs for anything that does not work. Note: This artifact requires Java 8. There's no good reason for this except to push the ecosystem to having this be a default. As of AGP 3.2 there is no reason not to do this. - New: Lint checks have been ported to UAST and now work on Kotlin code. - Helpers such as `apply` have been deprecated on `ButterKnife` and are now available on the `ViewCollections` class. - Add support for Android Gradle plugin 3.3 and newer where `R` is no longer generated as Java source. This has a side-effect of removing support for Android Gradle plugin 3.0.x (and older). - Use Java 8 bytecode for all artifacts as announced in RC1 release notes. - Fix: Allow `@BindFont` to work prior to API 26 using `ResourcesCompat`. - Fix: Update Android Gradle plugin to 3.1 or newer to fix binary incompatibilities. - Fix: Correct generated resource annotation names when running Turkish locale. - Fix: Use the application ID instead of the resource package for generating `R2`. - Cache the fact that a class hierarchy has no remaining bindings to prevent traversing the hierarchy multiple times. - Deprecated methods from 8.x have been removed. ### [`v8.8.1`](https://togithub.com/JakeWharton/butterknife/blob/HEAD/CHANGELOG.md#Version-881--2017-08-09-) [Compare Source](https://togithub.com/JakeWharton/butterknife/compare/8.8.0...8.8.1) - Fix: Properly emit casts for single-bound view subtypes when `butterknife.debuggable` is set to `false`. ### [`v8.8.0`](https://togithub.com/JakeWharton/butterknife/blob/HEAD/CHANGELOG.md#Version-880--2017-08-04-) [Compare Source](https://togithub.com/JakeWharton/butterknife/compare/8.7.0...8.8.0) - New: Processor option `butterknife.debuggable` controls whether debug information is generated. When specified as `false`, checks for required views being non-null are elided and casts are no longer guarded with user-friendly error messages. This reduces the amount of generated code for release builds at the expense of less friendly exceptions when something breaks. - Deprecate the `findById` methods. Compile against API 26 and use the normal `findViewById` for the same functionality. - Fix: Correct `@BindFont` code generation on pre-API 26 builds to pass a `Context` (not a `Resources`) to `ResourceCompat`. ### [`v8.7.0`](https://togithub.com/JakeWharton/butterknife/blob/HEAD/CHANGELOG.md#Version-870--2017-07-07-) [Compare Source](https://togithub.com/JakeWharton/butterknife/compare/8.6.0...8.7.0) - New: `@BindFont` annotation binds `Typeface` instances with an optional style. Requires support libraries 26.0.0-beta1 or newer. - New: `@BindAnim` annotation binds `Animation` instances. - New: Generate `R2` constants for animation, layout, menu, plurals, styles, and styleables. - Fix: Properly catch and re-throw type cast exceptions when method binding arguments do not match. ### [`v8.6.0`](https://togithub.com/JakeWharton/butterknife/blob/HEAD/CHANGELOG.md#Version-860--2017-05-16-) [Compare Source](https://togithub.com/JakeWharton/butterknife/compare/8.5.1...8.6.0) - Plugin was ported to Kotlin and updated to support future Android Gradle plugin versions. - Fix: Properly handle multiple library modules using Butter Knife and defining the same ID. - Fix: Use the same classloader of the binding target to load the generated view binding class. ### [`v8.5.1`](https://togithub.com/JakeWharton/butterknife/blob/HEAD/CHANGELOG.md#Version-851--2017-01-24-) [Compare Source](https://togithub.com/JakeWharton/butterknife/compare/8.5.0...8.5.1) - Fix: Tweak bundled ProGuard rules to only retain the two-argument constructor accessed via reflection. ### [`v8.5.0`](https://togithub.com/JakeWharton/butterknife/blob/HEAD/CHANGELOG.md#Version-850--2017-01-23-) [Compare Source](https://togithub.com/JakeWharton/butterknife/compare/8.4.0...8.5.0) - Emit `@SuppressLint` when using `@OnTouch` to avoid a lint warning. - Migrate lint checks from Lombok AST to JetBrains PSI. - Annotations are no longer claimed by the processor. - Based on the minimum SDK version (as specified by `butterknife.minSdk` until http://b.android.com/187527 is released) the generated code now changes to use newer APIs when available. - Generated classes now include single-argument overloads for `View`, `Activity`, and `Dialog` subclasses. - Generated classes are no longer generic. - Minimum supported SDK is now 9. ### [`v8.4.0`](https://togithub.com/JakeWharton/butterknife/blob/HEAD/CHANGELOG.md#Version-840--2016-08-26-) [Compare Source](https://togithub.com/JakeWharton/butterknife/compare/8.3.0...8.4.0) - New: `@BindFloat` annotation for dimensions whose format is of type 'float'. See the annotation for more information. - Generated constructors are now annotated with `@UiThread` and non-final, base classes `unbind()` methods are annotated with `@CallSuper`. ### [`v8.3.0`](https://togithub.com/JakeWharton/butterknife/blob/HEAD/CHANGELOG.md#Version-830--2016-08-23-) [Compare Source](https://togithub.com/JakeWharton/butterknife/compare/8.2.1...8.3.0) - New: Support for Jack compiler in application projects. - Fix: Generate ~20% less code and ~40% less methods. - Fix: Allow `@BindView` to reference types which are generated by other annotation processors. - Experimental: The generated view binding class can now be used directly. This allows ProGuard shrinking, optimization, and obfuscation to work without any rules being needed. For a class `Test`, the binding class will be named `Test_ViewBinding`. Calling its constructor will bind the instance passed in, and the create object is also the implementation of `Unbinder` that can be used to unbind the views. Note: The API of this generated code is subject to backwards-incompatible changes until v9.0. ### [`v8.2.1`](https://togithub.com/JakeWharton/butterknife/blob/HEAD/CHANGELOG.md#Version-821--2016-07-11-) [Compare Source](https://togithub.com/JakeWharton/butterknife/compare/8.2.0...8.2.1) - Fix: Do not emit `android.R` imports in generated code. - Fix: Ensure the processor does not crash when scanning for `R` classes. This can occur when used in a Kotlin project. ### [`v8.2.0`](https://togithub.com/JakeWharton/butterknife/blob/HEAD/CHANGELOG.md#Version-820--2016-07-10-) [Compare Source](https://togithub.com/JakeWharton/butterknife/compare/8.1.0...8.2.0) - New: Support for library projects. Requires application of a Butter Knife Gradle plugin. See README for details. - New: Generated code now emits `R` references instead of raw integer IDs. - Fix: `@OnPageChange` listener binding now uses the 'add'/'remove' methods on `ViewPager` instead of 'set'. ### [`v8.1.0`](https://togithub.com/JakeWharton/butterknife/blob/HEAD/CHANGELOG.md#Version-810--2016-06-14-) [Compare Source](https://togithub.com/JakeWharton/butterknife/compare/8.0.1...8.1.0) - New: Change the structure of generated view binders to optimize for performance and generated code. This should result in faster binding (not that it's slow) and a reduction of methods. - Fix: Call the correct method on `TextView` to unbind `@OnTextChanged` uses. - Fix: Properly handle package names which contain uppercase letters. ### [`v8.0.1`](https://togithub.com/JakeWharton/butterknife/blob/HEAD/CHANGELOG.md#Version-801--2016-04-27-) [Compare Source](https://togithub.com/JakeWharton/butterknife/compare/8.0.0...8.0.1) - Fix: ProGuard rules now prevent obfuscation of only types which reference ButterKnife annotations. - Eliminate some of the generated machinery when referenced from `final` types. ### [`v8.0.0`](https://togithub.com/JakeWharton/butterknife/blob/HEAD/CHANGELOG.md#Version-800--2016-04-25-) - `@Bind` becomes `@BindView` and `@BindViews` (one view and multiple views, respectively). - Calls to `bind` now return an `Unbinder` instance which can be used to `null` references. This replaces the `unbind` API and adds support for being able to clear listeners. - New: `@BindArray` binds `String`, `CharSequence`, and `int` arrays and `TypeArray` to fields. - New: `@BindBitmap` binds `Bitmap` instances from resources to fields. - `@BindDrawable` now supports a `tint` field which accepts a theme attribute. - The runtime and compiler are now split into two artifacts. ```groovy compile 'com.jakewharton:butterknife:8.0.0' apt 'com.jakewharton:butterknife-compiler:8.0.0' ``` - New: `apply` overloads which accept a single view and arrays of views. - ProGuard rules now ship inside of the library and are included automatically. - `@Optional` annotation is back to mark methods as being optional. ### [`v7.0.1`](https://togithub.com/JakeWharton/butterknife/blob/HEAD/CHANGELOG.md#Version-701--2015-06-30-) - Fix: Correct `ClassCastException` which occurred when `@Nullable` array bindings had missing views. ### [`v7.0.0`](https://togithub.com/JakeWharton/butterknife/blob/HEAD/CHANGELOG.md#Version-700--2015-06-27-) - `@Bind` replaces `@InjectView` and `@InjectViews`. - `ButterKnife.bind` and `ButterKnife.unbind` replaces `ButterKnife.inject` and `ButterKnife.reset`, respectively. - `@Optional` has been removed. Use `@Nullable` from the 'support-annotations' library, or any other annotation named "Nullable". - New: Resource binding annotations! - `@BindBool` binds an `R.bool` ID to a `boolean` field. - `@BindColor` binds an `R.color` ID to an `int` or `ColorStateList` field. - `@BindDimen` binds an `R.dimen` ID to an `int` (for pixel size) or `float` (for exact value) field. - `@BindDrawable` binds an `R.drawable` ID to a `Drawable` field. - `@BindInt` binds an `R.int` ID to an `int` field. - `@BindString` binds an `R.string` ID to a `String` field. - Fix: Missing views will be filtered out from list and array bindings. - Note: If you are using Proguard, the generated class name has changed from being suffixed with `$$ViewInjector` to `$$ViewBinder`.

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.



This PR has been generated by Mend Renovate. View repository job log here.