-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathPYCHANGELOG
156 lines (110 loc) · 4.32 KB
/
PYCHANGELOG
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
-----------------------------------------------------------------------------
--- CAEN SpA - Software Division ---
-----------------------------------------------------------------------------
CAEN Libs - Python binding
Changelog.
-----------------------------------------------------------------------------
v2.0.2 (18/03/2025)
-------------------
Fixes:
- Fixed regression in `caenhvwrapper.Device.subscribe_*_params` introduced in
v2.0.0 affecting all modules except R6060. The issue caused subscription
failures on systems where `socket.has_dualstack_ipv6()` returns True.
Changes:
- Changed default log directory for `caendpplib` on Windows from
`%APPDATA%\CAEN` to `%LOCALAPPDATA%\CAEN`.
v2.0.1 (12/02/2025)
-------------------
Fixes:
- Fix README and docstring in `caendpplib` demo.
v2.0.0 (12/02/2025)
-------------------
New features:
- Support for CAEN DPP Library as `caendpplib`. NumPy added as dependency
being required by this new submodule.
- Improved `caenvme` demo.
Changes:
- Removed `caenhvwrapper.lib.get_error`, useless at library class level
because requires an handle as argument. The underlying function is still
called automatically on error constructor, if appropriate.
- Removed `caenvme.DataWidth.ctypes`.
Fixes:
- Properly close event sockets on `caenhvwrapper.Device.close`.
- Improved `subscribe_*_params`/`unsubscribe_*_params` error messages
on `caenhvwrapper`.
- Force ASCII encode/decode of strings, being the only encoding supported
by the underlying C libraries.
- Fix `caenplu.lib.usb_enumerate`.
- `caenplu.BoardInfo` and `caenplu.USBDevice` were inheriting from
`ctypes.Structure` by mistake.
v1.3.0 (02/12/2024)
-------------------
New features:
- Dropped support for Python 3.8.
- `Device` classes of all modules has `__slots__` on Python >= 3.10,
except `caenhvwrapper` that has this feature only on Python >= 3.11.
Fixes:
- Fix `multi_write`, `get_input_conf` and `get_output_conf` on `caenvme`.
v1.2.0 (18/11/2024)
-------------------
New features:
- Improved register class, introduced in v1.1.0, with functions to
directly call get/set/multi_get/multi_set without `__getitem__`
and `__setitem__`.
- Introduced a new base class `error.BaseError` for handling errors
across submodules.
- Support for 32-bit PID introduced with CAEN HV Wrapper 7.0.
Fixes:
- Add missing binding of `CAENVME_GetFIFOMode` from `caenvme`.
- Fix Python < 3.12 `caenhvwrapper` support (thanks to @sergey-ryzhikov)
Changes:
- Submodule-specific `ErrorCode` classes have been renamed to `Error.Code`
for consistency.
- The old `ErrorCode` names are now deprecated and will be removed in a
future version.
v1.1.0 (19/09/2024)
-------------------
New features:
- Support for Resol parameter property on caenhvwrapper for VME8100.
- Support for 32-bit PID on CAENComm demo.
- New way to access registers by using `__getitem__` and `__setitem__`.
This enables also read-modify-write operations in a single line
of code,using in-place operators like `dev.reg32[0x40] &= 0xFF`.
It has been added in `caenvme` (registers), `caencomm` (reg16 and
reg32) and `caenplu` (registers). Slicing is supported.
Fixes:
- Fix `caenhvwrapper` load on Linux.
- Classes inheriting `enum.Flag` now inherit enum.IntFlag to improve
the support of unknown flags. This applies to `caenvme.IRQLevels`,
`caencomm.IRQLevels` and all the classes on `caenhvwrapperflags`.
- Fix decode of `caenhvwrapper.ParamProp.enum.`
- Fix error detection on `caenhvwrapper.Device.get_XX_param_prop()`
Changes:
- Removed opened member from device class.
v1.0.3 (02/07/2024)
-------------------
New features:
- Better support of `caenhvwrapper` error messages.
Fixes:
- Fix `caenhvwrapper.exec_comm`.
- Fix support of non PARAMETER events on `caenhvwrapper` (regression
introduced on v1.0.1).
v1.0.2 (26/05/2024)
-------------------
Fixes:
- Readme updated.
v1.0.1 (25/06/2024)
-------------------
Changes:
- On `caenhvwrapper` and `caenplu` some functions now return tuples instead of
lists.
- Examples moved to examples folder.
- Renamed some (unused) values on `caenvme.AddressModifiers`.
New features:
- Update `[project.urls]` on pyproject.tolm, with new public repositories
on github.com.
Fixes:
- Fix some typos.
v1.0.0 (21/06/2024)
-------------------
First public release.