Skip to content

Releases: airbnb/paris

v1.3.1

16 Dec 20:42

Choose a tag to compare

  • Fixed precedence of android:textAppearance attribute.
  • Fixed theme attributes not being applied through programmatic styles.

v.1.3.0

16 Jul 21:31

Choose a tag to compare

  • New attribute support:
    • View: android:layout_weight
    • TextView
      • android:line_height
      • android:text_appearance
  • Now using Kotlin nullable types in generated extension functions, rather than @Nullable.

v1.2.1

03 Jan 00:15

Choose a tag to compare

  • Updated KotlinPoet dependency to 1.0.0.
  • Added @RequiresApi to style builder functions when appropriate.

v1.2.0

07 Nov 00:38

Choose a tag to compare

  • 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

23 Oct 23:36

Choose a tag to compare

  • 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
  • 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.
  • 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

13 Apr 02:52

Choose a tag to compare

  • 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...