Releases: airbnb/paris
Releases · airbnb/paris
v1.2.1
- Updated KotlinPoet dependency to 1.0.0.
- Added
@RequiresApi
to style builder functions when appropriate.
v1.2.0
- Set Android version to 28.
- Migrated to AndroidX.
- Updated dependencies (ButterKnife, ConstraintLayout, Gradle, Kotlin, Mockito, Testing Compile).
- Fixed Samsung-specific crash related to
android:elevation
on Android version 19.
v1.1.0
- Updated the sample app.
- Annotations are now included in the "paris" artifact.
- New attribute support:
- View
android:backgroundTint
android:backgroundTintMode
android:layout_marginHorizontal
android:layout_marginVertical
- TextView
android:drawablePadding
android:fontFamily
android:inputType
android:hint
android:maxWidth
android:textStyle
- View
- Added support for null attribute values.
- Kotlin support:
- Extensions are now generated for styleable views as an alternative to calling
Paris…
. - Added support for
@Styleable
Kotlin classes.
- Extensions are now generated for styleable views as an alternative to calling
- Clarified various error messages.
- Bugs:
- Fixed password inputType + singleLine bug.
- Fixed precedence of margin and padding attribute.
- Fixed compound drawables not using intrinsic bounds.
v1.0.0
- Apply styles programmatically at any time.
- Combine multiple styles together.
- Create styles programmatically (as opposed to using XML).
- Use annotations to easily support custom attributes.
- Declare explicitly supported styles for your custom views.
- And much more...