Skip to content

Commit

Permalink
Merge pull request #336 from ZLLentz/rel_v2.4.0
Browse files Browse the repository at this point in the history
REL: v2.4.0
  • Loading branch information
ZLLentz authored Sep 27, 2023
2 parents bee7417 + a7d5f86 commit 9819438
Show file tree
Hide file tree
Showing 12 changed files with 43 additions and 210 deletions.
39 changes: 39 additions & 0 deletions docs/source/releases.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,45 @@ Release History
###############


v2.4.0 (2023-09-27)
===================

Features
--------
- Added ``happi.audit.audit()`` which can be used to programmatically audit
happi items.

Bugfixes
--------
- Fixes bug where `happi transfer` was not filling default values properly
- Fixes conftest.trim_split_output, which was effectively a no-op. Touches up affected tests
- Issue 302: Add functionality to happi 'repair' that ensures that the name and id fields of a device are the same.
- Removes an extra pcdsutils import from test_cli.py that is not properly caught by error handling

Maintenance
-----------
- Adds error handling for the temporary file created when initializing a json backend object.
- Changes format of temporary file name generation to contain only a unique hash.
- Tests modified to no longer assert stdout matches expected strings. Rather the effect of the
command being tested is verified independently. The `assert_match_expected` helper is still
used, but will now print mismatches instead of asserting them.
- Allows `happi update` to handle json-backend-type payloads
- Adds pcdsutils and pcdsdevices to environment requirements in conda recipe and dev requirements
- Removes pcdsutils and pcdsdevices from extra testing requirements in github workflow
- The ``happi audit`` CLI entrypoint has been modified to use
``happi.audit.audit()``.
- Updates mongo backend to handle authSource, require connection information (host, user, etc)
- Documents bson dependency. Bson is vendored by pymongo, which instructs
users to not install bson from pypi (`pymongo readme <https://github.com/mongodb/mongo-python-driver/tree/master#installation>`)

Contributors
------------
- klauer
- laura-king
- tangkong



v2.3.0 (2023-06-30)
===================

Expand Down
22 changes: 0 additions & 22 deletions docs/source/upcoming_release_notes/302-repair_match_name_to_id.rst

This file was deleted.

23 changes: 0 additions & 23 deletions docs/source/upcoming_release_notes/304-remove_temporary_file.rst

This file was deleted.

22 changes: 0 additions & 22 deletions docs/source/upcoming_release_notes/318-mnt_mongo_backend.rst

This file was deleted.

22 changes: 0 additions & 22 deletions docs/source/upcoming_release_notes/320-bug_update_json.rst

This file was deleted.

24 changes: 0 additions & 24 deletions docs/source/upcoming_release_notes/322-happi-audit-split.rst

This file was deleted.

This file was deleted.

This file was deleted.

23 changes: 0 additions & 23 deletions docs/source/upcoming_release_notes/333-doc_bson_not_req.rst

This file was deleted.

25 changes: 0 additions & 25 deletions docs/source/upcoming_release_notes/335-bug_xfer_default.rst

This file was deleted.

4 changes: 2 additions & 2 deletions docs/source/upcoming_release_notes/template-full.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ Your filename should be issuenumber-title.rst, substituting appropriately.
Make sure to fill out any section that represents changes you have made,
or replace the default bullet point with N/A.

API Changes
-----------
API Breaks
----------
- List backwards-incompatible changes here.
Changes to PVs don't count as API changes for this library,
but changing method and component names or changing default behavior does.
Expand Down
4 changes: 2 additions & 2 deletions docs/source/upcoming_release_notes/template-short.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
IssueNumber Title
#################

API Changes
-----------
API Breaks
----------
- N/A

Features
Expand Down

0 comments on commit 9819438

Please sign in to comment.