Skip to content
This repository has been archived by the owner on Jul 13, 2020. It is now read-only.

Releases: Kotlin/anko

Anko 0.10.8

09 Nov 14:59
@4u7 4u7
Compare
Choose a tag to compare

What's new

Kotlin 1.3.0 and kotlinx.coroutines 1.0.0

Anko 0.10.7

03 Oct 15:29
@4u7 4u7
Compare
Choose a tag to compare

What's new

This release has satellite with version number 0.10.7-rc13. It's built with Kotlin 1.3-RC3 and release kotlinx.coroutines 0.30.1-eap13. Please try it and feel free to provide any feedback.

  • Fixed "Bad lambda receiver type in verticalLayout's" #673
  • Satellite release 0.10.7-rc13

Anko 0.10.6

13 Sep 10:24
@4u7 4u7
Compare
Choose a tag to compare

What's new

This release has satellite with version number 0.10.6-eap13. It's built with Kotlin 1.3-M2 and release kotlinx.coroutines 0.26.0-eap13. Please try it and feel free to provide any feedback.

  • Satellite release 0.10.6-eap-13 with release kotlinx.coroutines
  • Libraries for Android 27 platform
  • Loads of unnecessary symbols marked deprecated for removal (#617)
  • Snackbar extensions with View receiver (#643)
  • Change Snackbar's message type from String to CharSequence (#655)

Anko 0.10.5

28 Apr 14:58
@4u7 4u7
Compare
Choose a tag to compare

What's new

  • Preview plugin compatibility with Android Studio 3.2 C12 & IDEA 181, Kotlin 1.2+ is required now
  • Theme attribute resolve for colors, dimensions and "raw" attributes (#144)
  • Shared prefs extensions (#531, #532)
  • doBeforeSdk helper function (#567)
  • Allow nullable values for intents in the support package (#520)
  • Anko SQLite: Support to foreign key constraint actions (#523)
  • XmlConverter: Do not fail with exception when id can't be rendered properly (#564)
  • XmlConverter: Function dp is unresolved after conversion (#563)

Anko 0.10.4

28 Dec 18:01
@4u7 4u7
Compare
Choose a tag to compare

What's new

Anko 0.10.3

22 Nov 14:31
@4u7 4u7
Compare
Choose a tag to compare

Bugfixes

  • Anko support plugin compatibility with Kotlin 1.1.60+
  • Fix Xml to Dsl converter (#370)
  • lparams for CollapsingToolbarLayout, now returns correct LayoutParams (#275, #269)
  • Context.clipboardManager now returns new ClipboardManager instead of deprecated one (#180)
  • Generate layout wrapper for CardView (#269, #357)
  • Fix ClassParser's Boolean parser when type is Long (#464)

Breaking Changes

  • Removed Dsl for classes from android.support.design.internal.* as they shouldn't be used outside of support library

Other Changes

  • TextInputEditText added to anko-design (#205)
  • Anko commons dialog extensions now accept CharSequence instead of String (#422)
  • Add start and end rules to RelativeLayout.LayoutParams extensions (#497)
  • Add allCaps and ems properties to TextView (#459)
  • Add snackbar helpers with indefinite duration (#454)
  • Allow nullable values in createIntent and startActivity (#465)
  • Add extensions for View::backgroundColorResource and TextView::textColorResource (#254)
  • Return ComponentName from startService methods (#435)
  • Allow alerts to be cancelable (#405)
  • Add intent helpers for stopping services (#509)
  • Return toast object in toast helper functions (#512)

Anko 0.10.2

17 Oct 18:38
@4u7 4u7
Compare
Choose a tag to compare

Changes

  • Fixed Anko Support IDE plugin compatibility with Android Studio 3.0 RC1
  • Fragment.indeterminateProgressDialog now shows indeterminate progress dialog instead of classic #487
  • Added methods for creating and dropping a index for SQLiteDatabase #472

Anko 0.10.1

31 May 13:44
Compare
Choose a tag to compare

Bugfixes:

  • Fix assertion in the Anko Support IDE plugin #387;
  • Update kotlinx.coroutines.android dependency (the old one fails to resolve in Android Studio 3.0) #381;
  • Fix inconsistency between hasNext() and next() in childrenRecursiveSequence() #388.

Anko 0.10

17 May 18:35
Compare
Choose a tag to compare

🐧 Notable changes:

  • Coroutines and DslMarker annotation support;
  • Anko Support IDE plugin updated for Android Studio 2.4.

All changes:

Breaking changes:

  • DslMarker annotation support (calling lparams() inside View blocks is finally forbidden);
  • DSL listeners moved to anko-<platformName>-listeners artifacts (e.g. anko-sdk25-listeners);
  • View blocks with the theme parameter renamed to themed…() to avoid disambiguation;
  • Removed AnkoLogger(clazz: KClass<*>) and AnkoLogger(obj: Any).

New API:

  • anko-<platformName>-coroutines (e.g. anko-sdk25-coroutines) artifacts with the new listener helpers with coroutines support;
  • bg() function that executes code in background (wrapper on top of kotlinx.coroutines);
  • AlertBuilder interface with core and appcompat implementations. AlertDialogBuilder is deprecated;
  • Snackbar helpers #203;
  • Dialog.find() method #351;
  • foreach() extensions for SparseArray #255;
  • Reified version for AnkoLogger (AnkoLogger<MyClass>());
  • isError and hasValue to AttemptResult.

Other changes:

  • Anko Support IDE plugin upated in order to support Android Studio 2.4;
  • Added meta-artifact org.jetbrains.anko:anko;
  • Added Anko Commons artifacts for Android support libraries (anko-support-v4-commons, anko-appcompat-v7-commons) #158;
  • New Android SDK target: sdk-25;
  • Updated Android Support library dependencies;
  • anko-common artifact renamed to anko-commons to reflect the naming changes. anko-common is deprecated;
  • ClassParser now accepts all primitive types #320;
  • Synthetic properties (such as act or ctx) are now inline;
  • lparams functions are now inline #338;
  • Removed TextView.enabled generated property #245;
  • Accessing setter-only property values is now forbidden.

Bugfixes:

  • Fix NoSuchMethodError on accessing act property from the support Fragment #311;
  • Fix compatibility with Proguard #235;
  • Require the relative view id to be set in RelativeView helpers #363.

0.10 Beta 2

22 Mar 13:34
Compare
Choose a tag to compare
0.10 Beta 2 Pre-release
Pre-release

Breaking changes:

  • DSL listeners moved to anko-<platformName>-listeners (e.g. anko-sdk15-listeners) artifacts;
  • The custom async() function introduced in 0.10.0-beta1 was removed (use async() from kotlinx.coroutines);
  • AnkoLogger(clazz: KClass<*>) and AnkoLogger(obj: Any) functions are removed;

Other changes:

  • anko-<platformName>-coroutines (e.g. anko-sdk15-coroutines) artifacts with the new listener helpers with coroutines support;
  • lparams functions are now inline #338;
  • bg() function that executes code in a background thread and returns Deferred<T>;
  • AnkoLogger now has the reified version: AnkoLogger<MyClass>();