doc/changes/3.14.rst
author Philippe Pepiot <ph@itsalwaysdns.eu>
Tue, 31 Mar 2020 18:22:05 +0200
changeset 12966 6cd938c29ca3
parent 10504 3755cd64fff8
permissions -rw-r--r--
[server] Make connection pooler configurable and set better default values Drop the configuration connections-pool-size and add new configurations options: * connections-pool-min-size. Set to 0 by default so we open connections only when needed. This avoid opening min-size*processes connections at startup, which is, it think, a good default. * connections-pool-max-size. Set to 0 (unlimited) by default, so we move the bottleneck to postgresql. * connections-idle-timeout. Set to 10 minutes. I don't have arguments about this except that this is the default in pgbouncer.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
10502
bdcd35e575fd [doc] reformat changes files headers
David Douard <david.douard@logilab.fr>
parents: 10496
diff changeset
     1
3.14 (09/11/2011)
bdcd35e575fd [doc] reformat changes files headers
David Douard <david.douard@logilab.fr>
parents: 10496
diff changeset
     2
=================
7878
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
10504
3755cd64fff8 [doc] small rst fixes and cleanups in changelog files
David Douard <david.douard@logilab.fr>
parents: 10502
diff changeset
     7
7878
dcdccb495e78 [doc] more doc about what's new in 3.14
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 7875
diff changeset
     8
API changes
dcdccb495e78 [doc] more doc about what's new in 3.14
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 7875
diff changeset
     9
-----------
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
    10
7859
15809afe093b [migration doc] talk about changes in Entity.fetch_rql
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 7828
diff changeset
    11
* `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
    12
  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
    13
  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
    14
  above-mentionned restrictions.
15809afe093b [migration doc] talk about changes in Entity.fetch_rql
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 7828
diff changeset
    15
15809afe093b [migration doc] talk about changes in Entity.fetch_rql
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 7828
diff changeset
    16
  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
    17
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
    18
* `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
    19
  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
    20
  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
    21
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
  - 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
    23
    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
    24
    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
    25
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
  - 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
    27
    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
    28
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
  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
    30
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
  - 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
    32
    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
    33
    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
    34
    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
    35
    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
    36
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
    37
  - 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
    38
    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
    39
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
    40
* `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
    41
  `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
    42
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
  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
    44
  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
    45
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
    46
