equal
deleted
inserted
replaced
3 |
3 |
4 |
4 |
5 API changes |
5 API changes |
6 ----------- |
6 ----------- |
7 |
7 |
|
8 * The base registry implementation has been moved to a new |
|
9 `logilab.common.registry` module (see #1916014). This includes code from : |
|
10 |
|
11 * `cubicweb.vreg` (the whole things that was in there) |
|
12 * `cw.appobject` (base selectors and all). |
|
13 |
|
14 In the process, some renaming was done: |
|
15 |
|
16 * the top level registry is now `RegistryStore` (was `VRegistry`), but that |
|
17 should not impact cubicweb client code ; |
|
18 |
|
19 * former selectors functions are now known as "predicate", though you still use |
|
20 predicates to build an object'selector ; |
|
21 |
|
22 * for consistency, the `objectify_selector` decoraror has hence be renamed to |
|
23 `objectify_predicate` ; |
|
24 |
|
25 * on the CubicWeb side, the `selectors` module has been renamed to |
|
26 `predicates`. |
|
27 |
|
28 Debugging refactoring dropped the more need for the `lltrace` decorator. |
|
29 |
|
30 There should be full backward compat with proper deprecation warnings. |
|
31 |
|
32 Notice the `yes` predicate and `objectify_predicate` decorator, as well as the |
|
33 `traced_selection` function should now be imported from the |
|
34 `logilab.common.registry` module. |
8 |
35 |
9 |
36 |
10 Unintrusive API changes |
37 Unintrusive API changes |
11 ----------------------- |
38 ----------------------- |
12 |
39 |