This file contains change logs for v0.81.0 and earlier.
See GitHub Releases for the most up-to-date change logs.
- New codemod:
fix-async-task-instantiation
- Remove unused fields from
CodemodCollection
API - Fix edge case in
sql-parameterization
to remove empty string variable from query
- Accept Sonar security JSON for detection (#223)
- New
BaseCodemod
API (#213) - New codemod:
fix-assert-tuple
- New codemod:
fix-empty-sequence-comparison
- New codemod:
lazy-logging
- New codemod:
remove-assertion-in-pytest-raises
- New codemod:
str-concat-in-sequence-literals
- Handle
httpx
inrequests-verify
codemod (#243)
- Handle multiple blocks in
fix-file-resource-leak
- Respect
#noqa
annotations forsubprocess-shell-false
codemod (#259) - Additional checks to prevent false positives in
flask-json-content-type
(#257)
- Avoid incorrect changes in
requests-timeout
codemod (#256) - Enable
fix-mutable-params
codemod to correctly handle single-statement functions (#255)
- Add
diffSide
field to change entries in CodeTF
- Additional test directory patterns to ignore
- Fix
secure-random
codemod: ignorerandom.SystemRandom
- Fix path inclusion behavior
remove-debug-breakpoint
codemodcombine-startswith-endswith
codemodreplace-flask-send-file
codemodfix-deprecated-logging-warn
codemodflask-enable-csrf-protection
codemod- Update
harden-pyyaml
to fix custom loader classes that inherit unsafe loaders
- Add proper inclusion/exclusion filter to codemods that were missing it
use-set-literal
codemodremove-module-global
codemodsubprocess-shell-false
codemod- Better formatting for dependency updates to
setup.py
- Add expression propagation to
literal-or-new-object-identity
- Fix regression in dependency manager: do not re-add existing dependency
literal-or-new-object-identity
codemodremove-future-imports
codemodadd-requests-timeout
codemodexception-without-raise
codemod- Better heuristic for detecting which dependency files to update
- Add detailed description to CodeTF about dependency update (or failure)
flask-json-response-type
codemod- Support for
Popen
insandbox-process-creation
- Update example in
url-sandbox
documentation
fix-deprecated-abstractproperty
codemod- Add inequality support to
numpy-nan-equality
- Add
--sonar-issues-json
CLI flag for compatibility - Make
--output
CLI flag optional to align with spec - Implement
use-walrus-if
codemod without semgrep - Exclude
order-imports
andunused-imports
by default - Better description for
remove-unnecessary-f-str
- Better handling of edge cases in
use-walrus-if
django-json-response-type
codemoddjango-receiver-on-top
codemodnumpy-nan-equality
codemodfix-file-resource-leak
codemod- Add support for
aiohttp2_jinja
toenable-jinja2-autoescape
- Implement
--describe
CLI flag
- Update email alias
- Do not modify body of abstract methods for
fix-mutable-params
- Preserve
Optional
type annotation if present infix-mutable-params
- Handle updates to
requirements.txt
files without trailing newlines
- Ignore hardcoded URLs for detecting
url-sandbox
use-generator
codemod- Move extra dependencies to
pyproject.toml
sql-parametrization
codemod- Updates to package metadata for release to PyPI
- Generate CodeTF even when no files/codemods match
- Preserve custom loaders with
harden-pyyaml
- Optimization: initial scan with semgrep to filter potential results
- Work around bug in
difflib
for producting CodeTF diffs
- Updates to internal release process
- Fixed import alias case for
harden-pyyaml
,secure-tempfile
, andupgrade-sslcontext-minimum-version
- Handle missing terminating newline in dependency manager