Skip to content

Releases: enthought/comtypes

1.4.14

15 Dec 22:56
b422668

Choose a tag to compare

  • Replace setup.py with pyproject.toml. By @moi15moi.
  • Update codebases for PEP585 compliance. By @junkmd.

1.4.13

12 Oct 14:10
fb8fd58

Choose a tag to compare

  • Remove Python 3.8 and add Python 3.14 to the CI pipelines. By @junkmd.
  • Declare the minimum Python version as 3.9. By @junkmd. By @junkmd.
  • Update PyCArgObject.value for Python 3.14 compatibility. By @junkmd.
  • Add version bridges for the __pointer_type__ attribute protocol. By @junkmd.

1.4.12

27 Aug 23:38
2dc690a

Choose a tag to compare

  • 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_Stat to test_stream. By @junkmd.
  • Add client-side RegisterActiveObject. By @junkmd.
  • Remove useless object inheritance 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 of str.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_eval in 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_npsupport passes with numpy>=2.0.0 by explicitly setting dtype=numpy.int32. By @junkmd.
  • Add tests for DictPropertyBag and type hints for IPropertyBag. By @junkmd.
  • Fix numpy interoperability and enable datetime64 tests. By @junkmd.
  • Revive and correct integer handling logic for VARIANTs when setting values. By @junkmd.
  • Add tests for messageloop. By @junkmd.
  • Revive util and add comprehensive tests. By @junkmd.
  • Refactor and enhance util with explicit imports and typing. By @junkmd.
  • Modernize npsupport by removing the patch for the np._typecodes. By @junkmd.

1.4.11

14 May 23:27
5e4733d

Choose a tag to compare

  • Improve PARAMFLAG_... and DISPATCH_... constants definitions and imports. By @junkmd.
  • Introduce the _CDataType alias from typeshed. By @junkmd.
  • Replace 260 literals/constant definitions with imports from ctypes.wintypes.MAX_PATH. By @junkmd.
  • Replace client._code_cache._get_module_filename with typeinfo.GetModuleFileName. By @junkmd.
  • Improve client._code_cache.SHGetSpecialFolderPath definition. 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 SupportErrorInfoTest to test_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 _...MemberSpec from unpacking to dot access. By @junkmd.
  • Split server.connectionpoints.ConnectionPointImpl._call_sinks. By @junkmd.
  • Refactor create_vtbl_mapping, create_dispimpl and _encode_idl. By @junkmd.
  • Add test_hresult. By @junkmd.
  • Add Test_Vtbl to test_comobject.py. By @junkmd.
  • Delint IUnknown_AddRef and IUnknown_Release. By @junkmd.
  • Convert assertRaises usage to context manager for improved readability. By @junkmd.
  • Remove the unused PATH variable from client/_generate.py. By @moi15moi.

1.4.10

09 Feb 23:46
da08b06

Choose a tag to compare

  • Replace GetModuleFileNameA with GetModuleFileNameW to prevent a TypeError. By @junkmd.
  • Refactor server.register. By @junkmd.
  • PythonClass and PythonPath are no longer registered in the registry for a frozen server. By @junkmd.
  • Use WinDLL/OleDLL instead of windll/oledll. By @moi15moi.
  • In tools.tlbparser, replace windll.oleaut32.QueryPathOfRegTypeLib with typeinfo.QueryPathOfRegTypeLib. By @moi15moi.
  • Adjust QueryPathOfRegTypeLib docstring. By @moi15moi.
  • Reserve blank lines in the generated modules. By @junkmd.
  • Refactor tools subpackage. By @junkmd.
  • Add ActiveObjTest to test_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 ruff lint rules from pyproject.toml. By @moi15moi.
  • Refactor some code from client/__init__.py into 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

06 Jan 23:07
fc2792e

Choose a tag to compare

  • Separate patch processing within _com_interface_meta into a module. By @junkmd.
  • Replace Literal and Protocol with 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.py into production code and test code. By @junkmd.
  • Add docstrings to the module defining the GUID symbol. By @junkmd.
  • Fix broken unregistration of 64bit type libraries. By @forderud.
  • Replace alias definitions with ctypes.wintypes imports. By @fmtabler.
  • Revive pywin32 related tests. By @junkmd.
  • Revive comserver related tests. By @junkmd.
  • Separate the part that creates entries from server.register.Registrar and refactor it. By @junkmd.
  • Add Test_Registrar_.... By @junkmd.
  • Many typing improvements. By @junkmd.
  • Separate vtbl creation within _comobject into a module. By @junkmd.
  • Migrate the documentation from PythonHosted to ReadTheDocs. By @junkmd.

1.4.8 Python 3.13 support

20 Oct 23:16
4cbdb03

Choose a tag to compare

  • 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_type definition to tlbparser. 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 CoGetClassObject and GetClassObject. By @junkmd.
  • Refactor the __new__ methods of _cominterface_meta and _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_function lines. By @newwingbird.
  • Prevent itf to 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

09 Sep 10:17
960ec48

Choose a tag to compare

  • Improve _CArrayType alias import. By @junkmd.
  • Rename _byref_type and _carg_obj to _CArgObject. By @junkmd.
  • Fix typos and make the wording more natural in README.md. By @umarbutler.
  • Modernize BSTR definition. By @junkmd.
  • Modernize tagDEC definition. By @junkmd.
  • Remove methods with mangling names in typeinfo. By @junkmd.
  • Rename test_istream to test_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_requires to >=3.8 in setup.cfg. By @junkmd.

1.4.6

04 Aug 23:22
a6ea0c3

Choose a tag to compare

  • 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 Any and Tuple from the hints stub instead of directly importing them in generated modules. By @junkmd.
  • Modernize GUID.py. By @junkmd.
  • Improve codegenerator.modulenamer static typing. By @junkmd.
  • Avoid using keywords in TYPE_CHECKING blocks. By @junkmd.
  • Improve member defining parts of ParseInterface and ParseDispatch. By @junkmd.
  • Fix Annoying SyntaxWarning. By @v01d-gh.

1.4.5 Add statically defined ``ISequentialStream`` and improve creation of ``SAFEARRAY``s

08 Jul 12:40
d73b917

Choose a tag to compare

  • Split __init__.py into some modules. By @junkmd.
  • Fix importing _DispMemberSpec in automation. By @junkmd.
  • Fix importing _encode_idl in _comobject. By @junkmd.
  • Change the name of the component that implements the interface for record parameter testing. By @geppi.
  • Implement SAFEARRAY pointers and SAFEARRAYs as method parameters of a Dispatch Interface. By @geppi.
  • Change the default value of the extra parameter in the create method of tagSAFEARRAY subtypes. By @geppi.
  • Implement static import for ISequentialStream. By @jonschz.
  • Modernize test_wmi. By @junkmd.
  • Add static typing for _midlSAFEARRAY. By @junkmd.