Releases: socrates8300/mx20022
Releases · socrates8300/mx20022
v0.2.0
Changed
- Breaking: reduced the public API surface for validation and translation internals. These removals are intentional: the deleted items exposed customization hooks and helpers that were either unused, redundant with narrower APIs, or too low-level to support as stable public contracts.
RuleRegistry::validate_allwas removed. CallRuleRegistry::validate_field(value, path, rule_ids)with the explicit rule IDs that should apply to the field. This keeps validation deterministic and avoids running unrelated rules against arbitrary values.SchemaValidator::registry_mutandSchemaValidator::constraints_mutwere removed. Build validation through the supported constructors and field-level validation methods instead of mutating internal state after construction.ConstraintSet::for_pathis now crate-private. UseConstraintSet::validate_fieldorSchemaValidator::validate_fieldwhen checking values; downstream code should not depend on raw constraint lookup.mappings::helpers::bic_to_fi_idwas removed. Use the party-based mapping helpers when translating MT party data, or constructBranchAndFinancialInstitutionIdentification8directly when a caller already has a raw BIC.MtError::InvalidFieldTagwas removed. Field parser errors should use the existing parse and invalid-value variants that carry concrete field context.
Fixed
- Release workflow can now call the CI workflow because
.github/workflows/ci.ymlexposesworkflow_call.
Crates.io packages published manually before this release was created to avoid duplicate publish attempts from the tag workflow.