|
1 | 1 | // SPDX-License-Identifier: Apache-2.0 |
2 | 2 | // SPDX-FileCopyrightText: Copyright the Vortex contributors |
3 | 3 |
|
4 | | -//! The second `core` edition: the container and compressed encodings. |
| 4 | +//! The `core` edition adding stable encodings released through July 2026. |
5 | 5 |
|
6 | 6 | use vortex_edition::Edition; |
7 | 7 | use vortex_edition::EditionDeclaration; |
8 | 8 | use vortex_edition::EditionId; |
9 | 9 |
|
10 | | -/// The second `core` edition: inherits everything in |
11 | | -/// [`CORE_2026_01_0`](super::v2026_01::CORE_2026_01_0) and adds the container and |
12 | | -/// compressed encodings the default file writer emits. A draft until the release shipping |
13 | | -/// it is published and its version is recorded. |
| 10 | +/// The July 2026 edition of the `core` family. |
14 | 11 | pub const CORE_2026_07_0: EditionId = EditionId::new("core", 2026, 7, 0); |
15 | 12 |
|
16 | 13 | /// The declaration of [`CORE_2026_07_0`] and the encodings that join the family at it. |
17 | 14 | pub static DECLARATION: EditionDeclaration = EditionDeclaration { |
18 | 15 | edition: Edition { |
19 | 16 | id: CORE_2026_07_0, |
20 | | - min_vortex_version: None, |
| 17 | + min_vortex_version: Some("0.65.0"), |
21 | 18 | }, |
22 | | - added: &[ |
23 | | - &"vortex.chunked", |
24 | | - &"vortex.constant", |
25 | | - &"vortex.dict", |
26 | | - &"vortex.masked", |
27 | | - &"vortex.sparse", |
28 | | - &"vortex.alp", |
29 | | - &"vortex.alprd", |
30 | | - &"vortex.bytebool", |
31 | | - &"vortex.datetimeparts", |
32 | | - &"vortex.decimal_byte_parts", |
33 | | - &"vortex.fsst", |
34 | | - &"vortex.pco", |
35 | | - &"vortex.runend", |
36 | | - &"vortex.sequence", |
37 | | - &"vortex.zigzag", |
38 | | - &"vortex.zstd", |
39 | | - &"fastlanes.bitpacked", |
40 | | - &"fastlanes.delta", |
41 | | - &"fastlanes.for", |
42 | | - &"fastlanes.rle", |
43 | | - ], |
| 19 | + added: &[&"vortex.variant"], |
44 | 20 | }; |
45 | | - |
46 | | -#[cfg(test)] |
47 | | -mod tests { |
48 | | - use vortex_edition::EditionError; |
49 | | - use vortex_edition::test_harness::validate_edition; |
50 | | - |
51 | | - use super::CORE_2026_07_0; |
52 | | - use crate::editions::edition_session; |
53 | | - |
54 | | - #[test] |
55 | | - fn edition_is_valid() -> Result<(), EditionError> { |
56 | | - validate_edition(&edition_session(), &CORE_2026_07_0) |
57 | | - } |
58 | | -} |
0 commit comments