v1.3.0
User impact and migration instructions
This release implements performance bug fixes and provides Data object cache file saving and loading.
-
[I] Logging were removed from library. Only special builds will have logging.
User cannot useadd_stderr_logger
andadd_file_logger
logging functions.
[M] Remove DS lib logging usage anywhere. -
[I] Since
v1.3.0
, the library doesn't provide data source dependencies.[M] You should provide it manually during installation.
You just need to add square brackets after library name and put dependency name.pip install th2-data-services[dependency_name]
Dependencies list
dependency name provider version RDP5 5 RDP6 6 Example
pip install th2-data-services[rdp5]
Features
- [TH2-4289] Data.build_cache and Data.from_cache_file features were added.
- Added
Data.cache_status
property
Improvements
- [TH2-4379] Speed improvements in json deserialization.
- StreamingSSEAdapter will now handle bytes from sse-stream into Dict objects.
- SSEAdapter is now deprecated class.
- Data object will generate a warning if you put to it an object that has generator type.
BugFixes
- [TH2-4385] Logging in Data object slows down the ds library very much.
- Logging was removed.
add_stderr_logger
andadd_file_logger
are not available anymore.
- [TH2-4380] Fixed apply_adpater feature for GetMessages / GetEvents / GetEventById / GetMessageById
- [TH2-3767] Fixed bug with limit of Data object in Windows.
- [TH2-4460] Fixed bug where GRPC omitted fields with None value in response.