South 0.6

It is with great pleasure (and a measurable sense of relief) that I announce the release of South 0.6, a new release bringing quite a few new features, although most of them aren't immediately obvious.

Perhaps the biggest change is the move from parsing source files to get the field definitions (ugh, I know) to introspecting the fields to get their definitions. As well as being more stable and making my skin crawl less, this also means that dynamically-created models and fields are now fully supported.

South still falls back on the parser module for custom fields if it has to - since it doesn't know how to introspect them - but we encourage you to implement a South-readable interface for custom fields; see our wiki page explaining how to do that.

The other noticeable change is that the migrate command is much zippier, thanks mostly to the hard work and lazy-evaluation-patches of Juan and Simon from Akoha. Note that the SQL for migrations is no longer printed out as they're running any more - it was getting a bit verbose - but you can re-enable it with --verbosity=2. You can also completely shut South up using --verbosity=0, if you desire.

For easier conversion, there's a new one-shot convert_to_south command - take care to read the wiki page on that, however, as the caveat is that you must run a migrate --fake on any other computers running the same codebase. We're going to make that a bit more intuitive for the next release.

The release notes contain the rest of the changes - some big, some small - and remember, we've switched to Mercurial for revision control, so if you're still running off Subversion please change your checkouts.

Posted 11th August 2009 in Python, Django, and South, with 6 comments

comments

  1. 外汇网

    Great job!
    South is so good to use.

  2. Daniel Harris

    Fantastic, thank you for all the hard work!

  3. Brian

    Fabulous! Using South 0.6 saved me so much time (even with a really small app.) It's fun to use and makes Django development even more practical and enjoyable. Thank you!

  4. Thierry Schellenbach

    I've just started using south, great to see such good migrations support in Django :)

    Awesome job, great coding!

  5. Carl Meyer

    Excellent - glad to see the switch to introspection, makes South a joy to use in cases where it was previously a hassle. Great project, thanks for all your work.

  6. christoph

    Version 0.6 of south was a really good step forward. Go on with this great work, currently i am using version 0.6.2 and one day, v1.0 will run on my pc


  7. (optional)
    What's next: P, Q, R, ?