Skip to content

Releases: enthought/comtypes

1.4.6

04 Aug 23:22
a6ea0c3
Compare
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
Compare
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.

1.4.4

07 Jun 16:29
01d5879
Compare
Choose a tag to compare
  • Stop mentioning the last version supporting Windows CE in README.md. By @forderud.
  • Declare the minimum Python version as 3.7. By @jaraco.
  • Move package configuration to declarative config. By @jaraco.

1.4.3

03 Jun 14:05
ce0e393
Compare
Choose a tag to compare
  • Refactor test_findgendir. By @junkmd.
  • Update test_GUID. By @junkmd.
  • Add a feature to typeannotator that interprets the return value. By @junkmd.
  • Update type annotations for _IUnknown_Base and IUnknown. By @junkmd.
  • Add groupby_impltypeflags. By @junkmd.
  • Add static typing for when a CoClass is assigned as the return value type. By @junkmd.
  • Improve EnumerationNamespaces and CodeGenerator.enum_aliases. By @junkmd.
  • Modernize constructor arguments and attributes of each stuff in typedesc. By @junkmd.
  • Split codegenerator into some modules in the sub-package directory. By @junkmd.
  • Implement record pointers as method parameters of a Dispatch Interface. By @geppi.
  • Add npsupport to CI pipeline matrix. By @junkmd.
  • Add "Frequently Asked Questions" to README.md. By @junkmd.

1.4.2

06 May 23:41
3c61129
Compare
Choose a tag to compare
  • Improve the stability of module generation by GetModule. By @junkmd.
  • Define c_int aliases earlier than others in wrapper modules. By @junkmd.
  • Remove trailing newlines generated by codegenerator and typeannotator. By @junkmd.
  • Determine whether a interface is one of the known symbols not only by its name but also by using its iid. By @junkmd.
  • Add Incomplete and Hresult to hints.pyi. By @junkmd.

1.4.1

10 Apr 23:29
040152f
Compare
Choose a tag to compare
  • Fix TypeError when defining enumeration types. By @junkmd

1.4.0 Supporting enumerations in friendly modules

07 Apr 23:25
7fa88e1
Compare
Choose a tag to compare

This is the first major version supporting enumerations in friendly modules.

The names that were used as aliases for c_int within friendly modules will now be used as the names of enumeration types.

  • Add enumeration definitions in generated friendly modules. By @junkmd.
  • Add descriptions to index.rst about the enumeration types. By @junkmd.
  • Add GitHub Actions auto-test workflow. By @junkmd.

1.3.1

25 Feb 23:53
aa770ca
Compare
Choose a tag to compare
  • Add type annotations to dynamically generated modules. By @junkmd.
  • Bring back Excel early-bind test. By @junkmd.
  • update README.md. By @junkmd.

1.3.0 Dropping Python 2.7 support

04 Feb 23:47
afc6488
Compare
Choose a tag to compare

This is the first major version supporting Python 3 only.

  • Improve error message on non Windows environments. By @CristiFati.
  • Adjust styles of codebase. By @junkmd.
  • Apply black==22.12.0 formatter. By @junkmd.
  • Modernize client.dynamic. By @junkmd.
  • Add tests for client.dynamic. By @junkmd.
  • Fix test_client. By @junkmd.
  • Fix test_getactiveobj. By @junkmd.
  • Make explicit the symbols that imports from the wrapper module into the friendly module. By @junkmd.
  • Modernize type annotations in statically defined modules. By @junkmd.
  • Fix several type annotations in statically defined modules. By @jonschz and @junkmd.
  • Remove sys.version_info bridges from production codebase. By @junkmd.
  • Remove for_stub=True conditional branch from the tools.codegenerator.ImportedNamespaces.getvalue. By @junkmd.
  • Fix codegenerator as generating __next__() instead of next() in IEnum.... By @jonschz.
  • Add unit test for generated IEnum... interfaces. By @jonschz.
  • Remove 'Programming Language :: Python :: 2.7' from setup.py. By @junkmd.
  • Change the base class of _ComMemberSpec and _DispMemberSpec to typing.NamedTuple. By @junkmd.
  • Delint and remove wildcard-import from typeinfo. By @junkmd.
  • Split DISPPARAMS instantiation in IDispatch.Invoke method. By @junkmd.
  • Move clear_comtypes_cache to be a callable comtypes.clear_cache module. By @bennyrowland.
  • Wrapper modules are now imported into friendly modules using an abstracted name, __wrapper_module__. By @junkmd.
  • Fix old index bug in call_with_inout within _fix_inout_args. By @jonschz.
  • Fix CONTRIBUTING.md. By @junkmd.
  • Update README.md. By @junkmd.

1.2.1 Python 3.12 support

04 Jan 21:06
ee187e9
Compare
Choose a tag to compare
  • Replace distutils with setuptools. By @junkmd.
  • Add Python 3.12 testing into CI pipeline. By @junkmd.
  • Set long description type to "markdown" to fix PyPI description rendering. By @junkmd.
  • Add hints.pyi to package_data in setup.py which copies hints.pyi to correct install location. By @junkmd.
  • Remove Python >=3.3, <=3.6 from CI pipeline. By @vasily-v-ryabov.