Skip to content

Commit af581ff

Browse files
committed
rename
Signed-off-by: Adam Gutglick <adam@spiraldb.com>
1 parent 85d3075 commit af581ff

4 files changed

Lines changed: 14 additions & 14 deletions

File tree

vortex/src/editions/core/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ pub mod v2025_05;
1010
pub mod v2025_06;
1111
pub mod v2025_10;
1212
pub mod v2026_07;
13-
pub mod v2026_08_1;
13+
pub mod v2026_08;
1414

1515
pub use v2025_05::CORE_2025_05_0;
1616
pub use v2025_06::CORE_2025_06_0;
1717
pub use v2025_10::CORE_2025_10_0;
1818
pub use v2026_07::CORE_2026_07_0;
19-
pub use v2026_08_1::CORE_2026_08_1;
19+
pub use v2026_08::CORE_2026_08;
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
// SPDX-License-Identifier: Apache-2.0
22
// SPDX-FileCopyrightText: Copyright the Vortex contributors
33

4-
//! The August 2026 core edition revision adding the canonical Map encoding.
4+
//! The August 2026 core edition adding the canonical Map encoding.
55
66
use vortex_edition::Edition;
77
use vortex_edition::EditionDeclaration;
88
use vortex_edition::EditionId;
99

10-
/// The August 2026 core edition revision containing canonical Map arrays.
11-
pub const CORE_2026_08_1: EditionId = EditionId::new("core", 2026, 8, 1);
10+
/// The August 2026 core edition containing canonical Map arrays.
11+
pub const CORE_2026_08: EditionId = EditionId::new("core", 2026, 8, 0);
1212

13-
/// The declaration of [`CORE_2026_08_1`] and the encodings that join the family at it.
13+
/// The declaration of [`CORE_2026_08`] and the encodings that join the family at it.
1414
pub static DECLARATION: EditionDeclaration = EditionDeclaration {
1515
edition: Edition {
16-
id: CORE_2026_08_1,
16+
id: CORE_2026_08,
1717
min_vortex_version: Some("0.84.0"),
1818
},
1919
added: &[&"vortex.map"],

vortex/src/editions/mod.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
//! policy with [`crate::editions::enable_default_editions`].
1010
//!
1111
//! The default file writer resolves the session's enabled editions at write time. The
12-
//! facade enables the newest frozen `core` edition, [`crate::editions::CORE_2026_08_1`], and
12+
//! facade enables the newest frozen `core` edition, [`crate::editions::CORE_2026_08`], and
1313
//! additionally enables the latest unstable edition when the `unstable_encodings` feature is
1414
//! selected.
1515
@@ -33,14 +33,14 @@ pub use self::core::CORE_2025_05_0;
3333
pub use self::core::CORE_2025_06_0;
3434
pub use self::core::CORE_2025_10_0;
3535
pub use self::core::CORE_2026_07_0;
36-
pub use self::core::CORE_2026_08_1;
36+
pub use self::core::CORE_2026_08;
3737
pub use self::unstable::UNSTABLE_2025_05_0;
3838
pub use self::unstable::UNSTABLE_2026_02_0;
3939
pub use self::unstable::UNSTABLE_2026_04_0;
4040
pub use self::unstable::UNSTABLE_2026_06_0;
4141

4242
/// The `core` edition enabled for writing by the default Vortex session.
43-
pub const DEFAULT_CORE_EDITION: EditionId = CORE_2026_08_1;
43+
pub const DEFAULT_CORE_EDITION: EditionId = CORE_2026_08;
4444

4545
/// The `unstable` edition enabled for writing by the default Vortex session when the
4646
/// `unstable_encodings` feature is selected.
@@ -52,7 +52,7 @@ pub static EDITION_DECLARATIONS: &[&EditionDeclaration] = &[
5252
&core::v2025_06::DECLARATION,
5353
&core::v2025_10::DECLARATION,
5454
&core::v2026_07::DECLARATION,
55-
&core::v2026_08_1::DECLARATION,
55+
&core::v2026_08::DECLARATION,
5656
&unstable::v2025_05::DECLARATION,
5757
&unstable::v2026_02::DECLARATION,
5858
&unstable::v2026_04::DECLARATION,

vortex/src/editions/tests.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ use vortex_utils::aliases::hash_set::HashSet;
3939

4040
use super::CORE_2025_05_0;
4141
use super::CORE_2026_07_0;
42-
use super::CORE_2026_08_1;
42+
use super::CORE_2026_08;
4343
use super::DEFAULT_CORE_EDITION;
4444
use super::DEFAULT_UNSTABLE_EDITION;
4545
use super::EDITION_DECLARATIONS;
@@ -139,7 +139,7 @@ fn encodings_in_editions_unions_families() {
139139
fn earlier_editions_are_subsets() {
140140
let session = session().unwrap_or_else(|e| panic!("registering editions: {e}"));
141141
let first = session.encodings_in(&CORE_2025_05_0);
142-
let latest = session.encodings_in(&CORE_2026_08_1);
142+
let latest = session.encodings_in(&CORE_2026_08);
143143
assert!(first.iter().all(|inclusion| {
144144
latest
145145
.iter()
@@ -170,7 +170,7 @@ fn core_edition_ids_are_registered_array_encodings() {
170170

171171
let session = VortexSession::default();
172172
let registry = session.arrays().registry().clone();
173-
for inclusion in session.editions().encodings_in(&CORE_2026_08_1) {
173+
for inclusion in session.editions().encodings_in(&CORE_2026_08) {
174174
assert!(
175175
registry.contains_key(&inclusion.encoding_id),
176176
"{} is declared in core but not registered as an array encoding",

0 commit comments

Comments
 (0)