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_raw
method.get_raw
method toBufferFactory
,BytesBufferFactory
andCTypesBufferFactory
.__repr__
method forPyCode
andPyCallable
that will limit output to 50 characters.- Optional
encoding
parameter forZMQAddress
constructor.
Changed
- Tests changed from
unittest
topytest
, 96% code coverage. - Minimal Python version raised to 3.11.
- The
firebird.base.logging
module was completelly reworked. - Function
firebird.base.types.Conjunctive
renamed toconjunctive
. firebird.base.collections.DataList.__init__
parameterfrozen
is now keyword-only.firebird.base.collections.DataList.extract
parametercopy
is now keyword-only.firebird.base.collections.DataList.sort
parameterreverse
is now keyword-only.firebird.base.collections.DataList.split
parameterfrozen
is now keyword-only.firebird.base.collections.Registry.popitem
parameterlast
is now keyword-only.firebird.base.collections.BaseObjectCollection.contains
parameterexpr
now does not have default value.- Deprecated
firebird.base.config.create_config
function was removed. firebird.base.config.DirectoryScheme
parameterforce_home
is now keyword only.firebird.base.config.Option
parametersrequired
anddefault
are now keyword only.- Parameter
context
was removed fromfirebird.base.trace.traced
decorator. - Option
context
was removed fromfirebird.base.trace.BaseTraceConfig
. - Log function return value as
repr
rather thanstr
. - Sentinel objects completely reworked. Individual sentinels are now classes derived from
Sentinel
.
Fixed
- Broken
firebird.base.types.Distinct
support for dataclasses and hash function. - Raise
BufferError
isteadIOError
infirebird.base.buffer.MemoryBuffer
methodsresize
,
read
andread_number
- Problem with
firebird.base.collections.Registry.pop
that did not raisedKeyError
when
default
was not specified. - Bug in
firebird.base.collections.Registry.popitem
withlast
= True. - Problem with name handling in
firebird.base.config.ConfigOption.clear
andset_value
. - Problem with
firebird.base.config.WindowsDirectoryScheme
andfirebird.base.config.MacOSDirectoryScheme
constructors. - Problem with
firebird.base.config.ListOption.item_types
value. - Problem with internal
.Convertor
initialization infirebird.base.config.ListOption
. - Use copy of
default
list stead direct use infirebird.base.config.ListOption
. firebird.base.config.ListOption.get_formatted
andfirebird.base.config.ListOption.get_as_str
should return typed values for multitype lists.firebird.base.config.ConfigOption.validate
should validate theConfig
as well if defined.firebird.base.config.ConfigListOption.validate
should 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.