* `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
    47
  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
    48
  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
    49
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
  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
    51
  `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
    52
  `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
    53
  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
    54
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
    55
  **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
    56
  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
    57
7878
dcdccb495e78 [doc] more doc about what's new in 3.14
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 7875
diff changeset
    58
* `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
    59
  (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
    60
  `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
    61
  `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
    62
  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
    63
  documented, place.
dcdccb495e78 [doc] more doc about what's new in 3.14
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 7875
diff changeset
    64
dcdccb495e78 [doc] more doc about what's new in 3.14
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 7875
diff changeset
    65
  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
    66
  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
    67
  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
    68
  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
    69
  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
    70
  3.14.
dcdccb495e78 [doc] more doc about what's new in 3.14
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 7875
diff changeset
    71
8059
5120bf45ffb6 [doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 8034
diff changeset
    72
* 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
    73
  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
    74
8059
5120bf45ffb6 [doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 8034
diff changeset
    75
* 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
    76
  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
    77
  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
    78
  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
    79
  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
    80
  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
    81
  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
    82
  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
    83
  `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
    84
8059
5120bf45ffb6 [doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 8034
diff changeset
    85
* `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
    86
  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
    87
  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
    88
8034
b07d61090706 replace adapter by simple selector to ease edit controller overloading; fixes #2042349
Florent Cayré <florent.cayre@gmail.com>
parents: 7992
diff changeset
    89
* `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
    90
  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
    91
  `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
    92
5120bf45ffb6 [doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 8034
diff changeset
    93
* 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
    94
  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
    95
  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
    96
  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
    97
5120bf45ffb6 [doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 8034
diff changeset
    98
* 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
    99
5120bf45ffb6 [doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 8034
diff changeset
   100
* 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
   101
7878
dcdccb495e78 [doc] more doc about what's new in 3.14
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 7875
diff changeset
   102
dcdccb495e78 [doc] more doc about what's new in 3.14
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 7875
diff changeset
   103
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
   104
-----------------------
dcdccb495e78 [doc] more doc about what's new in 3.14
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 7875
diff changeset
   105
8059
5120bf45ffb6 [doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 8034
diff changeset
   106
* 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
   107
  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
   108
5120bf45ffb6 [doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 8034
diff changeset
   109
* 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
   110
5120bf45ffb6 [doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 8034
diff changeset
   111
* 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
   112
  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
   113
5120bf45ffb6 [doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 8034
diff changeset
   114
* New 'verbatimattr' attribute view.
5120bf45ffb6 [doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 8034
diff changeset
   115
5120bf45ffb6 [doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 8034
diff changeset
   116
* 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
   117
5120bf45ffb6 [doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 8034
diff changeset
   118
* 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
   119
5120bf45ffb6 [doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 8034
diff changeset
   120
* `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
   121
  `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
   122
8059
5120bf45ffb6 [doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 8034
diff changeset
   123
* `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
   124
   formatters to use.
5120bf45ffb6 [doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 8034
diff changeset
   125
5120bf45ffb6 [doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 8034
diff changeset
   126
* `[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
   127
  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
   128
5120bf45ffb6 [doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 8034
diff changeset
   129
* 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
   130
  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
   131
8059
5120bf45ffb6 [doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 8034
diff changeset
   132
* 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
   133
5120bf45ffb6 [doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 8034
diff changeset
   134
5120bf45ffb6 [doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 8034
diff changeset
   135
RQL
5120bf45ffb6 [doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 8034
diff changeset
   136
---
7878
dcdccb495e78 [doc] more doc about what's new in 3.14
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 7875
diff changeset
   137
8059
5120bf45ffb6 [doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 8034
diff changeset
   138
* 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
   139
5120bf45ffb6 [doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 8034
diff changeset
   140
* 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
   141
5120bf45ffb6 [doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 8034
diff changeset
   142
* 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
   143
dcdccb495e78 [doc] more doc about what's new in 3.14
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 7875
diff changeset
   144
dcdccb495e78 [doc] more doc about what's new in 3.14
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 7875
diff changeset
   145
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
   146
----------------------
dcdccb495e78 [doc] more doc about what's new in 3.14
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 7875
diff changeset
   147
8059
5120bf45ffb6 [doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 8034
diff changeset
   148
* 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
   149
  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
   150
  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
   151
  deleted.
5120bf45ffb6 [doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 8034
diff changeset
   152
5120bf45ffb6 [doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 8034
diff changeset
   153
* 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
   154
dcdccb495e78 [doc] more doc about what's new in 3.14
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 7875
diff changeset
   155
* 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
   156
  management).
7878
dcdccb495e78 [doc] more doc about what's new in 3.14
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 7875
diff changeset
   157
8059
5120bf45ffb6 [doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 8034
diff changeset
   158
* 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
   159
dcdccb495e78 [doc] more doc about what's new in 3.14
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 7875
diff changeset
   160
dcdccb495e78 [doc] more doc about what's new in 3.14
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 7875
diff changeset
   161
Configuration
10496
e95b559a06a2 [doc] more fixes of warnings/errors in doc build
David Douard <david.douard@logilab.fr>
parents: 10491
diff changeset
   162
-------------
7878
dcdccb495e78 [doc] more doc about what's new in 3.14
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 7875
diff changeset
   163
8059
5120bf45ffb6 [doc] update 3.14 release notes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 8034
diff changeset
   164
* 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
   165
  optional.