@@ -4,39 +4,48 @@ Changes
4
4
5.1a0 (unreleased)
5
5
------------------
6
6
7
+ Features
8
+ ++++++++
9
+
10
+ - Add support for (Python 3.8+) assignment expressions (i.e. the ``:= `` operator)
11
+
12
+ - Add support for Python 3.9 after checking the security implications of the
13
+ syntax changes made in that version.
14
+
15
+ - Add support for the ``bytes `` and ``sorted `` builtins
16
+ (`#186 <https://github.com/zopefoundation/RestrictedPython/issues/186 >`_)
17
+
18
+ Documentation
19
+ +++++++++++++
20
+
7
21
- Document parameter ``mode `` for the ``compile_restricted `` functions
8
22
(`#157 <https://github.com/zopefoundation/RestrictedPython/issues/157 >`_)
9
23
10
24
- Fix documentation for ``compile_restricted_function ``
11
25
(`#158 <https://github.com/zopefoundation/RestrictedPython/issues/158 >`_)
12
26
13
- - Add support for (Python 3.8+) assignment expressions (i.e. the ``:= `` operator)
27
+ Fixes
28
+ +++++
14
29
15
30
- Fix ``compile_restricted_function `` with SyntaxErrors that have no text
16
31
(`#181 <https://github.com/zopefoundation/RestrictedPython/issues/181 >`_)
17
32
18
- - Add support for the ``bytes `` and ``sorted `` builtins
19
- (`#186 <https://github.com/zopefoundation/RestrictedPython/issues/186 >`_)
20
-
21
33
- Drop install dependency on ``setuptools ``.
22
34
(`#189 <https://github.com/zopefoundation/RestrictedPython/issues/189 >`_)
23
35
24
- - Add support for Python 3.9 after checking the security implications of the
25
- syntax changes made in that version.
26
-
27
36
28
37
5.0 (2019-09-03)
29
38
----------------
30
39
31
40
Breaking changes
32
- ----------------
41
+ ++++++++++++++++
33
42
34
43
- Revert the Allowance of the ``... `` (Ellipsis) statement, as of 4.0. It is not needed to support Python 3.8.
35
44
The security implications of the Ellipsis Statement is not 100 % clear and is not checked.
36
45
``... `` (Ellipsis) is disallowed again.
37
46
38
47
Features
39
- --------
48
+ ++++++++
40
49
41
50
- Add support for f-strings in Python 3.6+.
42
51
(`#123 <https://github.com/zopefoundation/RestrictedPython/issues/123 >`_)
@@ -48,7 +57,7 @@ Features
48
57
Changes since 3.6.0:
49
58
50
59
Breaking changes
51
- ----------------
60
+ ++++++++++++++++
52
61
53
62
- The ``compile_restricted* `` functions now return a
54
63
``namedtuple CompileResult `` instead of a simple ``tuple ``.
@@ -60,7 +69,7 @@ Breaking changes
60
69
- Drop support for long-deprecated ``sets `` module.
61
70
62
71
Security related issues
63
- -----------------------
72
+ +++++++++++++++++++++++
64
73
65
74
- RestrictedPython now ships with a default implementation for
66
75
``_getattr_ `` which prevents from using the ``format() `` method on
@@ -73,7 +82,7 @@ Security related issues
73
82
benefit from this fix.
74
83
75
84
Features
76
- --------
85
+ ++++++++
77
86
78
87
- Mostly complete rewrite based on Python AST module.
79
88
[loechel (Alexander Loechel), icemac (Michael Howitz),
@@ -119,7 +128,7 @@ Features
119
128
- Bring test coverage to 100 %.
120
129
121
130
Bug fixes
122
- ---------
131
+ +++++++++
123
132
124
133
- Improve `.Guards.safer_getattr ` to prevent accessing names starting with
125
134
underscore.
0 commit comments