model_factory 4.3.2 copy "model_factory: ^4.3.2" to clipboard
model_factory: ^4.3.2 copied to clipboard

Generate model boiler plate

Change Log #

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

2024-02-02 #

Changes #


Packages with breaking changes:

  • There are no breaking changes in this release.

Packages with other changes:

Packages with dependency updates only:

Packages listed below depend on other packages in this workspace that have had changes. Their versions have been incremented to bump the minimum dependency versions of the packages they depend upon in this project.

  • model_factory_generator - v4.3.2

model_factory - v4.3.2

  • FIX: dateTime to Utc.

4.3.2 #

  • FIX: dateTime to Utc.

2024-01-02 #

Changes #


Packages with breaking changes:

  • There are no breaking changes in this release.

Packages with other changes:

Packages with dependency updates only:

Packages listed below depend on other packages in this workspace that have had changes. Their versions have been incremented to bump the minimum dependency versions of the packages they depend upon in this project.

  • model_factory_generator - v4.3.1

model_factory - v4.3.1

  • FIX: register Map<String, dynamic>.

4.3.1 #

  • FIX: register Map<String, dynamic>.

2023-12-30 #

Changes #


Packages with breaking changes:

  • There are no breaking changes in this release.

Packages with other changes:


model_factory - v4.3.0

  • FEAT: added omitIfNull on encode toJson.

model_factory_generator - v4.3.0

  • FEAT: added omitIfNull on encode toJson.

4.3.0 #

  • FEAT: added omitIfNull on encode toJson.

2023-12-27 #

Changes #


Packages with breaking changes:

  • There are no breaking changes in this release.

Packages with other changes:


model_factory - v4.2.3

  • FIX: generated copyWith and no parameters constructor.

model_factory_generator - v4.2.3

  • FIX: generated copyWith and no parameters constructor.

4.2.3 #

  • FIX: generated copyWith and no parameters constructor.

2023-12-06 #

Changes #


Packages with breaking changes:

  • There are no breaking changes in this release.

Packages with other changes:


model_factory - v4.2.2

  • FIX: default value.

model_factory_generator - v4.2.2

  • FIX: default value.

4.2.2 #

  • FIX: default value.

2023-11-27 #

Changes #


Packages with breaking changes:

  • There are no breaking changes in this release.

Packages with other changes:

Packages with dependency updates only:

Packages listed below depend on other packages in this workspace that have had changes. Their versions have been incremented to bump the minimum dependency versions of the packages they depend upon in this project.

  • model_factory_generator - v4.2.1

model_factory - v4.2.1

  • FIX: return default Value.

4.2.1 #

  • FIX: return default Value.

2023-11-27 #

Changes #


Packages with breaking changes:

  • There are no breaking changes in this release.

Packages with other changes:


model_factory - v4.2.0

  • FEAT: added default value.

model_factory_generator - v4.2.0

  • FEAT: added default value.

4.2.0 #

  • FEAT: added default value.

2023-11-27 #

Changes #


Packages with breaking changes:

  • There are no breaking changes in this release.

Packages with other changes:

Packages with dependency updates only:

Packages listed below depend on other packages in this workspace that have had changes. Their versions have been incremented to bump the minimum dependency versions of the packages they depend upon in this project.

  • model_factory_generator - v4.1.7

model_factory - v4.1.7

  • FIX: error message.

4.1.7 #

  • FIX: error message.

2023-11-27 #

Changes #


Packages with breaking changes:

  • There are no breaking changes in this release.

Packages with other changes:

Packages with dependency updates only:

Packages listed below depend on other packages in this workspace that have had changes. Their versions have been incremented to bump the minimum dependency versions of the packages they depend upon in this project.

  • model_factory_generator - v4.1.6

model_factory - v4.1.6

  • FIX: returning empty list.

4.1.6 #

  • FIX: returning empty list.

2023-11-25 #

Changes #


Packages with breaking changes:

  • There are no breaking changes in this release.

