Django-codemod

Latest version: v2.1.11

Safety actively analyzes 629811 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 13 of 13

0.17.4

Fix

- No actual changes, version bump to test deployment ([d0824c2](https://github.com/browniebroke/django-codemod/commit/d0824c2c09a4634d0afa7d3719ab660c95399b6e))

0.17.3

Fix

- No actual changes, version bump to test deployment ([b57aedfc4a77c6c6f6d951dc071a5b2ebf8cd951](https://github.com/browniebroke/django-codemod/commit/b57aedfc4a77c6c6f6d951dc071a5b2ebf8cd951))

0.17.2

Fix

- No actual changes, version bump to test deployment (10e16e34dea4762af94fd911434307e505580a38)

Documentation

- Update changelog (98734602da59edbf485d87123902414981f5e952)

[v0.17.1](https://github.com/browniebroke/django-codemod/tree/v0.17.1) (2020-09-17)

- No actual changes, just a minor version bump to test new deployment.

[v0.17.0](https://github.com/browniebroke/django-codemod/tree/v0.17.0) (2020-09-16)

[Full Changelog](https://github.com/browniebroke/django-codemod/compare/v0.16.0...v0.17.0)

🚀 Enhancements:

- Add commitlint to pre-commit hooks config [\200](https://github.com/browniebroke/django-codemod/pull/200) ([browniebroke](https://github.com/browniebroke))
- Add transformer for `request.xreadlines\(\)` [\199](https://github.com/browniebroke/django-codemod/pull/199) ([browniebroke](https://github.com/browniebroke))

[v0.16.0](https://github.com/browniebroke/django-codemod/tree/v0.16.0) (2020-09-15)

[Full Changelog](https://github.com/browniebroke/django-codemod/compare/v0.15.0...v0.16.0)

🚀 Enhancements:

- Add visitor to replace usages of postgres' `FloatRangeFormField` [\198](https://github.com/browniebroke/django-codemod/pull/198) ([browniebroke](https://github.com/browniebroke))

[v0.15.0](https://github.com/browniebroke/django-codemod/tree/v0.15.0) (2020-09-15)

[Full Changelog](https://github.com/browniebroke/django-codemod/compare/v0.14.0...v0.15.0)

🚀 Enhancements:

- New visitor to replace usages of `QuerySetPaginator` [\196](https://github.com/browniebroke/django-codemod/pull/196) ([browniebroke](https://github.com/browniebroke))

🐛 Bug Fixes:

- Fix support renaming of usages of function without calls [\197](https://github.com/browniebroke/django-codemod/pull/197) ([browniebroke](https://github.com/browniebroke))

✅ Testing:

- Internal refactoring of CLI and test improvements [\157](https://github.com/browniebroke/django-codemod/pull/157) ([browniebroke](https://github.com/browniebroke))

[v0.14.0](https://github.com/browniebroke/django-codemod/tree/v0.14.0) (2020-09-15)

[Full Changelog](https://github.com/browniebroke/django-codemod/compare/v0.13.3...v0.14.0)

🚀 Enhancements:

- New visitor to replace `timezone.FixedOffset` by `datetime.timezone` [\194](https://github.com/browniebroke/django-codemod/pull/194) ([browniebroke](https://github.com/browniebroke))

[v0.13.3](https://github.com/browniebroke/django-codemod/tree/v0.13.3) (2020-09-15)

[Full Changelog](https://github.com/browniebroke/django-codemod/compare/v0.13.2...v0.13.3)

[v0.13.2](https://github.com/browniebroke/django-codemod/tree/v0.13.2) (2020-09-15)

[Full Changelog](https://github.com/browniebroke/django-codemod/compare/v0.13.1...v0.13.2)

✅ Testing:

- Use semantic release to publish [\195](https://github.com/browniebroke/django-codemod/pull/195) ([browniebroke](https://github.com/browniebroke))

[v0.13.1](https://github.com/browniebroke/django-codemod/tree/v0.13.1) (2020-09-14)

[Full Changelog](https://github.com/browniebroke/django-codemod/compare/v0.13.0...v0.13.1)

🐛 Bug Fixes:

- fix\(packaging\): Python wheels are not for Python 2 [\193](https://github.com/browniebroke/django-codemod/pull/193) ([browniebroke](https://github.com/browniebroke))

[v0.13.0](https://github.com/browniebroke/django-codemod/tree/v0.13.0) (2020-07-26)

[Full Changelog](https://github.com/browniebroke/django-codemod/compare/v0.12.0...v0.13.0)

🚀 Enhancements:

- Add CLI command to list all codemodders [\156](https://github.com/browniebroke/django-codemod/pull/156) ([browniebroke](https://github.com/browniebroke))

[v0.12.0](https://github.com/browniebroke/django-codemod/tree/v0.12.0) (2020-07-21)

[Full Changelog](https://github.com/browniebroke/django-codemod/compare/v0.11.0...v0.12.0)

🚀 Enhancements:

- Support replacing call to `url` with simple patterns by `path` [\138](https://github.com/browniebroke/django-codemod/pull/138) ([browniebroke](https://github.com/browniebroke))

[v0.11.0](https://github.com/browniebroke/django-codemod/tree/v0.11.0) (2020-07-20)

[Full Changelog](https://github.com/browniebroke/django-codemod/compare/v0.10.1...v0.11.0)

🚀 Enhancements:

- Add module rename support and URLResolversTransformer [\123](https://github.com/browniebroke/django-codemod/pull/123) ([jayvdb](https://github.com/jayvdb))

[v0.10.1](https://github.com/browniebroke/django-codemod/tree/v0.10.1) (2020-07-17)

[Full Changelog](https://github.com/browniebroke/django-codemod/compare/v0.10.0...v0.10.1)

🚀 Enhancements:

- Rename constants for numerical sorting [\139](https://github.com/browniebroke/django-codemod/pull/139) ([jayvdb](https://github.com/jayvdb))

✅ Testing:

- Split tests and docs requirements [\131](https://github.com/browniebroke/django-codemod/pull/131) ([browniebroke](https://github.com/browniebroke))
- Upload coverage report using codecov action [\130](https://github.com/browniebroke/django-codemod/pull/130) ([browniebroke](https://github.com/browniebroke))

[v0.10.0](https://github.com/browniebroke/django-codemod/tree/v0.10.0) (2020-07-04)

[Full Changelog](https://github.com/browniebroke/django-codemod/compare/v0.9.0...v0.10.0)

🚀 Enhancements:

- Add support for adding `on\_delete` for `ForeignKey` and `OneToOneField` [\117](https://github.com/browniebroke/django-codemod/pull/117) ([cvanderkolk](https://github.com/cvanderkolk))

🐛 Bug Fixes:

- Fix bug with CLI processing entire filesystem [\126](https://github.com/browniebroke/django-codemod/pull/126) ([browniebroke](https://github.com/browniebroke))

✅ Testing:

- Move CODECOV_TOKEN from cmd line option to environment [\118](https://github.com/browniebroke/django-codemod/pull/118) ([browniebroke](https://github.com/browniebroke))

[v0.9.0](https://github.com/browniebroke/django-codemod/tree/v0.9.0) (2020-06-18)

[Full Changelog](https://github.com/browniebroke/django-codemod/compare/v0...v0.9.0)

[v0](https://github.com/browniebroke/django-codemod/tree/v0) (2020-06-18)

[Full Changelog](https://github.com/browniebroke/django-codemod/compare/v0.8.1...v0)

🚀 Enhancements:

- Handle deprecation of `models.permalink` decorator in Django 1.11 [\87](https://github.com/browniebroke/django-codemod/pull/87) ([browniebroke](https://github.com/browniebroke))
- Resolve deprecation of `django.utils.decorators.available\_attrs` in Django 2.0 [\85](https://github.com/browniebroke/django-codemod/pull/85) ([browniebroke](https://github.com/browniebroke))
- Resolve deprecation of `django.utils.decorators.ContextDecorator` in Django 2.0 [\84](https://github.com/browniebroke/django-codemod/pull/84) ([browniebroke](https://github.com/browniebroke))

🔥 Removals:

- Remove the custom hardcoded libCST commands [\114](https://github.com/browniebroke/django-codemod/pull/114) ([browniebroke](https://github.com/browniebroke))

📖 Documentation updates:

- Convert documentation to Markdown using MyST parser [\113](https://github.com/browniebroke/django-codemod/pull/113) ([browniebroke](https://github.com/browniebroke))

✅ Testing:

- Use codecov to upload coverage data cross-platform [\105](https://github.com/browniebroke/django-codemod/pull/105) ([browniebroke](https://github.com/browniebroke))
- Remove Travis CI [\103](https://github.com/browniebroke/django-codemod/pull/103) ([browniebroke](https://github.com/browniebroke))

[v0.8.1](https://github.com/browniebroke/django-codemod/tree/v0.8.1) (2020-06-07)

[Full Changelog](https://github.com/browniebroke/django-codemod/compare/v0.8.0...v0.8.1)

🐛 Bug Fixes:

- Support fixing calls to base class `has\_add\_permission` in `AdminInline` [\83](https://github.com/browniebroke/django-codemod/pull/83) ([browniebroke](https://github.com/browniebroke))

📖 Documentation updates:

- Mention changes around tests in changelog [\82](https://github.com/browniebroke/django-codemod/pull/82) ([browniebroke](https://github.com/browniebroke))

✅ Testing:

- Increase test code coverage to 100% [\81](https://github.com/browniebroke/django-codemod/pull/81) ([browniebroke](https://github.com/browniebroke))

[v0.8.0](https://github.com/browniebroke/django-codemod/tree/v0.8.0) (2020-06-02)

[Full Changelog](https://github.com/browniebroke/django-codemod/compare/v0.7.0...v0.8.0)

🚀 Enhancements:

- Resolve some removed private Python 2 compatibility APIs [\74](https://github.com/browniebroke/django-codemod/pull/74) ([browniebroke](https://github.com/browniebroke))
- Resolve deprecation of `django.utils.http.is\_safe\_url` in Django 3.0 [\72](https://github.com/browniebroke/django-codemod/pull/72) ([browniebroke](https://github.com/browniebroke))
- Resolve deprecation of `django.utils.text.unescape\_entities` in Django 3.0 [\70](https://github.com/browniebroke/django-codemod/pull/70) ([browniebroke](https://github.com/browniebroke))
- Resolve deprecations from `django.utils.http` in Django 3.0 [\69](https://github.com/browniebroke/django-codemod/pull/69) ([browniebroke](https://github.com/browniebroke))
- Add new CLI option `--deprecated-in` [\64](https://github.com/browniebroke/django-codemod/pull/64) ([browniebroke](https://github.com/browniebroke))
- Make `InlineHasAddPermissionsTransformer` more robust [\60](https://github.com/browniebroke/django-codemod/pull/60) ([browniebroke](https://github.com/browniebroke))

🐛 Bug Fixes:

- Fix version deprecated for several Django 4.0 visitors [\68](https://github.com/browniebroke/django-codemod/pull/68) ([browniebroke](https://github.com/browniebroke))

✅ Testing:

- Test that transformers are found by CLI [\71](https://github.com/browniebroke/django-codemod/pull/71) ([browniebroke](https://github.com/browniebroke))

[v0.7.0](https://github.com/browniebroke/django-codemod/tree/v0.7.0) (2020-05-23)

[Full Changelog](https://github.com/browniebroke/django-codemod/compare/v0.6.0...v0.7.0)

🚀 Enhancements:

- Add a `djcodemod` CLI [\55](https://github.com/browniebroke/django-codemod/pull/55) ([browniebroke](https://github.com/browniebroke))

🐛 Bug Fixes:

- Make sure the function to rename is imported before renaming [\54](https://github.com/browniebroke/django-codemod/pull/54) ([browniebroke](https://github.com/browniebroke))

📖 Documentation updates:

- Updates README.me with proper travis badge [\50](https://github.com/browniebroke/django-codemod/pull/50) ([sobolevn](https://github.com/sobolevn))

[v0.6.0](https://github.com/browniebroke/django-codemod/tree/v0.6.0) (2020-05-22)

[Full Changelog](https://github.com/browniebroke/django-codemod/compare/v0.5.0...v0.6.0)

🚀 Enhancements:

- Add the `obj` argument to `InlineModelAdmin.has\_add\_permission\(\)` [\45](https://github.com/browniebroke/django-codemod/pull/45) ([browniebroke](https://github.com/browniebroke))

🐛 Bug Fixes:

- Fix InlineModelAdmin transformer with multiple base classes [\46](https://github.com/browniebroke/django-codemod/pull/46) ([browniebroke](https://github.com/browniebroke))
- Fix commands non-findable by libCST [\44](https://github.com/browniebroke/django-codemod/pull/44) ([browniebroke](https://github.com/browniebroke))
- Fix bug with trailing comma when removed import is the last one [\39](https://github.com/browniebroke/django-codemod/pull/39) ([browniebroke](https://github.com/browniebroke))
- Fix bug with lost alias when 'import as' is used [\38](https://github.com/browniebroke/django-codemod/pull/38) ([browniebroke](https://github.com/browniebroke))

🔥 Removals:

- Remove commands to fix single deprecations [\43](https://github.com/browniebroke/django-codemod/pull/43) ([browniebroke](https://github.com/browniebroke))

✅ Testing:

- Linting workflow [\47](https://github.com/browniebroke/django-codemod/pull/47) ([browniebroke](https://github.com/browniebroke))
- Tests visitors independently from commands [\42](https://github.com/browniebroke/django-codemod/pull/42) ([browniebroke](https://github.com/browniebroke))

[v0.5.0](https://github.com/browniebroke/django-codemod/tree/v0.5.0) (2020-05-13)

[Full Changelog](https://github.com/browniebroke/django-codemod/compare/v0.4.0...v0.5.0)

🚀 Enhancements:

- New commands to fix all deprecations for a given version of Django [\37](https://github.com/browniebroke/django-codemod/pull/37) ([browniebroke](https://github.com/browniebroke))
- Refactor & move main logic from commands to visitors [\36](https://github.com/browniebroke/django-codemod/pull/36) ([browniebroke](https://github.com/browniebroke))
- Refactor BaseSimpleFuncRename to simplify implementing new codemod [\32](https://github.com/browniebroke/django-codemod/pull/32) ([browniebroke](https://github.com/browniebroke))

📖 Documentation updates:

- Document list of codemodders with autodoc [\33](https://github.com/browniebroke/django-codemod/pull/33) ([browniebroke](https://github.com/browniebroke))

[v0.4.0](https://github.com/browniebroke/django-codemod/tree/v0.4.0) (2020-05-11)

[Full Changelog](https://github.com/browniebroke/django-codemod/compare/v0.3.0...v0.4.0)

🚀 Enhancements:

- Resolve deprecation for django.shortcuts.render_to_response\(\) [\25](https://github.com/browniebroke/django-codemod/pull/25) ([browniebroke](https://github.com/browniebroke))

📖 Documentation updates:

- Add missing description for URLToRePathCommand [\28](https://github.com/browniebroke/django-codemod/pull/28) ([browniebroke](https://github.com/browniebroke))
- Document how to list all available codemodders [\27](https://github.com/browniebroke/django-codemod/pull/27) ([browniebroke](https://github.com/browniebroke))

[v0.3.0](https://github.com/browniebroke/django-codemod/tree/v0.3.0) (2020-05-10)

[Full Changelog](https://github.com/browniebroke/django-codemod/compare/v0.2.1...v0.3.0)

🚀 Enhancements:

- Support resolving django.conf.urls.url\(\) deprecation [\22](https://github.com/browniebroke/django-codemod/pull/22) ([browniebroke](https://github.com/browniebroke))

📖 Documentation updates:

- Fix some refs in README [\21](https://github.com/browniebroke/django-codemod/pull/21) ([adamchainz](https://github.com/adamchainz))

[v0.2.1](https://github.com/browniebroke/django-codemod/tree/v0.2.1) (2020-05-10)

[Full Changelog](https://github.com/browniebroke/django-codemod/compare/v0.2.0...v0.2.1)

🚀 Enhancements:

- Migrate package metadata to declarative syntax [\19](https://github.com/browniebroke/django-codemod/pull/19) ([browniebroke](https://github.com/browniebroke))

[v0.2.0](https://github.com/browniebroke/django-codemod/tree/v0.2.0) (2020-05-10)

[Full Changelog](https://github.com/browniebroke/django-codemod/compare/v0.1.1...v0.2.0)

💥 Breaking Changes:

- Rename commands to reflect the functions they work with [\13](https://github.com/browniebroke/django-codemod/pull/13) ([browniebroke](https://github.com/browniebroke))
- Rename module and extract logic out into a base command [\9](https://github.com/browniebroke/django-codemod/pull/9) ([browniebroke](https://github.com/browniebroke))

🚀 Enhancements:

- Support resolving django.utils.translation.ungettext_lazy deprecation [\17](https://github.com/browniebroke/django-codemod/pull/17) ([browniebroke](https://github.com/browniebroke))
- Support resolving django.utils.translation.ungettext deprecation [\16](https://github.com/browniebroke/django-codemod/pull/16) ([browniebroke](https://github.com/browniebroke))
- Support resolving django.utils.translation.ugettext_noop deprecation [\15](https://github.com/browniebroke/django-codemod/pull/15) ([browniebroke](https://github.com/browniebroke))
- Support resolving django.utils.translation.ugettext_lazy deprecation [\14](https://github.com/browniebroke/django-codemod/pull/14) ([browniebroke](https://github.com/browniebroke))
- Support resolving django.utils.translation.ugettext deprecation [\12](https://github.com/browniebroke/django-codemod/pull/12) ([browniebroke](https://github.com/browniebroke))
- Support smart_text deprecation, replace by smart_str [\10](https://github.com/browniebroke/django-codemod/pull/10) ([browniebroke](https://github.com/browniebroke))
- Refactor checks to use matchers [\8](https://github.com/browniebroke/django-codemod/pull/8) ([browniebroke](https://github.com/browniebroke))

🔥 Removals:

- Remove unused entry point [\18](https://github.com/browniebroke/django-codemod/pull/18) ([browniebroke](https://github.com/browniebroke))

[v0.1.1](https://github.com/browniebroke/django-codemod/tree/v0.1.1) (2020-05-07)

[Full Changelog](https://github.com/browniebroke/django-codemod/compare/v0.1.0...v0.1.1)

[v0.1.0](https://github.com/browniebroke/django-codemod/tree/v0.1.0) (2020-05-06)

[Full Changelog](https://github.com/browniebroke/django-codemod/compare/fc638d793736530009a48e5782c015ca5daafa86...v0.1.0)

\* _This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)_

Page 13 of 13

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.