doc/changes/3.16.rst
changeset 10491 c67bcee93248
parent 8676 c5690cb9d2ba
child 10502 bdcd35e575fd
equal deleted inserted replaced
10490:76ab3c71aff2 10491:c67bcee93248
       
     1 What's new in CubicWeb 3.16?
       
     2 ============================
       
     3 
       
     4 New functionalities
       
     5 --------------------
       
     6 
       
     7 * Add a new dataimport store (`SQLGenObjectStore`). This store enables a fast
       
     8   import of data (entity creation, link creation) in CubicWeb, by directly
       
     9   flushing information in SQL.  This may only be used with PostgreSQL, as it
       
    10   requires the 'COPY FROM' command.
       
    11 
       
    12 
       
    13 API changes
       
    14 -----------
       
    15 
       
    16 * Orm: `set_attributes` and `set_relations` are unified (and
       
    17   deprecated) in favor of `cw_set` that works in all cases.
       
    18 
       
    19 * db-api/configuration: all the external repository connection information is
       
    20   now in an URL (see `#2521848 <http://www.cubicweb.org/2521848>`_),
       
    21   allowing to drop specific options of pyro nameserver host, group, etc and fix
       
    22   broken `ZMQ <http://www.zeromq.org/>`_ source. Configuration related changes:
       
    23 
       
    24   * Dropped 'pyro-ns-host', 'pyro-instance-id', 'pyro-ns-group' from the client side
       
    25     configuration, in favor of 'repository-uri'. **NO MIGRATION IS DONE**,
       
    26     supposing there is no web-only configuration in the wild.
       
    27 
       
    28   * Stop discovering the connection method through `repo_method` class attribute
       
    29     of the configuration, varying according to the configuration class. This is
       
    30     a first step on the way to a simpler configuration handling.
       
    31 
       
    32   DB-API related changes:
       
    33 
       
    34   * Stop indicating the connection method using `ConnectionProperties`.
       
    35 
       
    36   * Drop `_cnxtype` attribute from `Connection` and `cnxtype` from
       
    37     `Session`. The former is replaced by a `is_repo_in_memory` property
       
    38     and the later is totaly useless.
       
    39 
       
    40   * Turn `repo_connect` into `_repo_connect` to mark it as a private function.
       
    41 
       
    42   * Deprecate `in_memory_cnx` which becomes useless, use `_repo_connect` instead
       
    43     if necessary.
       
    44 
       
    45 * the "tcp://" uri scheme used for `ZMQ <http://www.zeromq.org/>`_
       
    46   communications (in a way reminiscent of Pyro) is now named
       
    47   "zmqpickle-tcp://", so as to make room for future zmq-based lightweight
       
    48   communications (without python objects pickling).
       
    49 
       
    50 * Request.base_url gets a `secure=True` optional parameter that yields
       
    51   an https url if possible, allowing hook-generated content to send
       
    52   secure urls (e.g. when sending mail notifications)
       
    53 
       
    54 * Dataimport ucsvreader gets a new boolean `ignore_errors`
       
    55   parameter.
       
    56 
       
    57 
       
    58 Unintrusive API changes
       
    59 -----------------------
       
    60 
       
    61 * Drop of `cubicweb.web.uicfg.AutoformSectionRelationTags.bw_tag_map`,
       
    62   deprecated since 3.6.
       
    63 
       
    64 
       
    65 User interface changes
       
    66 ----------------------
       
    67 
       
    68 * The RQL search bar has now some auto-completion support. It means
       
    69   relation types or entity types can be suggested while typing. It is
       
    70   an awesome improvement over the current behaviour !
       
    71 
       
    72 * The `action box` associated with `table` views (from `tableview.py`)
       
    73   has been transformed into a nice-looking series of small tabs; it
       
    74   means that the possible actions are immediately visible and need not
       
    75   be discovered by clicking on an almost invisible icon on the upper
       
    76   right.
       
    77 
       
    78 * The `uicfg` module has moved to web/views/ and ui configuration
       
    79   objects are now selectable. This will reduce the amount of
       
    80   subclassing and whole methods replacement usually needed to
       
    81   customize the ui behaviour in many cases.
       
    82 
       
    83 * Remove changelog view, as neither cubicweb nor known
       
    84   cubes/applications were properly feeding related files.
       
    85 
       
    86 
       
    87 Other changes
       
    88 -------------
       
    89 
       
    90 * 'pyrorql' sources will be automatically updated to use an URL to locate the source
       
    91   rather than configuration option. 'zmqrql' sources were broken before this change,
       
    92   so no upgrade is needed...
       
    93 
       
    94 * Debugging filters for Hooks and Operations have been added.
       
    95 
       
    96 * Some cubicweb-ctl commands used to show the output of `msgcat` and
       
    97   `msgfmt`; they don't anymore.