Skip to content

Commit

Permalink
Merge pull request #598 from ZLLentz/rel_v3.1.0
Browse files Browse the repository at this point in the history
REL/DOC: release notes for v3.1.0, make release script run on windows
  • Loading branch information
ZLLentz authored Dec 6, 2023
2 parents 1249940 + c92faab commit 75d3e3c
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 28 deletions.
6 changes: 3 additions & 3 deletions docs/release_notes.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def parse_pre_release_file(path):
Uses empty list when no info was entered for the section.
"""
print(f'Checking {path} for release notes.')
with path.open('r') as fd:
with path.open('r', encoding='utf-8') as fd:
lines = fd.readlines()

section_dict = defaultdict(list)
Expand All @@ -48,7 +48,7 @@ def extend_release_notes(path, version, release_notes):
"""
Given dict mapping of section to lines, extend the release notes file.
"""
with path.open('r') as fd:
with path.open('r', encoding='utf-8') as fd:
lines = fd.readlines()

new_lines = ['\n', '\n']
Expand All @@ -71,7 +71,7 @@ def extend_release_notes(path, version, release_notes):
print('Writing out release notes file')
for line in new_lines:
print(line.strip('\n'))
with path.open('w') as fd:
with path.open('w', encoding='utf-8') as fd:
fd.writelines(output_lines)


Expand Down
17 changes: 17 additions & 0 deletions docs/source/release_notes.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,23 @@
Release History
###############

v3.1.0 (2023-12-05)
===================

Features
--------
- Add overridable ``find_signal`` method to the ``SignalConnection`` class to allow
the use of alternate signal registries in subclasses.
- Updated look and feel: change the typhos suite cli defaults to
"embedded" displays arranged "vertically" instead of
"detailed" displays arranged "horizontally"
to more naturally match how typhos is used at present.

Contributors
------------
- canismarko
- zllentz


v3.0.0 (2023-09-27)
===================
Expand Down
25 changes: 0 additions & 25 deletions docs/source/upcoming_release_notes/595-maint_cli_defaults.rst

This file was deleted.

0 comments on commit 75d3e3c

Please sign in to comment.