openapi_repository 3.4.5 copy "openapi_repository: ^3.4.5" to clipboard
openapi_repository: ^3.4.5 copied to clipboard

This package generates ListBloc and DataBloc using openapi_repository_annotations.

3.4.5 #

  • REFACTOR: update analyzer. (d0b47a59)
  • REFACTOR: move linter ignore in header. (ec1aa601)

3.4.4 #

  • FIX: do not show linter warning for generated files. (e254e3a4)

3.4.3 #

3.4.2 #

  • REFACTOR: remove not needed dependencies. (91f3a9bc)

3.4.1 #

  • Update a dependency to the latest release.

3.4.0 #

  • REFACTOR: remove flutter sdk dependencies. (94b26ba6)

3.3.0 #

  • REVERT(openapi_repository): use 5.x.x analyzer. (5fab225c)
  • FEAT(openapi_repository): expose interceptors getter in ApiRepository's template. (67ac2069)

3.2.1 #

  • Update a dependency to the latest release.

3.2.0 #

  • updated analyzer dependency and other dependencies

3.1.2 #

  • Update a dependency to the latest release.

3.1.1 #

  • REFACTOR: update dart sdk constraints. (43f7b54e)

3.1.0 #

  • FEAT: remove dioInterceptor field. (593f9368)

3.0.1 #

  • REFACTOR(openapi_repository): remove models. (7d034221)

[3.0.0] - 20 June 2023 #

  • Updated dependencies
  • Added compatibility with Dart 3
  • Changed class to mixin for repository. Previously it used to generate {repositoryName}Repository, now it generates{repositoryName}RepositoryMixin

[2.0.1] - 1 June 2023 #

  • Fixed using buildFor to replace hardcoded Openapi class.

[2.0.0] - 16 March 2023 #

  • Support providing and generating mixin with ListBloc/DataBloc.

[1.1.0] - 13 Jan 2023 #

  • Support providing and generating mixin with ListBloc/DataBloc.
@OpenapiRepository{
    blocMixins: [BlocMixin(SomeMixin)],
    ....
}

would now generate

class SomeListBloc extends ListCubit<SomeDataModel, SomeListFilter>
    with SomeRepository, SomeMixin

[1.0.2] - 26 Oct 2022 #

  • Upgraded analyzer to 5.2.0

[1.0.1] - 26 Aug 2022 #

  • Removed reloading DataBloc state after update operations

[1.0.0] - 17 Aug 2022 #

  • Initial version. Includes generation of ListBloc and DataBloc codes from OpenAPI repository.