Packages with other changes:


model_factory - v4.1.5

  • FIX: decode nullable.

model_factory_generator - v4.1.5

  • FIX: decode nullable.

4.1.5 #

  • FIX: decode nullable.

2023-11-25 #

Changes #


Packages with breaking changes:

  • There are no breaking changes in this release.

Packages with other changes:

Packages with dependency updates only:

Packages listed below depend on other packages in this workspace that have had changes. Their versions have been incremented to bump the minimum dependency versions of the packages they depend upon in this project.

  • model_factory_generator - v4.1.4

model_factory - v4.1.4

  • FIX: return null on empty string.

4.1.4 #

  • FIX: return null on empty string.

2023-11-25 #

Changes #


Packages with breaking changes:

  • There are no breaking changes in this release.

Packages with other changes:


model_factory - v4.1.3

  • FIX: improve nullable.

model_factory_generator - v4.1.3

  • FIX: improve nullable.

4.1.3 #

  • FIX: improve nullable.

2023-11-25 #

Changes #


Packages with breaking changes:

  • There are no breaking changes in this release.

Packages with other changes:

Packages with dependency updates only:

Packages listed below depend on other packages in this workspace that have had changes. Their versions have been incremented to bump the minimum dependency versions of the packages they depend upon in this project.

  • model_factory_generator - v4.1.2

model_factory - v4.1.2

  • FIX: improve adapters.

4.1.2 #

  • FIX: improve adapters.

2023-11-25 #

Changes #


Packages with breaking changes:

  • There are no breaking changes in this release.

Packages with other changes:


model_factory - v4.1.1

  • FIX: exceptions.

model_factory_generator - v4.1.1

  • FIX: exceptions.

4.1.1 #

  • FIX: exceptions.

2023-11-25 #

Changes #


Packages with breaking changes:

  • There are no breaking changes in this release.

Packages with other changes:


model_factory - v4.1.0

  • FEAT: added @pragma.

model_factory_generator - v4.1.0

  • FEAT: added @pragma.

4.1.0 #

  • FEAT: added @pragma.

2023-11-25 #

Changes #


Packages with breaking changes:

  • There are no breaking changes in this release.

Packages with other changes:


model_factory - v4.0.9

  • FIX: lint.

model_factory_generator - v4.0.9

  • FIX: lint.

4.0.9 #

  • FIX: lint.

2023-11-25 #

Changes #


Packages with breaking changes:

  • There are no breaking changes in this release.

Packages with other changes:


model_factory - v4.0.8

  • FIX: decode list.

model_factory_generator - v4.0.8

  • FIX: decode list.

4.0.8 #

  • FIX: decode list.

2023-11-24 #

Changes #


Packages with breaking changes:

  • There are no breaking changes in this release.

Packages with other changes:

Packages with dependency updates only:

Packages listed below depend on other packages in this workspace that have had changes. Their versions have been incremented to bump the minimum dependency versions of the packages they depend upon in this project.

  • model_factory_generator - v4.0.7

model_factory - v4.0.7

  • FIX: JsonAdapter.

4.0.7 #

  • FIX: JsonAdapter.

2023-11-24 #

Changes #


Packages with breaking changes:

  • There are no breaking changes in this release.

Packages with other changes:


model_factory - v4.0.6

  • FIX: decode encode.
  • FIX: tryDecode.

model_factory_generator - v4.0.6

  • FIX: decode encode.
  • FIX: tryDecode.

4.0.6 #

  • FIX: decode encode.
  • FIX: tryDecode.

2023-11-24 #

Changes #


Packages with breaking changes:

  • There are no breaking changes in this release.

Packages with other changes:


model_factory - v4.0.5

  • FIX: catch error.

model_factory_generator - v4.0.5

  • FIX: catch error.

4.0.5 #

  • FIX: catch error.

2023-11-24 #

Changes #


Packages with breaking changes:

  • There are no breaking changes in this release.

Packages with other changes:


