Skip to content

Latest commit

 

History

History
120 lines (77 loc) · 4.56 KB

CHANGELOG.md

File metadata and controls

120 lines (77 loc) · 4.56 KB

Change Log

Badges: [UPDATED], [FIXED], [NEW], [DEPRECATED], [REMOVED], [BREAKING]

1.3.0 - 2023-09-13

BOM Project

  • you can access bom project for Koin annotations with io.insert-koin:koin-annotations-bom, in the targeted version - by @arnaudgiuliani in c429eacc9da9151a656ec8f64e4e7efda4244bcb 8009a558c7af80184fc7d5a042b8e3dba1d2897d

Fixes

  • upgrade ksp/kotlin 1.9.10-1.0.13 by @arnaudgiuliani in cc91d15fa7d5be82d43a5c1b5301dde13c10438f
  • Fix compiler warning issue #79 by @hoc081098 in #90

New Features

  • Constructor with default arguments by @damianogiusti PR #74 @arnaudgiuliani in #91
  • Unlock Kotlin/JS support by @arnaudgiuliani in 6de014b1e2065e7e6a8a4dd193e83eda666a2602
  • [Experimental] Compile time safety - check Koin configuration at compile time by @arnaudgiuliani in 25bd81b9564f450c2db3b53cf1edefc50c9c9041 9f28710f919de9771b04b853d0fbe2935a7fcbf5 95b9d8465cdefe8205208e574d1c17a6bd215c74 e1d574fce6b93737ca49cb2a02206b623a123cae
  • Allow to tag a parameter with @ScopeId to specify a parameter resolved in given scope by @arnaudgiuliani in 1fd7ac9f72aabc016f41b5e35d9ee8a2d7d27349

Documentation

  • Compile time safety options doc - by @arnaugiuliani in 704a55a8113063e98bdab7f89fb9da50944e3088
  • Update Koin annotations doc to explicit scope usage - by @arnaudgiuliani in 27913de4f965c12ba802eab3713caf63c30e1df9

Thanks to Contributors

  • @arnaudgiuliani made their first contribution in #85
  • @hoc081098 made their first contribution in #90

Full Changelog: https://github.com/InsertKoinIO/koin-annotations/compare/1.2.2...1.3.0

1.2.2 - 2023-06-05

  • [FIXED] - Fix createOnStart single generation - Fix #84

1.2.1 - 2023-05-31

  • [FIXED] - Fix generation of empty qualifier. Also fix using worker API
  • [FIXED] - Fix code generation from using KSP containgFile?.packageName but use packageName direclty - Fixes #78
  • [FIXED] - Allow to force empty bidings with binds = [] in annotation, to avoid using default bdindings proposed by Koin - Fixes #82
  • [FIXED] - Code generation more complete to allow to use explicit API compilation mode - Fixes #21
  • [FIXED] - Code generation allowed for empty module (Will generate Module class code) - Fixes #80
  • [UPDATED] - Use Unit as default parameter - PR #81 - Thanks @jakoss
  • [UPDATED] - Kotlin 1.8.21
  • [UPDATED] - Google KSP 1.8.21-1.0.11
  • [NEW] - Added @KoinWorker annotation to declare a Android worker definition
  • [NEW] - Allow to declare a pure function as a component with definition annotation on it. It will alocated to the nearest module definition. For example:
@Single
fun createMyOtherComponent(i: MyInterfaceExt) = MyOtherComponent(i)
  • [FIXED] - fix #70 - interface forbidden package name
  • [FIXED] - fix #66 #67 - KSP Multiple round PR merge + Code clean
  • [UPDATED] - Update Lib Koin 3.3.3
  • [UPDATED] - Kotlin 1.7.21
  • [UPDATED] - Google KSP 1.7.21-1.0.8
  • [UPDATED] - Update Lib Koin 3.3.1
  • [FIXED] - Added macosArm64 Target
  • [REMOVED] - JS support, as array is not supported yet in annotations
  • [UPDATED] - Multiple Round Processing PR #62
  • [FIXED] - Import Module package generation is now fixed
  • [NEW] - Detect injection of List, to generate getAll<A>
  • [NEW] - Detect injection of Lazy, to generate inject<A>
  • [FIXED] - Module visibility is now fixed from PR #63
  • [UPDATED] - Koin 3.2.2
  • [UPDATED] - KSP 1.6.21-1.0.6
  • [MERGED] - Gradle KSP Config for Android #39
  • [FIXED] - KMM compatible File generation #51, #41, #8, #20
  • [FIXED] - File Path generation #42, #40
  • [FIXED] - Fixed ViewModel code Generation
  • [FIXED] - Module Header generation
  • [FIXED] - Allow same name of Module, but different package - #14 #16
  • [FIXED] - Allow collocated module independant of @ComponentScan annotation
  • [ADDED] - @ComponentScan annotation scan check (avoid double declaration)
  • [FIXED] - Generating right package type with bind - #7
  • [FIXED] - Remove useless dependency with test-junit - #6
  • [FIXED] - Generate right StringQualifier import - #5
  • first public version