Skip to content

Release 0.10.0

Compare
Choose a tag to compare
@Alex009 Alex009 released this 05 May 16:42
· 1208 commits to master since this release
74b4dc3

Changes

  • #18 resources on ios now available with static framework
  • #58 fix generation of actual implementations with different sourcesets configs
  • #48 nested modules now can have resources and it will work on both platforms
  • #44 added FileResource for any format files passed into resources/MR/files - on android it will be raw resource, on iOS - just file in bundle
  • #50 project updated to gradle 6.3
  • #59 added support of multiple strings.xml / plurals.xml
  • #60 fix camelCase in android non filebased resources
  • #61 now export not required for iOS
  • #62 StringDesc now interface and can be extended from outside of library

Migration

StringDesc now not sealed class, so we should import extension functions, which create required implementation. To migrate do:

  1. autoreplace import dev.icerock.moko.resources.desc.StringDesc to import dev.icerock.moko.resources.desc.*
  2. optimize imports (to remove duplicates and star import)

On android for strings and plurals now allowed camelCase name generation, so if you use generated android resources (not MR but R class) and you name resources in camelCase now keys in R will be with camelCase, not lowercase.

StringDesc. LocaleType.System now objects, not class, so use autoreplace LocaleType.System() to LocaleType.System