doc/3.21.rst
author Julien Cristau <julien.cristau@logilab.fr>
Mon, 16 Mar 2015 16:46:34 +0100
changeset 10305 937deb71a681
parent 10237 1e030b1a5622
child 10325 d2e1e67af4e1
permissions -rw-r--r--
[web] kill GMTOFFSET (closes #2154655) Its last user, set_cookie(expires=...), can just as well interpret its argument as UTC. Naïve datetime objects with an implicit non-UTC timezone are just awful.
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
10232
cda1bdc3652e [web] split timeline in an individual cube
Julien Cristau <julien.cristau@logilab.fr>
parents: 10215
diff changeset
     4
Code movement
cda1bdc3652e [web] split timeline in an individual cube
Julien Cristau <julien.cristau@logilab.fr>
parents: 10215
diff changeset
     5
-------------
cda1bdc3652e [web] split timeline in an individual cube
Julien Cristau <julien.cristau@logilab.fr>
parents: 10215
diff changeset
     6
cda1bdc3652e [web] split timeline in an individual cube
Julien Cristau <julien.cristau@logilab.fr>
parents: 10215
diff changeset
     7
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
     8
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
     9
cda1bdc3652e [web] split timeline in an individual cube
Julien Cristau <julien.cristau@logilab.fr>
parents: 10215
diff changeset
    10
.. _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
    11
10305
937deb71a681 [web] kill GMTOFFSET (closes #2154655)
Julien Cristau <julien.cristau@logilab.fr>
parents: 10237
diff changeset
    12
API changes
937deb71a681 [web] kill GMTOFFSET (closes #2154655)
Julien Cristau <julien.cristau@logilab.fr>
parents: 10237
diff changeset
    13
-----------
937deb71a681 [web] kill GMTOFFSET (closes #2154655)
Julien Cristau <julien.cristau@logilab.fr>
parents: 10237
diff changeset
    14
937deb71a681 [web] kill GMTOFFSET (closes #2154655)
Julien Cristau <julien.cristau@logilab.fr>
parents: 10237
diff changeset
    15
* 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
    16
  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
    17
  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
    18
  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
    19
10215
96085e379066 [views,js] remove user_callback feature
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
diff changeset
    20
Deprecated code drops
96085e379066 [views,js] remove user_callback feature
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
diff changeset
    21
---------------------
96085e379066 [views,js] remove user_callback feature
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
diff changeset
    22
96085e379066 [views,js] remove user_callback feature
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
diff changeset
    23
* 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
    24
  ajax functions instead
10235
684215aca046 Remove remote repository-access-through-pyro support
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 10232
diff changeset
    25
10236
ef3059a692cb Remove the remote repository-access-through-zmq support
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 10235
diff changeset
    26
* 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
    27
  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
    28
  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
    29
  "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
    30
  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
    31
  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
    32
  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
    33