##// END OF EJS Templates
Update whatsnew doc from PR files
Thomas Kluyver -
Show More
@@ -151,6 +151,40 b' And the following methods are changed:'
151 type strings in addition to plain types. This removes the need for ``for_type_by_name()``,
151 type strings in addition to plain types. This removes the need for ``for_type_by_name()``,
152 but it remains for backward compatibility.
152 but it remains for backward compatibility.
153
153
154 Notebook Widgets
155 ----------------
156
157 Available in the new `IPython.html.widgets` namespace, widgets provide an easy
158 way for IPython notebook users to display GUI controls in the IPython notebook.
159 IPython comes with bundle of built-in widgets and also the ability for users
160 to define their own widgets. A widget is displayed in the front-end using
161 using a view. For example, a FloatRangeWidget can be displayed using a
162 FloatSliderView (which is the default if no view is specified when displaying
163 the widget). IPython also comes with a bundle of views and the ability for the
164 user to define custom views. One widget can be displayed multiple times, in on
165 or more cells, using one or more views. All views will automatically remain in
166 sync with the widget which is accessible in the back-end.
167
168 The widget layer provides an MVC-like architecture on top of the comm layer.
169 It's useful for widgets that can be expressed via a list of properties.
170 Widgets work by synchronizing IPython traitlet models in the back-end with
171 backbone models in the front-end. The widget layer automatically handles
172
173 * delta compression (only sending the state information that has changed)
174 * wiring the message callbacks to the correct cells automatically
175 * inter-view synchronization (handled by backbone)
176 * message throttling (to avoid flooding the kernel)
177 * parent/child relationships between views (which one can override to specify custom parent/child relationships)
178 * ability to manipulate the widget view's DOM from python using CSS, $().addClass, and $().removeClass methods
179
180 Signing Notebooks
181 -----------------
182
183 To prevent untrusted code from executing on users' behalf when notebooks open,
184 we have added a signature to the notebook, stored in metadata.
185
186 For more information, see :ref:`signing_notebooks`.
187
154 Other changes
188 Other changes
155 -------------
189 -------------
156
190
@@ -191,6 +225,20 b' Other changes'
191 download the open notebook in various formats. This is powered by
225 download the open notebook in various formats. This is powered by
192 nbconvert.
226 nbconvert.
193
227
228 * :exc:`~IPython.nbconvert.utils.pandoc.PandocMissing` exceptions will be
229 raised if Pandoc is unavailable, and warnings will be printed if the version
230 found is too old. The recommended Pandoc version for use with nbconvert is
231 1.12.1.
232
233 * The InlineBackend.figure_format flag now supports JPEG output if PIL/Pillow is available.
234 * The new ``InlineBackend.quality`` flag is a Integer in the range [10, 100] which controls
235 the quality of figures where higher values give nicer images (currently JPEG only).
236
237 * Input transformers (see :doc:`/config/inputtransforms`) may now raise
238 :exc:`SyntaxError` if they determine that input is invalid. The input
239 transformation machinery in IPython will handle displaying the exception to
240 the user and resetting state.
241
194 .. DO NOT EDIT THIS LINE BEFORE RELEASE. FEATURE INSERTION POINT.
242 .. DO NOT EDIT THIS LINE BEFORE RELEASE. FEATURE INSERTION POINT.
195
243
196 Backwards incompatible changes
244 Backwards incompatible changes
@@ -227,4 +275,11 b' Backwards incompatible changes'
227 more powerful APIs to work with input code. See
275 more powerful APIs to work with input code. See
228 :doc:`/config/inputtransforms` for details.
276 :doc:`/config/inputtransforms` for details.
229
277
278 * :class:`IPython.core.inputsplitter.IPythonInputSplitter` no longer has a method
279 ``source_raw_reset()``, but gains :meth:`~IPython.core.inputsplitter.IPythonInputSplitter.raw_reset`
280 instead. Use of ``source_raw_reset`` can be replaced with::
281
282 raw = isp.source_raw
283 transformed = isp.source_reset()
284
230 .. DO NOT EDIT THIS LINE BEFORE RELEASE. INCOMPAT INSERTION POINT.
285 .. DO NOT EDIT THIS LINE BEFORE RELEASE. INCOMPAT INSERTION POINT.
1 NO CONTENT: file was removed
NO CONTENT: file was removed
1 NO CONTENT: file was removed
NO CONTENT: file was removed
1 NO CONTENT: file was removed
NO CONTENT: file was removed
1 NO CONTENT: file was removed
NO CONTENT: file was removed
1 NO CONTENT: file was removed
NO CONTENT: file was removed
1 NO CONTENT: file was removed
NO CONTENT: file was removed
General Comments 0
You need to be logged in to leave comments. Login now