Releases: FirebirdSQL/python3-base
Releases Β· FirebirdSQL/python3-base
v2.0.2: Release 2.0.2
v2.0.1: Release 2.0.1
Fixed
- Issue with trace configuration.
- Issues with
_decompose. - Signature match in
eventsocket.
v2.0.0
Added
firebird.base.buffer.MemoryBuffer.get_rawmethod.get_rawmethod toBufferFactory,BytesBufferFactoryandCTypesBufferFactory.__repr__method forPyCodeandPyCallablethat will limit output to 50 characters.- Optional
encodingparameter forZMQAddressconstructor.
Changed
- Tests changed from
unittesttopytest, 96% code coverage. - Minimal Python version raised to 3.11.
- The
firebird.base.loggingmodule was completelly reworked. - Function
firebird.base.types.Conjunctiverenamed toconjunctive. firebird.base.collections.DataList.__init__parameterfrozenis now keyword-only.firebird.base.collections.DataList.extractparametercopyis now keyword-only.firebird.base.collections.DataList.sortparameterreverseis now keyword-only.firebird.base.collections.DataList.splitparameterfrozenis now keyword-only.firebird.base.collections.Registry.popitemparameterlastis now keyword-only.firebird.base.collections.BaseObjectCollection.containsparameterexprnow does not have default value.- Deprecated
firebird.base.config.create_configfunction was removed. firebird.base.config.DirectorySchemeparameterforce_homeis now keyword only.firebird.base.config.Optionparametersrequiredanddefaultare now keyword only.- Parameter
contextwas removed fromfirebird.base.trace.traceddecorator. - Option
contextwas removed fromfirebird.base.trace.BaseTraceConfig. - Log function return value as
reprrather thanstr. - Sentinel objects completely reworked. Individual sentinels are now classes derived from
Sentinel.
Fixed
- Broken
firebird.base.types.Distinctsupport for dataclasses and hash function. - Raise
BufferErroristeadIOErrorinfirebird.base.buffer.MemoryBuffermethodsresize,
readandread_number - Problem with
firebird.base.collections.Registry.popthat did not raisedKeyErrorwhen
defaultwas not specified. - Bug in
firebird.base.collections.Registry.popitemwithlast= True. - Problem with name handling in
firebird.base.config.ConfigOption.clearandset_value. - Problem with
firebird.base.config.WindowsDirectorySchemeandfirebird.base.config.MacOSDirectorySchemeconstructors. - Problem with
firebird.base.config.ListOption.item_typesvalue. - Problem with internal
.Convertorinitialization infirebird.base.config.ListOption. - Use copy of
defaultlist stead direct use infirebird.base.config.ListOption. firebird.base.config.ListOption.get_formattedandfirebird.base.config.ListOption.get_as_str
should return typed values for multitype lists.firebird.base.config.ConfigOption.validateshould validate theConfigas well if defined.firebird.base.config.ConfigListOption.validateshould report error for empty list whenrequired.- Problem with conversion of flags from string in
firebird.base.strconv.
v1.8.0
v1.7.2
v1.7.1
v1.7.0
v1.6.1
v1.6.0
-
protobuf module:
Registration of already registered protobuf registration is now ignored instead raising exception.
-
config module:
Config.get_config() and Option.get_config() now provides plain bool argument to return configuration text without comments. Deafult is False.
-
trace module:
Fixed bug in TraceManager.load_config().
Release 1.4.3
-
firebird.base.types module:
- Added internal functions _decompose and _power_of_two from stdlib enum module,
because they were removed in Python 3.11.
- Added internal functions _decompose and _power_of_two from stdlib enum module,
-
firebird.base.protobuf module:
- Use importlib.metadata.entry_points instead pkg_resources.iter_entry_points.
-
Improved documentation.