Skip to content

Releases: Skeptick/libres

2.0.0-beta03

28 Jun 12:25

Choose a tag to compare

Changes since 2.0.0-beta02

Breaking changes and migration notes

  • Removed the libresGenerateStrings task.
    • Since the plugin now generates only string resources, keeping a separate strings generation task is no longer necessary. All resource generation is now handled by libresGenerateResources. If your build scripts reference libresGenerateStrings directly, switch them to libresGenerateResources.
    • This should also resolve task conflict issues with AGP and KSP.

Fixed

  • Fixed Android artifact build.

  • Fixed handling of Kotlin reserved words used as string names or string parameter names.

  • Fixed cases where generated internal property names could conflict with string names or string parameters.

  • Added validation for string parameter names, so invalid parameters are reported during generation instead of producing broken generated code.

2.0.0-beta02

27 Jun 18:00

Choose a tag to compare

Changes since 2.0.0-alpha03

Breaking changes and migration notes

  • Added support for BCP 47 localization tags. See README for details.

    • The plugin configuration parameter for the base locale was renamed from baseLocaleLanguageCode to baseLocaleTag.
  • Changed how the current locale is resolved on Android and iOS.

    • LibresSettings.languageCode was replaced with LibresSettings.setLocaleProvider(...).
    • See README for migration details.
  • Updated supported targets:

    • Added support for tvOS, watchOS, linux, mingw, and wasmWasi.
    • Extended js support with nodejs.
    • Extended wasmJs support with nodejs and d8.
    • Removed support for iosX64 and macosX64.
  • The libres-compose artifact has been fully removed.

Added

  • Added support for string-array resources. They work similarly to Android string-array resources.

  • Added the generateInternalResourceClasses plugin configuration parameter. When enabled, generated resource classes are created with the internal modifier.

Changed

  • Updated plural rules and added rules for cv, ie, kok, and sgs.

  • Updated toolchain versions:

    • Kotlin 2.4.0
    • Android Gradle Plugin 9.2.1

2.0.0-alpha03

15 Sep 12:59

Choose a tag to compare

2.0.0-alpha03 Pre-release
Pre-release
  • Added support for the com.android.kotlin.multiplatform.library plugin
  • Added the option to explicitly set the package name for generated resources:
libres {
    generatedClassPackageName = "com.example"
}
  • Updated Kotlin to 2.2.10

2.0.0-alpha02

17 Aug 09:29

Choose a tag to compare

2.0.0-alpha02 Pre-release
Pre-release
  • Added autogenerated plural rules for all languages
  • Removed dependencies on robovm (Android) and icu4j (JVM)
  • Removed the ability to manually set plural rules in Apple, JS, and WasmJS targets (PluralRules::set and PluralRules::get)

2.0.0-alpha01

09 Aug 14:14

Choose a tag to compare

2.0.0-alpha01 Pre-release
Pre-release
  • Removed image sharing support (see README for details)
  • Updated to Gradle 9.0.0 and Kotlin 2.2.0

1.2.4

09 Apr 12:37

Choose a tag to compare

  • Kotlin 2.1.20;
  • Compose Multiplatform 1.8.0-beta01;

1.2.3

24 Dec 02:40

Choose a tag to compare

  • WasmJS support
  • Gradle 8.11 support
  • Update libraries
    • AGP 8.7.3
    • Kotlin 2.1.0
    • Compose Multiplatform 1.7.3

1.2.2

04 Dec 20:21
4e0b76d

Choose a tag to compare

  • Update dependencies. Kotlin 1.9.20, Compose Multiplatform 1.5.10
  • Make bundle in generated iOS code lazy
  • Add LibresFormat prefix for generated string formatting classes
  • Add tvOS target

1.2.1

03 Dec 09:59
0715aa2

Choose a tag to compare

  • Fix CGBitmapContextCreate

1.2.0

27 Oct 11:12
5a01951

Choose a tag to compare

Fix image rendering in iOS 17