Skip to content

Releases: mirego/trikot

5.3.0

09 Jan 14:22
9b298e5
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 5.2.0...5.3.0

5.2.0

23 Oct 15:31
84d2154
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 5.1.0...5.2.0

v5.1.0

23 Oct 15:38
835b148
Compare
Choose a tag to compare

What's Changed

  • Fix Bluetooth iOS compile errors by @jpmartin in #188
  • [VMD-Flow Android] Add a VMDImage that allow custom loading and error placeholder composable by @js-bonin in #189
  • Update Ktor to 2.3.3 and Atomicfu to 0.22.0 by @thermech in #191

Full Changelog: 5.0.0...5.1.0

v5.0.0

27 Sep 15:28
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 4.5.0...5.0.0

v4.4.0

17 Jul 15:41
9913f6f
Compare
Choose a tag to compare

What's Changed

  • [VMD] Fix image sampling on android by @npresseault in #151
  • WIP: Rich Text Support to VMDTextViewModel by @laurentboileau in #149
  • [VMD] Fix binary compatiblity with Text Component Factory by @npresseault in #154
  • [VMD] Bind VMDImage with coil AsyncImage when complex placeholder is not required by @npresseault in #155
  • Trikot VMD iOS: Update Kingfisher required version to 7.6.2 by @laurentboileau in #156
  • [VMD-Compose] Fixed observe of a single field of a ViewModel without specifying an initial value explicitly. by @gbourassa in #158
  • [VMD-Compiler] When all fields of a viewmodel are annotated with @published, the generated base class won't be abstract by @gbourassa in #157
  • Lowering Android min SDK to 21 by @gbourassa in #159
  • [VMD] Fix observeAsState for instance properties by @npresseault in #161
  • Deprecate com.mirego.trikot.foundation.date in favor of kotlinx-datetime by @thermech in #162
  • Rename ImageResource to TrikotImageResource by @CharlesMcD in #163
  • Fix Android visual transformation offset mapping by @smatte in #164
  • [TrikotHttp] cachePolicy and followRedirects values were lost in HttpRequestPublisher by @hugolefrancois in #165
  • Bump node version by @npresseault in #167

v4.3.0

23 Mar 17:44
f635530
Compare
Choose a tag to compare

Updates

v4.1.0

19 Dec 21:41
5ad761f
Compare
Choose a tag to compare

Updates

  • Kotlin to 1.7.20
  • AtomicFu to 0.18.5
  • Jetpack Compose to 1.3.x
  • Ktor to 2.0.3
  • Kotlin Serialization to 1.4.1
  • Kotlin Wrappers extensions to 1.0.1-pre.459

v4.0.0

19 Dec 20:48
8c0e2a7
Compare
Choose a tag to compare

Breaking Changes

  • iOS/tvOS minimum deployment target is now 12.0
  • [datasources] Moved Trikot.Datasources to Trikot.Datasources.streams
    To migrate:
    • Update com.mirego.trikot:datasources:$trikot_version for com.mirego.trikot:datasources-streams:$trikot_version
    • Add export("com.mirego.trikot:datasources-core:$trikot_version")
  • [datasources-flow] New implementation that supports flows and coroutines
  • [VMD] Removed Modifier.fillMaxWidth in VMDLabeledComponent
    • UI using VMDCheckbox and VMDSwitch should add fillMaxWidth to the modifier
  • [VMD-flow] Removed Modifier.fillMaxWidth in VMDLabeledComponent
    • UI using VMDCheckbox and VMDSwitch should add fillMaxWidth to the modifier
  • [viewmodels] UIView extensions properties are now prefixed with "trikot" on iOS and tvOS
    • UIButton.buttonViewModel is now trikotButtonViewModel
    • UIImage.imageViewModel is now trikotImageViewModel
    • UILabel.labelViewModel is now trikotLabelViewModel
    • UIPicker.pickerViewModel is now trikotPickerViewModel
    • UISlider.sliderViewModel is now trikotSliderViewModel
    • UISwitch.toggleSwitchViewModel is now trikotToggleSwitchViewModel
    • UITextField.inputTextViewModel is now trikotInputTextViewModel
    • UITextView.labelViewModel is now trikotLabelViewModel
    • UIView.viewModel is now trikotViewModel
    • UIView.trikotViewModel() is now getTrikotViewModel()

Updates

  • [VMD/VMD-flow] Add a DSL in order to ease view model creation
  • [VMD/VMD-flow] Snackbar component
  • [VMD/VMD-flow] Add Picker component
  • [VMD/VMD-flow] Add callback to RemoteImage in VMDImage to know when the resource is loaded on Android
  • [VMD-flow] Provide a BasicTextField binding for android
  • [VMD-flow] Add support for use of FlowI18N in VMDComponents factory
  • [VMD-flow] Backport and fix some functionalities
    [VMD-flow] Improved handling of lifecycle on both android and iOS
  • [VMD-compiler] New Gradle plugin to generate declarative Viewmodels boilerplate code
  • [analytics] Add distinctAppId to the AnalyticsService
  • [datasources] Improvement to BaseHotDataSource
  • [datasources] Re-implement with flows and coroutines
  • [datasources-flow] Fix pending state while refreshing
  • [kword] Add support for dynamic framework resource lookup fallback

Fixes

  • [VMD] Fix Jetpack Compose progress views configuration propagation
  • [VMD/VMD-flow] Prevent crashing on too large bitmap in VMDImage on Android
  • [VMD-flow] Fix ButtonViewModel setAction staying subscribed
  • [VMD-flow] willChange and didChange need to be synchronous to work with the VMDAnimationContext.animationStack
  • [viewmodels] Add missing transformation on Android drawable
  • [bluetooth] Update Bluetooth permission requirements for Android depending on OS version
  • [bluetooth] Make toList conversion thread safe by cloning map before converting its values to list
  • [datasources-flow] Change delete/clear cache cancellation behavior