resdata breaking changes
resdata 7.0.0 (November 19, 2026) is its newest release with breaking changes, 104 of them. The first: Removed CWDContext. Every breaking API change we have recorded in resdata on PyPI: 115 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 7.0.2, released November 26, 2026. Source repository
Packages on PyPI run on Python. Python end of life dates.
resdata 7.0.0 breaking changes
- Removed
CWDContext
Use pytest instead. github.com - Removed
FaultBlockLayer.addFaultLink
It was deprecated and never worked; remove calls to it. github.com - Removed
RandomNumberGenerator
Use numpy.random instead. github.com - Removed
resdata.util.util.DoubleVector
Functions that used these types now use numpy or builtin types; check type hints. github.com - Removed
ResdataRegion.rd_region_instance
Use isinstance(x, ResdataRegion) instead. github.com - Removed
ResdataSMSPECNode.cmp
Use the ==, > and < operators instead. github.com - Removed
WellSegment.__len__
len() on WellSegment no longer works. github.com - Renamed
Fault.getName
Calls to the old camelCase name must be changed to the new snake_case name. github.com - Renamed
FaultLayer.addSegment
Calls to the old camelCase name must be changed to the new snake_case name. github.com - Renamed
Grid.loadFromGrdecl
Calls to the old camelCase name must be changed to the new snake_case name. github.com - Renamed
openResdataFile
Use open_rd_file instead of openResdataFile. github.com - Renamed
ResdataFile.getFileType
Calls to the old camelCase name must be changed to the new snake_case name. github.com - Renamed
ResdataGrav.addSurvey
Calls to the old camelCase name must be changed to the new snake_case name. github.com - Renamed
ResdataKW.type
Use data_type instead of the type property. github.com - Renamed
ResdataSubsidence.evalGeertsma
Calls to the old camelCase name must be changed to the new snake_case name. github.com - Renamed
Summary.varType
Calls to the old camelCase name must be changed to the new snake_case name. github.com - Behavior changed
bool(obj) is always True; code that checked obj: must check is None. github.com - Behavior changed
Incorrect types raise TypeError instead of ValueError, and bool is no longer auto-converted to int. github.com - Behavior changed
Methods that pass through cwrap no longer accept bool values converted implicitly; pass True or False exactly as the method expects. github.com - Behavior changed
FortIO
Pass FortIO.READ_MODE, WRITE_MODE, APPEND_MODE or READ_AND_WRITE_MODE rather than integer modes. github.com - Behavior changed
Grid.coarse_groups
Returns the count of distinct groups instead of the maximal group number. github.com - Behavior changed
ResdataFile.close
Later reads re-open the file lazily instead of failing. github.com - Behavior changed
ResdataFile.iget_restart_sim_days
An index that is too large now raises IndexError instead of returning -1. github.com - Behavior changed
Summary.time_range
interval must be a positive number of time units; zero and negative values now fail. github.com - Signature changed
resdata.FileMode
Was class FileMode(BaseCEnum); now class FileMode. pypi.org - Signature changed
resdata.FileType
Was class FileType(BaseCEnum); now class FileType. pypi.org - Signature changed
resdata.geometry.CPolyline
Was class CPolyline(BaseCClass); now class CPolyline. pypi.org - Signature changed
resdata.geometry.CPolyline.createFromXYZFile
Was @classmethod def createFromXYZFile(cls, filename, name=None); now @staticmethod def createFromXYZFile(filename: str, name: str | None = None) -> CPolyline. pypi.org - Signature changed
resdata.geometry.CPolylineCollection
Was class CPolylineCollection(BaseCClass); now class CPolylineCollection(_BaseCClass). pypi.org - Signature changed
resdata.geometry.GeoPointset
Was class GeoPointset(BaseCClass); now class GeoPointset(_BaseCClass). pypi.org - Signature changed
resdata.geometry.GeoRegion
Was class GeoRegion(BaseCClass); now class GeoRegion(_BaseCClass). pypi.org - Signature changed
resdata.geometry.GeoRegion.getActiveList
Was def getActiveList(self) -> IntVector; now def getActiveList(self) -> list[int]. pypi.org - Signature changed
resdata.geometry.Surface
Was class Surface(BaseCClass); now class Surface(_BaseCClass). pypi.org - Signature changed
resdata.gravimetry.rd_grav.Grid
Was class Grid(BaseCClass); now class Grid(_BaseCClass). pypi.org - Signature changed
resdata.gravimetry.rd_grav.ResdataFile
Was class ResdataFile(BaseCClass); now class ResdataFile. pypi.org - Signature changed
resdata.gravimetry.rd_grav.ResdataFileView
Was class ResdataFileView(BaseCClass); now class ResdataFileView. pypi.org - Signature changed
resdata.gravimetry.rd_grav.ResdataRegion
Was class ResdataRegion(BaseCClass); now class ResdataRegion(_BaseCClass). pypi.org - Signature changed
resdata.gravimetry.ResdataGrav
Was class ResdataGrav(BaseCClass); now class ResdataGrav(_BaseCClass). pypi.org - Signature changed
resdata.gravimetry.ResdataSubsidence
Was class ResdataSubsidence(BaseCClass); now class ResdataSubsidence(_BaseCClass). pypi.org - Signature changed
resdata.grid.faults.fault_line.CPolyline
Was class CPolyline(BaseCClass); now class CPolyline. pypi.org - Signature changed
resdata.grid.faults.fault.CPolyline
Was class CPolyline(BaseCClass); now class CPolyline. pypi.org - Signature changed
resdata.grid.faults.FaultBlock
Was class FaultBlock(BaseCClass); now class FaultBlock. pypi.org - Signature changed
resdata.grid.faults.FaultBlock.__init__
Was def __init__(self, *args, **kwargs); now def __init__(self) -> None. pypi.org - Signature changed
resdata.grid.faults.FaultBlockLayer
Was class FaultBlockLayer(BaseCClass); now class FaultBlockLayer(_BaseCClass). pypi.org - Signature changed
resdata.grid.faults.Layer
Was class Layer(BaseCClass); now class Layer(_BaseCClass). pypi.org - Signature changed
resdata.grid.Grid
Was class Grid(BaseCClass); now class Grid(_BaseCClass). pypi.org - Signature changed
resdata.grid.Grid.exportACTNUM
Was def exportACTNUM(self) -> IntVector | None; now def exportACTNUM(self) -> npt.NDArray[np.intc]. pypi.org - Signature changed
resdata.grid.Grid.load_column
Was def load_column(self, kw, i, j, column); now def load_column(self, kw, i: SupportsInt, j: SupportsInt) -> list[float]. pypi.org - Signature changed
resdata.grid.rd_grid_generator.ResdataKW
Was class ResdataKW(BaseCClass); now class ResdataKW(_BaseCClass). pypi.org - Signature changed
resdata.grid.rd_grid.FortIO
Was class FortIO(BaseCClass); now class FortIO. pypi.org
And 54 more in this version. Sign up to see every change
resdata 7.0.0b3 breaking changes
- Removed
Functionality deprecated in version 6.3 has been removed and code relying on it must be updated. github.com - Removed
copen
copen has been removed and code using it must change. github.com - Removed
DoubleVector
DoubleVector has been removed and code using it must change. github.com - Removed
Hash*
The Hash* classes are no longer available in the Python API and code using them must change. github.com - Removed
resdataprototype
The resdataprototype module has been removed and code using it must change. github.com - Removed
StringList
StringList is no longer available in the Python API and code using it must change. github.com - Removed
TimeVector
TimeVector has been removed and code using it must change. github.com - Behavior changed
Summary entries for local grids lacking LGR metadata are now rejected instead of being accepted. github.com - Behavior changed
Negative numbers in well data are now validated and rejected, so inputs that previously passed may now fail. github.com - Behavior changed
lgr_nr
The lgr_nr value is now validated, so previously accepted values may now be rejected. github.com
resdata 7.0.0b2 breaking changes
- Removed
Code that still calls functions deprecated in earlier 7.0 betas must be updated before upgrading. 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.