Skip to content

Releases: browniebroke/django-codemod

v1.3.4

21 Jan 14:37
Compare
Choose a tag to compare

Fix

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

v1.3.3

21 Jan 00:03
Compare
Choose a tag to compare

Fix

  • Bug with attributes accessing (417e630)
  • Bug with scopes (3dcee1d)
  • Add some missing type hints (a403e90)

v1.3.2

19 Jan 19:54
Compare
Choose a tag to compare

Fix

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

v1.3.1

19 Jan 10:30
Compare
Choose a tag to compare

Fix

  • Pin libCST to 0.3.13 (8269370)
  • Support another slug pattern (a4ce0cb)
  • Migrate partial patterns to path (202a6b3)

v1.3.0

14 Jan 18:38
Compare
Choose a tag to compare

Feature

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

Documentation

v1.2.0

05 Jan 13:43
Compare
Choose a tag to compare

Feature

Fix

  • Add pathspec to dependencies (2cb8a82)

v1.1.0

02 Jan 16:24
Compare
Choose a tag to compare

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

11 Nov 09:35
Compare
Choose a tag to compare

Feature

  • Migrate packaging to Poetry (8ed12c8)

Breaking

v0.21.0

19 Oct 10:59
Compare
Choose a tag to compare

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

13 Oct 08:56
Compare
Choose a tag to compare

Feature

  • CLI: Support multiple target path arguments (8dafb0f)
  • URLs: allow path() instead of re_path() if a path contains dashes (de744cf)