doc/3.17.rst
author Aurelien Campeas <aurelien.campeas@logilab.fr>
Fri, 13 Jun 2014 12:56:45 +0200
changeset 9792 1349398d744e
parent 8950 bcb87fa6da48
permissions -rw-r--r--
[test/migration] fix crash on execution This assertion is there for unclear reasons. ===================== unittest_migration.py ======================= -> creating tables [====================] -> inserting default user and default groups. -> storing the schema in the database [====================] -> database for instance data initialized. F ====================================================================== FAIL: test_db_creation (unittest_migration.BaseCreationTC) make sure database can be created ---------------------------------------------------------------------- Traceback (most recent call last) File "/home/auc/confs/forges/logilab/common/testlib.py", line 661, in _proceed testfunc(*args, **kwargs) File "/home/auc/confs/forges/cubicweb/test/unittest_migration.py", line 106, in test_db_creation handler.build_db_cache() File "/home/auc/confs/forges/cubicweb/devtools/__init__.py", line 469, in build_db_cache self.init_test_database() File "/home/auc/confs/forges/cubicweb/devtools/__init__.py", line 729, in init_test_database init_repository(self.config, interactive=False) File "/home/auc/confs/forges/cubicweb/server/__init__.py", line 217, in init_repository repo = Repository(config, vreg=vreg) File "/home/auc/confs/forges/cubicweb/server/repository.py", line 197, in __init__ self.init_cnxset_pool() File "/home/auc/confs/forges/cubicweb/server/repository.py", line 220, in init_cnxset_pool config.bootstrap_cubes() File "/home/auc/confs/forges/cubicweb/devtools/__init__.py", line 176, in bootstrap_cubes super(TestServerConfiguration, self).bootstrap_cubes() File "/home/auc/confs/forges/cubicweb/server/serverconfig.py", line 279, in bootstrap_cubes self.init_cubes(self.expand_cubes(splitstrip(line))) File "/home/auc/confs/forges/cubicweb/cwconfig.py", line 1022, in init_cubes super(CubicWebConfiguration, self).init_cubes(cubes) File "/home/auc/confs/forges/cubicweb/cwconfig.py", line 798, in init_cubes assert self._cubes is None, repr(self._cubes) AssertionError: ('card', 'file', 'localperms', 'tag')

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.