Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
* AGS1 readers now require `StandardKeyMetadata::file_length` and reject missing or invalid lengths without falling back to a storage stat. AGS1-encrypted manifests, manifest lists, and Puffin files written by earlier development builds without this field must be rewritten using a build that can still read them before upgrading. This matches the Java client's read contract.
* `iceberg_catalog_loader::BoxedCatalogBuilder` has a new required method, `with_runtime`. Types implementing `CatalogBuilder` get it through the blanket impl; types implementing `BoxedCatalogBuilder` directly (for example, a wrapper around another `Box<dyn BoxedCatalogBuilder>`) must implement it, typically by forwarding the runtime to the builder they wrap.
* `Transaction::commit` now returns `ErrorKind::PreconditionFailed` for read-only tables (`Table::readonly()`, e.g. from `StaticTable::into_table` or `TableBuilder::readonly(true)`), including empty transactions, which previously returned the table unchanged. Java treats an empty transaction on a static table as a no-op.
* `iceberg_storage_opendal::OpenDalStorage` and its variants are now `#[non_exhaustive]`, and the `S3` and `Gcs` variants have a new `credential_provider` field. Code outside the crate can no longer build a variant with a struct literal or match the enum exhaustively: build storages with `OpenDalStorageFactory` instead, and add `..` to variant patterns and a wildcard arm to `match` expressions.

## [v0.10.1] - 2026-07-28

Expand Down
14 changes: 11 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

