Jump to >

Djblets 0.8.28 Release Notes

Release date: February 9, 2017

Packaging

  • Simplified installation of dependencies for contributors to Djblets.

    If you’re working on the Djblets codebase, installing the package in development mode (running setup.py develop) will now install all of Python packages as Wheels instead of Eggs (simplifying installation on most systems), and will install the node.js dependencies needed for building static media.

    This should help contributors get going with development. It does not impact consumers of the Djblets packages in any way.

  • The complete list of package dependencies now lives in the djblets.dependencies module instead of setup.py.

    Package maintainers looking to update the list of dependencies in some way or wanting to stay up-to-date on the list of dependencies should consult the djblets/dependencies.py file. Note that only the Python dependencies listed in there are requirements for consuming the package. The node.js dependencies are only used to build the Djblets packages.

djblets.cache

  • ForwardingCacheBackend now ignores errors when closing the old backend during a reset.

    This avoids crashes when the old caching backend configuration was bad in some way (such as the memcached host string being invalid).

djblets.log

djblets.testing

  • Fixed TestRunner when defining test_packages and passing command line arguments.

    The test packages were being ignored if command line arguments were provided.

djblets.util

  • Added a smarter version of Django’s @cached_property decorator.

    This introduces a new cached_property() decorator, which is a version of Django’s decorator that retains the original method’s documentation and name, which Django’s does not. This allows for proper introspection and documentation generation for methods using this decorator.

Contributors

  • Christian Hammond