Releases: browniebroke/django-codemod
Releases Β· browniebroke/django-codemod
v0.10.0
π Enhancements
- Add support for adding
on_delete
forForeignKey
andOneToOneField
(#117) @cvanderkolk
π Bug Fixes
- Fix bug with CLI processing entire filesystem (#126) @browniebroke
β Testing
- Move
CODECOV_TOKEN
from cmd line option to environment (#118) @browniebroke
v0.9.0
π Enhancements
- Handle deprecation of
@models.permalink
decorator in Django 1.11 (#87) @browniebroke - Resolve deprecation of
django.utils.decorators.available_attrs
in Django 2.0 (#85) @browniebroke - Resolve deprecation of
django.utils.decorators.ContextDecorator
in Django 2.0 (#84) @browniebroke
π₯ Removals
- Remove the custom hardcoded libCST commands (#114) @browniebroke
π Documentation updates
- Convert documentation to Markdown using MyST parser (#113) @browniebroke
β Testing
- Use codecov to upload coverage data cross-platform (#105) @browniebroke
- Remove Travis CI (#103) @browniebroke
v0.8.1
π Bug Fixes
- Support fixing calls to base class has_add_permission in Admin Inline (#83) @browniebroke
π Documentation updates
- Mention changes around tests in changelog (#82) @browniebroke
β Testing
- Increase test code coverage to 100% (#81) @browniebroke
v0.8.0
π Enhancements
- Resolve some removed private Python 2 compatibility APIs (#74) @browniebroke
- Resolve deprecation of
django.utils.http.is_safe_url
in Django 3.0 (#72) @browniebroke - Resolve deprecation of
django.utils.text.unescape_entities
in Django 3.0 (#70) @browniebroke - Resolve deprecations from
django.utils.http
in Django 3.0 (#69) @browniebroke - Add new CLI option
--deprecated-in
(#64) @browniebroke - Make InlineHasAddPermissionsTransformer more robust (#60) @browniebroke
π Bug Fixes
- Fix version deprecated for several Django 4.0 visitors (#68) @browniebroke
v0.7.0
π Enhancements
- Add a djcodemod CLI (#55) @browniebroke
π Bug Fixes
- Make sure the function to rename is imported before renaming (#54) @browniebroke
π Documentation updates
v0.6.0
π Enhancements
- Add the
obj
argument toInlineModelAdmin.has_add_permission()
(#45) @browniebroke
π Bug Fixes
- Fix InlineModelAdmin transformer with multiple base classes (#46) @browniebroke
- Fix commands non-findable by libCST (#44) @browniebroke
- Fix bug with trailing comma when removed import is the last one (#39) @browniebroke
- Fix bug with lost alias when 'import as' is used (#38) @browniebroke
π Removals
- Remove commands to fix single deprecations (#43) @browniebroke
v0.5.0
π Enhancements
- New commands to fix all deprecations for a given version of Django (#37) @browniebroke
- Refactor & move main logic from commands to visitors (#36) @browniebroke
- Refactor BaseSimpleFuncRename to simplify implementing new codemod (#32) @browniebroke
π Documentation updates
- Document list of codemodders with autodoc (#33) @browniebroke
v0.4.0
π Enhancements
- Resolve deprecation for django.shortcuts.render_to_response() (#25) @browniebroke
π Documentation updates
- Add missing description for URLToRePathCommand (#28) @browniebroke
- Document how to list all available codemodders (#27) @browniebroke
v0.3.0
π Enhancements
- Support resolving django.conf.urls.url() deprecation (#22) @browniebroke
π Documentation updates
- Fix some refs in README (#21) @adamchainz
v0.2.1
Changes
Mostly changes in packaging.
π Enhancements
- Migrate package metadata to declarative syntax (#19) @browniebroke