author | Julien Cristau <julien.cristau@logilab.fr> |
Thu, 03 Jul 2014 12:18:34 +0200 | |
changeset 9867 | 7f36f31d8828 |
parent 8059 | 5120bf45ffb6 |
permissions | -rw-r--r-- |
7878
dcdccb495e78
[doc] more doc about what's new in 3.14
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
7875
diff
changeset
|
1 |
Whats new in CubicWeb 3.14 |
dcdccb495e78
[doc] more doc about what's new in 3.14
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
7875
diff
changeset
|
2 |
========================== |
dcdccb495e78
[doc] more doc about what's new in 3.14
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
7875
diff
changeset
|
3 |
|
8059
5120bf45ffb6
[doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8034
diff
changeset
|
4 |
First notice CW 3.14 depends on yams 0.34 (which is incompatible with prior |
5120bf45ffb6
[doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8034
diff
changeset
|
5 |
cubicweb releases regarding instance re-creation). |
5120bf45ffb6
[doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8034
diff
changeset
|
6 |
|
7878
dcdccb495e78
[doc] more doc about what's new in 3.14
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
7875
diff
changeset
|
7 |
API changes |
dcdccb495e78
[doc] more doc about what's new in 3.14
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
7875
diff
changeset
|
8 |
----------- |
7827
9bbf83f68bcc
[entity] upgrade fetch_[unrelated_]order to benefit from changes introduced in 3.14 (closes #1942758)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff
changeset
|
9 |
|
7859
15809afe093b
[migration doc] talk about changes in Entity.fetch_rql
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
7828
diff
changeset
|
10 |
* `Entity.fetch_rql` `restriction` argument has been deprecated and should be |
15809afe093b
[migration doc] talk about changes in Entity.fetch_rql
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
7828
diff
changeset
|
11 |
replaced with a call to the new `Entity.fetch_rqlst` method, get the returned |
15809afe093b
[migration doc] talk about changes in Entity.fetch_rql
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
7828
diff
changeset
|
12 |
value (a rql `Select` node) and use the RQL syntax tree API to include the |
15809afe093b
[migration doc] talk about changes in Entity.fetch_rql
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
7828
diff
changeset
|
13 |
above-mentionned restrictions. |
15809afe093b
[migration doc] talk about changes in Entity.fetch_rql
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
7828
diff
changeset
|
14 |
|
15809afe093b
[migration doc] talk about changes in Entity.fetch_rql
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
7828
diff
changeset
|
15 |
Backward compat is kept with proper warning. |
15809afe093b
[migration doc] talk about changes in Entity.fetch_rql
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
7828
diff
changeset
|
16 |
|
7827
9bbf83f68bcc
[entity] upgrade fetch_[unrelated_]order to benefit from changes introduced in 3.14 (closes #1942758)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff
changeset
|
17 |
* `Entity.fetch_order` and `Entity.fetch_unrelated_order` class methods have been |
9bbf83f68bcc
[entity] upgrade fetch_[unrelated_]order to benefit from changes introduced in 3.14 (closes #1942758)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff
changeset
|
18 |
replaced by `Entity.cw_fetch_order` and `Entity.cw_fetch_unrelated_order` with |
9bbf83f68bcc
[entity] upgrade fetch_[unrelated_]order to benefit from changes introduced in 3.14 (closes #1942758)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff
changeset
|
19 |
a different prototype: |
9bbf83f68bcc
[entity] upgrade fetch_[unrelated_]order to benefit from changes introduced in 3.14 (closes #1942758)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff
changeset
|
20 |
|
9bbf83f68bcc
[entity] upgrade fetch_[unrelated_]order to benefit from changes introduced in 3.14 (closes #1942758)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff
changeset
|
21 |
- instead of taking (attr, var) as two string argument, they now take (select, |
9bbf83f68bcc
[entity] upgrade fetch_[unrelated_]order to benefit from changes introduced in 3.14 (closes #1942758)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff
changeset
|
22 |
attr, var) where select is the rql syntax tree beinx constructed and var the |
9bbf83f68bcc
[entity] upgrade fetch_[unrelated_]order to benefit from changes introduced in 3.14 (closes #1942758)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff
changeset
|
23 |
variable *node*. |
9bbf83f68bcc
[entity] upgrade fetch_[unrelated_]order to benefit from changes introduced in 3.14 (closes #1942758)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff
changeset
|
24 |
|
9bbf83f68bcc
[entity] upgrade fetch_[unrelated_]order to benefit from changes introduced in 3.14 (closes #1942758)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff
changeset
|
25 |
- instead of returning some string to be inserted in the ORDERBY clause, it has |
9bbf83f68bcc
[entity] upgrade fetch_[unrelated_]order to benefit from changes introduced in 3.14 (closes #1942758)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff
changeset
|
26 |
to modify the syntax tree |
9bbf83f68bcc
[entity] upgrade fetch_[unrelated_]order to benefit from changes introduced in 3.14 (closes #1942758)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff
changeset
|
27 |
|
9bbf83f68bcc
[entity] upgrade fetch_[unrelated_]order to benefit from changes introduced in 3.14 (closes #1942758)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff
changeset
|
28 |
Backward compat is kept with proper warning, BESIDE cases below: |
9bbf83f68bcc
[entity] upgrade fetch_[unrelated_]order to benefit from changes introduced in 3.14 (closes #1942758)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff
changeset
|
29 |
|
9bbf83f68bcc
[entity] upgrade fetch_[unrelated_]order to benefit from changes introduced in 3.14 (closes #1942758)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff
changeset
|
30 |
- custom order method return **something else the a variable name with or |
9bbf83f68bcc
[entity] upgrade fetch_[unrelated_]order to benefit from changes introduced in 3.14 (closes #1942758)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff
changeset
|
31 |
without the sorting order** (e.g. cases where you sort on the value of a |
9bbf83f68bcc
[entity] upgrade fetch_[unrelated_]order to benefit from changes introduced in 3.14 (closes #1942758)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff
changeset
|
32 |
registered procedure as it was done in the tracker for instance). In such |
9bbf83f68bcc
[entity] upgrade fetch_[unrelated_]order to benefit from changes introduced in 3.14 (closes #1942758)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff
changeset
|
33 |
case, an error is logged telling that this sorting is ignored until API |
9bbf83f68bcc
[entity] upgrade fetch_[unrelated_]order to benefit from changes introduced in 3.14 (closes #1942758)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff
changeset
|
34 |
upgrade. |
9bbf83f68bcc
[entity] upgrade fetch_[unrelated_]order to benefit from changes introduced in 3.14 (closes #1942758)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff
changeset
|
35 |
|
9bbf83f68bcc
[entity] upgrade fetch_[unrelated_]order to benefit from changes introduced in 3.14 (closes #1942758)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff
changeset
|
36 |
- client code use direct access to one of those methods on an entity (no code |
8059
5120bf45ffb6
[doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8034
diff
changeset
|
37 |
known to do that). |
7827
9bbf83f68bcc
[entity] upgrade fetch_[unrelated_]order to benefit from changes introduced in 3.14 (closes #1942758)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff
changeset
|
38 |
|
7828
749e1a67987f
[entity] rename Entity._rest_attr_info into cw_rest_attr_info (closes #1942759)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
7827
diff
changeset
|
39 |
* `Entity._rest_attr_info` class method has been renamed to |
749e1a67987f
[entity] rename Entity._rest_attr_info into cw_rest_attr_info (closes #1942759)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
7827
diff
changeset
|
40 |
`Entity.cw_rest_attr_info` |
749e1a67987f
[entity] rename Entity._rest_attr_info into cw_rest_attr_info (closes #1942759)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
7827
diff
changeset
|
41 |
|
749e1a67987f
[entity] rename Entity._rest_attr_info into cw_rest_attr_info (closes #1942759)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
7827
diff
changeset
|
42 |
No backward compat yet since this is a protected method an no code is known to |
749e1a67987f
[entity] rename Entity._rest_attr_info into cw_rest_attr_info (closes #1942759)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
7827
diff
changeset
|
43 |
use it outside cubicweb itself. |
749e1a67987f
[entity] rename Entity._rest_attr_info into cw_rest_attr_info (closes #1942759)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
7827
diff
changeset
|
44 |
|
7875
65e460690139
[form, entity] refactor '__linkto', now handled by the entity form, not the entity itself. Closes #1931543
Florent Cayré <florent.cayre@gmail.com>
parents:
7859
diff
changeset
|
45 |
* `AnyEntity.linked_to` has been removed as part of a refactoring of this |
65e460690139
[form, entity] refactor '__linkto', now handled by the entity form, not the entity itself. Closes #1931543
Florent Cayré <florent.cayre@gmail.com>
parents:
7859
diff
changeset
|
46 |
functionality (link a entity to another one at creation step). It was replaced |
65e460690139
[form, entity] refactor '__linkto', now handled by the entity form, not the entity itself. Closes #1931543
Florent Cayré <florent.cayre@gmail.com>
parents:
7859
diff
changeset
|
47 |
by a `EntityFieldsForm.linked_to` property. |
65e460690139
[form, entity] refactor '__linkto', now handled by the entity form, not the entity itself. Closes #1931543
Florent Cayré <florent.cayre@gmail.com>
parents:
7859
diff
changeset
|
48 |
|
65e460690139
[form, entity] refactor '__linkto', now handled by the entity form, not the entity itself. Closes #1931543
Florent Cayré <florent.cayre@gmail.com>
parents:
7859
diff
changeset
|
49 |
In the same refactoring, `cubicweb.web.formfield.relvoc_linkedto`, |
65e460690139
[form, entity] refactor '__linkto', now handled by the entity form, not the entity itself. Closes #1931543
Florent Cayré <florent.cayre@gmail.com>
parents:
7859
diff
changeset
|
50 |
`cubicweb.web.formfield.relvoc_init` and |
65e460690139
[form, entity] refactor '__linkto', now handled by the entity form, not the entity itself. Closes #1931543
Florent Cayré <florent.cayre@gmail.com>
parents:
7859
diff
changeset
|
51 |
`cubicweb.web.formfield.relvoc_unrelated` were removed and replaced by |
65e460690139
[form, entity] refactor '__linkto', now handled by the entity form, not the entity itself. Closes #1931543
Florent Cayré <florent.cayre@gmail.com>
parents:
7859
diff
changeset
|
52 |
RelationField methods with the same names, that take a form as a parameter. |
65e460690139
[form, entity] refactor '__linkto', now handled by the entity form, not the entity itself. Closes #1931543
Florent Cayré <florent.cayre@gmail.com>
parents:
7859
diff
changeset
|
53 |
|
65e460690139
[form, entity] refactor '__linkto', now handled by the entity form, not the entity itself. Closes #1931543
Florent Cayré <florent.cayre@gmail.com>
parents:
7859
diff
changeset
|
54 |
**No backward compatibility yet**. It's still time to cry for it. |
8059
5120bf45ffb6
[doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8034
diff
changeset
|
55 |
Cubes known to be affected: tracker, vcsfile, vcreview. |
7875
65e460690139
[form, entity] refactor '__linkto', now handled by the entity form, not the entity itself. Closes #1931543
Florent Cayré <florent.cayre@gmail.com>
parents:
7859
diff
changeset
|
56 |
|
7878
dcdccb495e78
[doc] more doc about what's new in 3.14
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
7875
diff
changeset
|
57 |
* `CWPermission` entity type and its associated require_permission relation type |
dcdccb495e78
[doc] more doc about what's new in 3.14
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
7875
diff
changeset
|
58 |
(abstract) and require_group relation definitions have been moved to a new |
dcdccb495e78
[doc] more doc about what's new in 3.14
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
7875
diff
changeset
|
59 |
`localperms` cube. With this have gone some functions from the |
dcdccb495e78
[doc] more doc about what's new in 3.14
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
7875
diff
changeset
|
60 |
`cubicweb.schemas` package as well as some views. This makes cubicweb itself |
dcdccb495e78
[doc] more doc about what's new in 3.14
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
7875
diff
changeset
|
61 |
smaller while you get all the local permissions stuff into a single, |
dcdccb495e78
[doc] more doc about what's new in 3.14
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
7875
diff
changeset
|
62 |
documented, place. |
dcdccb495e78
[doc] more doc about what's new in 3.14
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
7875
diff
changeset
|
63 |
|
dcdccb495e78
[doc] more doc about what's new in 3.14
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
7875
diff
changeset
|
64 |
Backward compat is kept for existing instances, **though you should have |
dcdccb495e78
[doc] more doc about what's new in 3.14
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
7875
diff
changeset
|
65 |
installed the localperms cubes**. A proper error should be displayed when |
dcdccb495e78
[doc] more doc about what's new in 3.14
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
7875
diff
changeset
|
66 |
trying to migrate to 3.14 an instance the use `CWPermission` without the new |
dcdccb495e78
[doc] more doc about what's new in 3.14
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
7875
diff
changeset
|
67 |
cube installed. For new instances / test, you should add a dependancy on the |
dcdccb495e78
[doc] more doc about what's new in 3.14
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
7875
diff
changeset
|
68 |
new cube in cubes using this feature, along with a dependancy on cubicweb >= |
dcdccb495e78
[doc] more doc about what's new in 3.14
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
7875
diff
changeset
|
69 |
3.14. |
dcdccb495e78
[doc] more doc about what's new in 3.14
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
7875
diff
changeset
|
70 |
|
8059
5120bf45ffb6
[doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8034
diff
changeset
|
71 |
* jQuery has been updated to 1.6.4 and jquery-tablesorter to 2.0.5. No backward |
5120bf45ffb6
[doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8034
diff
changeset
|
72 |
compat issue known. |
7878
dcdccb495e78
[doc] more doc about what's new in 3.14
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
7875
diff
changeset
|
73 |
|
8059
5120bf45ffb6
[doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8034
diff
changeset
|
74 |
* Table views refactoring : new `RsetTableView` and `EntityTableView`, as well as |
5120bf45ffb6
[doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8034
diff
changeset
|
75 |
rewritten an enhanced version of `PyValTableView` on the same bases, with logic |
5120bf45ffb6
[doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8034
diff
changeset
|
76 |
moved to some column renderers and a layout. Those should be well documented |
5120bf45ffb6
[doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8034
diff
changeset
|
77 |
and deprecates former `TableView`, `EntityAttributesTableView` and `CellView`, |
7992
4ff9f25cb06e
[table views] closes #1986413: refactor TableView, EntityAttributesTableView, PyValTableView
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
7878
diff
changeset
|
78 |
which are however kept for backward compat, with some warnings that may not be |
4ff9f25cb06e
[table views] closes #1986413: refactor TableView, EntityAttributesTableView, PyValTableView
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
7878
diff
changeset
|
79 |
very clear unfortunatly (you may see your own table view subclass name here, |
4ff9f25cb06e
[table views] closes #1986413: refactor TableView, EntityAttributesTableView, PyValTableView
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
7878
diff
changeset
|
80 |
which doesn't make the problem that clear). Notice that `_cw.view('table', |
4ff9f25cb06e
[table views] closes #1986413: refactor TableView, EntityAttributesTableView, PyValTableView
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
7878
diff
changeset
|
81 |
rset, *kwargs)` will be routed to the new `RsetTableView` or to the old |
4ff9f25cb06e
[table views] closes #1986413: refactor TableView, EntityAttributesTableView, PyValTableView
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
7878
diff
changeset
|
82 |
`TableView` depending on given extra arguments. See #1986413. |
4ff9f25cb06e
[table views] closes #1986413: refactor TableView, EntityAttributesTableView, PyValTableView
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
7878
diff
changeset
|
83 |
|
8059
5120bf45ffb6
[doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8034
diff
changeset
|
84 |
* `display_name` don't call .lower() anymore. This may leads to changes in your |
5120bf45ffb6
[doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8034
diff
changeset
|
85 |
user interface. Different msgid for upper/lower cases version of entity type |
5120bf45ffb6
[doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8034
diff
changeset
|
86 |
names, as this is the only proper way to handle this with some languages. |
5120bf45ffb6
[doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8034
diff
changeset
|
87 |
|
8034
b07d61090706
replace adapter by simple selector to ease edit controller overloading; fixes #2042349
Florent Cayré <florent.cayre@gmail.com>
parents:
7992
diff
changeset
|
88 |
* `IEditControlAdapter` has been deprecated in favor of `EditController` |
b07d61090706
replace adapter by simple selector to ease edit controller overloading; fixes #2042349
Florent Cayré <florent.cayre@gmail.com>
parents:
7992
diff
changeset
|
89 |
overloading, which was made easier by adding dedicated selectors called |
8059
5120bf45ffb6
[doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8034
diff
changeset
|
90 |
`match_edited_type` and `match_form_id`. |
5120bf45ffb6
[doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8034
diff
changeset
|
91 |
|
5120bf45ffb6
[doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8034
diff
changeset
|
92 |
* Pre 3.6 API backward compat has been dropped, though *data* migration |
5120bf45ffb6
[doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8034
diff
changeset
|
93 |
compatibility has been kept. You may have to fix errors due to old API usage |
5120bf45ffb6
[doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8034
diff
changeset
|
94 |
for your instance before to be able to run migration, but then you should be |
5120bf45ffb6
[doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8034
diff
changeset
|
95 |
able to upgrade even a pre 3.6 database. |
5120bf45ffb6
[doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8034
diff
changeset
|
96 |
|
5120bf45ffb6
[doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8034
diff
changeset
|
97 |
* Deprecated `cubicweb.web.views.iprogress` in favor of new `iprogress` cube. |
5120bf45ffb6
[doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8034
diff
changeset
|
98 |
|
5120bf45ffb6
[doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8034
diff
changeset
|
99 |
* Deprecated `cubicweb.web.views.flot` in favor of new `jqplot` cube. |
8034
b07d61090706
replace adapter by simple selector to ease edit controller overloading; fixes #2042349
Florent Cayré <florent.cayre@gmail.com>
parents:
7992
diff
changeset
|
100 |
|
7878
dcdccb495e78
[doc] more doc about what's new in 3.14
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
7875
diff
changeset
|
101 |
|
dcdccb495e78
[doc] more doc about what's new in 3.14
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
7875
diff
changeset
|
102 |
Unintrusive API changes |
dcdccb495e78
[doc] more doc about what's new in 3.14
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
7875
diff
changeset
|
103 |
----------------------- |
dcdccb495e78
[doc] more doc about what's new in 3.14
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
7875
diff
changeset
|
104 |
|
8059
5120bf45ffb6
[doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8034
diff
changeset
|
105 |
* Refactored properties forms (eg user preferences and site wide properties) as |
5120bf45ffb6
[doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8034
diff
changeset
|
106 |
well as pagination components to ease overridding. |
5120bf45ffb6
[doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8034
diff
changeset
|
107 |
|
5120bf45ffb6
[doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8034
diff
changeset
|
108 |
* New `cubicweb.web.uihelper` module with high-level helpers for uicfg. |
5120bf45ffb6
[doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8034
diff
changeset
|
109 |
|
5120bf45ffb6
[doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8034
diff
changeset
|
110 |
* New `anonymized_request` decorator to temporary run stuff as an anonymous |
5120bf45ffb6
[doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8034
diff
changeset
|
111 |
user, whatever the currently logged in user. |
5120bf45ffb6
[doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8034
diff
changeset
|
112 |
|
5120bf45ffb6
[doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8034
diff
changeset
|
113 |
* New 'verbatimattr' attribute view. |
5120bf45ffb6
[doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8034
diff
changeset
|
114 |
|
5120bf45ffb6
[doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8034
diff
changeset
|
115 |
* New facet and form widget for Integer used to store binary mask. |
5120bf45ffb6
[doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8034
diff
changeset
|
116 |
|
5120bf45ffb6
[doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8034
diff
changeset
|
117 |
* New `js_href` function to generated proper javascript href. |
5120bf45ffb6
[doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8034
diff
changeset
|
118 |
|
5120bf45ffb6
[doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8034
diff
changeset
|
119 |
* `match_kwargs` and `match_form_params` selectors both accept a new |
5120bf45ffb6
[doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8034
diff
changeset
|
120 |
`once_is_enough` argument. |
7878
dcdccb495e78
[doc] more doc about what's new in 3.14
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
7875
diff
changeset
|
121 |
|
8059
5120bf45ffb6
[doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8034
diff
changeset
|
122 |
* `printable_value` is now a method of request, and may be given dict of |
5120bf45ffb6
[doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8034
diff
changeset
|
123 |
formatters to use. |
5120bf45ffb6
[doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8034
diff
changeset
|
124 |
|
5120bf45ffb6
[doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8034
diff
changeset
|
125 |
* `[Rset]TableView` allows to set None in 'headers', meaning the label should be |
5120bf45ffb6
[doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8034
diff
changeset
|
126 |
fetched from the result set as done by default. |
5120bf45ffb6
[doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8034
diff
changeset
|
127 |
|
5120bf45ffb6
[doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8034
diff
changeset
|
128 |
* Field vocabulary computation on entity creation now takes `__linkto` |
5120bf45ffb6
[doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8034
diff
changeset
|
129 |
information into accounet. |
7878
dcdccb495e78
[doc] more doc about what's new in 3.14
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
7875
diff
changeset
|
130 |
|
8059
5120bf45ffb6
[doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8034
diff
changeset
|
131 |
* Started a `cubicweb.pylintext` pylint plugin to help pylint analyzing cubes. |
5120bf45ffb6
[doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8034
diff
changeset
|
132 |
|
5120bf45ffb6
[doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8034
diff
changeset
|
133 |
|
5120bf45ffb6
[doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8034
diff
changeset
|
134 |
RQL |
5120bf45ffb6
[doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8034
diff
changeset
|
135 |
--- |
7878
dcdccb495e78
[doc] more doc about what's new in 3.14
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
7875
diff
changeset
|
136 |
|
8059
5120bf45ffb6
[doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8034
diff
changeset
|
137 |
* Support for HAVING in 'SET' and 'DELETE' queries. |
5120bf45ffb6
[doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8034
diff
changeset
|
138 |
|
5120bf45ffb6
[doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8034
diff
changeset
|
139 |
* new `AT_TZ` function to get back a timestamp at a given time-zone. |
5120bf45ffb6
[doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8034
diff
changeset
|
140 |
|
5120bf45ffb6
[doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8034
diff
changeset
|
141 |
* new `WEEKDAY` date extraction function |
7878
dcdccb495e78
[doc] more doc about what's new in 3.14
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
7875
diff
changeset
|
142 |
|
dcdccb495e78
[doc] more doc about what's new in 3.14
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
7875
diff
changeset
|
143 |
|
dcdccb495e78
[doc] more doc about what's new in 3.14
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
7875
diff
changeset
|
144 |
User interface changes |
dcdccb495e78
[doc] more doc about what's new in 3.14
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
7875
diff
changeset
|
145 |
---------------------- |
dcdccb495e78
[doc] more doc about what's new in 3.14
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
7875
diff
changeset
|
146 |
|
8059
5120bf45ffb6
[doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8034
diff
changeset
|
147 |
* Datafeed source now present an history of the latest import's log, including |
5120bf45ffb6
[doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8034
diff
changeset
|
148 |
global status and debug/info/warning/error messages issued during |
5120bf45ffb6
[doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8034
diff
changeset
|
149 |
imports. Import logs older than a configurable amount of time are automatically |
5120bf45ffb6
[doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8034
diff
changeset
|
150 |
deleted. |
5120bf45ffb6
[doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8034
diff
changeset
|
151 |
|
5120bf45ffb6
[doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8034
diff
changeset
|
152 |
* Breadcrumbs component is properly kept when creating an entity with '__linkto'. |
7878
dcdccb495e78
[doc] more doc about what's new in 3.14
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
7875
diff
changeset
|
153 |
|
dcdccb495e78
[doc] more doc about what's new in 3.14
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
7875
diff
changeset
|
154 |
* users and groups management now really lead to that (i.e. includes *groups* |
8059
5120bf45ffb6
[doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8034
diff
changeset
|
155 |
management). |
7878
dcdccb495e78
[doc] more doc about what's new in 3.14
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
7875
diff
changeset
|
156 |
|
8059
5120bf45ffb6
[doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8034
diff
changeset
|
157 |
* New 'jsonp' controller with 'jsonexport' and 'ejsonexport' views. |
7878
dcdccb495e78
[doc] more doc about what's new in 3.14
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
7875
diff
changeset
|
158 |
|
dcdccb495e78
[doc] more doc about what's new in 3.14
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
7875
diff
changeset
|
159 |
|
dcdccb495e78
[doc] more doc about what's new in 3.14
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
7875
diff
changeset
|
160 |
Configuration |
dcdccb495e78
[doc] more doc about what's new in 3.14
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
7875
diff
changeset
|
161 |
------------ |
dcdccb495e78
[doc] more doc about what's new in 3.14
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
7875
diff
changeset
|
162 |
|
8059
5120bf45ffb6
[doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8034
diff
changeset
|
163 |
* Added option 'resources-concat' to make javascript/css files concatenation |
5120bf45ffb6
[doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
8034
diff
changeset
|
164 |
optional. |