3.28.rst 2.21 KB
Newer Older
1 2 3
3.28
====

Laurent Peuch's avatar
Laurent Peuch committed
4 5 6 7 8 9 10
The big highlights of this release are:

- CubicWeb now requires **python >=3.6**
- a new dynamic database connections pooler to replace the old static one
- a big upgrade in our CI workflow both for tests and documentations
- RDF generations when rdf mimetype in Accept HTTP headers
- rql resultset now stores selections variables names for RQL select queries, this will allow to build better tools
11

Laurent Peuch's avatar
Laurent Peuch committed
12 13
Added
-----
14

Laurent Peuch's avatar
Laurent Peuch committed
15
- [pyramid]`has_cw_permission` pyramid predicates added for routes and view
16
- The database pooler is now dynamic. New connections are opened when needed and closed after a configurable period of time. This can be configured through `connections-pooler-max-size` (default 0, unlimited), `connections-pooler-min-size` (default 0), and `connections-pooler-idle-timeout` (default 600 seconds). The old configuration `connections-pooler-size` has been dropped.
Laurent Peuch's avatar
Laurent Peuch committed
17 18 19 20 21
- [pyramid-debugtoolbar] make SQL and RQL tables sortable
- [RQL]Resulset now stores selected variables for RQL select queries
- pyramid: add routes /{eid} and /{etype}/{eid} to return RDF when rdf mimetype in Accept HTTP headers
- entities: simplify rdf generation and add a generic rdf adapter
- web.views: add Link alternate in HTTP response header in HTML view
22 23
- Black and Mypy config in tox.ini file in new cube skeleton
- Gitlab CI config file in new cube skeleton
Laurent Peuch's avatar
Laurent Peuch committed
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55


Changed
-------

- CubicWeb now requires python >=3.6
- CI now test Cubicweb against latest unreleased public commits of its dependencies
- CI now rebuilds documentation after tests

Deprecated
----------

- Class cubicweb.view.EntityAdapter was moved to cubicweb.entity.EntityAdapter, a deprecation warning is in place, but please update your source code accordingly

Removed
-------

- Support for plpython has been dropped
- `RDFnquadsView` (**Breaking Change**)

Fixed
-----

- Fix various tests in the CI
- Use SchemaLoader instead of pyfilereader
- [pyramid-debugtoolbar] remove CW controller panel rendering when no controller got collected
- [basecontroller] link tags in the header can only be added on entities


Thanks to our contributors: Simon Chabot, Laurent Peuch, Nicolas Chauvat,
Philippe Pepiot, Élodie Thieblin, François FERRY, Fabien Amarger, Laurent
Wouters, Guillaume Vandevelde.