a7p 1.2.4
a7p: ^1.2.4 copied to clipboard
A7P ballistic profile format — encode/decode, validation, and field constraints.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog,
and this project adheres to Semantic Versioning.
Generated from the repo root's CHANGELOG.md (the single source of truth,
including this package's full history — see that file's own header) by
scripts/ci/sync_changelogs.py — edit that file, not this one, then
regenerate.
Unreleased #
1.2.4 - 2026-07-16 #
Changed #
- Regenerated
lib/src/generated/a7p_schema.g.dartviascripts/compile.py— same annotation-onlyschema/a7p.schema.jsonchange asjs/above, no validation behavior changed (x-*keys are ignored byjson_schema).
1.2.3 - 2026-07-14 #
Fixed #
- Same
minLengthfix aspy/, regenerated intolib/src/generated/a7p_schema.g.dart
1.2.0 - 2026-07-08 #
Changed #
- Validation now runs against the shared
schema/a7p.schema.jsonvia thejson_schemapackage instead of hand-writtenA7pValidator/A7pFieldConstraintsrange checks — the schema is embedded as a generated Dart string constant (lib/src/generated/a7p_schema.g.dart, regenerated bypython scripts/compile.py --dart), since no standalone-codegen JSON Schema validator exists for Dart c_zero_distance_idxno longer bounds dynamically bydistances.length - 1; now the static 0–255 range, matchingpy/jsproto/profedit.protonow lives once at the repo root instead of a local copy underproto/
Added #
- Test suite (
test/a7p_validator_test.dart, 9 tests) covering real protobufPayloadobjects, including thec_idx201–254 gap andmvuniqueness - "Dimensions" table in
README.md(previously missing, unlikepy/js)
0.1.0 - 2026-07-05 #
First stable release, no changes from 0.1.0-beta.1.
0.1.0-beta.1 - 2026-07-04 #
Added #
A7pFile—.a7pbinary format encode/decode ([32-byte MD5 hex string][protobuf bytes])A7pValidator— profile field validationA7pFieldConstraints— per-field raw wire scale (fractionDigits) and independent UI display precision (uiFractionDigits)- Generated protobuf bindings (
lib/src/proto/) fromproto/profedit.proto bin/generate_proto.dart— regenerates the protobuf bindings; cross-platform replacement for the shell-basedprotocinvocation used in the original monorepo Makefile- Test suite (
test/a7p_field_constraints_test.dart) - CI workflow (
.github/workflows/ci.yml): analyze, format check, test (Linux/macOS/Windows), pub.dev dry-run jobs
Initial extraction from archerbc2_flutter/packages/a7p into a standalone
package.