author | Rémi Cardona <remi.cardona@logilab.fr> |
Thu, 09 Jul 2015 17:03:50 +0200 | |
changeset 10530 | 9d1bb0872e11 |
parent 10504 | 3755cd64fff8 |
permissions | -rw-r--r-- |
10502
bdcd35e575fd
[doc] reformat changes files headers
David Douard <david.douard@logilab.fr>
parents:
10491
diff
changeset
|
1 |
3.16 (25/01/2013) |
bdcd35e575fd
[doc] reformat changes files headers
David Douard <david.douard@logilab.fr>
parents:
10491
diff
changeset
|
2 |
================= |
8625
7ee0752178e5
[dataimport] Add SQL Store for faster import - works ONLY with Postgres for now, as it requires "copy from" command - closes #2410822
Vincent Michel <vincent.michel@logilab.fr>
parents:
diff
changeset
|
3 |
|
8676
c5690cb9d2ba
[doc/3.16] complete description of what changed
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
8675
diff
changeset
|
4 |
New functionalities |
10504
3755cd64fff8
[doc] small rst fixes and cleanups in changelog files
David Douard <david.douard@logilab.fr>
parents:
10502
diff
changeset
|
5 |
------------------- |
8625
7ee0752178e5
[dataimport] Add SQL Store for faster import - works ONLY with Postgres for now, as it requires "copy from" command - closes #2410822
Vincent Michel <vincent.michel@logilab.fr>
parents:
diff
changeset
|
6 |
|
7ee0752178e5
[dataimport] Add SQL Store for faster import - works ONLY with Postgres for now, as it requires "copy from" command - closes #2410822
Vincent Michel <vincent.michel@logilab.fr>
parents:
diff
changeset
|
7 |
* Add a new dataimport store (`SQLGenObjectStore`). This store enables a fast |
7ee0752178e5
[dataimport] Add SQL Store for faster import - works ONLY with Postgres for now, as it requires "copy from" command - closes #2410822
Vincent Michel <vincent.michel@logilab.fr>
parents:
diff
changeset
|
8 |
import of data (entity creation, link creation) in CubicWeb, by directly |
7ee0752178e5
[dataimport] Add SQL Store for faster import - works ONLY with Postgres for now, as it requires "copy from" command - closes #2410822
Vincent Michel <vincent.michel@logilab.fr>
parents:
diff
changeset
|
9 |
flushing information in SQL. This may only be used with PostgreSQL, as it |
7ee0752178e5
[dataimport] Add SQL Store for faster import - works ONLY with Postgres for now, as it requires "copy from" command - closes #2410822
Vincent Michel <vincent.michel@logilab.fr>
parents:
diff
changeset
|
10 |
requires the 'COPY FROM' command. |
7ee0752178e5
[dataimport] Add SQL Store for faster import - works ONLY with Postgres for now, as it requires "copy from" command - closes #2410822
Vincent Michel <vincent.michel@logilab.fr>
parents:
diff
changeset
|
11 |
|
8669
62213a34726e
[db-api/configuration] simplify db-api and configuration so that all the connection information is in the repository url, closes #2521848
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8653
diff
changeset
|
12 |
|
8625
7ee0752178e5
[dataimport] Add SQL Store for faster import - works ONLY with Postgres for now, as it requires "copy from" command - closes #2410822
Vincent Michel <vincent.michel@logilab.fr>
parents:
diff
changeset
|
13 |
API changes |
7ee0752178e5
[dataimport] Add SQL Store for faster import - works ONLY with Postgres for now, as it requires "copy from" command - closes #2410822
Vincent Michel <vincent.michel@logilab.fr>
parents:
diff
changeset
|
14 |
----------- |
7ee0752178e5
[dataimport] Add SQL Store for faster import - works ONLY with Postgres for now, as it requires "copy from" command - closes #2410822
Vincent Michel <vincent.michel@logilab.fr>
parents:
diff
changeset
|
15 |
|
8676
c5690cb9d2ba
[doc/3.16] complete description of what changed
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
8675
diff
changeset
|
16 |
* Orm: `set_attributes` and `set_relations` are unified (and |
c5690cb9d2ba
[doc/3.16] complete description of what changed
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
8675
diff
changeset
|
17 |
deprecated) in favor of `cw_set` that works in all cases. |
8669
62213a34726e
[db-api/configuration] simplify db-api and configuration so that all the connection information is in the repository url, closes #2521848
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8653
diff
changeset
|
18 |
|
8676
c5690cb9d2ba
[doc/3.16] complete description of what changed
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
8675
diff
changeset
|
19 |
* db-api/configuration: all the external repository connection information is |
c5690cb9d2ba
[doc/3.16] complete description of what changed
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
8675
diff
changeset
|
20 |
now in an URL (see `#2521848 <http://www.cubicweb.org/2521848>`_), |
c5690cb9d2ba
[doc/3.16] complete description of what changed
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
8675
diff
changeset
|
21 |
allowing to drop specific options of pyro nameserver host, group, etc and fix |
c5690cb9d2ba
[doc/3.16] complete description of what changed
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
8675
diff
changeset
|
22 |
broken `ZMQ <http://www.zeromq.org/>`_ source. Configuration related changes: |
c5690cb9d2ba
[doc/3.16] complete description of what changed
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
8675
diff
changeset
|
23 |
|
c5690cb9d2ba
[doc/3.16] complete description of what changed
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
8675
diff
changeset
|
24 |
* Dropped 'pyro-ns-host', 'pyro-instance-id', 'pyro-ns-group' from the client side |
c5690cb9d2ba
[doc/3.16] complete description of what changed
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
8675
diff
changeset
|
25 |
configuration, in favor of 'repository-uri'. **NO MIGRATION IS DONE**, |
c5690cb9d2ba
[doc/3.16] complete description of what changed
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
8675
diff
changeset
|
26 |
supposing there is no web-only configuration in the wild. |
8669
62213a34726e
[db-api/configuration] simplify db-api and configuration so that all the connection information is in the repository url, closes #2521848
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8653
diff
changeset
|
27 |
|
62213a34726e
[db-api/configuration] simplify db-api and configuration so that all the connection information is in the repository url, closes #2521848
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8653
diff
changeset
|
28 |
* Stop discovering the connection method through `repo_method` class attribute |
62213a34726e
[db-api/configuration] simplify db-api and configuration so that all the connection information is in the repository url, closes #2521848
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8653
diff
changeset
|
29 |
of the configuration, varying according to the configuration class. This is |
62213a34726e
[db-api/configuration] simplify db-api and configuration so that all the connection information is in the repository url, closes #2521848
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8653
diff
changeset
|
30 |
a first step on the way to a simpler configuration handling. |
62213a34726e
[db-api/configuration] simplify db-api and configuration so that all the connection information is in the repository url, closes #2521848
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8653
diff
changeset
|
31 |
|
62213a34726e
[db-api/configuration] simplify db-api and configuration so that all the connection information is in the repository url, closes #2521848
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8653
diff
changeset
|
32 |
DB-API related changes: |
62213a34726e
[db-api/configuration] simplify db-api and configuration so that all the connection information is in the repository url, closes #2521848
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8653
diff
changeset
|
33 |
|
62213a34726e
[db-api/configuration] simplify db-api and configuration so that all the connection information is in the repository url, closes #2521848
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8653
diff
changeset
|
34 |
* Stop indicating the connection method using `ConnectionProperties`. |
62213a34726e
[db-api/configuration] simplify db-api and configuration so that all the connection information is in the repository url, closes #2521848
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8653
diff
changeset
|
35 |
|
62213a34726e
[db-api/configuration] simplify db-api and configuration so that all the connection information is in the repository url, closes #2521848
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8653
diff
changeset
|
36 |
* Drop `_cnxtype` attribute from `Connection` and `cnxtype` from |
8676
c5690cb9d2ba
[doc/3.16] complete description of what changed
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
8675
diff
changeset
|
37 |
`Session`. The former is replaced by a `is_repo_in_memory` property |
8669
62213a34726e
[db-api/configuration] simplify db-api and configuration so that all the connection information is in the repository url, closes #2521848
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8653
diff
changeset
|
38 |
and the later is totaly useless. |
62213a34726e
[db-api/configuration] simplify db-api and configuration so that all the connection information is in the repository url, closes #2521848
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8653
diff
changeset
|
39 |
|
8676
c5690cb9d2ba
[doc/3.16] complete description of what changed
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
8675
diff
changeset
|
40 |
* Turn `repo_connect` into `_repo_connect` to mark it as a private function. |
8673
8ea63a2cc2cc
[db-api] rename repo_connect into _repo_connect to mark it private. Closes #2521848
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8670
diff
changeset
|
41 |
|
8669
62213a34726e
[db-api/configuration] simplify db-api and configuration so that all the connection information is in the repository url, closes #2521848
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8653
diff
changeset
|
42 |
* Deprecate `in_memory_cnx` which becomes useless, use `_repo_connect` instead |
62213a34726e
[db-api/configuration] simplify db-api and configuration so that all the connection information is in the repository url, closes #2521848
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8653
diff
changeset
|
43 |
if necessary. |
62213a34726e
[db-api/configuration] simplify db-api and configuration so that all the connection information is in the repository url, closes #2521848
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8653
diff
changeset
|
44 |
|
8676
c5690cb9d2ba
[doc/3.16] complete description of what changed
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
8675
diff
changeset
|
45 |
* the "tcp://" uri scheme used for `ZMQ <http://www.zeromq.org/>`_ |
c5690cb9d2ba
[doc/3.16] complete description of what changed
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
8675
diff
changeset
|
46 |
communications (in a way reminiscent of Pyro) is now named |
c5690cb9d2ba
[doc/3.16] complete description of what changed
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
8675
diff
changeset
|
47 |
"zmqpickle-tcp://", so as to make room for future zmq-based lightweight |
c5690cb9d2ba
[doc/3.16] complete description of what changed
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
8675
diff
changeset
|
48 |
communications (without python objects pickling). |
c5690cb9d2ba
[doc/3.16] complete description of what changed
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
8675
diff
changeset
|
49 |
|
c5690cb9d2ba
[doc/3.16] complete description of what changed
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
8675
diff
changeset
|
50 |
* Request.base_url gets a `secure=True` optional parameter that yields |
c5690cb9d2ba
[doc/3.16] complete description of what changed
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
8675
diff
changeset
|
51 |
an https url if possible, allowing hook-generated content to send |
c5690cb9d2ba
[doc/3.16] complete description of what changed
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
8675
diff
changeset
|
52 |
secure urls (e.g. when sending mail notifications) |
c5690cb9d2ba
[doc/3.16] complete description of what changed
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
8675
diff
changeset
|
53 |
|
c5690cb9d2ba
[doc/3.16] complete description of what changed
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
8675
diff
changeset
|
54 |
* Dataimport ucsvreader gets a new boolean `ignore_errors` |
c5690cb9d2ba
[doc/3.16] complete description of what changed
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
8675
diff
changeset
|
55 |
parameter. |
8670
f02139297beb
prefix "tcp://" zmq uris with "zmqpickle" (closes #2574114)
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
8669
diff
changeset
|
56 |
|
8669
62213a34726e
[db-api/configuration] simplify db-api and configuration so that all the connection information is in the repository url, closes #2521848
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8653
diff
changeset
|
57 |
|
8625
7ee0752178e5
[dataimport] Add SQL Store for faster import - works ONLY with Postgres for now, as it requires "copy from" command - closes #2410822
Vincent Michel <vincent.michel@logilab.fr>
parents:
diff
changeset
|
58 |
Unintrusive API changes |
7ee0752178e5
[dataimport] Add SQL Store for faster import - works ONLY with Postgres for now, as it requires "copy from" command - closes #2410822
Vincent Michel <vincent.michel@logilab.fr>
parents:
diff
changeset
|
59 |
----------------------- |
7ee0752178e5
[dataimport] Add SQL Store for faster import - works ONLY with Postgres for now, as it requires "copy from" command - closes #2410822
Vincent Michel <vincent.michel@logilab.fr>
parents:
diff
changeset
|
60 |
|
8653
ad5a3ff57255
[uicfg] remove pre 3.6 bw compat structure (prepares #2406609)
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
8632
diff
changeset
|
61 |
* Drop of `cubicweb.web.uicfg.AutoformSectionRelationTags.bw_tag_map`, |
8676
c5690cb9d2ba
[doc/3.16] complete description of what changed
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
8675
diff
changeset
|
62 |
deprecated since 3.6. |
c5690cb9d2ba
[doc/3.16] complete description of what changed
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
8675
diff
changeset
|
63 |
|
8625
7ee0752178e5
[dataimport] Add SQL Store for faster import - works ONLY with Postgres for now, as it requires "copy from" command - closes #2410822
Vincent Michel <vincent.michel@logilab.fr>
parents:
diff
changeset
|
64 |
|
7ee0752178e5
[dataimport] Add SQL Store for faster import - works ONLY with Postgres for now, as it requires "copy from" command - closes #2410822
Vincent Michel <vincent.michel@logilab.fr>
parents:
diff
changeset
|
65 |
User interface changes |
7ee0752178e5
[dataimport] Add SQL Store for faster import - works ONLY with Postgres for now, as it requires "copy from" command - closes #2410822
Vincent Michel <vincent.michel@logilab.fr>
parents:
diff
changeset
|
66 |
---------------------- |
8632
fa044b9157d7
Remove changelog view (closes #2423532)
Arthur Lutz <arthur.lutz@logilab.fr>
parents:
8625
diff
changeset
|
67 |
|
8676
c5690cb9d2ba
[doc/3.16] complete description of what changed
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
8675
diff
changeset
|
68 |
* The RQL search bar has now some auto-completion support. It means |
c5690cb9d2ba
[doc/3.16] complete description of what changed
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
8675
diff
changeset
|
69 |
relation types or entity types can be suggested while typing. It is |
c5690cb9d2ba
[doc/3.16] complete description of what changed
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
8675
diff
changeset
|
70 |
an awesome improvement over the current behaviour ! |
c5690cb9d2ba
[doc/3.16] complete description of what changed
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
8675
diff
changeset
|
71 |
|
c5690cb9d2ba
[doc/3.16] complete description of what changed
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
8675
diff
changeset
|
72 |
* The `action box` associated with `table` views (from `tableview.py`) |
c5690cb9d2ba
[doc/3.16] complete description of what changed
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
8675
diff
changeset
|
73 |
has been transformed into a nice-looking series of small tabs; it |
c5690cb9d2ba
[doc/3.16] complete description of what changed
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
8675
diff
changeset
|
74 |
means that the possible actions are immediately visible and need not |
c5690cb9d2ba
[doc/3.16] complete description of what changed
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
8675
diff
changeset
|
75 |
be discovered by clicking on an almost invisible icon on the upper |
c5690cb9d2ba
[doc/3.16] complete description of what changed
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
8675
diff
changeset
|
76 |
right. |
c5690cb9d2ba
[doc/3.16] complete description of what changed
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
8675
diff
changeset
|
77 |
|
c5690cb9d2ba
[doc/3.16] complete description of what changed
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
8675
diff
changeset
|
78 |
* The `uicfg` module has moved to web/views/ and ui configuration |
c5690cb9d2ba
[doc/3.16] complete description of what changed
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
8675
diff
changeset
|
79 |
objects are now selectable. This will reduce the amount of |
c5690cb9d2ba
[doc/3.16] complete description of what changed
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
8675
diff
changeset
|
80 |
subclassing and whole methods replacement usually needed to |
c5690cb9d2ba
[doc/3.16] complete description of what changed
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
8675
diff
changeset
|
81 |
customize the ui behaviour in many cases. |
c5690cb9d2ba
[doc/3.16] complete description of what changed
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
8675
diff
changeset
|
82 |
|
c5690cb9d2ba
[doc/3.16] complete description of what changed
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
8675
diff
changeset
|
83 |
* Remove changelog view, as neither cubicweb nor known |
c5690cb9d2ba
[doc/3.16] complete description of what changed
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
8675
diff
changeset
|
84 |
cubes/applications were properly feeding related files. |
8675
b60329e40e26
[rql sources] uses an URL as remote host address for pyro/zmq rql sources,
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8673
diff
changeset
|
85 |
|
b60329e40e26
[rql sources] uses an URL as remote host address for pyro/zmq rql sources,
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8673
diff
changeset
|
86 |
|
b60329e40e26
[rql sources] uses an URL as remote host address for pyro/zmq rql sources,
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8673
diff
changeset
|
87 |
Other changes |
b60329e40e26
[rql sources] uses an URL as remote host address for pyro/zmq rql sources,
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8673
diff
changeset
|
88 |
------------- |
b60329e40e26
[rql sources] uses an URL as remote host address for pyro/zmq rql sources,
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8673
diff
changeset
|
89 |
|
b60329e40e26
[rql sources] uses an URL as remote host address for pyro/zmq rql sources,
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8673
diff
changeset
|
90 |
* 'pyrorql' sources will be automatically updated to use an URL to locate the source |
b60329e40e26
[rql sources] uses an URL as remote host address for pyro/zmq rql sources,
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8673
diff
changeset
|
91 |
rather than configuration option. 'zmqrql' sources were broken before this change, |
8676
c5690cb9d2ba
[doc/3.16] complete description of what changed
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
8675
diff
changeset
|
92 |
so no upgrade is needed... |
c5690cb9d2ba
[doc/3.16] complete description of what changed
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
8675
diff
changeset
|
93 |
|
c5690cb9d2ba
[doc/3.16] complete description of what changed
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
8675
diff
changeset
|
94 |
* Debugging filters for Hooks and Operations have been added. |
c5690cb9d2ba
[doc/3.16] complete description of what changed
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
8675
diff
changeset
|
95 |
|
c5690cb9d2ba
[doc/3.16] complete description of what changed
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
8675
diff
changeset
|
96 |
* Some cubicweb-ctl commands used to show the output of `msgcat` and |
c5690cb9d2ba
[doc/3.16] complete description of what changed
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
8675
diff
changeset
|
97 |
`msgfmt`; they don't anymore. |