proto_annotations
Annotations to mark and configure business model classes for code generation of .proto and Dart mapper classes
7.0.2
39K downloads/mo
#1641 most downloaded on pub.dev
source
What this package is like to depend on
Last release 6 months ago
11 Feb 2026
Release timing varies
gaps range from 8 days to 9 months
Nearly every release is documented
notes for 33 of 34 stable releases
Nothing withdrawn
no release was ever pulled
5 years old
42 releases · first in 2021
7 releases in the last 12 months
see the full history below
Release timeline
42 releases · Mar 2021 to Feb 2026Releases
latest 42-
7.0.211 Feb 2026 -
7.0.111 Feb 2026Release notes
Open source →- FIX: more lax dependency restrictions to prevent conflicts.
2026-02-11
Changes
Packages with breaking changes:
- There are no breaking changes in this release.
Packages with other changes:
-
7.0.011 Feb 2026Release notes
Open source →- BREAKING FEAT: copyWith uses CopyValue for null properties.
2026-02-19
Changes
Packages with breaking changes:
- There are no breaking changes in this release.
Packages with other changes:
Release notes
Open source →Note: This release has breaking changes.
- BREAKING FEAT: Wellknown types handled by extensions.
-
6.2.109 Feb 2026 -
6.2.009 Feb 2026Release notes
Open source →- FEAT: deprecated copyWith in favor of integration with freezed.
2026-02-11
Changes
Packages with breaking changes:
- There are no breaking changes in this release.
Packages with other changes:
-
6.1.018 Nov 2025 -
6.0.019 Sep 2025Release notes
Open source →Note: This release has breaking changes.
- BREAKING FEAT: upgraded dependencies (analyzer to ^8.0.0).
-
5.0.009 May 2025Release notes
Open source →Note: This release has breaking changes.
- BREAKING FEAT: upgraded dependencies.
-
4.0.015 Dec 2024Release notes
Open source →- BREAKING FEAT: upgraded dependencies (analyzer to ^8.0.0).
2025-07-02
Changes
Packages with breaking changes:
Packages with other changes:
- There are no other changes in this release.
Release notes
Open source →Note: This release has breaking changes.
- BREAKING FEAT: Updated dependency of Decimal to ^3.1.0.
-
3.1.013 Mar 2024 -
3.0.117 Jun 2023 -
3.0.017 Jun 2023Release notes
Open source →- Graduate package to a stable release. See pre-releases prior to this version for changelog entries.
-
3.0.0-dev.708 Feb 2023 pre-release -
3.0.0-dev.605 Feb 2023 pre-releaseRelease notes
Open source →Note: This release has breaking changes.
- BREAKING FIX: Removed proto_services annotation.
-
3.0.0-dev.503 Feb 2023 pre-releaseRelease notes
Open source →Note: This release has breaking changes.
- BREAKING FIX: Removed proto_services annotation.
-
3.0.0-dev.402 Feb 2023 pre-release -
3.0.0-dev.330 Jan 2023 pre-release -
3.0.0-dev.227 Jan 2023 pre-releaseRelease notes
Open source →Note: This release has breaking changes.
- BREAKING FEAT: useWellKnownTypes split into useWellKnownWrappers, useWellKnownDuration and useWellKnownTimestamp.
-
3.0.0-dev.111 Jan 2023 pre-release -
3.0.0-dev.011 Jan 2023 pre-releaseRelease notes
Open source →Note: This release has breaking changes.
- BREAKING FEAT: Huge upgrade to proto_generator.
-
2.3.130 Jan 2023Nothing published for this version
-
2.3.020 Dec 2022 -
2.2.020 Dec 2022 -
2.1.221 Oct 2022 -
2.1.129 Mar 2022Release notes
Open source →- FIX: upserting locally remotely created entity.
2024-09-07
Changes
Packages with breaking changes:
- There are no breaking changes in this release.
Packages with other changes:
-
2.1.013 Mar 2022Release notes
Open source →Changes
- Moved source code repository from GitHub to GitLab
- Adopted Melos and GitLab as CI solution
- Changed license to MPL
Rationale for source code hosting change
The change from source code repository is in protest by this project's initial and main author with what he views as GitHub's extremely week response to the carnage going on in Ukraine by Russia. He would have expected at a minimum for any new business in Russia and Belarus to be suspended, which was incidentally GitLab's course of action.
-
2.0.718 Jan 2022Release notes
Open source →- Support for polymorphism.
Now
@Proto()and@MapProtohave a new property calledknownSubClasses. This is a list of types of subclasses of the type to which the annotation is applied. Each of these subclasses much also have the@Proto()and/or@MapProto()annotations respectively.By identifying the known subclasses,
toProto()andfromProto()methods become polymorphic. -
2.0.614 Jan 2022 -
2.0.514 Jan 2022 -
2.0.405 Jan 2022 -
2.0.305 Jan 2022Release notes
Open source →- Added "useProtoFieldNamingConventions" option to @Proto annotation
- Added "dateTimePrecision" option to @MapProto annotation
- Added "durationPrecision" option to @MapProto annotation
-
2.0.202 Jan 2022 -
2.0.120 Dec 2021 -
2.0.008 Oct 2021 -
1.1.630 Mar 2021 -
1.1.530 Mar 2021 -
1.1.427 Mar 2021 -
1.1.324 Mar 2021Release notes
Open source →- Removed deprecated nullableFieldsByDefault property from protoBase annotation
-
1.1.224 Mar 2021Release notes
Open source →- Removed deprecated nullableFieldsByDefault property from protoBase annotation
-
1.1.124 Mar 2021 -
1.1.024 Mar 2021 -
1.0.021 Mar 2021