3.28.rst 2.39 KB
Newer Older
Laurent Peuch's avatar
Laurent Peuch committed
1 2 3 4 5 6 7 8
3.28.1
======

Fixed
-----

- python 3.8 compatibility: base64 encodestring has been removed, use encodebytes

9 10 11
3.28
====

Laurent Peuch's avatar
Laurent Peuch committed
12 13 14 15 16 17 18
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
19

Laurent Peuch's avatar
Laurent Peuch committed
20 21
Added
-----
22

Laurent Peuch's avatar
Laurent Peuch committed
23
- [pyramid]`has_cw_permission` pyramid predicates added for routes and view
24
- 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
25 26 27 28 29
- [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
30 31
- 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
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58


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
59
- add a __contains__ method to dict_protocol_catcher to avoid breaking on "in"
Laurent Peuch's avatar
Laurent Peuch committed
60 61 62 63 64


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