Releases: enthought/comtypes
Releases · enthought/comtypes
1.4.4
1.4.3
- Refactor
test_findgendir. By @junkmd. - Update
test_GUID. By @junkmd. - Add a feature to
typeannotatorthat interprets the return value. By @junkmd. - Update type annotations for
_IUnknown_BaseandIUnknown. By @junkmd. - Add
groupby_impltypeflags. By @junkmd. - Add static typing for when a
CoClassis assigned as the return value type. By @junkmd. - Improve
EnumerationNamespacesandCodeGenerator.enum_aliases. By @junkmd. - Modernize constructor arguments and attributes of each stuff in
typedesc. By @junkmd. - Split
codegeneratorinto some modules in the sub-package directory. By @junkmd. - Implement record pointers as method parameters of a Dispatch Interface. By @geppi.
- Add
npsupportto CI pipeline matrix. By @junkmd. - Add "Frequently Asked Questions" to
README.md. By @junkmd.
1.4.2
- Improve the stability of module generation by
GetModule. By @junkmd. - Define
c_intaliases earlier than others in wrapper modules. By @junkmd. - Remove trailing newlines generated by
codegeneratorandtypeannotator. 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
IncompleteandHresulttohints.pyi. By @junkmd.
1.4.1
1.4.0 Supporting enumerations in friendly modules
This is the first major version supporting enumerations in friendly modules.
1.3.1
1.3.0 Dropping Python 2.7 support
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.0formatter. 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_infobridges from production codebase. By @junkmd. - Remove
for_stub=Trueconditional branch from thetools.codegenerator.ImportedNamespaces.getvalue. By @junkmd. - Fix
codegeneratoras generating__next__()instead ofnext()inIEnum.... By @jonschz. - Add unit test for generated
IEnum...interfaces. By @jonschz. - Remove
'Programming Language :: Python :: 2.7'fromsetup.py. By @junkmd. - Change the base class of
_ComMemberSpecand_DispMemberSpectotyping.NamedTuple. By @junkmd. - Delint and remove wildcard-import from
typeinfo. By @junkmd. - Split
DISPPARAMSinstantiation inIDispatch.Invokemethod. By @junkmd. - Move
clear_comtypes_cacheto be a callablecomtypes.clear_cachemodule. 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_inoutwithin_fix_inout_args. By @jonschz. - Fix
CONTRIBUTING.md. By @junkmd. - Update
README.md. By @junkmd.
1.2.1 Python 3.12 support
- Replace
distutilswithsetuptools. 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.pyitopackage_datainsetup.pywhich copieshints.pyito correct install location. By @junkmd. - Remove Python >=3.3, <=3.6 from CI pipeline. By @vasily-v-ryabov.
1.2.0 numpy interop breaking changes & a lot of re-factoring
This is the last major version supporting Python 2.7. Next major one 1.3.0 will be Python3 only.
- Remove all automatic imports of
numpy, and makenumpyinterop opt-in. By @bennyrowland. - Move and redefine generating module functions for fixing cross imports. By @junkmd.
- Refactor creating
__all__part incodegenerator.Generator.generate_code. By @junkmd. - Quit calling
GetModulefromtools.codegenerator. By @junkmd. - Commonize module-creating functions. By @junkmd.
- Shorten the lifetime of
io.StringIOused for code generation. By @junkmd. - Fix import source of
Arrayfrom_ctypestoctypes. By @junkmd. - Add
for_stubmode toImportedNamespaces.getvalue. By @junkmd. - Remove
monkeypatch_COMError. By @junkmd. - Remove
CodeGenerator.need_GUID. By @junkmd. - Carve out
CodeGenerator.type_namemethod toTypeNamerclass. By @junkmd. - Add
__known_symbols__attributes. By @junkmd. - Remove
CodeGenerator.type_namecalls no longer needed and rename to_to_type_name. By @junkmd. - Change
_fix_inout_argsto module-level top level function. By @junkmd. - Fix docstring from
DispInterfaceHead. By @junkmd. ...METHODand...PROPERTYreturn_MemberSpecs instead oftuples. By @junkmd.- Make generating
...propertyDRY. By @junkmd. - Refactor
_MemberSpecstuffs and separate modules. By @junkmd. - Carve out
make_...Methodandmake_...Propertyofcodegenerator. By @junkmd. - Removed extra space in
typeinfo.IRecordInfo._methods_. By @j0ker70. - Add type annotations to many modules. By @junkmd.
- Fix type annotations in many modules. By @j0ker70, @muddi900, and @junkmd.
- Delint
setup.py. By @jaraco. - Add
CONTRIBUTING.md. By @junkmd. - Modernize
README.mdstyle. By @junkmd. - Add announcements of plan for renaming
masterbranch tomainand dropping Python2 toREADME.md. By @junkmd.