Releases: enthought/comtypes
Releases · enthought/comtypes
1.4.14
1.4.13
1.4.12
- Add support for coverage. By @moi15moi.
- CI/CD Improvements for runners and the codecov badge. By @junkmd.
- Add signed 32-bit hexadecimal converters. By @junkmd.
- Add
Test_Stattotest_stream. By @junkmd. - Add client-side
RegisterActiveObject. By @junkmd. - Remove useless
objectinheritance from every class. By @moi15moi. - Modernize
super()calls by removing explicit class and instance arguments. By @moi15moi. - Eliminate outdated encoding boilerplates. By @moi15moi.
- Update byte string creation to use
b""instead ofstr.encode("utf-8"). By @moi15moi. - Introduce
codecov.yml. By @moi15moi. - Migrate exception catches from older aliases to
OSError. By @moi15moi. - Remove obsolete Python 2 compatibility code in
test_variant. By @junkmd. - Skip
test_evalin INPROC server tests due to instability. By @junkmd. - Adjust structure sizes and alignments for 64-bit Python in
viewobject.py. By @junkmd. - Add
test_viewobject. By @junkmd. - Ensure
test_npsupportpasses withnumpy>=2.0.0by explicitly settingdtype=numpy.int32. By @junkmd. - Add tests for
DictPropertyBagand type hints forIPropertyBag. By @junkmd. - Fix
numpyinteroperability and enabledatetime64tests. By @junkmd. - Revive and correct integer handling logic for
VARIANTs when setting values. By @junkmd. - Add tests for
messageloop. By @junkmd. - Revive
utiland add comprehensive tests. By @junkmd. - Refactor and enhance
utilwith explicit imports and typing. By @junkmd. - Modernize
npsupportby removing the patch for thenp._typecodes. By @junkmd.
1.4.11
- Improve
PARAMFLAG_...andDISPATCH_...constants definitions and imports. By @junkmd. - Introduce the
_CDataTypealias from typeshed. By @junkmd. - Replace
260literals/constant definitions with imports fromctypes.wintypes.MAX_PATH. By @junkmd. - Replace
client._code_cache._get_module_filenamewithtypeinfo.GetModuleFileName. By @junkmd. - Improve
client._code_cache.SHGetSpecialFolderPathdefinition. By @junkmd. - Add type annotations to many modules. By @junkmd.
- Add constants to many modules. By @junkmd.
- Improve import block styles to many modules. By @junkmd.
- Add
SupportErrorInfoTesttotest_comserver. By @junkmd. - Add
test_errorinfo. By @junkmd. - Improve the type safety of
errorinfo.ReportException. By @junkmd. - Change the method of retrieving the values of each field in
_...MemberSpecfrom unpacking to dot access. By @junkmd. - Split
server.connectionpoints.ConnectionPointImpl._call_sinks. By @junkmd. - Refactor
create_vtbl_mapping,create_dispimpland_encode_idl. By @junkmd. - Add
test_hresult. By @junkmd. - Add
Test_Vtbltotest_comobject.py. By @junkmd. - Delint
IUnknown_AddRefandIUnknown_Release. By @junkmd. - Convert
assertRaisesusage to context manager for improved readability. By @junkmd. - Remove the unused
PATHvariable fromclient/_generate.py. By @moi15moi.
1.4.10
- Replace
GetModuleFileNameAwithGetModuleFileNameWto prevent aTypeError. By @junkmd. - Refactor
server.register. By @junkmd. PythonClassandPythonPathare no longer registered in the registry for a frozen server. By @junkmd.- Use
WinDLL/OleDLLinstead ofwindll/oledll. By @moi15moi. - In
tools.tlbparser, replacewindll.oleaut32.QueryPathOfRegTypeLibwithtypeinfo.QueryPathOfRegTypeLib. By @moi15moi. - Adjust
QueryPathOfRegTypeLibdocstring. By @moi15moi. - Reserve blank lines in the generated modules. By @junkmd.
- Refactor
toolssubpackage. By @junkmd. - Add
ActiveObjTesttotest_comserver. By @junkmd. - Replace deprecated install command in CI pipelines. By @moi15moi.
- Remove unused parameters in
_shutdown. By @moi15moi. - Delete
preview.bat. By @moi15moi. - Remove unnecessary
rufflint rules frompyproject.toml. By @moi15moi. - Refactor some code from
client/__init__.pyinto modules. By @junkmd. - Remove workarounds for Windows CE in
find_memleak. By @junkmd. - Format import blocks and add
extend-select = ["I"]to[tool.ruff.lint]. By @junkmd.
1.4.9
- Separate patch processing within
_com_interface_metainto a module. By @junkmd. - Replace
LiteralandProtocolwith runtime-referable symbols. By @junkmd. - Refactor from
%string formatting to f-strings in many modules. By @newwingbird. - Refactor from
%string formatting to f-strings in_post_coinit.unknwn. By @junkmd. - Remove the script entry point in
comtypes.shelllink. By @cosmastech. - Move the modules that define IDL stuff and
instancemethod. By @junkmd. - Allow the definition of the
_midlSAFEARRAY(HRESULT)type. By @davidschranz. - Split
server/w_getopt.pyinto production code and test code. By @junkmd. - Add docstrings to the module defining the
GUIDsymbol. By @junkmd. - Fix broken unregistration of 64bit type libraries. By @forderud.
- Replace alias definitions with
ctypes.wintypesimports. By @fmtabler. - Revive
pywin32related tests. By @junkmd. - Revive comserver related tests. By @junkmd.
- Separate the part that creates entries from
server.register.Registrarand refactor it. By @junkmd. - Add
Test_Registrar_.... By @junkmd. - Many typing improvements. By @junkmd.
- Separate
vtblcreation within_comobjectinto a module. By @junkmd. - Migrate the documentation from PythonHosted to ReadTheDocs. By @junkmd.
1.4.8 Python 3.13 support
- Remove Python 3.7 and add Python 3.13 to the CI pipelines. By @junkmd.
- Add constant definitions to
shelllink. By @junkmd. - Add more tests to
test_stream. By @junkmd. - Add the
void_typedefinition totlbparser. By @junkmd. - Modernize
tools.tlbparser.get_tlib_filename. By @junkmd. - Extract the methods for parsing externals and dual interfaces from
Parser.parse_typeinfo. By @junkmd. - Fix type annotations referenced by
tlbparser. By @junkmd. - Modernize
codegenerator.namespaces. By @junkmd. - Improve static typing for
CoGetClassObjectandGetClassObject. By @junkmd. - Refactor the
__new__methods of_cominterface_metaand_coclass_meta. By @junkmd. - Prevent errors caused by defining members with the same name within an enum type. By @junkmd.
- Remove remaining
__cmp__methods. By @newwingbird. - Remove remaining
from __future__ import print_functionlines. By @newwingbird. - Prevent
itfto be an unbound variable in_cominterface_meta.__get_baseinterface_methodcount. By @newwingbird. - Modify the metaclasses to ensure compatibility with Python 3.13 and earlier versions. By @junkmd.
1.4.7
- Improve
_CArrayTypealias import. By @junkmd. - Rename
_byref_typeand_carg_objto_CArgObject. By @junkmd. - Fix typos and make the wording more natural in
README.md. By @umarbutler. - Modernize
BSTRdefinition. By @junkmd. - Modernize
tagDECdefinition. By @junkmd. - Remove methods with mangling names in
typeinfo. By @junkmd. - Rename
test_istreamtotest_stream. By @junkmd. - Add
test_msvidctl. By @junkmd. - Add
test_storage. By @junkmd. - Add
test_monikers. By @junkmd. - Add
test_shelllink. By @junkmd. - Add
test_persist. By @junkmd. - Modernize
persist. By @junkmd. - Add type annotations to
shelllink. By @junkmd. - Bump
python_requiresto>=3.8insetup.cfg. By @junkmd.
1.4.6
- Add tests and method annotations for
IRecordInfo. By @junkmd. - Improve static typings in
automation. By @junkmd. - Tidy up import part in some modules. By @junkmd.
- Refer to
AnyandTuplefrom thehintsstub instead of directly importing them in generated modules. By @junkmd. - Modernize
GUID.py. By @junkmd. - Improve
codegenerator.modulenamerstatic typing. By @junkmd. - Avoid using keywords in
TYPE_CHECKINGblocks. By @junkmd. - Improve member defining parts of
ParseInterfaceandParseDispatch. By @junkmd. - Fix Annoying SyntaxWarning. By @v01d-gh.
1.4.5 Add statically defined ``ISequentialStream`` and improve creation of ``SAFEARRAY``s
- Split
__init__.pyinto some modules. By @junkmd. - Fix importing
_DispMemberSpecinautomation. By @junkmd. - Fix importing
_encode_idlin_comobject. By @junkmd. - Change the name of the component that implements the interface for record parameter testing. By @geppi.
- Implement
SAFEARRAYpointers andSAFEARRAYs as method parameters of a Dispatch Interface. By @geppi. - Change the default value of the
extraparameter in thecreatemethod oftagSAFEARRAYsubtypes. By @geppi. - Implement static import for
ISequentialStream. By @jonschz. - Modernize
test_wmi. By @junkmd. - Add static typing for
_midlSAFEARRAY. By @junkmd.