Skip to content

Commit fd961e3

Browse files
authored
Merge pull request #389 from linien-org/release/v1.0.2
Release v1.0.2
2 parents 0328dcd + a25a224 commit fd961e3

File tree

8 files changed

+184
-41
lines changed

8 files changed

+184
-41
lines changed

CHANGELOG.md

Lines changed: 169 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,204 @@
1-
## V 0.6.0
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) in spirit but
7+
uses [PEP440](https://peps.python.org/pep-0440/) for the version identification.
8+
9+
## [1.0.2] - 2024-04-05
10+
11+
## Changed
12+
13+
* Use pypi for version check instead of `version-info.json` in the Github repository.
14+
15+
## [1.0.1] - 2023-12-22
16+
17+
## Fixed
18+
19+
* Fix `linien-server` startup by @bleykauf in https://github.com/linien-org/linien/pull/369
20+
21+
## [1.0.0] - 2023-12-01
22+
23+
### Added
24+
25+
* Add (debug) logging by @bleykauf in https://github.com/linien-org/linien/pull/349
26+
27+
### Changed
28+
29+
* Better names for autolock algorithms FastPID-only mode and PID optimizationnoise analysis by @bleykauf in https://github.com/linien-org/linien/pull/346 (fixes https://github.com/linien-org/linien/issues/235)
30+
31+
### Fixed
32+
33+
* Fix bug where application data directory was not created by @bleykauf in https://github.com/linien-org/linien/pull/361
34+
* Fix all kinds of dependencies issues by @doronbehar in https://github.com/linien-org/linien/pull/353
35+
36+
## [0.8.0] - 2023-07-06
37+
38+
### Added
39+
40+
* Add mypy configuration by @bleykauf in https://github.com/linien-org/linien/pull/336
41+
* Add parameter logging to influxdb by @bleykauf in https://github.com/linien-org/linien/pull/311
42+
* Adapt to RedPitaya OS 2 by @hermitdemschoenenleben in https://github.com/linien-org/linien/pull/342
43+
44+
### Changed
45+
* Simplify the app structure by @bleykauf in https://github.com/linien-org/linien/pull/320
46+
* Simplify server structure by @bleykauf in https://github.com/linien-org/linien/pull/321
47+
* Simplify acquisition by @bleykauf in https://github.com/linien-org/linien/pull/333
48+
* Improve installation script by @bleykauf in https://github.com/linien-org/linien/pull/335
49+
* Improve authentication by @bleykauf in https://github.com/linien-org/linien/pull/343
50+
51+
52+
## [0.7.0] - 2023-03-21
53+
54+
### Added
55+
56+
* Add ability to output slow PID on fast DACs by @bleykauf in https://github.com/linien-org/linien/pull/312, thanks @cmf84 for the initial commit
57+
* Add `CITATION.cff` by @bleykauf in https://github.com/linien-org/linien/pull/274
58+
59+
### Changed
60+
* Use deterministic random number generation for tests by @bleykauf in https://github.com/linien-org/linien/pull/315
61+
* Use docstrings instead of comments for parameter documentation by @bleykauf in https://github.com/linien-org/linien/pull/316
62+
63+
### Fixed
64+
* README: Fix link to "getting started" by @doronbehar in https://github.com/linien-org/linien/pull/313
65+
66+
67+
## [0.6.0] - 2023-02-27
68+
69+
### Changed
70+
271
- Refactor package structure by @bleykauf in https://github.com/linien-org/linien/pull/277
372

4-
## V 0.5.3.post2
5-
- Pin specific commits for installation of `pyrp3 and `mdio-tool` in `linien_install_requirements.sh`
73+
### Removed
74+
* We are no longer providing a Linux executable since it cannot be built using CI (see #263) and most users run Windows. We recommand installing linien-gui using pip (see the updated readme). If you encounter any problems, please open an issue.
75+
76+
## [0.5.3.post2] - 2023-02-24
77+
78+
### Fixed
79+
680
- Fix file extension in `linien_start_server.sh`, see #291. Thank you, @doronbehar!
7-
- Bump future from 0.18.2 to 0.18.3 by @dependabot in https://github.com/linien-org/linien/pull/305
81+
- Pin specific commits for installation of `pyrp3 and `mdio-tool` in `linien_install_requirements.sh`
82+
83+
## [0.5.3] - 2023-04-12
84+
85+
### Fixed
886

9-
## V 0.5.3
1087
- Fix bug preventing proper starting and stopping of linien-server
1188

12-
## V 0.5.2
89+
## [0.5.2] - 2023-04-05
90+
91+
### Added
92+
1393
- Better keyboard controls for spinboxes
1494

15-
## V 0.5.1
95+
## [0.5.1] - 2023-02-17
96+
97+
### Added
98+
1699
- Re-enable sweep for fast mode.
17100

18-
## V 0.5.0
101+
## [0.5.0.post1] - 2022-01-24
102+
103+
### Added
104+
19105
- **Better sweep controls** make it easier to adjust the sweep range and allow to stop the sweep altogether.
20106
- **A new, faster PID-only mode** allows for a higher control bandwidth by skipping modulation/demodulation steps (useful for offset locks).
21107
- **Added Welch's method** to the measurement of the error signals power spectral density (PSD).
22108

23-
## V 0.4.3
109+
### Changed
110+
111+
* The parameters that deal with the sweep / ramp have been renamed:
112+
* "center" is now "sweep_center"
113+
* "ramp_amplitude", "ramp_speed" and * * "autolock_initial_ramp_amplitude" are now "sweep_amplitude" and * "sweep_speed" and "autolock_initial_sweep_amplitude", respectively
114+
There is a new boolean parameter "sweep_pause".
115+
116+
117+
## [0.4.3] - 2021-06-22
118+
119+
### Added
120+
24121
- **Disabled LED blinking** as [it causes additional noise](https://github.com/RedPitaya/RedPitaya/issues/205) (thanks to Yao-Chin!)
25122
- **DC spectroscopy signal is displayed** (thanks to aisichenko for the idea!)
26123
- **lpsd** is now used for psd measurements (samples psd on a log scale)
124+
125+
### Fixed
126+
27127
- **various bug fixes** especially in the autolock component
28128

29-
## V 0.4.2
129+
## [0.4.2] - 2021-03-14
130+
131+
### Removed
132+
30133
- **Removed "Check lock" and "Watch lock" features** as they caused problems with the new autolock algorithms as well as with noise analysis. These features are planned to be reimplemented in a future release (and in a more sophisticated way). If you rely on these features, consider using Linien version `0.3.2` until then.
31134

32-
## V 0.4.1
135+
## [0.4.1] - 2021-03-10
136+
137+
### Fixed
138+
33139
- fix a bug in the server package that lead to an incomplete install
34140

35-
## V 0.4.0
141+
## [0.4.0] - 2021-03-10
142+
143+
### Added
144+
36145
- Implemented new autolock algorithms that are faster and work with high jitter
37146
- For noise analysis, PSD of the error signal may be recorded
38147
- Plot window of the main window may be zoomed / panned by clicking and dragging / using the mouse wheel
39148
- Parameters are not only backed up on the client side but also on the server. When client connects to a server with parameter mismatch, the user may decide whether to keep local or remote parameters
40149

41-
## V 0.3.2
42-
- FIX: incompatibility with rpyc==5.0.0
150+
## [0.3.2] - 2021-01-06
151+
152+
### Changed
153+
43154
- improved documentation
44155

45-
## V 0.3.1
46-
- FIX: derivative of PID should work now as expected
156+
### Fixed
157+
158+
- Mark incompatibility with `rpyc==5.0.0`
159+
160+
161+
## [0.3.1] - 2020-12-30
162+
163+
### Fixed
164+
165+
- derivative of PID should work now as expected
166+
167+
## [0.3.0] - 2020-12-23
168+
169+
### Added
47170

48-
## V 0.3.0
49171
* **IQ demodulation** (simultaneous orthogonal demodulation) allows for determination of the spectroscopy signal strength. This makes one-shot optimization of the demodulation phase possible
50-
* **Improved optimization algorithm**: Automatic optimization of the slope of a line is now more robust and converges faster
51-
* **More accurate autolock**: Autolock reliability was improved
52172
* **ANALOG_OUTs** can be set using python client or GUI
53-
* **Digital GPIO** outputs are now accessible using python client
54-
* **Keyboard shortcuts for zoom and pan**: Use `` / `` / `+` / `-`
55173
* **Device editing** is now possible, leaving device's parameters untouched
56174
* **Extra package for python client**: `pip install linien-python-client` installs a headless version of the linien client that allows to control your lock in an environment that doesn't provide GUI libraries
57-
* **Bug fixes and performance improvements**
175+
* **Digital GPIO** outputs are now accessible using python client
176+
* **Keyboard shortcuts for zoom and pan**: Use `` / `` / `+` / `-`
177+
178+
### Changed
179+
180+
* **Improved optimization algorithm**: Automatic optimization of the slope of a line is now more robust and converges faster
181+
* **More accurate autolock**: Autolock reliability was improved
182+
183+
### Fixed
184+
185+
* **Bug fixes and performance improvements**
186+
187+
188+
[1.0.2]: https://github.com/linien-org/linien/compare/v1.0.1...v1.0.2
189+
[1.0.1]: https://github.com/linien-org/linien/compare/v1.0.0...v1.0.1
190+
[1.0.0]: https://github.com/linien-org/linien/compare/v0.8.0...v1.0.0
191+
[0.8.0]: https://github.com/linien-org/linien/compare/v0.7.0...v0.8.0
192+
[0.7.0]: https://github.com/linien-org/linien/compare/v0.6.0...v0.7.0
193+
[0.6.0]: https://github.com/linien-org/linien/compare/v0.3.0.post2...v0.6.0
194+
[0.5.3.post2]: https://github.com/linien-org/linien/compare/v0.5.3...v0.5.3.post2
195+
[0.5.3]: https://github.com/linien-org/linien/compare/v0.5.2...v0.5.3
196+
[0.5.2]: https://github.com/linien-org/linien/compare/v0.5.1...v0.5.2
197+
[0.5.1]: https://github.com/linien-org/linien/compare/v0.5.0.post1...v0.5.1
198+
[0.5.0.post1]: https://github.com/linien-org/linien/compare/v0.4.3...v0.5.0.post1
199+
[0.4.3]: https://github.com/linien-org/linien/compare/v0.4.2...v0.4.3
200+
[0.4.2]: https://github.com/linien-org/linien/compare/v0.4.1...v0.4.2
201+
[0.4.1]: https://github.com/linien-org/linien/compare/v0.4.0...v0.4.1
202+
[0.3.2]: https://github.com/linien-org/linien/compare/v0.3.1...v0.3.2
203+
[0.3.1]: https://github.com/linien-org/linien/compare/v0.3.0...v0.3.1
204+
[0.3.0]: https://github.com/linien-org/linien/compare/v0.2.3...v0.3.0

linien-client/setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
from setuptools import find_packages, setup
2020

21-
version = "1.0.1"
21+
version = "1.0.2"
2222

2323
setup(
2424
name="linien-client",
@@ -41,6 +41,6 @@
4141
install_requires=[
4242
"fabric>=2.7.0",
4343
"typing_extensions>=4.5.0",
44-
"linien-common==1.0.1",
44+
"linien-common==1.0.2",
4545
],
4646
)

linien-common/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
setup(
2121
name="linien-common",
22-
version="1.0.1",
22+
version="1.0.2",
2323
author="Benjamin Wiegand",
2424
author_email="[email protected]",
2525
maintainer="Bastian Leykauf",

linien-gui/linien_gui/ui/version_checker.py

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,10 @@
1616
# You should have received a copy of the GNU General Public License
1717
# along with Linien. If not, see <http://www.gnu.org/licenses/>.
1818

19-
import json
2019
import logging
21-
from urllib.request import urlopen
2220

2321
import linien_gui
22+
import requests
2423
from packaging import version
2524
from PyQt5.QtCore import QThread, pyqtSignal
2625

@@ -35,10 +34,10 @@ def run(self):
3534
our_version = version.parse(linien_gui.__version__)
3635
latest_version = our_version
3736
logger.debug("Check whether new version is available.")
38-
url = "https://raw.githubusercontent.com/linien-org/linien/master/version-info.json" # noqa: E501
39-
try:
40-
with urlopen(url) as response:
41-
response_content = json.loads(response.read())
42-
latest_version = version.parse(response_content["latest"])
43-
finally:
37+
response = requests.get("https://pypi.org/pypi/linien-gui/json")
38+
if response.ok:
39+
latest_version = version.parse(response.json()["info"]["version"])
4440
self.check_done.emit(latest_version > our_version)
41+
else:
42+
logger.error("Failed to check for new version.")
43+
self.check_done.emit(False)

linien-gui/pyinstaller.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ a = Analysis(
1111
pathex=[],
1212
binaries=[],
1313
datas=datas,
14-
hiddenimports=["PyQt5.sip", "superqt"],
14+
hiddenimports=["PyQt5.sip", "superqt", "scipy.special._cdflib"],
1515
hookspath=[],
1616
runtime_hooks=[],
1717
excludes=[],

linien-gui/setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
setup(
2222
name="linien-gui",
23-
version="1.0.1",
23+
version="1.0.2",
2424
author="Benjamin Wiegand",
2525
author_email="[email protected]",
2626
maintainer="Bastian Leykauf",
@@ -42,7 +42,7 @@
4242
"pyqtgraph>=0.10.0",
4343
"PyQt5>=5.12.0",
4444
"superqt>=0.2.3",
45-
"linien_client==1.0.1",
45+
"linien_client==1.0.2",
4646
],
4747
package_data={
4848
# IMPORTANT: any changes have to be made in pyinstaller.spec, too

linien-server/setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
setup(
2222
name="linien-server",
23-
version="1.0.1",
23+
version="1.0.2",
2424
author="Benjamin Wiegand",
2525
author_email="[email protected]",
2626
maintainer="Bastian Leykauf",
@@ -45,7 +45,7 @@
4545
"pyrp3>=1.1.0,<2.0;platform_machine=='armv7l'", # only install on RedPitaya
4646
"requests==2.25.1;python_version<'3.10'", # pinned because of bug in pip 9.0.1, see #339 # noqa: E501
4747
"requests>=2.25.1;python_version>='3.10'",
48-
"linien-common==1.0.1",
48+
"linien-common==1.0.2",
4949
],
5050
scripts=[
5151
"linien_server/linien_start_server.sh",

version-info.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)