Skip to content

Commit 8a87ad7

Browse files
author
semantic-release
committed
1.2.0
Automatically generated by python-semantic-release
1 parent ae3e12b commit 8a87ad7

2 files changed

Lines changed: 106 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,111 @@
11
# CHANGELOG
22

33

4+
## v1.2.0 (2026-02-13)
5+
6+
### Bug Fixes
7+
8+
- Apply black fixes, more test cov for nic attr
9+
([`b31e537`](https://github.com/redhat-performance/badfish/commit/b31e5376c9d6fbce4325634cae3667ee92404aac))
10+
11+
- Incorrect credentials are masked by traceback
12+
([`54fa694`](https://github.com/redhat-performance/badfish/commit/54fa6945063cc5cde2379855fd55074b498fc04b))
13+
14+
* find_session_uri masks a proper error message when someone passes incorrect credentials (either by
15+
vars or user/pass). * response body seems to be a JSON object and not a redfish root object and we
16+
are not generating a useful error, instead the user gets a traceback that masks the real cause.
17+
18+
before (see https://github.com/redhat-performance/badfish/issues/517)
19+
20+
after
21+
22+
-=>>PYTHONPATH="./src" python3 src/badfish/main.py -H mgmt-d23-h31-000-r650.example.com -u root -p
23+
awrongpassword --power-state - WARNING - Passing secrets via command line arguments can be unsafe.
24+
Consider using environment variables (BADFISH_USERNAME, BADFISH_PASSWORD). - ERROR - Failed to
25+
authenticate. Verify your credentials for mgmt-d23-h31-000-r650.example.com
26+
27+
* Also remove asyncio import from tests/test_main_coverage.py as it wasn't being utilized.
28+
29+
fixes: https://github.com/redhat-performance/badfish/issues/517
30+
31+
### Chores
32+
33+
- Address mock whitespace in tests
34+
([`05b409b`](https://github.com/redhat-performance/badfish/commit/05b409b293ab1e20c58f3950b659e2577c4f80f7))
35+
36+
- Fix debug logger typo
37+
([`0116cb7`](https://github.com/redhat-performance/badfish/commit/0116cb74f87f5203ca2016f6752c9c35a0210928))
38+
39+
- Fix indentation
40+
([`073efca`](https://github.com/redhat-performance/badfish/commit/073efcad3314706620ed6f4efe5f9554d080e472))
41+
42+
- Fix last coverage lines
43+
([`f2d4637`](https://github.com/redhat-performance/badfish/commit/f2d4637b36e42cd4dc16b68db279154a39225299))
44+
45+
- Fix tests spacing on returns
46+
([`a113725`](https://github.com/redhat-performance/badfish/commit/a113725d27b688d00c9b3645c7176bf1717ba2e6))
47+
48+
- Fully revert old_password,new_password env
49+
([`3de528b`](https://github.com/redhat-performance/badfish/commit/3de528bc26bb51bc527acba234f0178778063567))
50+
51+
- Further tests adjustment
52+
([`0741776`](https://github.com/redhat-performance/badfish/commit/0741776c3f7bfa4f48d21cd0e7eaf1ec3ba53e77))
53+
54+
- I grow weary of adjusting test intricacies
55+
([`3c68a68`](https://github.com/redhat-performance/badfish/commit/3c68a68739920a78522d97fa63c5a6617cfba799))
56+
57+
- Refactor test_main_coverage.py for black
58+
([`42d4911`](https://github.com/redhat-performance/badfish/commit/42d4911becd3d1090e16fa78fd2e81a2d5f5e631))
59+
60+
- Remove new/reset/old password handling
61+
([`1e9298e`](https://github.com/redhat-performance/badfish/commit/1e9298ee9c11bf2a4afcbe1e972b24be50aa0a90))
62+
63+
* This is clumsy and very unlikely these values will be an env variable. * Nothing keeps people from
64+
securing it with a temporary export but it is not in scope for using stored env vars which tend to
65+
be static or change rarely and thus makes more sense to concentrate on for this feature.
66+
67+
- Revert, fix up only affected tests
68+
([`848a4e8`](https://github.com/redhat-performance/badfish/commit/848a4e817007c16274e6d9fd67aa98b65cfe36d3))
69+
70+
- Set test vars in config.py
71+
([`4ec3b1d`](https://github.com/redhat-performance/badfish/commit/4ec3b1d423fe0b7c415980585349df9d0233aacb))
72+
73+
- Spacing again on tests
74+
([`4661d74`](https://github.com/redhat-performance/badfish/commit/4661d74704715cf7a4b30cfffcea6f552c2b5cf7))
75+
76+
- Test modifications
77+
([`d3568f0`](https://github.com/redhat-performance/badfish/commit/d3568f077f42f42e03fa4405dbed182eac07019e))
78+
79+
- Try to fix failing tests and tox
80+
([`b1e14b2`](https://github.com/redhat-performance/badfish/commit/b1e14b2f4e8b7e2bdde59dd3f6427dfdf8386b44))
81+
82+
- Try two on aligning spacing for log msgs
83+
([`0a67bda`](https://github.com/redhat-performance/badfish/commit/0a67bda956acada5d1043b55f925318b7b0bc222))
84+
85+
- Update doc examples by suggest
86+
([`52f721b`](https://github.com/redhat-performance/badfish/commit/52f721bb9fe714a5cc885b73c571b59098f03653))
87+
88+
* incorpoate some suggestions from @stephane-chazelas
89+
90+
- We should not need mock user/pass now
91+
([`805cdad`](https://github.com/redhat-performance/badfish/commit/805cdad4c3a388684f4e22f57b1bd374d6dca447))
92+
93+
- Whitespace and unsafe_secrets for tests
94+
([`01ff58a`](https://github.com/redhat-performance/badfish/commit/01ff58a0a8be85b3624da05a91d4ae55193cd038))
95+
96+
### Features
97+
98+
- Support auth via env vars
99+
([`38cc4e0`](https://github.com/redhat-performance/badfish/commit/38cc4e098d3371cba51072c79ebbc8d77e9d7038))
100+
101+
* Add these new vars for safer badfishing - BADFISH_PASSWORD - BADFISH_USERNAME -
102+
BADFISH_NEW_PASSWORD - BADFISH_OLD_PASSWORD
103+
104+
* Update venv example for PYTHONPATH
105+
106+
fixes: https://github.com/redhat-performance/badfish/issues/496
107+
108+
4109
## v1.1.1 (2026-02-03)
5110

6111
### Bug Fixes

src/badfish/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "1.1.1"
1+
__version__ = "1.2.0"

0 commit comments

Comments
 (0)