author | Julien Tayon <julien.tayon@logilab.fr> |
Tue, 25 Feb 2020 23:31:30 +0100 | |
branch | 3.27 |
changeset 12897 | d0ade9350d0e |
parent 12851 | e434d8f4734c |
permissions | -rw-r--r-- |
12851
e434d8f4734c
[doc] Update changes title, 3.27 is now released
Simon Chabot <simon.chabot@logilab.fr>
parents:
12840
diff
changeset
|
1 |
3.27 |
e434d8f4734c
[doc] Update changes title, 3.27 is now released
Simon Chabot <simon.chabot@logilab.fr>
parents:
12840
diff
changeset
|
2 |
==== |
12358
e0b659abe4b8
Add changelog note for running tests with pytest-xdist
Philippe Pepiot <philippe.pepiot@logilab.fr>
parents:
diff
changeset
|
3 |
|
e0b659abe4b8
Add changelog note for running tests with pytest-xdist
Philippe Pepiot <philippe.pepiot@logilab.fr>
parents:
diff
changeset
|
4 |
New features |
e0b659abe4b8
Add changelog note for running tests with pytest-xdist
Philippe Pepiot <philippe.pepiot@logilab.fr>
parents:
diff
changeset
|
5 |
------------ |
e0b659abe4b8
Add changelog note for running tests with pytest-xdist
Philippe Pepiot <philippe.pepiot@logilab.fr>
parents:
diff
changeset
|
6 |
|
e0b659abe4b8
Add changelog note for running tests with pytest-xdist
Philippe Pepiot <philippe.pepiot@logilab.fr>
parents:
diff
changeset
|
7 |
* Tests can now be run concurrently across multiple processes. You can use |
e0b659abe4b8
Add changelog note for running tests with pytest-xdist
Philippe Pepiot <philippe.pepiot@logilab.fr>
parents:
diff
changeset
|
8 |
`pytest-xdist`_ for that. For tests using `PostgresApptestConfiguration` you |
e0b659abe4b8
Add changelog note for running tests with pytest-xdist
Philippe Pepiot <philippe.pepiot@logilab.fr>
parents:
diff
changeset
|
9 |
should be aware that `startpgcluster()` can't run concurrently. Workaround is |
e0b659abe4b8
Add changelog note for running tests with pytest-xdist
Philippe Pepiot <philippe.pepiot@logilab.fr>
parents:
diff
changeset
|
10 |
to call pytest with ``--dist=loadfile`` to use a single test process per test |
e0b659abe4b8
Add changelog note for running tests with pytest-xdist
Philippe Pepiot <philippe.pepiot@logilab.fr>
parents:
diff
changeset
|
11 |
module or use an existing database cluster and set ``db-host`` and |
e0b659abe4b8
Add changelog note for running tests with pytest-xdist
Philippe Pepiot <philippe.pepiot@logilab.fr>
parents:
diff
changeset
|
12 |
``db-port`` of ``devtools.DEFAULT_PSQL_SOURCES['system']`` accordingly. |
e0b659abe4b8
Add changelog note for running tests with pytest-xdist
Philippe Pepiot <philippe.pepiot@logilab.fr>
parents:
diff
changeset
|
13 |
|
e0b659abe4b8
Add changelog note for running tests with pytest-xdist
Philippe Pepiot <philippe.pepiot@logilab.fr>
parents:
diff
changeset
|
14 |
.. _pytest-xdist: https://github.com/pytest-dev/pytest-xdist |
e0b659abe4b8
Add changelog note for running tests with pytest-xdist
Philippe Pepiot <philippe.pepiot@logilab.fr>
parents:
diff
changeset
|
15 |
|
12604
c755b73640ea
[changelog] document pyramid.ini automatic generation
Laurent Peuch <cortex@worlddomination.be>
parents:
12585
diff
changeset
|
16 |
* on `cubicweb-ctl create` and `cubicweb-ctl pyramid`, if it doesn't already |
c755b73640ea
[changelog] document pyramid.ini automatic generation
Laurent Peuch <cortex@worlddomination.be>
parents:
12585
diff
changeset
|
17 |
exist in the instance directory, the `pyramid.ini` file will be generated |
c755b73640ea
[changelog] document pyramid.ini automatic generation
Laurent Peuch <cortex@worlddomination.be>
parents:
12585
diff
changeset
|
18 |
with the needed secrets. |
c755b73640ea
[changelog] document pyramid.ini automatic generation
Laurent Peuch <cortex@worlddomination.be>
parents:
12585
diff
changeset
|
19 |
|
12692
8673da7c2f85
[cubicweb-ctl] add '--pdb' global option to launch (i)pdb on exception
Laurent Peuch <cortex@worlddomination.be>
parents:
12685
diff
changeset
|
20 |
* add a --pdb flag to all cubicweb-ctl command to launch (i)pdb if an exception |
8673da7c2f85
[cubicweb-ctl] add '--pdb' global option to launch (i)pdb on exception
Laurent Peuch <cortex@worlddomination.be>
parents:
12685
diff
changeset
|
21 |
occurs during a command execution. |
8673da7c2f85
[cubicweb-ctl] add '--pdb' global option to launch (i)pdb on exception
Laurent Peuch <cortex@worlddomination.be>
parents:
12685
diff
changeset
|
22 |
|
12737
56f7386bc6b9
[cubicweb-ctl] backport --dbglevel option of pyramid to all instance commands
Laurent Peuch <cortex@worlddomination.be>
parents:
12736
diff
changeset
|
23 |
* the --loglevel and --dbglevel flags are available for all cubicweb-ctl |
56f7386bc6b9
[cubicweb-ctl] backport --dbglevel option of pyramid to all instance commands
Laurent Peuch <cortex@worlddomination.be>
parents:
12736
diff
changeset
|
24 |
instance commands (and not only the ``pyramid`` one) |
12736
5add82b08a6d
[cubicweb-ctl] backport --loglevel option of pyramid to all instance commands
Laurent Peuch <cortex@worlddomination.be>
parents:
12730
diff
changeset
|
25 |
|
12738
a54037a68b14
[logging] send logs by default to stdout
Laurent Peuch <cortex@worlddomination.be>
parents:
12737
diff
changeset
|
26 |
* following "only in foreground" behavior all commands logs to stdout by |
a54037a68b14
[logging] send logs by default to stdout
Laurent Peuch <cortex@worlddomination.be>
parents:
12737
diff
changeset
|
27 |
default from now on. To still log to a file pass ``log_to_file=True`` to |
a54037a68b14
[logging] send logs by default to stdout
Laurent Peuch <cortex@worlddomination.be>
parents:
12737
diff
changeset
|
28 |
``CubicWebConfiguration.config_for`` |
a54037a68b14
[logging] send logs by default to stdout
Laurent Peuch <cortex@worlddomination.be>
parents:
12737
diff
changeset
|
29 |
|
12742
ca698656251c
Add a migration function in order to relocate bfss
Noe Gaumont <ngaumont@logilab.fr>
parents:
12738
diff
changeset
|
30 |
* add a new migration function `update_bfss_path(old_path, new_path)` to update |
ca698656251c
Add a migration function in order to relocate bfss
Noe Gaumont <ngaumont@logilab.fr>
parents:
12738
diff
changeset
|
31 |
the path in Bytes File-System Storage (bfss). |
ca698656251c
Add a migration function in order to relocate bfss
Noe Gaumont <ngaumont@logilab.fr>
parents:
12738
diff
changeset
|
32 |
|
12750
74b473f288d5
[changelog] add missing information to the 3.27 changelog
Laurent Peuch <cortex@worlddomination.be>
parents:
12742
diff
changeset
|
33 |
* on every request display request path and selected controller in CLI |
74b473f288d5
[changelog] add missing information to the 3.27 changelog
Laurent Peuch <cortex@worlddomination.be>
parents:
12742
diff
changeset
|
34 |
|
74b473f288d5
[changelog] add missing information to the 3.27 changelog
Laurent Peuch <cortex@worlddomination.be>
parents:
12742
diff
changeset
|
35 |
* migration interactive mode improvements: |
74b473f288d5
[changelog] add missing information to the 3.27 changelog
Laurent Peuch <cortex@worlddomination.be>
parents:
12742
diff
changeset
|
36 |
|
74b473f288d5
[changelog] add missing information to the 3.27 changelog
Laurent Peuch <cortex@worlddomination.be>
parents:
12742
diff
changeset
|
37 |
* when an exception occurs, display the full traceback instead of only the exception |
74b473f288d5
[changelog] add missing information to the 3.27 changelog
Laurent Peuch <cortex@worlddomination.be>
parents:
12742
diff
changeset
|
38 |
|
74b473f288d5
[changelog] add missing information to the 3.27 changelog
Laurent Peuch <cortex@worlddomination.be>
parents:
12742
diff
changeset
|
39 |
* on migration p(db) choice, launch ipdb if it's installed |
74b473f288d5
[changelog] add missing information to the 3.27 changelog
Laurent Peuch <cortex@worlddomination.be>
parents:
12742
diff
changeset
|
40 |
|
74b473f288d5
[changelog] add missing information to the 3.27 changelog
Laurent Peuch <cortex@worlddomination.be>
parents:
12742
diff
changeset
|
41 |
* on migration p(db) choice, give the traceback to pdb if it's available, |
74b473f288d5
[changelog] add missing information to the 3.27 changelog
Laurent Peuch <cortex@worlddomination.be>
parents:
12742
diff
changeset
|
42 |
this mean that the (i)pdb interactive session will be on the stack of |
74b473f288d5
[changelog] add missing information to the 3.27 changelog
Laurent Peuch <cortex@worlddomination.be>
parents:
12742
diff
changeset
|
43 |
the exception instead of being on the stack where pdb is launched which |
74b473f288d5
[changelog] add missing information to the 3.27 changelog
Laurent Peuch <cortex@worlddomination.be>
parents:
12742
diff
changeset
|
44 |
will allow the user to access all the relevant context of the exception |
74b473f288d5
[changelog] add missing information to the 3.27 changelog
Laurent Peuch <cortex@worlddomination.be>
parents:
12742
diff
changeset
|
45 |
which otherwise is lost |
74b473f288d5
[changelog] add missing information to the 3.27 changelog
Laurent Peuch <cortex@worlddomination.be>
parents:
12742
diff
changeset
|
46 |
|
74b473f288d5
[changelog] add missing information to the 3.27 changelog
Laurent Peuch <cortex@worlddomination.be>
parents:
12742
diff
changeset
|
47 |
* on DBG_SQL and/or DBG_RQL, if pygments is installed, syntax highlight sql/rql |
74b473f288d5
[changelog] add missing information to the 3.27 changelog
Laurent Peuch <cortex@worlddomination.be>
parents:
12742
diff
changeset
|
48 |
debug output |
74b473f288d5
[changelog] add missing information to the 3.27 changelog
Laurent Peuch <cortex@worlddomination.be>
parents:
12742
diff
changeset
|
49 |
|
12754
22ece66dcd47
[ctl] allow to specific instance name for instance commands in $CW_INSTANCE
Laurent Peuch <cortex@worlddomination.be>
parents:
12751
diff
changeset
|
50 |
* allow to specify the instance id for any instance command using the |
22ece66dcd47
[ctl] allow to specific instance name for instance commands in $CW_INSTANCE
Laurent Peuch <cortex@worlddomination.be>
parents:
12751
diff
changeset
|
51 |
CW_INSTANCE global variable instead of or giving it as a cli argument |
22ece66dcd47
[ctl] allow to specific instance name for instance commands in $CW_INSTANCE
Laurent Peuch <cortex@worlddomination.be>
parents:
12751
diff
changeset
|
52 |
|
12798
45242ceec212
[changelog] add information about the new debug html attributes
Laurent Peuch <cortex@worlddomination.be>
parents:
12797
diff
changeset
|
53 |
* when debugmode is activated ('-D/--debug' on the pyramid command for |
45242ceec212
[changelog] add information about the new debug html attributes
Laurent Peuch <cortex@worlddomination.be>
parents:
12797
diff
changeset
|
54 |
example), the HTML generated by CW will contains new tags that will indicate |
45242ceec212
[changelog] add information about the new debug html attributes
Laurent Peuch <cortex@worlddomination.be>
parents:
12797
diff
changeset
|
55 |
by which object in the code it has been generated and in which line of which |
45242ceec212
[changelog] add information about the new debug html attributes
Laurent Peuch <cortex@worlddomination.be>
parents:
12797
diff
changeset
|
56 |
source code. |
45242ceec212
[changelog] add information about the new debug html attributes
Laurent Peuch <cortex@worlddomination.be>
parents:
12797
diff
changeset
|
57 |
For example: |
45242ceec212
[changelog] add information about the new debug html attributes
Laurent Peuch <cortex@worlddomination.be>
parents:
12797
diff
changeset
|
58 |
|
45242ceec212
[changelog] add information about the new debug html attributes
Laurent Peuch <cortex@worlddomination.be>
parents:
12797
diff
changeset
|
59 |
.. code-block:: html |
45242ceec212
[changelog] add information about the new debug html attributes
Laurent Peuch <cortex@worlddomination.be>
parents:
12797
diff
changeset
|
60 |
|
45242ceec212
[changelog] add information about the new debug html attributes
Laurent Peuch <cortex@worlddomination.be>
parents:
12797
diff
changeset
|
61 |
<div |
45242ceec212
[changelog] add information about the new debug html attributes
Laurent Peuch <cortex@worlddomination.be>
parents:
12797
diff
changeset
|
62 |
cubicweb-generated-by="cubicweb.web.views.basetemplates.TheMainTemplate" |
45242ceec212
[changelog] add information about the new debug html attributes
Laurent Peuch <cortex@worlddomination.be>
parents:
12797
diff
changeset
|
63 |
cubicweb-from-source="/home/user/code/logilab/cubicweb/cubicweb/web/views/basetemplates.py:161" |
45242ceec212
[changelog] add information about the new debug html attributes
Laurent Peuch <cortex@worlddomination.be>
parents:
12797
diff
changeset
|
64 |
id="contentmain"> |
45242ceec212
[changelog] add information about the new debug html attributes
Laurent Peuch <cortex@worlddomination.be>
parents:
12797
diff
changeset
|
65 |
<h1 |
45242ceec212
[changelog] add information about the new debug html attributes
Laurent Peuch <cortex@worlddomination.be>
parents:
12797
diff
changeset
|
66 |
cubicweb-generated-by="cubicweb.web.views.basetemplates.TheMainTemplate" |
45242ceec212
[changelog] add information about the new debug html attributes
Laurent Peuch <cortex@worlddomination.be>
parents:
12797
diff
changeset
|
67 |
cubicweb-from-source="/home/user/code/logilab/cubicweb/cubicweb/view.py:136"> |
45242ceec212
[changelog] add information about the new debug html attributes
Laurent Peuch <cortex@worlddomination.be>
parents:
12797
diff
changeset
|
68 |
unset title |
45242ceec212
[changelog] add information about the new debug html attributes
Laurent Peuch <cortex@worlddomination.be>
parents:
12797
diff
changeset
|
69 |
</h1> |
45242ceec212
[changelog] add information about the new debug html attributes
Laurent Peuch <cortex@worlddomination.be>
parents:
12797
diff
changeset
|
70 |
[...] |
45242ceec212
[changelog] add information about the new debug html attributes
Laurent Peuch <cortex@worlddomination.be>
parents:
12797
diff
changeset
|
71 |
</div> |
45242ceec212
[changelog] add information about the new debug html attributes
Laurent Peuch <cortex@worlddomination.be>
parents:
12797
diff
changeset
|
72 |
|
45242ceec212
[changelog] add information about the new debug html attributes
Laurent Peuch <cortex@worlddomination.be>
parents:
12797
diff
changeset
|
73 |
While this hasn't been done yet, this feature is an open path for building dynamic tools that can help inspect the page. |
45242ceec212
[changelog] add information about the new debug html attributes
Laurent Peuch <cortex@worlddomination.be>
parents:
12797
diff
changeset
|
74 |
|
12799
e5752c14e5f0
[changelog] talk about the new debug channels mechanism
Laurent Peuch <cortex@worlddomination.be>
parents:
12798
diff
changeset
|
75 |
* a new debug channels mechanism has been added, you can subscribe to one of |
e5752c14e5f0
[changelog] talk about the new debug channels mechanism
Laurent Peuch <cortex@worlddomination.be>
parents:
12798
diff
changeset
|
76 |
those channels in your python code to build debug tools for example (the |
e5752c14e5f0
[changelog] talk about the new debug channels mechanism
Laurent Peuch <cortex@worlddomination.be>
parents:
12798
diff
changeset
|
77 |
pyramid custom panels are built using that) and you will receive a |
e5752c14e5f0
[changelog] talk about the new debug channels mechanism
Laurent Peuch <cortex@worlddomination.be>
parents:
12798
diff
changeset
|
78 |
datastructure (a dict) containing related information. The available channels |
e5752c14e5f0
[changelog] talk about the new debug channels mechanism
Laurent Peuch <cortex@worlddomination.be>
parents:
12798
diff
changeset
|
79 |
are: controller, rql, sql, vreg, registry_decisions |
e5752c14e5f0
[changelog] talk about the new debug channels mechanism
Laurent Peuch <cortex@worlddomination.be>
parents:
12798
diff
changeset
|
80 |
|
12797
00c14fb7c931
[changelog] change bullet point organization
Laurent Peuch <cortex@worlddomination.be>
parents:
12796
diff
changeset
|
81 |
* add a new '-t/--toolbar' option the pyramid command to activate the pyramid debugtoolbar |
00c14fb7c931
[changelog] change bullet point organization
Laurent Peuch <cortex@worlddomination.be>
parents:
12796
diff
changeset
|
82 |
|
12796
4fe765f2f155
[changelog] document the new toolbar panels with screenshots
Laurent Peuch <cortex@worlddomination.be>
parents:
12754
diff
changeset
|
83 |
* a series of pyramid debugtoolbar panels specifically made for CW, see bellow |
4fe765f2f155
[changelog] document the new toolbar panels with screenshots
Laurent Peuch <cortex@worlddomination.be>
parents:
12754
diff
changeset
|
84 |
|
4fe765f2f155
[changelog] document the new toolbar panels with screenshots
Laurent Peuch <cortex@worlddomination.be>
parents:
12754
diff
changeset
|
85 |
Pyramid debugtoolbar and custom panel |
4fe765f2f155
[changelog] document the new toolbar panels with screenshots
Laurent Peuch <cortex@worlddomination.be>
parents:
12754
diff
changeset
|
86 |
------------------------------------- |
4fe765f2f155
[changelog] document the new toolbar panels with screenshots
Laurent Peuch <cortex@worlddomination.be>
parents:
12754
diff
changeset
|
87 |
|
4fe765f2f155
[changelog] document the new toolbar panels with screenshots
Laurent Peuch <cortex@worlddomination.be>
parents:
12754
diff
changeset
|
88 |
The pyramid debugtoolbar is now integrated into CubicWeb during the development |
4fe765f2f155
[changelog] document the new toolbar panels with screenshots
Laurent Peuch <cortex@worlddomination.be>
parents:
12754
diff
changeset
|
89 |
phase when you use the 'pyramid' command. To activate it you need to pass the |
4fe765f2f155
[changelog] document the new toolbar panels with screenshots
Laurent Peuch <cortex@worlddomination.be>
parents:
12754
diff
changeset
|
90 |
'-t/--toolbar' argument to the 'pyramid' command. |
4fe765f2f155
[changelog] document the new toolbar panels with screenshots
Laurent Peuch <cortex@worlddomination.be>
parents:
12754
diff
changeset
|
91 |
|
4fe765f2f155
[changelog] document the new toolbar panels with screenshots
Laurent Peuch <cortex@worlddomination.be>
parents:
12754
diff
changeset
|
92 |
In addition, a series of custom panels specifically done for CW are now |
4fe765f2f155
[changelog] document the new toolbar panels with screenshots
Laurent Peuch <cortex@worlddomination.be>
parents:
12754
diff
changeset
|
93 |
available, they display useful information for the development and the |
4fe765f2f155
[changelog] document the new toolbar panels with screenshots
Laurent Peuch <cortex@worlddomination.be>
parents:
12754
diff
changeset
|
94 |
debugging of each page. The available panels are: |
4fe765f2f155
[changelog] document the new toolbar panels with screenshots
Laurent Peuch <cortex@worlddomination.be>
parents:
12754
diff
changeset
|
95 |
|
4fe765f2f155
[changelog] document the new toolbar panels with screenshots
Laurent Peuch <cortex@worlddomination.be>
parents:
12754
diff
changeset
|
96 |
* a general panel which contains the selected controller, the current |
12840
d29955a6dbba
[doc/fix] correct link to screenshots in changelog
Laurent Peuch <cortex@worlddomination.be>
parents:
12799
diff
changeset
|
97 |
settings and useful links `screenshot <../../_images/debugtoolbar_general_panel.png>`_ |
d29955a6dbba
[doc/fix] correct link to screenshots in changelog
Laurent Peuch <cortex@worlddomination.be>
parents:
12799
diff
changeset
|
98 |
* a panel listing all decisions taken in registry for building this page `screenshot <../../_images/debugtoolbar_registry_decisions_panel.png>`_ |
d29955a6dbba
[doc/fix] correct link to screenshots in changelog
Laurent Peuch <cortex@worlddomination.be>
parents:
12799
diff
changeset
|
99 |
* a panel listing the content of the vreg registries `screenshot <../../_images/debugtoolbar_registry_content_panel.png>`_ |
d29955a6dbba
[doc/fix] correct link to screenshots in changelog
Laurent Peuch <cortex@worlddomination.be>
parents:
12799
diff
changeset
|
100 |
* a panel listing all the RQL queries made during a request `screenshot <../../_images/debugtoolbar_rql_panel.png>`_ |
d29955a6dbba
[doc/fix] correct link to screenshots in changelog
Laurent Peuch <cortex@worlddomination.be>
parents:
12799
diff
changeset
|
101 |
* a panel listing all the SQL queries made during a request `screenshot <../../_images/debugtoolbar_sql_panel.png>`_ |
12796
4fe765f2f155
[changelog] document the new toolbar panels with screenshots
Laurent Peuch <cortex@worlddomination.be>
parents:
12754
diff
changeset
|
102 |
|
4fe765f2f155
[changelog] document the new toolbar panels with screenshots
Laurent Peuch <cortex@worlddomination.be>
parents:
12754
diff
changeset
|
103 |
Furthermore, in all those panels, next to each object/class/function/method a |
4fe765f2f155
[changelog] document the new toolbar panels with screenshots
Laurent Peuch <cortex@worlddomination.be>
parents:
12754
diff
changeset
|
104 |
link to display its source code is available (shown as '[source]' `screenshot |
12840
d29955a6dbba
[doc/fix] correct link to screenshots in changelog
Laurent Peuch <cortex@worlddomination.be>
parents:
12799
diff
changeset
|
105 |
<../../_images/debugtoolbar_show_source_link.png>`_) and also every file path shown |
12796
4fe765f2f155
[changelog] document the new toolbar panels with screenshots
Laurent Peuch <cortex@worlddomination.be>
parents:
12754
diff
changeset
|
106 |
is a traceback is also a link to display the corresponding file (`screenshot |
12840
d29955a6dbba
[doc/fix] correct link to screenshots in changelog
Laurent Peuch <cortex@worlddomination.be>
parents:
12799
diff
changeset
|
107 |
<../../_images/debugtoolbar_traceback_source_link.png>`_). For example: `screenshot |
d29955a6dbba
[doc/fix] correct link to screenshots in changelog
Laurent Peuch <cortex@worlddomination.be>
parents:
12799
diff
changeset
|
108 |
<../../_images/debugtoolbar_show_source.png>`_. |
12796
4fe765f2f155
[changelog] document the new toolbar panels with screenshots
Laurent Peuch <cortex@worlddomination.be>
parents:
12754
diff
changeset
|
109 |
|
12526
b78e3472a7d6
Remove ctl commands using the Twisted backend
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
12508
diff
changeset
|
110 |
Backwards incompatible changes |
b78e3472a7d6
Remove ctl commands using the Twisted backend
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
12508
diff
changeset
|
111 |
------------------------------ |
b78e3472a7d6
Remove ctl commands using the Twisted backend
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
12508
diff
changeset
|
112 |
|
12585
933c2b3839ab
[cubicweb-ctl] remove "cubicweb-ctl wsgi" command following pyramid standardization
Laurent Peuch <cortex@worlddomination.be>
parents:
12583
diff
changeset
|
113 |
* Standardization on the way to launch a cubicweb instance, from now on the |
933c2b3839ab
[cubicweb-ctl] remove "cubicweb-ctl wsgi" command following pyramid standardization
Laurent Peuch <cortex@worlddomination.be>
parents:
12583
diff
changeset
|
114 |
only way to do that will be the used the ``pyramid`` command. Therefore: |
12526
b78e3472a7d6
Remove ctl commands using the Twisted backend
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
12508
diff
changeset
|
115 |
|
12585
933c2b3839ab
[cubicweb-ctl] remove "cubicweb-ctl wsgi" command following pyramid standardization
Laurent Peuch <cortex@worlddomination.be>
parents:
12583
diff
changeset
|
116 |
* ``cubicweb-ctl`` commands "start", "stop", "restart", "reload" and "status" |
933c2b3839ab
[cubicweb-ctl] remove "cubicweb-ctl wsgi" command following pyramid standardization
Laurent Peuch <cortex@worlddomination.be>
parents:
12583
diff
changeset
|
117 |
have been removed because they relied on the Twisted web server backend that |
933c2b3839ab
[cubicweb-ctl] remove "cubicweb-ctl wsgi" command following pyramid standardization
Laurent Peuch <cortex@worlddomination.be>
parents:
12583
diff
changeset
|
118 |
is no longer maintained nor working with Python 3. |
933c2b3839ab
[cubicweb-ctl] remove "cubicweb-ctl wsgi" command following pyramid standardization
Laurent Peuch <cortex@worlddomination.be>
parents:
12583
diff
changeset
|
119 |
|
933c2b3839ab
[cubicweb-ctl] remove "cubicweb-ctl wsgi" command following pyramid standardization
Laurent Peuch <cortex@worlddomination.be>
parents:
12583
diff
changeset
|
120 |
* Twisted web server support has been removed. |
933c2b3839ab
[cubicweb-ctl] remove "cubicweb-ctl wsgi" command following pyramid standardization
Laurent Peuch <cortex@worlddomination.be>
parents:
12583
diff
changeset
|
121 |
|
933c2b3839ab
[cubicweb-ctl] remove "cubicweb-ctl wsgi" command following pyramid standardization
Laurent Peuch <cortex@worlddomination.be>
parents:
12583
diff
changeset
|
122 |
* ``cubicweb-ctl wsgi`` has also been removed. |
12530
9d88e1177c35
Remove Twisted web server
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
12526
diff
changeset
|
123 |
|
12557
dc04947379b5
[doc/changes] document that legacy cube support has been dropped
Philippe Pepiot <philippe.pepiot@logilab.fr>
parents:
12530
diff
changeset
|
124 |
* Support for legacy cubes (in the 'cubes' python namespace) has been dropped. |
dc04947379b5
[doc/changes] document that legacy cube support has been dropped
Philippe Pepiot <philippe.pepiot@logilab.fr>
parents:
12530
diff
changeset
|
125 |
Use of environment variables CW_CUBES_PATH and CUBES_DIR is removed. |
dc04947379b5
[doc/changes] document that legacy cube support has been dropped
Philippe Pepiot <philippe.pepiot@logilab.fr>
parents:
12530
diff
changeset
|
126 |
|
12567
26744ad37953
Drop python2 support
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
12557
diff
changeset
|
127 |
* Python 2 support has been dropped. |
26744ad37953
Drop python2 support
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
12557
diff
changeset
|
128 |
|
12583
4f59a56e6d89
[enh] don't catch all exceptions in notification hooks during tests
Laurent Peuch <cortex@worlddomination.be>
parents:
12567
diff
changeset
|
129 |
* Exceptions in notification hooks aren't catched-all anymore during tests so |
4f59a56e6d89
[enh] don't catch all exceptions in notification hooks during tests
Laurent Peuch <cortex@worlddomination.be>
parents:
12567
diff
changeset
|
130 |
one can expect tests that seem to pass (but were actually silently failing) |
4f59a56e6d89
[enh] don't catch all exceptions in notification hooks during tests
Laurent Peuch <cortex@worlddomination.be>
parents:
12567
diff
changeset
|
131 |
to fail now. |
4f59a56e6d89
[enh] don't catch all exceptions in notification hooks during tests
Laurent Peuch <cortex@worlddomination.be>
parents:
12567
diff
changeset
|
132 |
|
12685
84a8a8915512
[cubicweb-ctl] move to accepting only once instance name per command
Laurent Peuch <cortex@worlddomination.be>
parents:
12604
diff
changeset
|
133 |
* All "cubicweb-ctl" command only accept one instance argument from now one |
84a8a8915512
[cubicweb-ctl] move to accepting only once instance name per command
Laurent Peuch <cortex@worlddomination.be>
parents:
12604
diff
changeset
|
134 |
(instead of 0 to n) |
84a8a8915512
[cubicweb-ctl] move to accepting only once instance name per command
Laurent Peuch <cortex@worlddomination.be>
parents:
12604
diff
changeset
|
135 |
|
12730
6c48a49cd3c2
[pyramid/ctl] pyramid command will always run in foreground from now on
Laurent Peuch <cortex@worlddomination.be>
parents:
12716
diff
changeset
|
136 |
* 'pyramid' command will always run in the foreground now, by consequence the |
6c48a49cd3c2
[pyramid/ctl] pyramid command will always run in foreground from now on
Laurent Peuch <cortex@worlddomination.be>
parents:
12716
diff
changeset
|
137 |
option ``--no-daemon`` has been removed. |
6c48a49cd3c2
[pyramid/ctl] pyramid command will always run in foreground from now on
Laurent Peuch <cortex@worlddomination.be>
parents:
12716
diff
changeset
|
138 |
|
12716
f5300acd8f4f
[debug/clean] remove unused DBG_MS flag
Laurent Peuch <cortex@worlddomination.be>
parents:
12692
diff
changeset
|
139 |
* DBG_MS flag has been removed since it is not used anymore |
f5300acd8f4f
[debug/clean] remove unused DBG_MS flag
Laurent Peuch <cortex@worlddomination.be>
parents:
12692
diff
changeset
|
140 |
|
12750
74b473f288d5
[changelog] add missing information to the 3.27 changelog
Laurent Peuch <cortex@worlddomination.be>
parents:
12742
diff
changeset
|
141 |
* transactions db logs where displayed using the logging |
74b473f288d5
[changelog] add missing information to the 3.27 changelog
Laurent Peuch <cortex@worlddomination.be>
parents:
12742
diff
changeset
|
142 |
(debug/info/warning...) mechanism, now it is only displayed if the |
74b473f288d5
[changelog] add missing information to the 3.27 changelog
Laurent Peuch <cortex@worlddomination.be>
parents:
12742
diff
changeset
|
143 |
corresponding DBG_OPS flag is used |
74b473f288d5
[changelog] add missing information to the 3.27 changelog
Laurent Peuch <cortex@worlddomination.be>
parents:
12742
diff
changeset
|
144 |
|
12508
a8c1ea390400
Drop most of deprecated code
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
12358
diff
changeset
|
145 |
Deprecated code drops |
a8c1ea390400
Drop most of deprecated code
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
12358
diff
changeset
|
146 |
--------------------- |
a8c1ea390400
Drop most of deprecated code
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
12358
diff
changeset
|
147 |
|
a8c1ea390400
Drop most of deprecated code
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
12358
diff
changeset
|
148 |
Most code deprecated until version 3.25 has been dropped. |