Releases: slalombuild/secureli
v0.26.0
v0.26.0 (2024-02-02)
Chore
- chore: pip: Bump coverage from 7.3.1 to 7.4.1 (#413)
Bumps coverage from 7.3.1 to
7.4.1.
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (187a78d
)
- chore: pip: Bump pathspec from 0.11.2 to 0.12.1 (#415)
Bumps pathspec from 0.11.2
to 0.12.1.
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (138ab5b
)
- chore: pip: Bump poethepoet from 0.24.1 to 0.24.4 (#416)
Bumps poethepoet from 0.24.1 to
0.24.4.
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (c64227e
)
- chore: pip: Bump pytest-mock from 3.11.1 to 3.12.0 (#414)
Bumps pytest-mock from
3.11.1 to 3.12.0.
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (fb794a1
)
- chore: github-actions: Bump actions/setup-python from 4 to 5 (#412)
Bumps actions/setup-python
from 4 to 5.
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (1df4ee1
)
Feature
- feat: show versions of configured hooks for repo (#419)
secureli-175
When running secureli --version
will display the versions of all the
pre-commit hooks installed
Changes
<!-- A detailed list of changes -->
- Display list versions of versions of pre-commit hooks installed when
runningsecureli --version
- Added launch.json setting file to debug in vscode
Testing
<!--
Mention updated tests and any manual testing performed.
Are aspects not yet tested or not easily testable?
Feel free to include screenshots if appropriate.
-->
- All existing unit tests are passing
Clean Code Checklist
<!-- This is here to support you. Some/most checkboxes may not apply to
your change -->
- Meets acceptance criteria for issue
- New logic is covered with automated tests
- Appropriate exception handling added
- Thoughtful logging included
- Documentation is updated
- Follow-up work is documented in TODOs
- TODOs have a ticket associated with them
- No commented-out code included
<!--
Github-flavored markdown reference:
https://docs.github.com/en/get-started/writing-on-github
--> (fd098ab
)
v0.25.0
v0.25.0 (2024-01-31)
Chore
- chore: pip: Bump black from 23.9.1 to 24.1.1 (#406)
Bumps black from 23.9.1 to 24.1.1.
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tyler Durkota <[email protected]> (6049985
)
- chore: pip: Bump pytest from 7.4.2 to 8.0.0 (#408)
Bumps pytest from 7.4.2 to
8.0.0.
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (c159daf
)
- chore: github-actions: Bump python-semantic-release/python-semantic-release from 8.1.1 to 8.7.2 (#352)
Bumps
python-semantic-release/python-semantic-release
from 8.1.1 to 8.7.2.
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (7fbc181
)
- chore: pip: Bump pygments from 2.16.1 to 2.17.2 (#409)
Bumps pygments from 2.16.1 to
2.17.2.
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (5422fa1
)
- chore: pip: Bump pre-commit from 3.4.0 to 3.6.0 (#341)
Bumps pre-commit from 3.4.0
to 3.6.0.
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (8ba1917
)
- chore: pip: Bump identify from 2.5.29 to 2.5.33 (#340)
Bumps identify from 2.5.29 to
2.5.33.
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (994983d
)
Feature
- feat: add logic to handle overwriting existing pre-commit hooks (#410)
secureli-372
closes #372
Handles overwriting existing pre-commit install in the user's repo on
new install
Changes
- Adds logic to check if pre-commit hook exists and if so, creates a
backup of the current file and overwrites it with SeCureLI's pre-commit
content - Print a warning to the user to let them know that the file is being
overwritten and that a backup is created
Testing
Initialize SeCureLI on a git repo with an existing pre-commit file
<img width="677" alt="Screenshot 2024-01-30 at 2 01 42 PM"
src="https://github.com/slalombuild/secureli/assets/58826693/11240502-db9b-4b29-a3aa-87b400518638">
Clean Code Checklist
<!-- This is here to support you. Some/most checkboxes may not apply to
your change -->
- Meets acceptance criteria for issue
- New logic is covered with automated tests
- Appropriate exception handling added
- Thoughtful logging included
- Documentation is updated
- Follow-up work is documented in TODOs
- TODOs have a ticket associated with them
- No commented-out code included
<!--
Github-flavored markdown reference:
https://docs.github.com/en/get-started/writing-on-github
-->
Co-authored-by: Tyler D <[email protected]> (7741740
)
v0.24.1
v0.24.1 (2024-01-30)
Chore
- chore: github-actions: Bump actions/setup-python from 4 to 5 (#338)
Bumps actions/setup-python
from 4 to 5.
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (7c31a65
)
- chore: pip: Bump gitpython from 3.1.35 to 3.1.37 (#315)
Bumps gitpython
from 3.1.35 to 3.1.37.
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Caleb Tonn <[email protected]>
Co-authored-by: Tyler D <[email protected]> (a2e4c94
)
- chore: pip: Bump urllib3 from 2.0.4 to 2.0.7 (#327)
Bumps urllib3 from 2.0.4 to 2.0.7.
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tyler D <[email protected]> (df04309
)
Fix
- fix: Fix semantic-release config (#402)
secureli-250
Instead of completing the work that was originally planned for #250
(appending -A
to our release version), we've opted to not do that but
in the process of investigating I found that there was a minor typo in
the pyproject.toml
file that was preventing some of the options from
getting picked up correctly.
Testing
- No new tests were added, but I performed manual testing with a local
invocation ofpre-commit version
. (db10ee7
)
v0.24.0
v0.24.0 (2024-01-26)
Ci
- ci: Run BATS test in pipeline (#403)
secureli-128
Running BATS to validate e2e tests on every PR push. They seem to run
pretty quickly so it shouldn't add much latency to the pipeline.
Changes
- BATS tests now run in the pipeline and print out verbose results (This
work was done by @joe-stafford ) - Enabling
ci:
as a valid PR prefix, as it's supported by
conventional
commits.
Testing
- Fixed existing BATS tests & enabled them in the pipeline
Clean Code Checklist
<!-- This is here to support you. Some/most checkboxes may not apply to
your change -->
- Meets acceptance criteria for issue
- New logic is covered with automated tests
- Appropriate exception handling added
- Thoughtful logging included
- Documentation is updated
- Follow-up work is documented in TODOs
- TODOs have a ticket associated with them
- No commented-out code included
<!--
Github-flavored markdown reference:
https://docs.github.com/en/get-started/writing-on-github
-->
Co-authored-by: Joey Stafford <[email protected]> (05deb62
)
Feature
- feat: Feature/secureli 394 gh cache action (#405)
secureli-394
<!-- Include general description here -->
This PR enables github caching for various build and testing steps
Changes
<!-- A detailed list of changes -->
- Update .github/workflows/build_and_test.yml with caching options
- Update .github/workflows/integration_testing.yml with caching options
Testing
<!--
Mention updated tests and any manual testing performed.
Are aspects not yet tested or not easily testable?
Feel free to include screenshots if appropriate.
-->
- No new tests
Clean Code Checklist
<!-- This is here to support you. Some/most checkboxes may not apply to
your change -->
- Meets acceptance criteria for issue
- New logic is covered with automated tests
- Appropriate exception handling added
- Thoughtful logging included
- Documentation is updated
- Follow-up work is documented in TODOs
- TODOs have a ticket associated with them
- No commented-out code included
<!--
Github-flavored markdown reference:
https://docs.github.com/en/get-started/writing-on-github
--> (2797f03
)
v0.23.0
v0.23.0 (2024-01-23)
Chore
- chore: pip: Bump jinja2 from 3.1.2 to 3.1.3 (#362)
Bumps jinja2 from 3.1.2 to 3.1.3.
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (85cb57e
)
Feature
- feat: secureli 186 improve language output (#393)
secureli-186
closes #186
Updates to language output in the terminal during installation/update
actions.
Changes
- Cleaning up terminal output for printing any lists of programming
languages - Using Cyan as the main highlighting color for important output, making
it the secureli theme color to match slalombuild - Switching debug color to Green instead of Cyan
- Removing echo abstraction dependency from language service since it
should only be used in actions. returning error messages for writing
config files to action instead. - Refactor and update typer echo class tests
- increase unit test coverage fail threshold to 99%
Testing
- Run
secureli init
to see updated cli output
<img width="824" alt="Screenshot 2024-01-22 at 5 25 51 PM"
src="https://github.com/slalombuild/secureli/assets/58826693/27412217-093e-4aa9-9f83-e43d3ad7720d">
Clean Code Checklist
<!-- This is here to support you. Some/most checkboxes may not apply to
your change -->
- Meets acceptance criteria for issue
- New logic is covered with automated tests
- Appropriate exception handling added
- Thoughtful logging included
- Documentation is updated
- Follow-up work is documented in TODOs
- TODOs have a ticket associated with them
- No commented-out code included
<!--
Github-flavored markdown reference:
https://docs.github.com/en/get-started/writing-on-github
--> (c23c9c2
)
v0.22.0
v0.22.0 (2024-01-20)
Documentation
- docs: Add pull request template (#389)
This should help developers to think about e.g. tests, documentation,
etc. when filing a new PR. (41f89a5
)
Feature
- Adds support for Kotlin linting.
- Updated script to support 2 or 3 digit story numbers.
Closes #64
AC's confirmed:
- Pre-commit hooks are configured and config is stored in the repo
under /.secureli/config when a Kotlin repo is detected.
<img width="1071" alt="image"
src="https://github.com/slalombuild/secureli/assets/127901972/54dc1a9a-f483-4a77-b082-9b64d6ce1ff0">
<img width="613" alt="image"
src="https://github.com/slalombuild/secureli/assets/127901972/a325e2c4-e22c-41fb-a4ed-089b03bb5c5c">
<img width="599" alt="image"
src="https://github.com/slalombuild/secureli/assets/127901972/ea3b92aa-9a63-4d40-815e-59cdc51b4a62">
- If there are any failing linting issues, per the list above, when a
commit is attempted the commit is blocked and an error with details is
displayed to the user.
<img width="1341" alt="image"
src="https://github.com/slalombuild/secureli/assets/127901972/cbde31d4-6c1a-4a11-adda-ebc999d6d28b">
- Readme & internal help is updated with supporting language info:
(See updated contributing.md file) (9427cef
)