From 34fc0fe4c66d1ed28fb3d4ee5ea7e3781162952b Mon Sep 17 00:00:00 2001 From: Kyle Date: Tue, 24 Feb 2026 17:14:10 +0800 Subject: [PATCH] Update version marks to use framework version numbers Replace legacy RELEASE_YYYY format with actual framework versions in audit/verification comments (e.g. "Audited for 3.2.1" instead of "Audited for RELEASE_2021"). Also update Docs/Version.md with a proper mapping table. --- Docs/Version.md | 8 +++++--- .../Attribute/Attribute/AnyAttribute.swift | 2 +- .../OpenAttributeGraph/Attribute/Attribute/External.swift | 2 +- .../Attribute/Attribute/PointerOffset.swift | 2 +- .../OpenAttributeGraph/Attribute/Body/AttributeBody.swift | 2 +- .../Attribute/Body/ObservedAttribute.swift | 2 +- .../Attribute/Indirect/IndirectAttribute.swift | 2 +- .../Attribute/Optional/AnyOptionalAttribute.swift | 2 +- .../Attribute/Optional/OptionalAttribute.swift | 2 +- Sources/OpenAttributeGraph/Attribute/Rule/Focus.swift | 2 +- Sources/OpenAttributeGraph/Attribute/Rule/Map.swift | 2 +- Sources/OpenAttributeGraph/Attribute/Rule/Rule.swift | 6 +++--- .../OpenAttributeGraph/Attribute/Rule/StatefulRule.swift | 2 +- .../Attribute/RuleContext/AnyRuleContext.swift | 2 +- .../Attribute/RuleContext/RuleContext.swift | 2 +- Sources/OpenAttributeGraph/Graph/Graph.swift | 2 +- Sources/OpenAttributeGraph/Graph/Subgraph.swift | 2 +- Sources/OpenAttributeGraph/Runtime/CompareValues.swift | 2 +- Sources/OpenAttributeGraph/Runtime/Metadata.swift | 2 +- .../include/OpenAttributeGraph/OAGAttributeFlags.h | 2 +- 20 files changed, 26 insertions(+), 24 deletions(-) diff --git a/Docs/Version.md b/Docs/Version.md index 5124d40e..c3193cb5 100644 --- a/Docs/Version.md +++ b/Docs/Version.md @@ -1,5 +1,7 @@ # Version -RELEASE_2021 - iOS 15.5 - macOS 12.7.1 - -RELEASE_2023 - iOS 17.0 - macOS 14.0 +| Framework Version | iOS Version | macOS Version | Legacy Release Macro | +|-------------------|-------------|---------------|----------------------| +| 3.2.1 | 15.5 | 12.7.1 | RELEASE_2021 | +| 5.0.77 | 17.0 | 14.0 | RELEASE_2023 | +| 6.5.1 | 18.5 | 15.6 | RELEASE_2024 | diff --git a/Sources/OpenAttributeGraph/Attribute/Attribute/AnyAttribute.swift b/Sources/OpenAttributeGraph/Attribute/Attribute/AnyAttribute.swift index 2a25ee91..a6d584bc 100644 --- a/Sources/OpenAttributeGraph/Attribute/Attribute/AnyAttribute.swift +++ b/Sources/OpenAttributeGraph/Attribute/Attribute/AnyAttribute.swift @@ -2,7 +2,7 @@ // AnyAttribute.swift // OpenAttributeGraph // -// Audited for RELEASE_2021 +// Audited for 3.2.1 // Status: API complete public import OpenAttributeGraphCxx diff --git a/Sources/OpenAttributeGraph/Attribute/Attribute/External.swift b/Sources/OpenAttributeGraph/Attribute/Attribute/External.swift index e21295a9..4ab3a20f 100644 --- a/Sources/OpenAttributeGraph/Attribute/Attribute/External.swift +++ b/Sources/OpenAttributeGraph/Attribute/Attribute/External.swift @@ -2,7 +2,7 @@ // External.swift // OpenAttributeGraph // -// Audited for RELEASE_2021 +// Audited for 3.2.1 // Status: Complete @frozen diff --git a/Sources/OpenAttributeGraph/Attribute/Attribute/PointerOffset.swift b/Sources/OpenAttributeGraph/Attribute/Attribute/PointerOffset.swift index b0187102..3ebc6cfa 100644 --- a/Sources/OpenAttributeGraph/Attribute/Attribute/PointerOffset.swift +++ b/Sources/OpenAttributeGraph/Attribute/Attribute/PointerOffset.swift @@ -2,7 +2,7 @@ // PointerOffset.swift // OpenAttributeGraph // -// Audited for RELEASE_2021 +// Audited for 3.2.1 // Status: Complete @frozen diff --git a/Sources/OpenAttributeGraph/Attribute/Body/AttributeBody.swift b/Sources/OpenAttributeGraph/Attribute/Body/AttributeBody.swift index 774b02c3..306407ec 100644 --- a/Sources/OpenAttributeGraph/Attribute/Body/AttributeBody.swift +++ b/Sources/OpenAttributeGraph/Attribute/Body/AttributeBody.swift @@ -2,7 +2,7 @@ // _AttributeBody.swift // OpenAttributeGraph // -// Audited for RELEASE_2021 +// Audited for 3.2.1 // Status: Complete public import OpenAttributeGraphCxx diff --git a/Sources/OpenAttributeGraph/Attribute/Body/ObservedAttribute.swift b/Sources/OpenAttributeGraph/Attribute/Body/ObservedAttribute.swift index 7b573ca5..79c0c5b9 100644 --- a/Sources/OpenAttributeGraph/Attribute/Body/ObservedAttribute.swift +++ b/Sources/OpenAttributeGraph/Attribute/Body/ObservedAttribute.swift @@ -2,7 +2,7 @@ // ObservedAttribute.swift // OpenAttributeGraph // -// Audited for RELEASE_2021 +// Audited for 3.2.1 // Status: Complete public protocol ObservedAttribute: _AttributeBody { diff --git a/Sources/OpenAttributeGraph/Attribute/Indirect/IndirectAttribute.swift b/Sources/OpenAttributeGraph/Attribute/Indirect/IndirectAttribute.swift index ceb3ba6d..11d1e5ac 100644 --- a/Sources/OpenAttributeGraph/Attribute/Indirect/IndirectAttribute.swift +++ b/Sources/OpenAttributeGraph/Attribute/Indirect/IndirectAttribute.swift @@ -2,7 +2,7 @@ // IndirectAttribute.swift // OpenAttributeGraph // -// Audited for RELEASE_2021 +// Audited for 3.2.1 // Status: Complete @frozen diff --git a/Sources/OpenAttributeGraph/Attribute/Optional/AnyOptionalAttribute.swift b/Sources/OpenAttributeGraph/Attribute/Optional/AnyOptionalAttribute.swift index 20d80ce5..42e65420 100644 --- a/Sources/OpenAttributeGraph/Attribute/Optional/AnyOptionalAttribute.swift +++ b/Sources/OpenAttributeGraph/Attribute/Optional/AnyOptionalAttribute.swift @@ -2,7 +2,7 @@ // AnyOptionalAttribute.swift // OpenAttributeGraph // -// Audited for RELEASE_2021 +// Audited for 3.2.1 // Status: Complete @frozen diff --git a/Sources/OpenAttributeGraph/Attribute/Optional/OptionalAttribute.swift b/Sources/OpenAttributeGraph/Attribute/Optional/OptionalAttribute.swift index 104bc653..f656f6b7 100644 --- a/Sources/OpenAttributeGraph/Attribute/Optional/OptionalAttribute.swift +++ b/Sources/OpenAttributeGraph/Attribute/Optional/OptionalAttribute.swift @@ -2,7 +2,7 @@ // OptionalAttribute.swift // OpenAttributeGraph // -// Audited for RELEASE_2021 +// Audited for 3.2.1 // Status: Complete /// An optional attribute wrapper that may or may not contain a value. diff --git a/Sources/OpenAttributeGraph/Attribute/Rule/Focus.swift b/Sources/OpenAttributeGraph/Attribute/Rule/Focus.swift index 47a7c69a..76f0849e 100644 --- a/Sources/OpenAttributeGraph/Attribute/Rule/Focus.swift +++ b/Sources/OpenAttributeGraph/Attribute/Rule/Focus.swift @@ -2,7 +2,7 @@ // Focus.swift // OpenAttributeGraph // -// Audited for RELEASE_2021 +// Audited for 3.2.1 // Status: Complete /// A rule that focuses on a specific property of another attribute using KeyPath. diff --git a/Sources/OpenAttributeGraph/Attribute/Rule/Map.swift b/Sources/OpenAttributeGraph/Attribute/Rule/Map.swift index d598343d..72d1abd7 100644 --- a/Sources/OpenAttributeGraph/Attribute/Rule/Map.swift +++ b/Sources/OpenAttributeGraph/Attribute/Rule/Map.swift @@ -2,7 +2,7 @@ // Map.swift // OpenAttributeGraph // -// Audited for RELEASE_2021 +// Audited for 3.2.1 // Status: Complete // MARK: - Map diff --git a/Sources/OpenAttributeGraph/Attribute/Rule/Rule.swift b/Sources/OpenAttributeGraph/Attribute/Rule/Rule.swift index 4cdfa84d..d4c8515c 100644 --- a/Sources/OpenAttributeGraph/Attribute/Rule/Rule.swift +++ b/Sources/OpenAttributeGraph/Attribute/Rule/Rule.swift @@ -2,7 +2,7 @@ // _AttributeBody.swift // OpenAttributeGraph // -// Audited for RELEASE_2021 +// Audited for 3.2.1 // Status: Complete public import OpenAttributeGraphCxx @@ -65,7 +65,7 @@ extension Rule { public static func _update(_ pointer: UnsafeMutableRawPointer, attribute _: AnyAttribute) { let rule = pointer.assumingMemoryBound(to: Self.self) let value = rule.pointee.value - // Verified for RELEASE_2023 + // Verified for 5.0.77 withUnsafePointer(to: value) { value in Graph.setOutputValue(value) } @@ -75,7 +75,7 @@ extension Rule { guard let initialValue else { return } - // Verified for RELEASE_2023 + // Verified for 5.0.77 withUnsafePointer(to: initialValue) { value in Graph.setOutputValue(value) } diff --git a/Sources/OpenAttributeGraph/Attribute/Rule/StatefulRule.swift b/Sources/OpenAttributeGraph/Attribute/Rule/StatefulRule.swift index 8ca72d46..b0e07447 100644 --- a/Sources/OpenAttributeGraph/Attribute/Rule/StatefulRule.swift +++ b/Sources/OpenAttributeGraph/Attribute/Rule/StatefulRule.swift @@ -2,7 +2,7 @@ // StatefulRule.swift // OpenAttributeGraph // -// Audited for RELEASE_2021 +// Audited for 3.2.1 // Status: Complete public import OpenAttributeGraphCxx diff --git a/Sources/OpenAttributeGraph/Attribute/RuleContext/AnyRuleContext.swift b/Sources/OpenAttributeGraph/Attribute/RuleContext/AnyRuleContext.swift index fa533c2b..7aad07fe 100644 --- a/Sources/OpenAttributeGraph/Attribute/RuleContext/AnyRuleContext.swift +++ b/Sources/OpenAttributeGraph/Attribute/RuleContext/AnyRuleContext.swift @@ -2,7 +2,7 @@ // AnyRuleContext.swift // OpenAttributeGraph // -// Audited for RELEASE_2021 +// Audited for 3.2.1 // Status: Complete public import OpenAttributeGraphCxx diff --git a/Sources/OpenAttributeGraph/Attribute/RuleContext/RuleContext.swift b/Sources/OpenAttributeGraph/Attribute/RuleContext/RuleContext.swift index 2343107a..8a70c9a6 100644 --- a/Sources/OpenAttributeGraph/Attribute/RuleContext/RuleContext.swift +++ b/Sources/OpenAttributeGraph/Attribute/RuleContext/RuleContext.swift @@ -2,7 +2,7 @@ // RuleContext.swift // OpenAttributeGraph // -// Audited for RELEASE_2021 +// Audited for 3.2.1 // Status: Complete public import OpenAttributeGraphCxx diff --git a/Sources/OpenAttributeGraph/Graph/Graph.swift b/Sources/OpenAttributeGraph/Graph/Graph.swift index 796f211f..862e3a18 100644 --- a/Sources/OpenAttributeGraph/Graph/Graph.swift +++ b/Sources/OpenAttributeGraph/Graph/Graph.swift @@ -2,7 +2,7 @@ // Graph.swift // OpenAttributeGraph // -// Audited for RELEASE_2021 +// Audited for 3.2.1 // Status: WIP public import OpenAttributeGraphCxx diff --git a/Sources/OpenAttributeGraph/Graph/Subgraph.swift b/Sources/OpenAttributeGraph/Graph/Subgraph.swift index 4d2b952e..7780ed06 100644 --- a/Sources/OpenAttributeGraph/Graph/Subgraph.swift +++ b/Sources/OpenAttributeGraph/Graph/Subgraph.swift @@ -2,7 +2,7 @@ // Subgraph.swift // OpenAttributeGraph // -// Audited for RELEASE_2021 +// Audited for 3.2.1 // Status: WIP public import OpenAttributeGraphCxx diff --git a/Sources/OpenAttributeGraph/Runtime/CompareValues.swift b/Sources/OpenAttributeGraph/Runtime/CompareValues.swift index 9284ed77..364ce6fc 100644 --- a/Sources/OpenAttributeGraph/Runtime/CompareValues.swift +++ b/Sources/OpenAttributeGraph/Runtime/CompareValues.swift @@ -2,7 +2,7 @@ // CompareValues.swift // OpenAttributeGraph // -// Audited for RELEASE_2021 +// Audited for 3.2.1 // Status: Complete public import OpenAttributeGraphCxx diff --git a/Sources/OpenAttributeGraph/Runtime/Metadata.swift b/Sources/OpenAttributeGraph/Runtime/Metadata.swift index 020d8238..eafec06a 100644 --- a/Sources/OpenAttributeGraph/Runtime/Metadata.swift +++ b/Sources/OpenAttributeGraph/Runtime/Metadata.swift @@ -2,7 +2,7 @@ // Metadata.swift // OpenAttributeGraph // -// Audited for RELEASE_2021 +// Audited for 3.2.1 // Status: WIP public import OpenAttributeGraphCxx diff --git a/Sources/OpenAttributeGraphCxx/include/OpenAttributeGraph/OAGAttributeFlags.h b/Sources/OpenAttributeGraphCxx/include/OpenAttributeGraph/OAGAttributeFlags.h index be9b21c7..a34b124d 100644 --- a/Sources/OpenAttributeGraphCxx/include/OpenAttributeGraph/OAGAttributeFlags.h +++ b/Sources/OpenAttributeGraphCxx/include/OpenAttributeGraph/OAGAttributeFlags.h @@ -2,7 +2,7 @@ // OAGAttributeFlags.h // OpenAttributeGraphCxx // -// Audited for RELEASE_2021 +// Audited for 3.2.1 // Status: Complete #ifndef OAGAttributeFlags_h