doc/3.20.rst
author Julien Cristau <julien.cristau@logilab.fr>
Wed, 09 Apr 2014 16:58:58 +0200
changeset 10015 57a16bef82c0
parent 10008 36b75aefe2c2
child 10081 f1baed9ccf0d
permissions -rw-r--r--
[migration] make sure the repo knows about all constraint types Adding new constraint types is cumbersome. It's easy to forget to do it in a migration script. So sync the constraint types at the beginning of each migration. Closes #3724892
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}