doc/3.21.rst
author Aurelien Campeas <aurelien.campeas@logilab.fr>
Tue, 03 Jun 2014 16:57:14 +0200
changeset 10331 6f25c7e4f19b
parent 10325 d2e1e67af4e1
child 10469 bd78f563e812
permissions -rw-r--r--
[dbapi] remove the dbapi module and its immediate remaining users We suppress toolsutils.config_connect, which has currently only one known user (the email cube), which is being patched. It can be replaced with utils.admincnx function for a local access. Next will come a series to: * remove the session backward compatibility * fold ClientConnection into Connection Closes #3933480.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
10215
96085e379066 [views,js] remove user_callback feature
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
diff changeset
     1
What's new in CubicWeb 3.21?
96085e379066 [views,js] remove user_callback feature
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
diff changeset
     2
============================
96085e379066 [views,js] remove user_callback feature
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
diff changeset
     3
10325
d2e1e67af4e1 [doc] mention datadir-url configuration option in release notes
Julien Cristau <julien.cristau@logilab.fr>
parents: 10305
diff changeset
     4
New features
d2e1e67af4e1 [doc] mention datadir-url configuration option in release notes
Julien Cristau <julien.cristau@logilab.fr>
parents: 10305
diff changeset
     5
------------
d2e1e67af4e1 [doc] mention datadir-url configuration option in release notes
Julien Cristau <julien.cristau@logilab.fr>
parents: 10305
diff changeset
     6
d2e1e67af4e1 [doc] mention datadir-url configuration option in release notes
Julien Cristau <julien.cristau@logilab.fr>
parents: 10305
diff changeset
     7
* the datadir-url configuration option lets one choose where static data files
d2e1e67af4e1 [doc] mention datadir-url configuration option in release notes
Julien Cristau <julien.cristau@logilab.fr>
parents: 10305
diff changeset
     8
  are served (instead of the default ${base-url}/data/)
d2e1e67af4e1 [doc] mention datadir-url configuration option in release notes
Julien Cristau <julien.cristau@logilab.fr>
parents: 10305
diff changeset
     9
10232
cda1bdc3652e [web] split timeline in an individual cube
Julien Cristau <julien.cristau@logilab.fr>
parents: 10215
diff changeset
    10
Code movement
cda1bdc3652e [web] split timeline in an individual cube
Julien Cristau <julien.cristau@logilab.fr>
parents: 10215
diff changeset
    11
-------------
cda1bdc3652e [web] split timeline in an individual cube
Julien Cristau <julien.cristau@logilab.fr>
parents: 10215
diff changeset
    12
cda1bdc3652e [web] split timeline in an individual cube
Julien Cristau <julien.cristau@logilab.fr>
parents: 10215
diff changeset
    13
The cubicweb.web.views.timeline module (providing the timeline-json, timeline
cda1bdc3652e [web] split timeline in an individual cube
Julien Cristau <julien.cristau@logilab.fr>
parents: 10215
diff changeset
    14
and static-timeline views) has moved to a standalone cube_
cda1bdc3652e [web] split timeline in an individual cube
Julien Cristau <julien.cristau@logilab.fr>
parents: 10215
diff changeset
    15
cda1bdc3652e [web] split timeline in an individual cube
Julien Cristau <julien.cristau@logilab.fr>
parents: 10215
diff changeset
    16
.. _cube: https://www.cubicweb.org/project/cubicweb-timeline
10215
96085e379066 [views,js] remove user_callback feature
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
diff changeset
    17
10305
937deb71a681 [web] kill GMTOFFSET (closes #2154655)
Julien Cristau <julien.cristau@logilab.fr>
parents: 10237
diff changeset
    18
API changes
937deb71a681 [web] kill GMTOFFSET (closes #2154655)
Julien Cristau <julien.cristau@logilab.fr>
parents: 10237
diff changeset
    19
-----------
937deb71a681 [web] kill GMTOFFSET (closes #2154655)
Julien Cristau <julien.cristau@logilab.fr>
parents: 10237
diff changeset
    20
937deb71a681 [web] kill GMTOFFSET (closes #2154655)
Julien Cristau <julien.cristau@logilab.fr>
parents: 10237
diff changeset
    21
* req.set_cookie's "expires" argument, if not None, is expected to be a
937deb71a681 [web] kill GMTOFFSET (closes #2154655)
Julien Cristau <julien.cristau@logilab.fr>
parents: 10237
diff changeset
    22
  date or a datetime in UTC.  It was previously interpreted as localtime
937deb71a681 [web] kill GMTOFFSET (closes #2154655)
Julien Cristau <julien.cristau@logilab.fr>
parents: 10237
diff changeset
    23
  with the UTC offset the server started in, which was inconsistent (we
937deb71a681 [web] kill GMTOFFSET (closes #2154655)
Julien Cristau <julien.cristau@logilab.fr>
parents: 10237
diff changeset
    24
  are not aware of any users of that API).
937deb71a681 [web] kill GMTOFFSET (closes #2154655)
Julien Cristau <julien.cristau@logilab.fr>
parents: 10237
diff changeset
    25
10215
96085e379066 [views,js] remove user_callback feature
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
diff changeset
    26
Deprecated code drops
96085e379066 [views,js] remove user_callback feature
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
diff changeset
    27
---------------------
96085e379066 [views,js] remove user_callback feature
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
diff changeset
    28
96085e379066 [views,js] remove user_callback feature
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
diff changeset
    29
* the user_callback api has been removed; people should use plain
96085e379066 [views,js] remove user_callback feature
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
diff changeset
    30
  ajax functions instead
10235
684215aca046 Remove remote repository-access-through-pyro support
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 10232
diff changeset
    31
10236
ef3059a692cb Remove the remote repository-access-through-zmq support
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 10235
diff changeset
    32
* the `Pyro` and `Zmq-pickle` remote repository access methods have
ef3059a692cb Remove the remote repository-access-through-zmq support
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 10235
diff changeset
    33
  been entirely removed (emerging alternatives such as rqlcontroller
10237
1e030b1a5622 Remove leftover bits from start-repository command, and document its demise
Julien Cristau <julien.cristau@logilab.fr>
parents: 10236
diff changeset
    34
  and cwclientlib should be used instead).  Note that as a side effect,
1e030b1a5622 Remove leftover bits from start-repository command, and document its demise
Julien Cristau <julien.cristau@logilab.fr>
parents: 10236
diff changeset
    35
  "repository-only" instances (i.e. without a http component) are no
1e030b1a5622 Remove leftover bits from start-repository command, and document its demise
Julien Cristau <julien.cristau@logilab.fr>
parents: 10236
diff changeset
    36
  longer possible.  If you have any such instances, you will need to
1e030b1a5622 Remove leftover bits from start-repository command, and document its demise
Julien Cristau <julien.cristau@logilab.fr>
parents: 10236
diff changeset
    37
  rename the configuration file from repository.conf to all-in-one.conf
1e030b1a5622 Remove leftover bits from start-repository command, and document its demise
Julien Cristau <julien.cristau@logilab.fr>
parents: 10236
diff changeset
    38
  and run ``cubicweb-ctl upgrade`` to update it.
1e030b1a5622 Remove leftover bits from start-repository command, and document its demise
Julien Cristau <julien.cristau@logilab.fr>
parents: 10236
diff changeset
    39
10331
6f25c7e4f19b [dbapi] remove the dbapi module and its immediate remaining users
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 10325
diff changeset
    40
* the old (deprecated since 3.19) `DBAPI` api is completely removed