doc/3.20.rst
author Julien Cristau <julien.cristau@logilab.fr>
Thu, 13 Nov 2014 10:37:44 +0100
changeset 10025 7b72ecc3f4d2
parent 10008 36b75aefe2c2
child 10081 f1baed9ccf0d
permissions -rw-r--r--
[migration] hackish black magic to bootstrap addition of formula attr during migration Turns out we can't add an attribute to CWAttribute before the attribute exists. add_attribute generates rql with a 'formula' relation, which CW doesn't know about yet, so things get unhappy. Once that is fixed, we need to make the CWAttribute addition operation deal with CWAttribute entities that don't have a formula yet. Finally, move the migration to bootstrapmigration_repository so it happens early on, and use add_entity_type rather than add_relation_type for CWComputedRType.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
10006
8391bf718485 remove most 3.10 bw compat
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
diff changeset
     1
What's new in CubicWeb 3.20
8391bf718485 remove most 3.10 bw compat
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
diff changeset
     2
===========================
8391bf718485 remove most 3.10 bw compat
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
diff changeset
     3
8391bf718485 remove most 3.10 bw compat
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
diff changeset
     4
Deprecated Code Drops
8391bf718485 remove most 3.10 bw compat
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
diff changeset
     5
----------------------
8391bf718485 remove most 3.10 bw compat
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
diff changeset
     6
10008
36b75aefe2c2 [doc/3.20] more details on removed code
Julien Cristau <julien.cristau@logilab.fr>
parents: 10007
diff changeset
     7
* most of 3.10 and 3.11 backward compat is gone; this includes:
36b75aefe2c2 [doc/3.20] more details on removed code
Julien Cristau <julien.cristau@logilab.fr>
parents: 10007
diff changeset
     8
  - CtxComponent.box_action() and CtxComponent.build_link()
36b75aefe2c2 [doc/3.20] more details on removed code
Julien Cristau <julien.cristau@logilab.fr>
parents: 10007
diff changeset
     9
  - cubicweb.devtools.htmlparser.XMLDemotingValidator
36b75aefe2c2 [doc/3.20] more details on removed code
Julien Cristau <julien.cristau@logilab.fr>
parents: 10007
diff changeset
    10
  - various methods and properties on Entities, replaced by cw_edited and cw_attr_cache
36b75aefe2c2 [doc/3.20] more details on removed code
Julien Cristau <julien.cristau@logilab.fr>
parents: 10007
diff changeset
    11
  - 'commit_event' method on hooks, replaced by 'postcommit_event'
36b75aefe2c2 [doc/3.20] more details on removed code
Julien Cristau <julien.cristau@logilab.fr>
parents: 10007
diff changeset
    12
  - server.hook.set_operation(), replaced by Operation.get_instance(...).add_data()
36b75aefe2c2 [doc/3.20] more details on removed code
Julien Cristau <julien.cristau@logilab.fr>
parents: 10007
diff changeset
    13
  - View.div_id(), View.div_class() and View.create_url()
36b75aefe2c2 [doc/3.20] more details on removed code
Julien Cristau <julien.cristau@logilab.fr>
parents: 10007
diff changeset
    14
  - `*VComponent` classes
36b75aefe2c2 [doc/3.20] more details on removed code
Julien Cristau <julien.cristau@logilab.fr>
parents: 10007
diff changeset
    15
  - in forms, Field.value() and Field.help() must take the form and the field itself as arguments
36b75aefe2c2 [doc/3.20] more details on removed code
Julien Cristau <julien.cristau@logilab.fr>
parents: 10007
diff changeset
    16
  - form.render() must get `w` as a named argument, and renderer.render() must take `w` as first argument
36b75aefe2c2 [doc/3.20] more details on removed code
Julien Cristau <julien.cristau@logilab.fr>
parents: 10007
diff changeset
    17
  - in breadcrumbs, the optional `recurs` argument must be a set, not False
36b75aefe2c2 [doc/3.20] more details on removed code
Julien Cristau <julien.cristau@logilab.fr>
parents: 10007
diff changeset
    18
  - cubicweb.web.views.idownloadable.{download_box,IDownloadableLineView}
36b75aefe2c2 [doc/3.20] more details on removed code
Julien Cristau <julien.cristau@logilab.fr>
parents: 10007
diff changeset
    19
  - primary views no longer have `render_entity_summary` and `summary` methods
36b75aefe2c2 [doc/3.20] more details on removed code
Julien Cristau <julien.cristau@logilab.fr>
parents: 10007
diff changeset
    20
  - WFHistoryVComponent's `cell_call` method is replaced by `render_body`
36b75aefe2c2 [doc/3.20] more details on removed code
Julien Cristau <julien.cristau@logilab.fr>
parents: 10007
diff changeset
    21
  - cubicweb.dataimport.ObjectStore.add(), replaced by create_entity
36b75aefe2c2 [doc/3.20] more details on removed code
Julien Cristau <julien.cristau@logilab.fr>
parents: 10007
diff changeset
    22
  - ManageView.{folders,display_folders}