equal
deleted
inserted
replaced
13 functionality was previously part of cubicweb-dataio (there are some API |
13 functionality was previously part of cubicweb-dataio (there are some API |
14 differences with that previous version, however). |
14 differences with that previous version, however). |
15 |
15 |
16 * cubes custom sql scripts are executed before creating tables. This allows |
16 * cubes custom sql scripts are executed before creating tables. This allows |
17 them to create new types or extensions. |
17 them to create new types or extensions. |
|
18 |
|
19 * the ``ejsonexport`` view can be specialized using the new ``ISerializable`` |
|
20 entity adapter. By default, it will return an entity's (non-Bytes and |
|
21 non-Password) attributes plus the special ``cw_etype`` and ``cw_source`` |
|
22 keys. |
|
23 |
|
24 * cubes that define custom final types are now handled by the ``add_cube`` |
|
25 migration command. |
|
26 |
|
27 * synchronization of external sources can be triggered from the web interface |
|
28 by suitably privileged users with a new ``cw.source-sync`` action. |
18 |
29 |
19 User-visible changes |
30 User-visible changes |
20 -------------------- |
31 -------------------- |
21 |
32 |
22 * the ldapfeed source now depends on the `ldap3` module instead of |
33 * the ldapfeed source now depends on the `ldap3` module instead of |
32 |
43 |
33 API changes |
44 API changes |
34 ----------- |
45 ----------- |
35 |
46 |
36 * ``config.repository()`` creates a new Repository object each time, instead of |
47 * ``config.repository()`` creates a new Repository object each time, instead of |
37 returning a cached object |
48 returning a cached object. WARNING: this may cause unexpected issues if |
|
49 several repositories end up being used. |
38 |
50 |
39 * migration scripts, as well as other scripts executed by ``cubicweb-ctl |
51 * migration scripts, as well as other scripts executed by ``cubicweb-ctl |
40 shell``, are loaded with the print_function flag enabled (for backwards |
52 shell``, are loaded with the print_function flag enabled (for backwards |
41 compatibility, if that fails they are re-loaded without that flag) |
53 compatibility, if that fails they are re-loaded without that flag) |
42 |
54 |
59 * the generic datafeed xml parser is deprecated in favor of the "store" API |
71 * the generic datafeed xml parser is deprecated in favor of the "store" API |
60 introduced in cubicweb 3.21. |
72 introduced in cubicweb 3.21. |
61 |
73 |
62 * the session manager lives in the ``sessions`` registry instead of ``components``. |
74 * the session manager lives in the ``sessions`` registry instead of ``components``. |
63 |
75 |
|
76 * ``TZDatetime`` attributes are returned as timezone-aware python datetime |
|
77 objects. WARNING: this will break client applications that compare or use |
|
78 arithmetic involving timezone-naive datetime objects. |
|
79 |
|
80 * creation_date and modification_date attributes for all entities are now |
|
81 timezone-aware (``TZDatetime``) instead of localtime (``Datetime``). More |
|
82 generally, the ``Datetime`` type should be considered as deprecated. |
|
83 |
64 Deprecated code drops |
84 Deprecated code drops |
65 --------------------- |
85 --------------------- |
66 |
86 |
67 * the ``cubicweb.server.hooksmanager`` module was removed |
87 * the ``cubicweb.server.hooksmanager`` module was removed |
68 |
88 |