model_factory - v4.0.4

  • FIX: encode.

model_factory_generator - v4.0.4

  • FIX: encode.

4.0.4 #

  • FIX: encode.

2023-11-24 #

Changes #


Packages with breaking changes:

  • There are no breaking changes in this release.

Packages with other changes:


model_factory - v4.0.3

  • FIX: list.

model_factory_generator - v4.0.3

  • FIX: list.

4.0.3 #

  • FIX: list.

2023-11-24 #

Changes #


Packages with breaking changes:

  • There are no breaking changes in this release.

Packages with other changes:


model_factory - v4.0.2

  • FIX: registration.

model_factory_generator - v4.0.2

  • FIX: registration.

4.0.2 #

  • FIX: registration.

2023-11-24 #

Changes #


Packages with breaking changes:

  • There are no breaking changes in this release.

Packages with other changes:


model_factory - v4.0.1

  • FIX: list.

model_factory_generator - v4.0.1

  • FIX: list.

4.0.1 #

  • FIX: list.

2023-11-24 #

Changes #


Packages with breaking changes:

Packages with other changes:

  • There are no other changes in this release.

model_factory - v4.0.0

  • BREAKING FEAT: introduct JsonAdapter.

model_factory_generator - v4.0.0

  • BREAKING FEAT: introduct JsonAdapter.

4.0.0 #

Note: This release has breaking changes.

  • BREAKING FEAT: introduct JsonAdapter.

2023-11-23 #

Changes #


Packages with breaking changes:

  • There are no breaking changes in this release.

Packages with other changes:


model_factory - v3.1.0

  • FEAT: change resolver output extension.

model_factory_generator - v3.1.0

  • FEAT: change resolver output extension.

3.1.0 #

  • FEAT: change resolver output extension.

2023-11-23 #

Changes #


Packages with breaking changes:

  • There are no breaking changes in this release.

Packages with other changes:


model_factory - v3.0.5

  • FIX: builder.

model_factory_generator - v3.0.5

  • FIX: builder.

3.0.5 #

  • FIX: builder.

2023-11-23 #

Changes #


Packages with breaking changes:

  • There are no breaking changes in this release.

Packages with other changes:


model_factory - v3.0.4

  • FIX: generated.

model_factory_generator - v3.0.4

  • FIX: generated.

3.0.4 #

  • FIX: generated.

2023-11-23 #

Changes #


Packages with breaking changes:

  • There are no breaking changes in this release.

Packages with other changes:


model_factory - v3.0.3

  • FIX: lint.

model_factory_generator - v3.0.3

  • FIX: lint.

3.0.3 #

  • FIX: lint.

2023-11-23 #

Changes #


Packages with breaking changes:

  • There are no breaking changes in this release.

Packages with other changes:


model_factory - v3.0.2

  • FIX: build.yaml.

model_factory_generator - v3.0.2

  • FIX: build.yaml.

3.0.2 #

  • FIX: build.yaml.

2023-11-23 #

Changes #


Packages with breaking changes:

  • There are no breaking changes in this release.

Packages with other changes:


model_factory - v3.0.1

  • FIX: build.yaml.

model_factory_generator - v3.0.1

  • FIX: build.yaml.

3.0.1 #

  • FIX: build.yaml.

2023-11-23 #

Changes #


Packages with breaking changes:

Packages with other changes:

  • There are no other changes in this release.

model_factory - v3.0.0

  • BREAKING FEAT: using sharedPartBuilder.

model_factory_generator - v3.0.0

  • BREAKING FEAT: using sharedPartBuilder.

3.0.0 #

Note: This release has breaking changes.

  • BREAKING FEAT: using sharedPartBuilder.

2023-11-21 #

Changes #


Packages with breaking changes:

  • There are no breaking changes in this release.

Packages with other changes:


model_factory - v2.5.6

  • FIX: gitignore.

model_factory_generator - v2.5.6

  • FIX: gitignore.

2.5.6 #

  • FIX: gitignore.

