doc/3.17.rst
author Rémi Cardona <remi.cardona@logilab.fr>
Tue, 30 Jun 2015 15:06:36 +0200
changeset 10464 5ad491852062
parent 8950 bcb87fa6da48
permissions -rw-r--r--
[test] Fix unittest_i18n to run properly with "pytest -t" (closes #5576169) When running "pytest -t", many tests modules will be imported and run within a single python process. unittest_i18n fails when run after tests such as unittest_webtest.py or unittest_httptest.py. The main reason is that unittest_i18n does various tricks to add a test cube to the search path, which badly fails when a previous test module has already loaded "stuff" (for lack of a better word). Instead, let's just call the 'i18ncube' command with subprocess. The change from logilab.common.testlib to unittest is not directly needed, but comes as a free cleanup with the above changes.

What's new in CubicWeb 3.17?
============================

New functionalities
--------------------

* add a command to compare db schema and file system schema
  (see `#464991 <http://www.cubicweb.org/464991>`_)

* Add CubicWebRequestBase.content with the content of the HTTP request (see #2742453)
  (see `#2742453 <http://www.cubicweb.org/2742453>`_)

* Add directive bookmark to ReST rendering
  (see `#2545595 <http://www.cubicweb.org/ticket/2545595>`_)

* Allow user defined final type
  (see `#124342 <https://www.logilab.org/ticket/124342>`_)


API changes
-----------

* drop typed_eid() in favour of int() (see `#2742462 <http://www.cubicweb.org/2742462>`_)

* The SIOC views and adapters have been removed from CubicWeb and moved to the
  `sioc` cube.

* The web page embedding views and adapters have been removed from CubicWeb and
  moved to the `embed` cube.

* The email sending views and controllers have been removed from CubicWeb and
  moved to the `massmailing` cube.

* ``RenderAndSendNotificationView`` is deprecated in favor of
  ``ActualNotificationOp`` the new operation use the more efficient *data*
  idiom.

* Looping task can now have a interval <= ``0``. Negative interval disable the
  looping task entirely.

* We now serve html instead of xhtml.
  (see `#2065651 <http://www.cubicweb.org/ticket/2065651>`_)


Deprecation
---------------------

* ``ldapuser`` have been deprecated. It'll be fully dropped in the next
  version. If you are still using ldapuser switch to ``ldapfeed`` **NOW**!

* ``hijack_user`` have been deprecated. It will be dropped soon.

Deprecated Code Drops
----------------------

* The progress views and adapters have been removed from CubicWeb. These
  classes were deprecated since 3.14.0. They are still available in the
  `iprogress` cube.

* API deprecated since 3.7 have been dropped.