mdl-sdk breaking changes
Updated December 4, 2026
On this page
Latest version 2026.0.2. Source repository
Its 2022 release requires Python 3.8 or later. Python end of life dates.
- From 2025 to 2026.0.0: 9 breaking changes in 1 version.
- From 2022 to 2026.0.0: 85 breaking changes in 11 versions.
mdl-sdk 2026.0.0 breaking changes
- Removed
MI_NEURAYLIB_DEPRECATED_15_0
Support for the MI_NEURAYLIB_DEPRECATED_15_0 macro has been removed, so code relying on it will no longer get the old deprecated APIs. github.com - Behavior changed
fresnel_factor
Several BSDFs and factors gained a new backscatter parameter with a default, which may alter their behavior for existing materials. github.com - Behavior changed
IImage.get_uv_tile_id
The sentinel value returned by IImage::get_uv_tile_id is corrected to 2^64-1, so code comparing against the old 2^32-1 value must change. github.com - Behavior changed
IMdl_module.is_valid
Clamps maximum path length in examples to a range in mdl-sdk 2026.0.0 github.com - Behavior changed
ITransaction.remove
Transaction isolation behavior for ITransaction::remove with the false argument has changed, which may alter results for code relying on the old behavior. github.com - Behavior changed
mi.base.Atom32
Texture results and matrices are now 16-byte aligned, which can affect code that lays out these types manually. github.com - Behavior changed
Shading_state_material
BSDF and EDF data structures are now templated on Target_code_color_mode, changing their layout for existing RGB code. github.com - Configuration changed
MDL_DF_SPECTRAL_SAMPLES
The spectral sample count defaults to 5 and can be overridden through a new CMake option; this is a new default rather than a removal. github.com - Signature changed
df_cuda
In the df_cuda example, -p now means the MDL path, and the camera parameter moved to --camera. Scripts using -p for the camera must change. github.com
mdl-sdk 2025 breaking changes
- Removed
Code that links against the Windows import libraries must instead load the MDL Core/SDK libraries at runtime or use the new cmake link command. github.com - Removed
FORCE_32_BIT
The FORCE_32_BIT enumerators are removed from the Python binding without a deprecation period. github.com - Renamed
IMessage.Kind
Two enumerators of IMessage::Kind were renamed to fix typos; the old names remain only if MI_NEURAYLIB_DEPRECATED_16_0 is defined. github.com - Behavior changed
Default arguments are now version promoted, so entities that use deprecated functions in their default arguments are kept when they can be promoted. github.com - Behavior changed
Built-in modules store their absolute module name as their file name, which can affect code that reads file names of built-in modules. github.com
mdl-sdk 2024.0.1 breaking changes
- Renamed
--gpu-debug
The DXR example command line option was renamed to match other options. Use --gpu_debug instead. github.com - Behavior changed
The alpha channel is now always linear, regardless of the gamma value set for the other channels. github.com - Behavior changed
get_value
The exit code for array size mismatches in the IValue get_value free function changed from -3 and -4 to -5. github.com - Behavior changed
IModule.get_function_overloads
The method now applies the modified overload resolution rules for MDL 1.9 and later. github.com - Behavior changed
material.ior
The material.ior field is varying for every MDL version, not only MDL 1.9. Use IMdl_configuration::set_material_ior_frequency() at SDK start to revert this if needed. github.com - Behavior changed
set_value
The exit code for array size mismatches in the IValue set_value free function changed from -3 and -4 to -5. github.com - Default changed
The MDL compiler now defaults to MDL version 1.9. github.com - Signature changed
IImage_api.create_buffer_from_canvas
create_buffer_from_canvas now takes a generic options map instead of two hard-coded options. The old signatures remain only if MI_NEURAYLIB_DEPRECATED_15_0 is defined. github.com - Signature changed
IMdl_impexp_api.export_canvas
export_canvas and the image plugin API take a generic options map instead of two hard-coded options. The old signatures remain only if MI_NEURAYLIB_DEPRECATED_15_0 is defined. github.com - Signature changed
IMdl_module_builder.add_function
add_function now has an extended signature to support temporaries. The old signature remains only if MI_NEURAYLIB_DEPRECATED_15_0 is defined. github.com
And 7 more in this version. Sign up to see every change
mdl-sdk 2023.1.4 breaking changes
- Behavior changed
A Linux linker script now hides all defined symbols except the factory symbols, so code linking to other symbols will fail. github.com
mdl-sdk 2023.1.2 breaking changes
- Behavior changed
Roughness values from generated auxiliary functions now contain only glossy contributions, changing their values. github.com - Behavior changed
Color weights for normals and roughness in generated auxiliary functions are now reduced by luminance instead of average, changing results. github.com
mdl-sdk 2023.1 breaking changes
- Removed
All generated declare_interface types were removed from the Python bindings, so code referencing them will fail. github.com - Removed
FreeImage
The FreeImage plugin, already deprecated, has been removed from the SDK. github.com - Behavior changed
Generated auxiliary functions now split albedo into diffuse and glossy parts, changing their output. github.com - Behavior changed
ITransaction
An ITransaction released without commit or abort is now aborted with a warning instead of being committed with an error. Call commit() or abort() explicitly. github.com - Behavior changed
IType_array.get_deferred_size
The method now returns the simple symbol name such as N instead of the fully qualified name. Code parsing the old value must change. github.com - Behavior changed
IValue_texture.get_value
When texture loading fails, no dummy ITexture is created and get_value returns a NULL pointer. Callers must handle NULL. github.com - Behavior changed
mi.Size
mi::Size now maps to Sint64 in Python so -1 returns are handled correctly. Code depending on the earlier mapping may behave differently. github.com - Signature changed
Generated functions for non-native backends no longer take the exception_state parameter. Renderers calling these functions must be updated. github.com
Older versions
6 older versions, each with its first changes. Sign up to see every change
Show 6 older versions
mdl-sdk 2023.0.6 breaking changes
- Removed
Unused classes and functions were removed from the Python bindings; code relying on them will fail. github.com - Removed
IAttribute_set
The IAttribute_set interface was removed from the bindings of the IScene_element types, so code using it must change. github.com
And 2 more in this version.
mdl-sdk 2023.0.4 breaking changes
- Behavior changed
Material expressions with path prefix geometry.displacement are now created in the displacement context, which can change code generation. github.com - Behavior changed
Argument expressions created by the API stay unmodified until class compilation mode creates the arguments, which changes generated output. github.com
mdl-sdk 2023 breaking changes
- Removed
Annotations placed in package.pkg files are no longer supported; remove them from your packages. github.com - Removed
Alias declarations were removed; use Unicode identifiers directly as package and module names instead. github.com
And 30 more in this version.
mdl-sdk 2022.1 breaking changes
- Behavior changed
PNG export compression level is set back to 5 for a better speed/space tradeoff, which changes output files. github.com - Behavior changed
IType_factory.is_compatible
IType_factory::is_compatible for enums now requires the enumeration value sets to be equal, not just a subset. github.com
And 2 more in this version.
mdl-sdk 2022.0.1 breaking changes
- Configuration changed
IFunction_definition.get_mdl_version
In Python, get_mdl_version now returns (since, removed) as an output tuple. github.com
mdl-sdk 2022 breaking changes
- Configuration changed
The minimum Python version is raised to 3.8 for LLVM; users on older Python must upgrade. github.com
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.