Skip to content

Latest commit

 

History

History
126 lines (89 loc) · 5.79 KB

CHANGELOG.md

File metadata and controls

126 lines (89 loc) · 5.79 KB

Change Log

Anko 0.8.3 (2016-03-02)

Built for Kotlin 1.0.

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

Anko 0.8.2 (2016-02-04)

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 (2015-12-09)

Built for Koltin 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 (2015-12-01)

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

  • AnkoComponent interface for writing reusable components;
  • 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 (2015-11-02)

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

Anko 0.7.2 (2015-10-22)

Built for Kotlin Beta Candidate.

Anko 0.7.1 (2015-10-01)

Built for Kotlin M14 (0.14.449).

  • #86 New: Allow getting MenuItems as a Sequence.
  • New: Added findOptional<T> for View, Activity and Fragment.
  • Fix: An exception in DSL Preview plugin in Android Studio 1.4.

Anko 0.7 (2015-09-17)

Built for Kotlin M13 (0.13.1513).

  • Anko is now split to several components:
    • anko-common contains some basic helpers (such as async, toast or SQLite parsers). Does not contain any of view DSL).
    • anko-sdk15 (also 19, 21, 23) contains DSL bindings for the corresponding Android SDK version.
    • anko-support-v4, anko-appcompat-v7 and others - additional DSL bindings for the Android support library widgets.
  • #78 Changed async logic.
  • Most of extension properties for Views are removed because Kotlin now supports this seamlessly.
  • #74 New: Ability to iterate children views lazily using sequences.
  • #77 New: Extension functions for the optimized Android collections and arrays.
  • layoutParams property is renamed to lparams (due to the clash with View.getLayoutParams).

Anko 0.6.3 (2015-07-10)

Built for Kotlin M12.1 (0.12.613).

  • New: Tinted (appcompat) widgets support.
  • Deprecated extension properties for RSSurfaceView, RSTextureView, WebView are removed.
  • Intentions for Toast.makeText(...).show() and findViewById() in IDEA plugin.
  • #54 Fix: LayoutParams resolving for some widgets.
  • #60 Support more types in intentFor.
  • #65 Fix: AnkoLogger can't now be used as a delegate.
  • Fix: InterfaceWorkarounds fields.
  • DSL Preview plugin is updated to Robolectric 3.0 rc3.
  • DSL generator refactoring.

Anko 0.6.2 (2015-05-29)

Built for Kotlin M12 (0.12.200).

  • Sensible listener argument names.
  • Some listener arguments and properties are now not-null.
  • New: Added bundleOf function.
  • New: Added getBuilder in AlertDialogBuilder.
  • #42 New: Added Context.startService extension.
  • #46 Fix: IllegalArgumentException in AnkoLogger.
  • #44 Fix: Wrong return type for include.
  • #42 Fix: INTEGER SqlType instead of INT.
  • #31 Fix: Added withArguments for android.support.v4.Fragment.
  • #45 Fix: SingleColumnParser and ScalarColumnParser.
  • #38 Fix: SQLiteDatabase.dropTable signature.

Anko 0.6.1 (2015-05-06)

Built for Kotlin M11 (0.11.91.4).

  • #30 Fix: Arguments in intentFor.
  • #29 New: android.support.v4.app.Fragment.withArguments function.
  • #26 New: More extension properties (including emptyView for AdapterView).
  • #21 Fix: Supported String resources with progressDialog and indeterminateProgressDialog.

Anko 0.6 (2015-04-29)

Built for Kotlin M11 (0.11.91.2).

  • Breaking: package name change (kotlinx.android.anko → org.jetbrains.anko).
  • Breaking: new syntax for multi-method listeners.
  • New: Supported Configuration qualifiers.
  • New: Custom views creation.
  • New: Supported appcompat.v7 views and properties.
  • Top-level DSL functions for simple views are removed.
  • New: startActivityForResult, dimen extension functions.
  • New: uiThread property for Context and Fragment.

Anko 0.5 (2015-04-02)

Built for Koltin M11 (0.11.91.1).

  • Rebranding: Koan → Anko! ✨
  • Preview plugin is available for IntelliJ IDEA and Android Studio.