Skip to content

Latest commit

 

History

History
248 lines (163 loc) · 14.9 KB

CHANGELOG.md

File metadata and controls

248 lines (163 loc) · 14.9 KB

Change Log

3.7.4 (2022-05-22)

View commits

Bugfix

  • Write-access exception #308
  • Nullable Types and Non Nullable Default Value Strategy #391
  • Repeating classes instead of making a relation between them! #381

Enhancement

  • auto determine nullable or not from json value optional null values #307
  • Does not detect nullable objects in some cases #379
  • Merging data classes of the same structure #390
  • Option to handle classes with same name #375

3.7.3 (2022-04-16)

View commits

Bugfix

  • (3.7.2)Throwable: Assertion failed: Write access is allowed inside write-action only #380
  • 特殊字符报错 #383
  • Fix Write access error when format json paste json/obtain json from net #378 (@wuseal)
  • Long values being generated as Int #295

Enhancement

  • optimize code builder & bugfix: when enable [Replace constructor parameters by member variables], the annotation not go to next line. #373 (@Nstd)

3.7.2 (2021-07-31)

View commits

Bugfix

  • Assertion failed: Write access is allowed inside write-action only #367
  • Text config always loss in Adavnced --> Extension Tab #371 (@wuseal)
  • 🐛 fix JsonSchema type error when refer to non-object definitions #368 (@TedZen)
  • Exception in JsonToKotlin 3.6.1 - AGP 4.1.2 #320

Enhancement

  • Optimize Extensions' UI #370 (@wuseal)
  • Update icon and project title picture for JsonToKotlinClass #363

Features

  • Support adding `Expose` Annotation for Gson by new Extension #366 (@wuseal)

3.7.1 (2021-06-30)

View commits

Bugfix

  • Crash Report : java.lang.IndexOutOfBoundsException: Empty list doesn't contain element at index 0. #353
  • Crash Report: java.lang.IllegalStateException: properties used kotlin classes size should be equal referenced classes size! #354
  • Strange crash (RuntimeException) #357

Features

  • Add internal modifier option(新增internal可见性选项) #347
  • Custom None nullable type in generated Kotlin data class #358
  • Add buildFromJson function into data class to build data class object from JSONObject #348

3.7.0 (2021-05-18)

View commits

Bugfix

  • Field value in Double format generates Int instead #334
  • Handling already escaped quotes \" with "Force init Default Value With Origin Json Value" checked #301
  • Not escaping kotlin keywords #290
  • Conflicting declarations #297
  • Latest plugin (3.6.0) throws IllegalArgument exception. #284

Enhancement

  • Add an option to switch autodetect JSONSchema #223
  • Generated Parcelable data class uses deprecated annotation from package android.parcel #335
  • Host library in jCenter #298
  • Create a demo project for `JsonToKotlinClass` Library usage #268
  • Release version 3.6.1 of the library #321

Features

  • Support no parameter constructor #291
  • class prefix support #322
  • provide a switch case for sending analytics #296

V3.6.1 (2020-03-25)

View commits

Bugfix

  • Wrong generation of data class #269
  • Generated model not matching JSON #241
  • java.lang.IllegalStateException: Can't generate Kotlin Data Class from a no JSON Object #243

Enhancement

  • JsonSchema doesn't generate class #222

Features

  • Generate Kotlin classes from JSON Schema #108
  • Useless `data` modifier #263

V3.6.0 (2020-03-19)

View commits

Bugfix

  • Using the Library #265
  • Moshi(CodeGen) and Keep annotation can't coexist #260

Enhancement

  • @keep 不支持androidx #244

Features

  • Library Support #258

V3.5.1 (2019-11-17)

View commits

Bugfix

  • java.io.FileNotFoundException: /Users/apple/Library/Caches/.jsontokotlin/actionInfo/1572435095855 (No such file or directory) #246

Features

  • Respect dot as a word separator #249
  • Making default values as values from Json with option to disable #84

V3.5.0 (2019-09-04)

View commits

Bugfix

  • a redundant comma appears after data class generated without sort by alphabet #225
  • json生成kotlin类出现错误格式 #224
  • fix kotlin data class file generate action doesn't works with interce… #238 (@wuseal)
  • fix an exception generate split class code with json: #236 (@wuseal)
  • fix #224 #237 (@wuseal)
  • PrefixSupport will go wrong if Property.name is empty #227
  • name.first() went wrong in Property.getCode() #218
  • 更新v3.4.0后用不了 #215

Enhancement

  • refactor JSON->Data Class Flow #233 (@wuseal)
  • Add filter to Prefix and Suffix input panel #226
  • Upgrade MakeKeywordNamedPropertyValidInterceptor to FinalKotlinDataClassWrapperInterceptor #219

Features

  • [Feature Request]Add an option that force primitive type to be non-nullable into Extensions Tab #234

V3.4.1 (2019-08-05)

View commits

V3.4.0 (2019-07-31)

View commits

Bugfix

  • java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 #195
  • The pattern of the property name needs to be checked #198
  • The pattern of the new kt file name needs to be checked #197
  • Generated Kotlin Data Class File Reference is Incorrect #193
  • While Looking into the issue, I ran into another bug. Please check. #136

Enhancement

  • Android Parcelable Support by Extension module #194
  • Ask/Notify about analytics explicitly #140

V3.3.0 (2019-06-30)

View commits

Bugfix

  • The property generate by "Auto Determine Nullable Or Not From JSON Value" is NotNullable,While I expect a Nullable property。 #170
  • the property type is not what i expect when some json property value is JsonNull. #173
  • Generated code is broken based on json. #176

Enhancement

  • Encrypting the data when reporting problematic JSON string? #142
  • Add an option for `kotlinx.serialization` #131
  • Please change the current code style to mine. Since the current is very terrible to read .... #169

Features

  • [Feature Request]Suffix appending behind of all class name #165
  • Add An Extension to add @Keep annotation to generated classes #146
  • [Feature request]Generate Kotlin Data class init with default value = null when it's property is nullable #152

v3.2.0 (2019-04-26)

View commits

V3.2.0 (2019-04-26)

View commits

v3.2.0-EAP (2019-04-22)

View commits

Bugfix

  • wu.seal.jsontokotlin.UnSupportJsonException: Unsupported Json String #122
  • File Already Exists #123
  • Json Format change the value of Json Content #130
  • Kotlin Data Class don't generated as expected #121
  • [Bug] Incorrect properties orders #119
  • java.lang.IllegalStateException: Not a JSON Array: #87
  • java.util.NoSuchElementException: Char sequence is empty. #114

Enhancement

  • Change Action tip #135
  • Folder .jsontokotlin in $HOME #139
  • refactored 'settings' to 'advanced' in Pop Up Dialog #127 (@SuuSoJeat)
  • Fix typo in README.md #129 (@codeteo)
  • Wrong background color with Darcula theme #109

V3.0.1 (2019-03-03)

View commits

Bugfix

  • java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 #89
  • please test this data -> repetition ->class #82
  • "Import statements" go after class declaration #83
  • JSON converstion not works as expected #90

Features

  • JSON input from file #76

V3.0.0 (2019-01-18)

View commits