- update to Dio 4.0.0
- update to equatable 2.0.3
- requires Dart 2.14 and Flutter 2.5.0
- code migrated to sound null safety
- make
Account
immutable
- support configuration params in
mjolnir-codegen.yaml
equatable
(false by default) - causes generated classes to be extending from Equatable
mjolnir_interface
(true by default) - causes generated classes to be implementing MjolnirObject
lookup_table
(true by default) - causes generated classes to have runtimeType to constructor lookup table
paranoid
(false by default) - adds extra resilience to wrong format and/or incorrect types in unparsed json
- fix
delete
method not working
- codegen fix to better handle array of strings
- expose
getClientSingletonLazy()
, allows retrieving global dio client
- expose underlying dio client via
mjolnirClient
method
- fix: UTF-8 content type needs to be lower case in transformer
- update to Dio 3.x and thus support Flutter Web
- fix smi is not a subtype of bool exception
- make content dynamic type
- include stacktrace in Mjolnir response
- add setContentJson
- plainJsonArray
- Change Map<String, dynamic> to Map<dynamic, dynamic>
- Expose parsed json response in
MjolnirResponse
_id
type for identifier fields
- ignore more lint options for reals now
- ignore some more lint options
- make RequestBuilder.listOf work properly
- allow setting custom client singleton
- generated classes now have const constructor and all final fields
- added
flutter packages pub run mjolnir:codegen
for automated code generation of domain classes