Releases: sandialabs/shell-logger
v3.0.3
Chores
-
chore: Update Ruff linters (
6ddc335
) -
chore: Ignore warning on missing hash method (
74ed2e0
)Two
Shell
s are equal at a point in time if their types and working
directories match; however, aShell
's working directory can change
over time, and as such, this class is not appropriate for hashing.
Patch
-
patch: Add SLSA provenance to release assets (
05dab68
)See https://slsa.dev/ for motivation.
Creating a patch release to ensure these additions to the automated
release process work.Note that the
release
job has been subdivided, because the SLSA
provenance reusable workflow cannot be used as a step within a job, but
must be used as a job on its own.
Refactoring
-
refactor: Improve clarity (
76ba7c7
)Sourcery suggested:
In stats_collectors, using collectors.extend(generator) works but is
less self-documenting than a direct list comprehension; consider
assigning collectors = [collector(...) for collector in ...] to
match the declared return type and improve readability. -
refactor: Remove AbstractMethod exception (
3143e0d
)I think its existence was a historical artifact of starting this project
before the@abstractmethod
decorator was available.
v3.0.2
v3.0.1
Continuous integration
- ci: Replace deprecated GitHub Action (
0461131
)
Documentation
-
docs: Switch to
project_copyright
(a296c1a
)Using this alias means we're no longer overshadowing the
copyright
built-in, so we can remove the comment to ignore that Ruff linting rule.
Patch
- patch: Omit auto-updates from CHANGELOG (
c5ad075
)
Refactoring
-
refactor: Replace deprecated mktemp (
65b9807
)With NamedTemporaryFile. See
https://github.com/sandialabs/shell-logger/security/code-scanning/2.
v3.0.0
Refactoring
-
refactor!: Rename trace module (
105318d
)Ruff A005 detected that the
trace
module was shadowing a built-in. We
should've noticed this years ago. This commit renames it and the
classes therein so there's no confusion between what's provided by
shell-logger
vs the standard library. It also improves the parity
between this module andstats_collectors
, which improves readability
and eases maintainability.Note that this is a (rather unfortunate) breaking change.
-
refactor: Fix issue from ruff-pre-commit update (
bd514f1
)
v2.0.1
v2.0.0
Chores
-
chore!: Drop support for Python 3.8 (
e4eb77e
)- Use type-hinting out of the box in 3.9.
- Use new dictionary update syntax.
- Update the CI and docs accordingly.
-
chore: Group dependabot updates (
b2514ba
)Run dependabot updates weekly instead of daily, and group them together
for the different providers (GitHub Actions and pip), to reduce the
amount of noise in the repository history. -
chore(deps): No longer pin Sphinx version (
ae35ebb
)sphinx-rtd-theme has been updated to work with the latest Sphinx
version. -
chore(deps): Update sphinx requirement from <8.0.0 to <9.0.0 (
33e0f6f
)Updates the requirements on sphinx to permit the latest version.
updated-dependencies:
- dependency-name: sphinx
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] [email protected]
- dependency-name: sphinx
-
chore: Don't have ruff fix PRs (
16f4eed
)Require a maintainer to make the changes so they're more aware of them.
Continuous integration
-
ci: Harden GitHub Actions (
156b2bb
)Signed-off-by: StepSecurity Bot [email protected]
Documentation
-
docs: Update type hint to match the docs/code (
ee8fdcc
)Sourcery caught that this should be a sequence of tuples, and not just a
single one. -
docs: Pin Sphinx version (
6373150
)The Sphinx 8.0.0 release poses a problem for the sphinx-rtd-theme, so
I'm pinning sphinx below 8.0 to get things back up and running.
Refactoring
-
refactor: Use exception instead of return value (
f9ec075
)Sourcery suggested using an exception for this unreachable scenario.
Testing
-
test: Remove unnecessary parentheses (
9fb0adf
)To align with updated ruff rules.
v1.0.4
v1.0.3
v1.0.2
Change package name
PyPI rejected the name shell-logger
, because it was too close to an existing package name. Append -sandialabs
to the name to avoid ambiguity.