CHANGELOG#

v2.1.9 (2024-01-05)#

Fix#

  • Update dependency rich-click to v1.7.3 (24667d0)

v2.1.8 (2023-12-11)#

Fix#

  • Update dependency pathspec to v0.12.1 (c8a0638)

v2.1.7 (2023-12-03)#

Fix#

  • Update dependency rich-click to v1.7.2 (169f550)

v2.1.6 (2023-11-15)#

Fix#

  • Update dependency rich to v13.7.0 (55ddce6)

v2.1.5 (2023-11-01)#

Fix#

  • Update dependency rich-click to v1.7.1 (86111c9)

v2.1.4 (2023-10-12)#

Fix#

  • Update dependency rich-click to v1.7.0 (28d2ead)

v2.1.3 (2023-10-06)#

Fix#

  • Update dependency libcst to v1.1.0 (ea0d388)

v2.1.2 (2023-09-30)#

Fix#

  • Update dependency rich to v13.6.0 (5f2a0b9)

v2.1.1 (2023-09-17)#

Fix#

  • Update dependency rich to v13.5.3 (3077d7b)

v2.1.0 (2023-08-07)#

Feature#

  • Add official support for python 3.12 (#866) (a89a502)

Documentation#

  • Switch to furo theme (#838) (e53bafd)

v2.0.0 (2023-06-27)#

Feature#

  • Drop support for Python 3.7 (ba9e6c0)

Breaking#

  • Drop support for Python 3.7 as it reached EOL on June 27, 2023. More infos: https://devguide.python.org/versions/ (ba9e6c0)

v1.11.7 (2023-03-27)#

Fix#

  • deps: Update dependency rich to v13.3.3 (3251dcc)

v1.11.6 (2023-03-16)#

Fix#

  • deps: Update dependency rich-click to v1.6.1 (#760) (535ae80)

v1.11.5 (2023-03-16)#

Fix#

  • deps: Update dependency pathspec to v0.11.1 (bf98f59)

Documentation#

v1.11.4 (2023-01-10)#

Fix#

Documentation#

v1.11.3 (2022-11-11)#

Fix#

  • deps: Update dependency libcst to v0.4.9 (#701) (e2e443a)

v1.11.2 (2022-11-10)#

Fix#

  • deps: Update dependency libcst to v0.4.8 (#699) (1fe101e)

v1.11.1 (2022-11-07)#

Fix#

  • Officially support Python 3.11 (no code changes were required) (#696) (2295357)

v1.11.0 (2022-08-31)#

Feature#

v1.10.9 (2022-07-12)#

Fix#

  • deps: Update dependency libcst to v0.4.7 (746c16d)

v1.10.8 (2022-07-04)#

Fix#

  • deps: Update dependency libcst to v0.4.6 (103b02f)

v1.10.7 (2022-06-17)#

Fix#

  • deps: Update dependency libcst to v0.4.5 (459be69)

v1.10.6 (2022-06-13)#

Fix#

  • deps: Update dependency libcst to v0.4.4 (c0c0967)

v1.10.5 (2022-06-10)#

Fix#

  • deps: Update dependency sphinx to v5 (57c0ea6)

v1.10.4 (2022-06-06)#

Fix#

  • deps: Revert PSR upgrade (3d56141)

Documentation#

  • Update note regarding libCST Python versions support (#594) (f42734e)

v1.10.3 (2022-05-11)#

Fix#

  • deps: Update dependency libcst to v0.4.3 (b08cb5b)

v1.10.2 (2022-05-04)#

Fix#

  • deps: Update dependency libcst to v0.4.2 (#587) (03fb985)

v1.10.1 (2022-04-14)#

Fix#

  • Revert to libCST old parser (3cb81f9)

v1.10.0 (2022-04-11)#

Feature#

  • Add support for Python 3.10 (92e9bcd)

  • Use libCST’s native parser (d16eb50)

v1.9.1 (2022-03-11)#

Fix#

  • deps: Update dependency rich to v12 (765bc27)

v1.9.0 (2022-02-27)#

Feature#

v1.8.2 (2022-02-11)#

Fix#

  • deps: Update dependency myst-parser to ^0.17.0 (427c190)

v1.8.1 (2022-01-28)#

Fix#

  • deps: Update dependency libcst to v0.4.1 (fce362b)

Documentation#

  • Update contributing guide (ed5283e)

v1.8.0 (2022-01-24)#

Feature#

  • Drop support for Python 3.6 (df42b53)

v1.7.1 (2022-01-13)#

Fix#

  • deps: Update dependency libcst to v0.4.0 (a65e9aa)

v1.7.0 (2022-01-10)#

Feature#

  • Avoid imports in try blocks (f6c5159)

Fix#

  • deps: Update dependency rich to v11 (3541992)

Documentation#

  • Add a note about django-upgrade in the readme (6bdc36d)

v1.6.6 (2021-12-11)#

Fix#

  • deps: Update dependency myst-parser to ^0.16.0 (8af7b0b)

v1.6.5 (2021-11-23)#

Fix#

  • deps: Update dependency libcst to v0.3.23 (13bdaac)

v1.6.4 (2021-11-22)#

Fix#

  • deps: Update dependency libcst to v0.3.22 (a0deee7)

v1.6.3 (2021-09-21)#

Fix#

  • deps: Update dependency libcst to v0.3.21 (3b596e1)

v1.6.2 (2021-09-16)#

Fix#

Documentation#

  • Add @mzulqarnain1 as a contributor (62b4a90)

v1.6.1 (2021-09-13)#

Fix#

  • deps: Update dependency sphinx-rtd-theme to v1 (6b0cc8c)

v1.6.0 (2021-09-11)#

Feature#

  • Support for the admin’s ACTION_CHECKBOX_NAME compatibility import removal (cad7e87)

  • Support for BaseContext, Context, ContextPopException and RequestContext compatibility imports removal (b3f58bd)

  • Support for BoundField compatibility import removal (c7250f5)

  • Support for pretty_name compatibility import removal (0aca7d5)

  • Support for FieldDoesNotExist compatibility import removal (d047a4f)

  • Support for EmptyResultSet compatibility imports removal (a80f9fc)

v1.5.8 (2021-08-13)#

Fix#

  • deps: Update dependency libcst to v0.3.20 (28bbdea)

v1.5.7 (2021-07-21)#

Fix#

  • Rewrite parent module renaming logic (c550576)

v1.5.6 (2021-06-17)#

Fix#

  • Disable rename parent module imported (b717fbb)

v1.5.5 (2021-06-13)#

Fix#

  • deps: Update dependency myst-parser to ^0.15.0 (27d76a1)

v1.5.4 (2021-05-16)#

Fix#

  • Issue with command shadowing built-in (6d96419)

  • Add a missing type hints in cli (8acdb08)

  • Type checking error (9eda82a)

  • deps: Update dependency click to v8 (2402014)

v1.5.3 (2021-05-13)#

Fix#

  • deps: Update dependency libcst to <=0.3.19 (4a4d6b5)

v1.5.2 (2021-05-04)#

Fix#

  • deps: Update dependency myst-parser to ^0.14.0 (0bbdc04)

Documentation#

v1.5.1 (2021-04-22)#

Fix#

  • Avoid extra spaces around kwargs in InlineHasAddPermissionsTransformer (32d6ebe)

v1.5.0 (2021-04-22)#

Feature#

  • Handle deprecation for NullBooleanField (d2cb1c5)

Fix#

  • Avoid spaces around kwarg in FixedOffsetTransformer (52c5caf)

  • Avoid extra whitespaces in kwargs from OnDeleteTransformer (cc7b2b2)

Documentation#

  • Add new and missing codemods (679e6d5)

v1.4.1 (2021-04-02)#

Fix#

  • Update type annotations (24f9093)

  • deps: Update dependency libcst to <=0.3.18 (ca35714)

  • deps: Update dependency rich to v10 (3841299)

v1.4.0 (2021-03-02)#

Feature#

  • Handle rename when parent module is imported (#347) (26d22fe)

v1.3.7 (2021-02-09)#

Fix#

  • deps: Update dependency libcst to <=0.3.17 (76dbc7c)

v1.3.6 (2021-02-02)#

Fix#

Documentation#

v1.3.5 (2021-01-27)#

Fix#

  • Loosen up version for libcst (4129e23)

v1.3.4 (2021-01-21)#

Fix#

  • Don’t confuse kwargs with symbol to codemod (f576347)

v1.3.3 (2021-01-21)#

Fix#

  • Bug with attributes accessing (417e630)

  • Bug with scopes (3dcee1d)

  • Add some missing type hints (a403e90)

v1.3.2 (2021-01-19)#

Fix#

  • Bug when url() route uses the regex kwarg (b7bcc3d)

v1.3.1 (2021-01-19)#

Fix#

  • Pin libCST to 0.3.13 (8269370)

  • Support another slug pattern (a4ce0cb)

  • Migrate partial patterns to path (202a6b3)

v1.3.0 (2021-01-14)#

Feature#

  • Add fixer for django.utils.http.cookie_date (a3e12d1)

Documentation#

  • Add @drewbrew as a contributor (08ed73b)

  • Explain limitation with gitignore (e102bde)

v1.2.0 (2021-01-05)#

Feature#

Fix#

  • Add pathspec to dependencies (2cb8a82)

v1.1.0 (2021-01-02)#

Feature#

  • Ignore files according to .gitignore (ae74273)

Fix#

  • deps: Update dependency myst-parser to ^0.13.0 (c9ac21a)

  • deps: Update dependency rich to v9 (6818668)

Documentation#

  • Rework documentation (5e9dc2b)

  • Make recommended command less error prone (fc51862)

v1.0.0 (2020-11-11)#

Feature#

  • Migrate packaging to Poetry (8ed12c8)

Breaking#

v0.21.0 (2020-10-19)#

Feature#

  • Cli: add –codemod option (0ffe315)

  • Add codemod to add a length parameter to get_random_string() (f88f56d)

  • Add find_keyword_arg utility (111dd37)

  • Add a transformer for the new core JSONField in Django 3.1 (7ca1c99)

Fix#

  • Avoid changing import list if old name is new name (c3fecb3)

  • Allow both removed-in and deprecated-in as well as multiple arguments for both (d89676b)

  • Sort valid versions semantically (ab4c20e)

v0.20.0 (2020-10-13)#

Feature#

  • CLI: Support multiple target path arguments (8dafb0f)

  • URLs: allow path() instead of re_path() if a path contains dashes (de744cf)

v0.19.0 (2020-10-10)#

Feature#

  • Add support for Python 3.9 (904ba55)

Documentation#

  • Add iamshnoo as a contributor (#221) (4758bd6)

v0.18.0 (2020-09-21)#

Feature#

  • Remove the weak argument from Signal.disconnect() (ab41491)

  • Add a transformer for assignment_tag (cb8afdd)

v0.17.5 (2020-09-17)#

Fix#

  • More version bump to test deployment (ece3df2)

v0.17.4 (2020-09-17)#

Fix#

  • No actual changes, version bump to test deployment (d0824c2)

v0.17.3 (2020-09-17)#

Fix#

v0.17.2 (2020-09-17)#

Fix#

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

Documentation#

  • Update changelog (98734602da59edbf485d87123902414981f5e952)

v0.17.1 (2020-09-17)#

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

v0.17.0 (2020-09-16)#

Full Changelog

πŸš€ Enhancements:#

v0.16.0 (2020-09-15)#

Full Changelog

πŸš€ Enhancements:#

  • Add visitor to replace usages of postgres’ FloatRangeFormField #198 (browniebroke)

v0.15.0 (2020-09-15)#

Full Changelog

πŸš€ Enhancements:#

πŸ› Bug Fixes:#

βœ… Testing:#

v0.14.0 (2020-09-15)#

Full Changelog

πŸš€ Enhancements:#

  • New visitor to replace timezone.FixedOffset by datetime.timezone #194 (browniebroke)

v0.13.3 (2020-09-15)#

Full Changelog

v0.13.2 (2020-09-15)#

Full Changelog

βœ… Testing:#

v0.13.1 (2020-09-14)#

Full Changelog

πŸ› Bug Fixes:#

v0.13.0 (2020-07-26)#

Full Changelog

πŸš€ Enhancements:#

v0.12.0 (2020-07-21)#

Full Changelog

πŸš€ Enhancements:#

  • Support replacing call to url with simple patterns by path #138 (browniebroke)

v0.11.0 (2020-07-20)#

Full Changelog

πŸš€ Enhancements:#

  • Add module rename support and URLResolversTransformer #123 (jayvdb)

v0.10.1 (2020-07-17)#

Full Changelog

πŸš€ Enhancements:#

  • Rename constants for numerical sorting #139 (jayvdb)

βœ… Testing:#

v0.10.0 (2020-07-04)#

Full Changelog

πŸš€ Enhancements:#

  • Add support for adding on\_delete for ForeignKey and OneToOneField #117 (cvanderkolk)

πŸ› Bug Fixes:#

βœ… Testing:#

v0.9.0 (2020-06-18)#

Full Changelog

v0 (2020-06-18)#

Full Changelog

πŸš€ 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:#

πŸ“– Documentation updates:#

βœ… Testing:#

v0.8.1 (2020-06-07)#

Full Changelog

πŸ› Bug Fixes:#

  • Support fixing calls to base class has\_add\_permission in AdminInline #83 (browniebroke)

πŸ“– Documentation updates:#

βœ… Testing:#

v0.8.0 (2020-06-02)#

Full Changelog

πŸš€ 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)

βœ… Testing:#

v0.7.0 (2020-05-23)#

Full Changelog

πŸš€ Enhancements:#

πŸ› Bug Fixes:#

  • Make sure the function to rename is imported before renaming #54 (browniebroke)

πŸ“– Documentation updates:#

  • Updates README.me with proper travis badge #50 (sobolevn)

v0.6.0 (2020-05-22)#

Full Changelog

πŸš€ Enhancements:#

  • Add the obj argument to InlineModelAdmin.has\_add\_permission\(\) #45 (browniebroke)

πŸ› Bug Fixes:#

πŸ”₯ Removals:#

βœ… Testing:#

v0.5.0 (2020-05-13)#

Full Changelog

πŸš€ 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:#

v0.4.0 (2020-05-11)#

Full Changelog

πŸš€ Enhancements:#

  • Resolve deprecation for django.shortcuts.render_to_response() #25 (browniebroke)

πŸ“– Documentation updates:#

v0.3.0 (2020-05-10)#

Full Changelog

πŸš€ Enhancements:#

πŸ“– Documentation updates:#

v0.2.1 (2020-05-10)#

Full Changelog

πŸš€ Enhancements:#

v0.2.0 (2020-05-10)#

Full Changelog

πŸ’₯ Breaking Changes:#

  • Rename commands to reflect the functions they work with #13 (browniebroke)

  • Rename module and extract logic out into a base command #9 (browniebroke)

πŸš€ Enhancements:#

  • Support resolving django.utils.translation.ungettext_lazy deprecation #17 (browniebroke)

  • Support resolving django.utils.translation.ungettext deprecation #16 (browniebroke)

  • Support resolving django.utils.translation.ugettext_noop deprecation #15 (browniebroke)

  • Support resolving django.utils.translation.ugettext_lazy deprecation #14 (browniebroke)

  • Support resolving django.utils.translation.ugettext deprecation #12 (browniebroke)

  • Support smart_text deprecation, replace by smart_str #10 (browniebroke)

  • Refactor checks to use matchers #8 (browniebroke)

πŸ”₯ Removals:#

v0.1.1 (2020-05-07)#

Full Changelog

v0.1.0 (2020-05-06)#

Full Changelog

* This Changelog was automatically generated by github_changelog_generator