wsidicom breaking changes
wsidicom 0.38.0 (December 2, 2026) is its newest release with breaking changes, 64 of them. The first: Removed wsidicom.file.file_writer.SourcePyramidLevelWriter.run. Every breaking API change we have recorded in wsidicom on PyPI: 64 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 0.38.0, released December 2, 2026. Source repository
Packages on PyPI run on Python. Python end of life dates.
wsidicom 0.38.0 breaking changes
- Removed
wsidicom.file.file_writer.SourcePyramidLevelWriter.run
SourcePyramidLevelWriter.run was removed in wsidicom 0.38.0 pypi.org - Removed
wsidicom.file.file_writer.SourcePyramidLevelWriter.source_image_data
SourcePyramidLevelWriter.source_image_data was removed in wsidicom 0.38.0 pypi.org - Removed
wsidicom.writing.instance_writers.SourcePyramidLevelWriter.run
SourcePyramidLevelWriter.run was removed in wsidicom 0.38.0 pypi.org - Removed
wsidicom.writing.instance_writers.SourcePyramidLevelWriter.source_image_data
SourcePyramidLevelWriter.source_image_data was removed in wsidicom 0.38.0 pypi.org - Renamed
wsidicom.writing.instance_writers.ImageData
Use wsidicom.writing.source_level_readers.ImageData instead. pypi.org - Renamed
wsidicom.writing.instance_writers.Point
Use wsidicom.writing.source_level_readers.Point instead. pypi.org - Renamed
wsidicom.writing.instance_writers.ReadExecutor
Use wsidicom.writing.source_level_readers.ReadExecutor instead. pypi.org - Renamed
wsidicom.writing.instance_writers.TileReader
Use wsidicom.writing.source_level_readers.TileReader instead. pypi.org - Behavior changed
RLE images stated as YBR_FULL are not opened, including images written with RleSettings(channels=Channels.YBR). github.com - Behavior changed
Encoder settings raise ValueError for bits their format does not support and for color channels with other than 8 or 16 bits. Check that settings match the image's bits. github.com - Behavior changed
JpegLosslessSettings
JpegLosslessSettings raises ValueError for Channels.YBR because it cannot store samples as YBR. github.com - Behavior changed
JpegLsSettings
JpegLsSettings raises ValueError for Channels.YBR because it cannot store samples as YBR. github.com - Behavior changed
JpegXlSettings
JpegXlSettings raises ValueError for Channels.YBR because it cannot store samples as YBR. github.com - Behavior changed
NumpySettings
NumpySettings raises ValueError for Channels.YBR because it cannot store samples as YBR. github.com - Behavior changed
RleSettings
RleSettings raises ValueError for Channels.YBR because it cannot store samples as YBR. github.com - Behavior changed
WsiDicom.save
Saving an image with other than 8 or 16 bits raises ValueError, since stored whole slide image bits must be 8 or 16. Such images can still be opened and read. github.com - Default changed
JpegLosslessSettings
JpegLosslessSettings now defaults to Channels.RGB. github.com - Default changed
JpegXlSettings
JpegXlSettings now defaults to Channels.RGB. github.com - Default changed
Settings
The bits and channels of the settings default to None, meaning not given. Settings.adapted_to() gives settings where they follow the given bits and samples per pixel. github.com - Default changed
Settings.create
Settings.create() for JPEG Lossless (1.2.840.10008.1.2.4.57) now uses predictor 4, as predictor 1 gives SV1. github.com - Default changed
WsiDicom.save
add_missing_levels and regenerate_pyramid of WsiDicom.save() now default to None and follow Source.prefer_regenerated_pyramid, which is false for DICOM sources. github.com - Configuration changed
The package now requires Pillow 10.2 or later, so older Pillow versions must be upgraded. github.com - Signature changed
wsidicom.cache.DecodedFrameCache.get_tile_frame
Was def get_tile_frame(self, image_data_id: int, frame_index: int, frame_getter: Callable[[int], CacheItemType]) -> CacheItemType; now def get_tile_frame(self, image_data_id: int, frame_index: int, frame_getter: FrameGetter[CacheItemType])... pypi.org - Signature changed
wsidicom.cache.DecodedFrameCache.get_tile_frames
Was def get_tile_frames(self, image_data_id: int, frame_indices: Sequence[int], frames_getter: Callable[[Iterable[int]], Iterator[CacheItemType]]) -> Iterator[CacheItemType]; now def get_tile_frames(self, image_data_id: int, frame_indices... pypi.org - Signature changed
wsidicom.cache.FrameCache.get_tile_frame
Was def get_tile_frame(self, image_data_id: int, frame_index: int, frame_getter: Callable[[int], CacheItemType]) -> CacheItemType; now def get_tile_frame(self, image_data_id: int, frame_index: int, frame_getter: FrameGetter[CacheItemType])... pypi.org - Signature changed
wsidicom.cache.FrameCache.get_tile_frames
Was def get_tile_frames(self, image_data_id: int, frame_indices: Sequence[int], frames_getter: Callable[[Iterable[int]], Iterator[CacheItemType]]) -> Iterator[CacheItemType]; now def get_tile_frames(self, image_data_id: int, frame_indices... pypi.org - Signature changed
wsidicom.codec.encoder.JpegXlSettings.__init__
Was def __init__(self, level: int | None = None, bits: int = 8, channels: Channels = Channels.YBR) -> None; now def __init__(self, level: int | None = None, bits: int | None = None, channels: Literal[Channels.GRAYSCALE, Channels.RGB] |... pypi.org - Signature changed
wsidicom.codec.Jpeg2kSettings.__init__
Was def __init__(self, levels: float | Sequence[float] = 80, bits: int = 8, channels: Channels = Channels.YBR) -> None; now def __init__(self, levels: float | Sequence[float] = 80, bits: int | None = None, channels: Channels | None = None)... pypi.org - Signature changed
wsidicom.codec.JpegLosslessSettings.__init__
Was def __init__(self, predictor: int = 1, bits: int = 8, channels: Channels = Channels.YBR) -> None; now def __init__(self, predictor: int = 1, bits: int | None = None, channels: Literal[Channels.GRAYSCALE, Channels.RGB] | None = None) ->... pypi.org - Signature changed
wsidicom.codec.JpegLsSettings.__init__
Was def __init__(self, level: int = 0, bits: int = 8, channels: Channels = Channels.RGB) -> None; now def __init__(self, level: int = 0, bits: int | None = None, channels: Literal[Channels.GRAYSCALE, Channels.RGB] | None = None) -> None. pypi.org - Signature changed
wsidicom.codec.JpegSettings.__init__
Was def __init__(self, quality: int = 80, bits: int = 8, channels: Channels = Channels.YBR, subsampling: Subsampling = Subsampling.R422, optimize: bool = False) -> None; now def __init__(self, quality: int = 80, bits: Literal[8, 12] | None... pypi.org - Signature changed
wsidicom.codec.NumpySettings.__init__
Was def __init__(self, bits: int = 8, channels: Literal[Channels.GRAYSCALE, Channels.RGB] = Channels.RGB, little_endian: bool = True, implicit_vr: bool = False) -> None; now def __init__(self, bits: Literal[8, 16] | None = None, channels... pypi.org - Signature changed
wsidicom.codec.RleSettings.__init__
Was def __init__(self, bits: int = 8, channels: Channels = Channels.RGB) -> None; now def __init__(self, bits: Literal[8, 16] | None = None, channels: Literal[Channels.GRAYSCALE, Channels.RGB] | None = None) -> None. pypi.org - Signature changed
wsidicom.codec.Settings.__init__
Was def __init__(self, bits: int, channels: Channels) -> None; now def __init__(self, bits: int | None = None, channels: Channels | None = None) -> None. pypi.org - Signature changed
wsidicom.codec.settings.Jpeg2kSettings.__init__
Was def __init__(self, levels: float | Sequence[float] = 80, bits: int = 8, channels: Channels = Channels.YBR) -> None; now def __init__(self, levels: float | Sequence[float] = 80, bits: int | None = None, channels: Channels | None = None)... pypi.org - Signature changed
wsidicom.codec.settings.JpegLosslessSettings.__init__
Was def __init__(self, predictor: int = 1, bits: int = 8, channels: Channels = Channels.YBR) -> None; now def __init__(self, predictor: int = 1, bits: int | None = None, channels: Literal[Channels.GRAYSCALE, Channels.RGB] | None = None) ->... pypi.org - Signature changed
wsidicom.codec.settings.JpegLsSettings.__init__
Was def __init__(self, level: int = 0, bits: int = 8, channels: Channels = Channels.RGB) -> None; now def __init__(self, level: int = 0, bits: int | None = None, channels: Literal[Channels.GRAYSCALE, Channels.RGB] | None = None) -> None. pypi.org - Signature changed
wsidicom.codec.settings.JpegSettings.__init__
Was def __init__(self, quality: int = 80, bits: int = 8, channels: Channels = Channels.YBR, subsampling: Subsampling = Subsampling.R422, optimize: bool = False) -> None; now def __init__(self, quality: int = 80, bits: Literal[8, 12] | None... pypi.org - Signature changed
wsidicom.codec.settings.JpegXlSettings.__init__
Was def __init__(self, level: int | None = None, bits: int = 8, channels: Channels = Channels.YBR) -> None; now def __init__(self, level: int | None = None, bits: int | None = None, channels: Literal[Channels.GRAYSCALE, Channels.RGB] |... pypi.org - Signature changed
wsidicom.codec.settings.NumpySettings.__init__
Was def __init__(self, bits: int = 8, channels: Literal[Channels.GRAYSCALE, Channels.RGB] = Channels.RGB, little_endian: bool = True, implicit_vr: bool = False) -> None; now def __init__(self, bits: Literal[8, 16] | None = None, channels... pypi.org - Signature changed
wsidicom.codec.settings.RleSettings.__init__
Was def __init__(self, bits: int = 8, channels: Channels = Channels.RGB) -> None; now def __init__(self, bits: Literal[8, 16] | None = None, channels: Literal[Channels.GRAYSCALE, Channels.RGB] | None = None) -> None. pypi.org - Signature changed
wsidicom.codec.settings.Settings.__init__
Was def __init__(self, bits: int, channels: Channels) -> None; now def __init__(self, bits: int | None = None, channels: Channels | None = None) -> None. pypi.org - Signature changed
wsidicom.file.file_writer.SourcePyramidLevelWriter.__init__
Was def __init__(self, level_index: int, dataset: WsiDataset, tile_cache: TileCache, source_group: Instances, tiled_size: Size, tile_reader: TileReader, queue_maxsize: int = 100, chunk_size: int | None = None, *, focal_planes... pypi.org - Signature changed
wsidicom.file.io.wsidicom_io.WsiDicomReadIO.frame_reader
Was frame_reader: FileHandlePool | None; now frame_reader: FrameReader | None. pypi.org - Signature changed
wsidicom.file.io.WsiDicomReadIO.frame_reader
Was frame_reader: FileHandlePool | None; now frame_reader: FrameReader | None. pypi.org - Signature changed
wsidicom.file.wsi_file.WsiAssociatedFile.__init__
Was def __init__(self, image_type: Literal[ImageType.LABEL, ImageType.OVERVIEW], uids: FileUids, image_size: Size, tile_size: Size, pixel_spacing: SizeMm | None, focal_planes: tuple[float, ...], optical_paths: tuple[str, ...]... pypi.org - Signature changed
wsidicom.file.wsi_file.WsiFileBase.__init__
Was def __init__(self, image_type: ImageType, uids: FileUids, image_size: Size, tile_size: Size, pixel_spacing: SizeMm | None, focal_planes: tuple[float, ...], optical_paths: tuple[str, ...], transfer_syntax: UID... pypi.org - Signature changed
wsidicom.file.wsi_file.WsiLevelFile.__init__
Was def __init__(self, image_type: Literal[ImageType.VOLUME], uids: FileUids, image_size: Size, tile_size: Size, pixel_spacing: SizeMm, focal_planes: tuple[float, ...], optical_paths: tuple[str, ...], transfer_syntax: UID... pypi.org - Signature changed
wsidicom.file.wsi_file.WsiThumbnailFile.__init__
Was def __init__(self, image_type: Literal[ImageType.THUMBNAIL], uids: FileUids, image_size: Size, tile_size: Size, pixel_spacing: SizeMm, focal_planes: tuple[float, ...], optical_paths: tuple[str, ...], transfer_syntax: UID... pypi.org - Signature changed
wsidicom.file.wsidicom_file_target.Target.__init__
Was def __init__(self, uid_generator: UidGenerator, workers: int, include_pyramids: Sequence[int] | None = None, include_levels: Sequence[int] | None = None, add_missing_levels: bool = False, regenerate_pyramid: bool = False, transcoding... pypi.org
And 14 more in this version. Sign up to see every change
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.