Releases: MobileTeleSystems/etl-entities
Releases · MobileTeleSystems/etl-entities
2.4.0 (2024-11-12)
Breaking Changes
2.3.1 (2024-08-29)
Improvements
- Replace all
assert
in documentation with doctest syntax. This should make documentation more readable. (#91)
2.3.0 (2024-03-05)
2.2.0 (2024-01-10)
Breaking Changes
- Remove
cover
method from baseHWM
class, it only remains inFileHWM
class (#71)
Features
- Improve typing:
- Fix Pylance (VS Code) complained
"SomeClass" is not exported from module "etl_entities.module". Import from "etl_entities.module.submodule" instead
. - Mark old HWM classes with
typing_extensions.deprecated
decorator (#69)
- Fix Pylance (VS Code) complained
- Add
KeyValueIntHWM
class, designed to manage HWM for partitioned data sources like Kafka topics. It extends the functionality of the base HWM classes to handle key-value pairs. (#71)
2.1.2 (2023-12-08)
Bug fixes
- Fix missing default value
ColumnHWM.source
2.1.1 (2023-12-08)
Improvements
- Add compatibility with
Python 3.12
(#62)
2.1.0 (2023-12-07)
Breaking Changes
- Drop
HWM.qualified_name
attribute, it is not used anymore. (#57) - Rename attribute
ColumnHWM.column
toColumnHWM.source
. This is not required anymore, and should contain table/collection/topic name instead of column.
Use attributeColumnHWM.expression
to store column name. (#59) - Make attribute
FileHWM.directory
optional.
All paths inFileListHWM.value
are now absolute instead of relative. (#60) - Disallow comparison
hwm < raw_value
andhwm > raw_value
whereraw_value
is a primitive type value, like int.
This now raisesTypeError
. (#61) - Disallow passing extra fields to HWM class constructors instead of silently ignore them. (#61)
2.0.8 (2023-12-05)
Features
- Allow to pass float and Decimal values as valid input for
ColumnIntHWM
(but only if value does contain only0
after decimal part). (#58)
2.0.7 (2023-12-05)
Bug Fixes
- MemoryHWMStore now stores serialized data to avoid implicit updates using
hwm.update(...)
method. (#56)
2.0.6 (2023-11-24)
Features
- Restrict passing
int
values inColumnDateHWM
andColumnDatetimeHWM
classes (#53)