mifos-mobile
mifos-mobile copied to clipboard
Update butterKnifeVersion to v8.8.1
trafficstars
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| com.jakewharton:butterknife-compiler | 8.0.1 -> 8.8.1 |
||||
| com.jakewharton:butterknife | 8.0.1 -> 8.8.1 |
Release Notes
JakeWharton/butterknife
v8.8.1
- Fix: Properly emit casts for single-bound view subtypes when
butterknife.debuggableis set tofalse.
v8.8.0
- New: Processor option
butterknife.debuggablecontrols whether debug information is generated. When specified asfalse, 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
findByIdmethods. Compile against API 26 and use the normalfindViewByIdfor the same functionality. - Fix: Correct
@BindFontcode generation on pre-API 26 builds to pass aContext(not aResources) toResourceCompat.
v8.7.0
- New:
@BindFontannotation bindsTypefaceinstances with an optional style. Requires support libraries 26.0.0-beta1 or newer. - New:
@BindAnimannotation bindsAnimationinstances. - New: Generate
R2constants 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
- 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
- Fix: Tweak bundled ProGuard rules to only retain the two-argument constructor accessed via reflection.
v8.5.0
- Emit
@SuppressLintwhen using@OnTouchto 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.minSdkuntil 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, andDialogsubclasses. - Generated classes are no longer generic.
- Minimum supported SDK is now 9.
v8.4.0
- New:
@BindFloatannotation for dimensions whose format is of type 'float'. See the annotation for more information. - Generated constructors are now annotated with
@UiThreadand non-final, base classesunbind()methods are annotated with@CallSuper.
v8.3.0
- New: Support for Jack compiler in application projects.
- Fix: Generate ~20% less code and ~40% less methods.
- Fix: Allow
@BindViewto 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 namedTest_ViewBinding. Calling its constructor will bind the instance passed in, and the create object is also the implementation ofUnbinderthat 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
- Fix: Do not emit
android.Rimports in generated code. - Fix: Ensure the processor does not crash when scanning for
Rclasses. This can occur when used in a Kotlin project.
v8.2.0
- New: Support for library projects. Requires application of a Butter Knife Gradle plugin. See README for details.
- New: Generated code now emits
Rreferences instead of raw integer IDs. - Fix:
@OnPageChangelistener binding now uses the 'add'/'remove' methods onViewPagerinstead of 'set'.
v8.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
TextViewto unbind@OnTextChangeduses. - Fix: Properly handle package names which contain uppercase letters.
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 these updates again.
- [ ] If you want to rebase/retry this PR, click this checkbox.
This PR has been generated by Mend Renovate. View repository job log here.