Skip to content

Commit 6a11981

Browse files
committed
Bumped to version 2.1.0. Updated docs
1 parent 57498b8 commit 6a11981

3 files changed

Lines changed: 14 additions & 1 deletion

File tree

docs/changelog.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
Changelog
22
=========
33

4+
Version 2.1.0
5+
^^^^^^^^^^^^^
6+
7+
* Changed default apartment model to COINIT_APARTMENTTHREADED to increase compatibility with comtypes
8+
* COM initialization respects setting from sys.coinit_flags
9+
410
Version 2.0.1
511
^^^^^^^^^^^^^
612

docs/instrument.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,13 @@ The interface is described in detail in the scripting manual of your microscope
1313
The manual is your ultimate reference, this documentation will only describe the
1414
python wrapper to the COM interface.
1515

16+
The COM apartment model will automatically be initialized as ``COINIT_APARTMENTTHREADED``
17+
(this changed in Version 2.1.0, it was ``COINIT_MULTITHREADED`` before). However, if the
18+
apartment model was already initialized as ``COINIT_MULTITHREADED`` before `temscript`
19+
was imported, `temscript` will also work. If you want a specific apartment model, set the
20+
variable ``sys.coinit_flags`` before importing `temscript`.
21+
22+
1623
Enumerations
1724
^^^^^^^^^^^^
1825

temscript/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '2.0.1'
1+
__version__ = '2.1.0'

0 commit comments

Comments
 (0)