31 changes: 31 additions & 0 deletions crates/iceberg/public-api.txt
Original file line number Diff line number Diff line change
Expand Up @@ -810,11 +810,13 @@ pub async fn iceberg::io::FileIO::delete_prefix(&self, path: impl core::convert:
pub async fn iceberg::io::FileIO::delete_stream(&self, paths: impl futures_core::stream::Stream<Item = alloc::string::String> + core::marker::Send + 'static) -> iceberg::Result<()>
pub fn iceberg::io::FileIO::deserialize_all(bytes: &[u8]) -> iceberg::Result<Self>
pub async fn iceberg::io::FileIO::exists(&self, path: impl core::convert::AsRef<str>) -> iceberg::Result<bool>
pub fn iceberg::io::FileIO::has_credential_provider(&self) -> bool
pub fn iceberg::io::FileIO::new_input(&self, path: impl core::convert::AsRef<str>) -> iceberg::Result<iceberg::io::InputFile>
pub fn iceberg::io::FileIO::new_output(&self, path: impl core::convert::AsRef<str>) -> iceberg::Result<iceberg::io::OutputFile>
pub fn iceberg::io::FileIO::new_with_fs() -> Self
pub fn iceberg::io::FileIO::new_with_memory() -> Self
pub fn iceberg::io::FileIO::serialize_all(&self) -> iceberg::Result<alloc::vec::Vec<u8>>
pub fn iceberg::io::FileIO::without_credential_provider(&self) -> Self
impl core::clone::Clone for iceberg::io::FileIO
pub fn iceberg::io::FileIO::clone(&self) -> iceberg::io::FileIO
impl core::fmt::Debug for iceberg::io::FileIO
Expand All @@ -824,6 +826,7 @@ impl iceberg::io::FileIOBuilder
pub fn iceberg::io::FileIOBuilder::build(self) -> iceberg::io::FileIO
pub fn iceberg::io::FileIOBuilder::config(&self) -> &iceberg::io::StorageConfig
pub fn iceberg::io::FileIOBuilder::new(factory: alloc::sync::Arc<dyn iceberg::io::StorageFactory>) -> Self
pub fn iceberg::io::FileIOBuilder::with_credential_provider(self, provider: alloc::sync::Arc<dyn iceberg::io::StorageCredentialProvider>) -> Self
pub fn iceberg::io::FileIOBuilder::with_prop(self, key: impl alloc::string::ToString, value: impl alloc::string::ToString) -> Self
pub fn iceberg::io::FileIOBuilder::with_props(self, args: impl core::iter::traits::collect::IntoIterator<Item = (impl alloc::string::ToString, impl alloc::string::ToString)>) -> Self
impl core::clone::Clone for iceberg::io::FileIOBuilder
Expand Down Expand Up @@ -927,6 +930,7 @@ impl core::fmt::Debug for iceberg::io::LocalFsStorageFactory
pub fn iceberg::io::LocalFsStorageFactory::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl iceberg::io::StorageFactory for iceberg::io::LocalFsStorageFactory
pub fn iceberg::io::LocalFsStorageFactory::build(&self, _config: &iceberg::io::StorageConfig) -> iceberg::Result<alloc::sync::Arc<dyn iceberg::io::Storage>>
pub fn iceberg::io::LocalFsStorageFactory::build_with_credential_provider(&self, config: &iceberg::io::StorageConfig, _credential_provider: core::option::Option<alloc::sync::Arc<dyn iceberg::io::StorageCredentialProvider>>) -> iceberg::Result<alloc::sync::Arc<dyn iceberg::io::Storage>>
impl serde_core::ser::Serialize for iceberg::io::LocalFsStorageFactory
pub fn iceberg::io::LocalFsStorageFactory::serialize<__S>(&self, __serializer: __S) -> core::result::Result<<__S as serde_core::ser::Serializer>::Ok, <__S as serde_core::ser::Serializer>::Error> where __S: serde_core::ser::Serializer
impl<'de> serde_core::de::Deserialize<'de> for iceberg::io::LocalFsStorageFactory
Expand Down Expand Up @@ -965,6 +969,7 @@ impl core::fmt::Debug for iceberg::io::MemoryStorageFactory
pub fn iceberg::io::MemoryStorageFactory::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl iceberg::io::StorageFactory for iceberg::io::MemoryStorageFactory
pub fn iceberg::io::MemoryStorageFactory::build(&self, _config: &iceberg::io::StorageConfig) -> iceberg::Result<alloc::sync::Arc<dyn iceberg::io::Storage>>
pub fn iceberg::io::MemoryStorageFactory::build_with_credential_provider(&self, config: &iceberg::io::StorageConfig, _credential_provider: core::option::Option<alloc::sync::Arc<dyn iceberg::io::StorageCredentialProvider>>) -> iceberg::Result<alloc::sync::Arc<dyn iceberg::io::Storage>>
impl serde_core::ser::Serialize for iceberg::io::MemoryStorageFactory
pub fn iceberg::io::MemoryStorageFactory::serialize<__S>(&self, __serializer: __S) -> core::result::Result<<__S as serde_core::ser::Serializer>::Ok, <__S as serde_core::ser::Serializer>::Error> where __S: serde_core::ser::Serializer
impl<'de> serde_core::de::Deserialize<'de> for iceberg::io::MemoryStorageFactory
Expand Down Expand Up @@ -1077,6 +1082,21 @@ impl serde_core::ser::Serialize for iceberg::io::StorageConfig
pub fn iceberg::io::StorageConfig::serialize<__S>(&self, __serializer: __S) -> core::result::Result<<__S as serde_core::ser::Serializer>::Ok, <__S as serde_core::ser::Serializer>::Error> where __S: serde_core::ser::Serializer
impl<'de> serde_core::de::Deserialize<'de> for iceberg::io::StorageConfig
pub fn iceberg::io::StorageConfig::deserialize<__D>(__deserializer: __D) -> core::result::Result<Self, <__D as serde_core::de::Deserializer>::Error> where __D: serde_core::de::Deserializer<'de>
pub struct iceberg::io::StorageCredential
impl iceberg::io::StorageCredential
pub fn iceberg::io::StorageCredential::config(&self) -> &std::collections::hash::map::HashMap<alloc::string::String, alloc::string::String>
pub fn iceberg::io::StorageCredential::covers(&self, location: &str) -> bool
pub fn iceberg::io::StorageCredential::new(prefix: impl core::convert::Into<alloc::string::String>, config: std::collections::hash::map::HashMap<alloc::string::String, alloc::string::String>) -> Self
pub fn iceberg::io::StorageCredential::prefix(&self) -> &str
pub fn iceberg::io::StorageCredential::select<'a>(credentials: impl core::iter::traits::collect::IntoIterator<Item = &'a Self>, location: &str) -> core::option::Option<&'a Self>
impl core::clone::Clone for iceberg::io::StorageCredential
pub fn iceberg::io::StorageCredential::clone(&self) -> iceberg::io::StorageCredential
impl core::cmp::Eq for iceberg::io::StorageCredential
impl core::cmp::PartialEq for iceberg::io::StorageCredential
pub fn iceberg::io::StorageCredential::eq(&self, other: &iceberg::io::StorageCredential) -> bool
impl core::fmt::Debug for iceberg::io::StorageCredential
pub fn iceberg::io::StorageCredential::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl core::marker::StructuralPartialEq for iceberg::io::StorageCredential
pub const iceberg::io::ADLS_ACCOUNT_KEY: &str
pub const iceberg::io::ADLS_ACCOUNT_NAME: &str
pub const iceberg::io::ADLS_AUTHORITY_HOST: &str
Expand All @@ -1094,6 +1114,7 @@ pub const iceberg::io::GCS_NO_AUTH: &str
pub const iceberg::io::GCS_PROJECT_ID: &str
pub const iceberg::io::GCS_SERVICE_HOST: &str
pub const iceberg::io::GCS_TOKEN: &str
pub const iceberg::io::GCS_TOKEN_EXPIRES_AT: &str
pub const iceberg::io::GCS_USER_PROJECT: &str
pub const iceberg::io::HDFS_HADOOP_CONF_PREFIX: &str
pub const iceberg::io::HDFS_HOST: &str
Expand All @@ -1117,6 +1138,7 @@ pub const iceberg::io::S3_PATH_STYLE_ACCESS: &str
pub const iceberg::io::S3_REGION: &str
pub const iceberg::io::S3_SECRET_ACCESS_KEY: &str
pub const iceberg::io::S3_SESSION_TOKEN: &str
pub const iceberg::io::S3_SESSION_TOKEN_EXPIRES_AT_MS: &str
pub const iceberg::io::S3_SSE_KEY: &str
pub const iceberg::io::S3_SSE_MD5: &str
pub const iceberg::io::S3_SSE_TYPE: &str
Expand Down Expand Up @@ -1168,12 +1190,21 @@ pub fn iceberg::io::MemoryStorage::read<'life0, 'life1, 'async_trait>(&'life0 se
pub fn iceberg::io::MemoryStorage::reader<'life0, 'life1, 'async_trait>(&'life0 self, path: &'life1 str) -> core::pin::Pin<alloc::boxed::Box<(dyn core::future::future::Future<Output = iceberg::Result<alloc::boxed::Box<dyn iceberg::io::FileRead>>> + core::marker::Send + 'async_trait)>> where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait
pub fn iceberg::io::MemoryStorage::write<'life0, 'life1, 'async_trait>(&'life0 self, path: &'life1 str, bs: bytes::bytes::Bytes) -> core::pin::Pin<alloc::boxed::Box<(dyn core::future::future::Future<Output = iceberg::Result<()>> + core::marker::Send + 'async_trait)>> where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait
pub fn iceberg::io::MemoryStorage::writer<'life0, 'life1, 'async_trait>(&'life0 self, path: &'life1 str) -> core::pin::Pin<alloc::boxed::Box<(dyn core::future::future::Future<Output = iceberg::Result<alloc::boxed::Box<dyn iceberg::io::FileWrite>>> + core::marker::Send + 'async_trait)>> where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait
pub trait iceberg::io::StorageCredentialProvider: core::fmt::Debug + core::marker::Send + core::marker::Sync
pub fn iceberg::io::StorageCredentialProvider::factory(&self) -> iceberg::Result<alloc::sync::Arc<dyn iceberg::io::StorageCredentialProviderFactory>>
pub fn iceberg::io::StorageCredentialProvider::load_credential<'life0, 'life1, 'async_trait>(&'life0 self, path: &'life1 str) -> core::pin::Pin<alloc::boxed::Box<(dyn core::future::future::Future<Output = iceberg::Result<alloc::sync::Arc<iceberg::io::StorageCredential>>> + core::marker::Send + 'async_trait)>> where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait
pub fn iceberg::io::StorageCredentialProvider::supports_path(&self, path: &str) -> bool
pub trait iceberg::io::StorageCredentialProviderFactory: core::fmt::Debug + core::marker::Send + core::marker::Sync + typetag::Serialize + typetag::Deserialize
pub fn iceberg::io::StorageCredentialProviderFactory::build(&self, config: &iceberg::io::StorageConfig) -> iceberg::Result<alloc::sync::Arc<dyn iceberg::io::StorageCredentialProvider>>
pub trait iceberg::io::StorageFactory: core::fmt::Debug + core::marker::Send + core::marker::Sync + typetag::Serialize + typetag::Deserialize
pub fn iceberg::io::StorageFactory::build(&self, config: &iceberg::io::StorageConfig) -> iceberg::Result<alloc::sync::Arc<dyn iceberg::io::Storage>>
pub fn iceberg::io::StorageFactory::build_with_credential_provider(&self, config: &iceberg::io::StorageConfig, credential_provider: core::option::Option<alloc::sync::Arc<dyn iceberg::io::StorageCredentialProvider>>) -> iceberg::Result<alloc::sync::Arc<dyn iceberg::io::Storage>>
impl iceberg::io::StorageFactory for iceberg::io::LocalFsStorageFactory
pub fn iceberg::io::LocalFsStorageFactory::build(&self, _config: &iceberg::io::StorageConfig) -> iceberg::Result<alloc::sync::Arc<dyn iceberg::io::Storage>>
pub fn iceberg::io::LocalFsStorageFactory::build_with_credential_provider(&self, config: &iceberg::io::StorageConfig, _credential_provider: core::option::Option<alloc::sync::Arc<dyn iceberg::io::StorageCredentialProvider>>) -> iceberg::Result<alloc::sync::Arc<dyn iceberg::io::Storage>>
impl iceberg::io::StorageFactory for iceberg::io::MemoryStorageFactory
pub fn iceberg::io::MemoryStorageFactory::build(&self, _config: &iceberg::io::StorageConfig) -> iceberg::Result<alloc::sync::Arc<dyn iceberg::io::Storage>>
pub fn iceberg::io::MemoryStorageFactory::build_with_credential_provider(&self, config: &iceberg::io::StorageConfig, _credential_provider: core::option::Option<alloc::sync::Arc<dyn iceberg::io::StorageCredentialProvider>>) -> iceberg::Result<alloc::sync::Arc<dyn iceberg::io::Storage>>
pub mod iceberg::memory
pub struct iceberg::memory::MemoryCatalog
impl core::fmt::Debug for iceberg::memory::MemoryCatalog
Expand Down
Loading
Loading