dse Changelog

What's new in dse 3.3.0

Jun 12, 2012
  • Backwards compatibility with django 1.3.x. Thanks to John Spray for this one.

New in dse 3.2.0 (Apr 18, 2012)

  • Patch from [email protected] to be compatible with Django 1.4.0. Patch from HervĂ© Cauwelier to provide support for models with non-autokey primary fields.

New in dse 3.1.0 (Aug 22, 2011)

  • Patch from rassminus; Changed sql creation to quote all references to the table name and column labels.

New in dse 3.0.0 Beta 2 (Jul 1, 2011)

  • Fixed a few things reported by Fido Garcia.

New in dse 3.0.0 Beta 1 (Jun 24, 2011)

  • Changes in syntax which is NOT backwards compatible, therefore a version bump. That and the nice bulk_update method.
  • The add and execute methods have been removed.
  • Patched models now have a property called delayed instead of dse. You can also patch specific models (new in 2.1.0).
  • To insert an item call model.delayed.insert(values)
  • To update an item call model.delayed.update(values)
  • To delete an item call model.delayed.delete(id)
  • If you have to update a huge data set where the values for the fields are limited you can use the new model.delayed.bulk_update(values), for instance metadata from photos or music files. Thanks to Cal Leeming [Simplicity Media Ltd] for inspiration on this one :-). For more info look further down for a more complete walkthrough on what happends behind the scenes.

New in dse 2.1.0 (Jun 8, 2011)

  • Small change; dse.patch_models can now take an optional list of models to patch, like so dse.patch_models(specific_models=[User, Comment]).

New in dse 2.0.0 (May 30, 2011)

  • Updated docs and examples.

New in dse 2.0.0 RC1 (May 18, 2011)

  • No change in code, now released using the modified BSD license to be more compatible with Django license use.

New in dse 1.0.2 / 2.0.0 Beta 9 (May 10, 2011)

  • Added FileExport-class to ease debugging what is processed during testing. Writes SQL-data to file. See source/testsuite for usage.

New in dse 2.0.0 Beta 4 (May 2, 2011)

  • Started refactoring DSE to remove all non-django specific code, mostly to gain speed and simply code.

New in dse 1.0.2 (May 2, 2011)

  • Reconnect if cursor is dead.

New in dse 1.0.1 (Apr 29, 2011)

  • Fixed issue #9 "Factory can eat up memory" reported by vangheem. When finding fields related to a table only the top row is fetched.

New in dse 1.0.0 (Apr 25, 2011)

  • Version bump. Added unittest for issue #8

New in dse 1.0.0 RC1 (Apr 15, 2011)

  • updated README.txt.

New in dse 0.9.3 (Apr 13, 2011)

  • Fixed issue #7: dse causes django-debug-toolbar to crash. Thanks to ringemup for pointing that out. Added some docstrings.

New in dse 0.8.0 (Apr 7, 2011)

  • Fixed crash when more than one database connection has been configured. No ModelFactory will be triggered.

New in dse 0.6.0 (Feb 24, 2011)

  • added support for the with-statement.
  • added an ModelDelayedExecutor-instance to each model, so you can do Model.dse.add_item instead of dse.ModelFactory.Model.add_item.
  • renamed dse.modelfactory to dse.ModelFactory to be more style-compliant.

New in dse 0.5.1 (Feb 16, 2011)

  • Just some notes on transaction handling.

New in dse 0.5.0 (Feb 15, 2011)

  • added modelfactory. Upon first import a modelfactory will be created in the DSE module. It`s basically just a helper-class containing ModelDelayedExecutor-instances for all models in all apps found in INSTALLED_APPS in settings.py.
  • to change the default item limit before automatic execution of cached SQL statements to 10000 instead of the default 1000:
  • import dse
  • dse.ITEM_LIMIT = 10000