2023-11-21 #

Changes #


Packages with breaking changes:

  • There are no breaking changes in this release.

Packages with other changes:

Packages with dependency updates only:

Packages listed below depend on other packages in this workspace that have had changes. Their versions have been incremented to bump the minimum dependency versions of the packages they depend upon in this project.

  • model_factory_generator - v2.5.5

model_factory - v2.5.5

  • FIX: nullable datetime.

2.5.5 #

  • FIX: nullable datetime.

2023-11-02 #

Changes #


Packages with breaking changes:

  • There are no breaking changes in this release.

Packages with other changes:


model_factory - v2.5.4

  • FIX: toJson.

model_factory_generator - v2.5.4

  • FIX: toJson.

2.5.4 #

  • FIX: toJson.

2023-11-02 #

Changes #


Packages with breaking changes:

  • There are no breaking changes in this release.

Packages with other changes:


model_factory - v2.5.3

  • FIX: toJson.

model_factory_generator - v2.5.3

  • FIX: toJson.

2.5.3 #

  • FIX: toJson.

2023-11-02 #

Changes #


Packages with breaking changes:

  • There are no breaking changes in this release.

Packages with other changes:


model_factory - v2.5.2

  • FIX: toJson.

model_factory_generator - v2.5.2

  • FIX: toJson.

2.5.2 #

  • FIX: toJson.

2023-10-16 #

Changes #


Packages with breaking changes:

  • There are no breaking changes in this release.

Packages with other changes:

Packages with dependency updates only:

Packages listed below depend on other packages in this workspace that have had changes. Their versions have been incremented to bump the minimum dependency versions of the packages they depend upon in this project.

  • model_factory_generator - v2.5.1

model_factory - v2.5.1

  • FIX: double.

2.5.1 #

  • FIX: double.

2023-10-16 #

Changes #


Packages with breaking changes:

  • There are no breaking changes in this release.

Packages with other changes:


model_factory - v2.5.0

  • FEAT: tryConvert.

model_factory_generator - v2.5.0

  • FEAT: tryConvert.

2.5.0 #

  • FEAT: tryConvert.

2023-10-16 #

Changes #


Packages with breaking changes:

  • There are no breaking changes in this release.

Packages with other changes:


model_factory - v2.4.0

  • FEAT: improve with converters.

model_factory_generator - v2.4.0

  • FEAT: improve with converters.

2.4.0 #

  • FEAT: improve with converters.

2023-10-13 #

Changes #


Packages with breaking changes:

  • There are no breaking changes in this release.

Packages with other changes:


model_factory - v2.3.3

  • FIX: ignoring.

model_factory_generator - v2.3.3

  • FIX: ignoring.

2.3.3 #

  • FIX: ignoring.

2023-09-09 #

Changes #


Packages with breaking changes:

  • There are no breaking changes in this release.

Packages with other changes:


model_factory - v2.3.2

  • FIX: nullable.
  • FIX: generator for nullable.

model_factory_generator - v2.3.2

  • FIX: nullable.
  • FIX: generator for nullable.

2.3.2 #

  • FIX: nullable.
  • FIX: generator for nullable.

2023-08-25 #

Changes #


Packages with breaking changes:

  • There are no breaking changes in this release.

Packages with other changes:


model_factory - v2.3.1

  • FIX: annotation.

model_factory_generator - v2.3.1

  • FIX: annotation.

2.3.1 #

  • FIX: annotation.

2023-08-25 #

Changes #


Packages with breaking changes:

  • There are no breaking changes in this release.

Packages with other changes:


model_factory - v2.3.0

  • FEAT: exposes jsonfields.

model_factory_generator - v2.3.0

  • FEAT: exposes jsonfields.

2.3.0 #

  • FEAT: exposes jsonfields.

2023-08-25 #

Changes #


Packages with breaking changes:

  • There are no breaking changes in this release.

Packages with other changes:


model_factory - v2.2.1

  • FIX: don't expose alias field that not defined.

