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

Releases: Kotlin/anko

0.10 Beta 1

06 Mar 19:19
Compare
Choose a tag to compare
0.10 Beta 1 Pre-release
Pre-release

Anko 0.10 requires Kotlin 1.1.
Repository: https://bintray.com/jetbrains/anko/anko/0.10.0-beta-1

Breaking changes:

  • View DSL functions that accept the theme parameter are renamed to themed…() to avoid disambiguation;
  • DslMarker support (lparams inside the View lambda are now forbidden);

Other changes:

  • Add anko-coroutines artifact with the Kotlin 1.1 coroutines support (async / bg);
  • New Android SDK target: sdk-25;
  • Android Support library dependencies updated;
  • AlertBuilder interface with core and app-compat implementations. AlertDialogBuilder is deprecated;
  • ClassParser now accepts all primitive types #320;
  • New artifacts: anko-support-v4-common and anko-appcompat-v7-common (with basic helpers, without the DSL functionality) #158;
  • Synthetic properties (such as act or ctx) are now inline;
  • TextView.enabled generated property is removed #245;
  • Accessing setter-only property values is forbidden;
  • SAM View listener setter functions are now inline;
  • Add isError and hasValue to AttemptResult;
  • Fix NoSuchMethodError on accessing act property from the support Fragment #311.

Anko 0.9.1

15 Feb 20:27
Compare
Choose a tag to compare
Anko 0.9.1 Pre-release
Pre-release
  • Allow to use AnkoLogger as an instance #262;
  • FOREIGN_KEY now returns Pair<String, SqlType> #258 #219;
  • Fix SparseArray as sequence returns list which doesn't match its size #243 #240;
  • Allow ManagedSQLiteOpenHelper to accept null for database name #228;
  • Fix ProGuard warning (can't find referenced method 'int getThemeResId()' in library class android.view.ContextThemeWrapper). #206;
  • Add LayoutParams.baselineOf() #213;
  • Allow nullable values in intentFor #211;
  • Migrate Anko build to Gradle.

Anko 0.9

09 Jun 22:32
Compare
Choose a tag to compare
Anko 0.9 Pre-release
Pre-release
  • Update to Kotlin 1.0.2 and IDEA 2016.1 #161 #177;
  • Support styles in DSL #16 #143;
  • Add KDoc comments for most of Anko utilities #168;
  • Rename async() to doAsync(), onUiThread() to runOnUiThread() for Fragment and Context;
  • Add AnkoAsyncContext.onComplete() #181;
  • uiThread() now returns false if code was not executed;
  • Ability to add an exception handler to doAsync() #182;
  • Add newTask parameter to browse() #186;
  • Add sendSMS() #171;
  • Add makeStyle() #132;
  • Add Activity.contentView property #157;
  • Add horizontalProgressBar() #23;
  • Add doFromSdk() and doIfSdk() #118;
  • Add alignStart() and alignEnd() to RelativeLayout.LayoutParams extensions;
  • AlertDialogBuilder: make the dialog property public #140;
  • Add okButton(), yesButton(), cancelButton(), noButton() to AlertDialogBuilder;
  • Add nullable values to SQLite helpers #154;
  • Add editText() with input constraints #25;
  • Add attempt() #182;
  • Change semantics of Intent.clearTask() and similar functions, now add flags, not set (replace old) #173;
  • Rename forEachReversed to forEachReversedByIndex();
  • Rename style() to applyRecursively();
  • Allow the database to be pluggable for query builders #187;
  • Fix NOT_NULL SQL type modifier #175;
  • Fix startActivityForResult called on wrong object (for Fragments) #76;
  • Fix include doesn't set LayoutParams from the XML #149;
  • View.backgroundDrawable is nullable now #169;
  • classParser has always not accessible constructor #136 #145.

Anko 0.8.3

02 Mar 18:28
Compare
Choose a tag to compare
Anko 0.8.3 Pre-release
Pre-release

Built for Kotlin 1.0.

  • Remove deprecated android.support.v4.Fragment.addView() function.

Anko 0.8.2

04 Feb 14:21
Compare
Choose a tag to compare
Anko 0.8.2 Pre-release
Pre-release

Built for Kotlin 1.0 RC.

  • forEachChild(), forEachChildWithIndex(), firstChild(), firstChildOrNull() are inlined now #134;
  • Int.withAlpha #125;
  • ContextWrapper is now supported by AnkoContext;
  • Anko library size and method count was slightly reduced.

Anko 0.8.1

10 Dec 12:31
Compare
Choose a tag to compare
Anko 0.8.1 Pre-release
Pre-release

Built for Kotlin Beta 3 (1.0.0-beta-3595).

  • SQLite helpers are moved to anko-sqlite artifact;
  • Fixed "Implicit setContentView in onCreate doesn't work in 0.8" #114;
  • Fixed "Anko DSL Preview plugin 0.8 crashes" #115;
  • Add intention: 0xffefefef.toInt()0xef.gray.opaque;
  • Add forEachChild(), firstChild(), firstChildOrNull() helpers.

Anko 0.8

01 Dec 19:08
Compare
Choose a tag to compare
Anko 0.8 Pre-release
Pre-release

Built for Koltin Beta 2 (1.0.0-beta-2423).

Changes:

  • AnkoComponent interface for writing reusable components (please see this example);
  • New DSL preview plugin: much more fast and stable 🚀;
  • Add TextView.gravity #96 and ImageView.imageResource #102 properties;
  • Cancel is the default negative button name #112;
  • Fix AnkoLogger.wtf;
  • Remove deprecated __dslAddView functions.

Anko 0.7.3

03 Nov 13:10
Compare
Choose a tag to compare
Anko 0.7.3 Pre-release
Pre-release

Built for Kotlin Beta Candidate (1.0.0-beta-1103).

Anko 0.7.2

23 Oct 02:29
Compare
Choose a tag to compare
Anko 0.7.2 Pre-release
Pre-release

Built for Koltin Beta Candidate.

Anko 0.7.1

02 Oct 09:07
Compare
Choose a tag to compare
Anko 0.7.1 Pre-release
Pre-release

Built for Koltin M14 (0.14.449).

Changes:

  • Allow getting MenuItems as a Sequence #86;
  • findOptional<T>();
  • An exception in DSL Preview plugin is fixed (Android Studio 1.4).