Anko Versions Save

Pleasant Android application development

v0.10.8

5 years ago

What's new

Kotlin 1.3.0 and kotlinx.coroutines 1.0.0

v0.10.7

5 years ago

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

v.0.10.6

5 years ago

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)

v0.10.5

5 years ago

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)

v0.10.4

6 years ago

What's new

v0.10.3

6 years ago

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)

v0.10.2

6 years ago

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

v0.10.1

6 years ago

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.

v0.10

6 years ago

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

v0.10.0-beta2

7 years ago

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>();