model_factory_generator - v2.2.1

  • FIX: don't expose alias field that not defined.

2.2.1 #

  • FIX: don't expose alias field that not defined.

2023-08-25 #

Changes #


Packages with breaking changes:

  • There are no breaking changes in this release.

Packages with other changes:


model_factory - v2.2.0

  • FEAT: added aliases.

model_factory_generator - v2.2.0

  • FEAT: added aliases.

2.2.0 #

  • FEAT: added aliases.

2023-08-25 #

Changes #


Packages with breaking changes:

  • There are no breaking changes in this release.

Packages with other changes:


model_factory - v2.1.0

  • FEAT: added list fields and get value dynamically.

model_factory_generator - v2.1.0

  • FEAT: added list fields and get value dynamically.

2.1.0 #

  • FEAT: added list fields and get value dynamically.

2023-08-24 #

Changes #


Packages with breaking changes:

  • There are no breaking changes in this release.

Packages with other changes:


model_factory - v2.0.1

  • FIX: generator.

model_factory_generator - v2.0.1

  • FIX: generator.

2.0.1 #

  • FIX: generator.

2023-08-24 #

Changes #


Packages with breaking changes:

Packages with other changes:

  • There are no other changes in this release.

model_factory - v2.0.0

  • BREAKING FEAT: changed generated extension to avoid conflict with other builder.

model_factory_generator - v2.0.0

  • BREAKING FEAT: changed generated extension to avoid conflict with other builder.

2.0.0 #

Note: This release has breaking changes.

  • BREAKING FEAT: changed generated extension to avoid conflict with other builder.

2023-06-22 #

Changes #


Packages with breaking changes:

  • There are no breaking changes in this release.

Packages with other changes:


model_factory - v1.6.0

  • FIX: dynamic nullable.
  • FEAT: update pubspec.
  • FEAT: added registerDefaultValue.

model_factory_generator - v1.4.0

  • FIX: dynamic nullable.
  • FEAT: update pubspec.

1.6.0 #

  • FIX: dynamic nullable.
  • FEAT: update pubspec.
  • FEAT: added registerDefaultValue.

1.5.0 #

  • FEAT: allow dynamic type.

1.4.6 #

  • FIX: JsonConverter.fromJson arg name.

1.4.5 #

  • FIX: generator.
  • FIX: register factories type.

1.4.4 #

  • PERF: improve generated code.

1.4.3 #

  • FIX: file name.

1.4.2 #

  • FIX: update pubspec.

1.4.1 #

  • FIX: update pubspec.

1.4.0 #

  • FIX: update pubspec description.
  • FIX: update template header.
  • FEAT: update generator.
  • FEAT: :.
  • FEAT: sort imports.

1.3.8 #

  • FieldParseException

1.3.7 #

  • ModelParseException.toString()

1.3.6 #

  • added fromJson and toJson in JsonKey

1.3.5 #

  • add ModelParseException

1.3.4 #

  • add modelDecode

1.3.3 #

  • add ignore, ignoreFromJson, ignoreToJson

1.3.1 #

  • clean up

1.3.0+1 #

  • clean up

1.3.0 #

  • clean up

1.2.2+1 #

  • fix conflicting deps version

1.2.2 #

  • fix conflicting deps version

1.2.1 #

  • fix deps version

1.2.0 #

  • added fromJson and toJson generator using @JsonSerializable and @JsonKey

1.1.8 #

  • improve deserialization

1.1.7 #

  • improve deserialization

1.1.6 #

  • return null if value is null

1.1.5 #

  • return null if key not exists

1.1.4 #

  • added List

1.1.3 #

  • fix output

1.1.2 #

  • fix auto convert list

1.1.1 #

  • auto convert list and map

1.1.0 #

  • Using build_runner instead of bin
  • flutter pub run build_runner build

1.0.2 #

  • Fix regex

1.0.1 #

  • Fix dateTime

1.0.0 #

  • Initial version.