Debian Codegraph @

CHANGELOG.md

raw ◀ ▶
Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
1 Jupytext ChangeLog
2 ==================
3
4 1.16.4 (2024-07-12)
5 -------------------
6
7 **Fixed**
8 - We use `asyncio.iscoroutinefunction` to determine whether the current contents manager is sync or async ([#1260](https://github.com/mwouts/jupytext/issues/1260))
9
10
11 1.16.3 (2024-07-09)
12 -------------------
13
14 **Fixed**
15 - We use `inspect` to determine whether the current contents manager derives from `AsyncContentsManager` (which is not
16 supported by Jupytext at the moment). This fixes a compatibility issue with `jupyter-fs==1.0.0` ([#1239](https://github.com/mwouts/jupytext/issues/1239)). Thanks to [Mahendra Paipuri](https://github.com/mahendrapaipuri) for this PR!
17 - We have fixed a typo when `build_jupytext_contents_manager_class` can't be imported ([#1162](https://github.com/mwouts/jupytext/issues/1162))
18 - A Python 3.13 deprecation warning was fixed [#1241](https://github.com/mwouts/jupytext/pull/1241) - thanks to [Jerry James](https://github.com/jamesjer)
19 - We have fixed a typo when `build_jupytext_contents_manager_class` can't be imported ([#1162](https://github.com/mwouts/jupytext/issues/1162))
20 - Some dependencies of the JupyterLab extensions were updated ([#1243](https://github.com/mwouts/jupytext/issues/1243), [#1245](https://github.com/mwouts/jupytext/issues/1245))
21
22 **Added**
23 - Lua notebooks are now supported ([#1252](https://github.com/mwouts/jupytext/pull/1252)) - thanks to [erentar](https://github.com/erentar) for this contribution
24 - Go notebooks are supported too ([#1244](https://github.com/mwouts/jupytext/issues/1244))! Many thanks to [Jan Pfeifer](https://github.com/janpfeifer), author of [GoNB](https://github.com/janpfeifer/gonb), and to [HaveF](https://github.com/HaveF) for their help on this topic.
25 - Empty prefixes are now allowed in Jupytext format when specified as a dictionary ([#1144](https://github.com/mwouts/jupytext/issues/1144))
26
27 **Changed**
28 - We've had to deactivate the tests on the Quarto format in the CI as the Quarto round trip
29 might now add a Markdown cell to the notebook ([#1255](https://github.com/mwouts/jupytext/issues/1255))
30
31
32 1.16.2 (2024-05-05)
33 -------------------
34
35 **Added**
36 - Added support for Xonsh notebooks ([#1213](https://github.com/mwouts/jupytext/pull/1213)) - thanks to [Jeffrey Odongo](https://github.com/jsquaredosquared) for this contribution
37
38 **Changed**
39 - By default, the JupyterLab extension for Jupytext is not included in the build (set `HATCH_BUILD_HOOKS_ENABLE=true` to include it). This simplifies the installation of Jupytext in pre-commit hooks ([#1210](https://github.com/mwouts/jupytext/issues/1210))
40 - Temporary text notebooks for the `--pipe` or `--check` commands are now created in the notebook directory ([#1206](https://github.com/mwouts/jupytext/issues/1206))
41 - Jupytext uses the standard library `tomllib` in Python 3.11, or `tomli` in Python 3.10 or older, to match JupyterLab's dependencies ([#1195](https://github.com/mwouts/jupytext/issues/1195))
42 - The dependencies of the JupyterLab extension were updated ([#1216](https://github.com/mwouts/jupytext/issues/1216), [#1218](https://github.com/mwouts/jupytext/issues/1218), [#1231](https://github.com/mwouts/jupytext/issues/1231))
43 - `jupytext --sync` will not update the timestamp of text notebooks if their content is unchanged ([#1215](https://github.com/mwouts/jupytext/issues/1215))
44
45
46 **Fixed**
47 - Jupytext is now tested with `pandoc>=3.0`. Please note that switching to `pandoc>=3.0` will add cell ids to your `pandoc:md` notebooks ([#1006](https://github.com/mwouts/jupytext/issues/1006))
48
49
50 1.16.1 (2024-01-13)
51 -------------------
52
53 **Changed**
54 - The CI has been updated. Thanks to [Christian Le](https://github.com/LecrisUT) for taking care of this! ([#1190](https://github.com/mwouts/jupytext/issues/1190), [#1204](https://github.com/mwouts/jupytext/issues/1204))
55
56 **Fixed**
57 - Fixed an issue about unpairing notebooks from the Jupytext Menu ([#1197](https://github.com/mwouts/jupytext/issues/1197))
58 - JupyterLab's dependency `follow-redirects` was updated from 1.15.3 to 1.15.4 ([#1203](https://github.com/mwouts/jupytext/issues/1203))
59
60
61 1.16.0 (2023-12-03)
62 -------------------
63
64 **Added**
65 - The Jupytext Menu is back! And text notebooks can be created directly from the launcher. This is an outstanding contribution by [Mahendra Paipuri](https://github.com/mahendrapaipuri) ([#1154](https://github.com/mwouts/jupytext/issues/1154), [#1163](https://github.com/mwouts/jupytext/issues/1163)). This requires JupyterLab 4.x or Jupyter Notebook 7.x.
66
67 **Changed**
68 - Jupytext is now configured with `pyproject.toml` and built with `hatch`. The layout has been reorganised to follow `src-layout` ([#1140](https://github.com/mwouts/jupytext/issues/1140)). This is another outstanding contribution by [Mahendra Paipuri](https://github.com/mahendrapaipuri).
69 - The tests are now part of the `sdist`. They have been reorganized into unit/functional/integration/external ([#1167](https://github.com/mwouts/jupytext/issues/1167), [#1173](https://github.com/mwouts/jupytext/issues/1173)).
70 - The legacy extension for Jupyter Notebook <=6 (the Jupytext Menu) has been removed.
71
72 **Fixed**
73 - The bibliography section in Rmd files does not become a code cell anymore ([#1161](https://github.com/mwouts/jupytext/issues/1161))
74 - Commented code in `active-py` cells is not uncommented anymore ([#1131](https://github.com/mwouts/jupytext/issues/1131))
75 - The test coverage has been restored ([#1167](https://github.com/mwouts/jupytext/issues/1167), [#1173](https://github.com/mwouts/jupytext/issues/1173))
76 - We test Jupytext against the pre-release version of JupyterLab, and other dependencies ([#1168](https://github.com/mwouts/jupytext/issues/1168))
77
78
79 1.15.2 (2023-09-16)
80 -------------------
81
82 **Added**
83 - The Jupyter Lab extension is now compatible with the [JupyterLab RISE](https://github.com/jupyterlab-contrib/rise) extension. Many thanks to [Frédéric Collonval](https://github.com/fcollonval) for his PR ([#1126](https://github.com/mwouts/jupytext/pull/1126))!
84
85
86 1.15.1 (2023-08-26)
87 -------------------
88
89 **Added**
90 - We have added a new command line interface `jupytext-config` that you can use to set Jupytext as the default viewer for text notebooks in Jupyter Lab and Jupyter Notebook 7. Thanks to [Thierry Parmentelat](https://github.com/parmentelat) for this contribution! ([#1094](https://github.com/mwouts/jupytext/pull/1094))
91
92
93 1.15.0 (2023-07-30)
94 -------------------
95
96 **Changed**
97 - This version comes with a version of the JupyterLab extension that is compatible with JupyterLab 4.x. Many thanks to [Thierry Parmentelat](https://github.com/parmentelat) for his PRs! ([#1092](https://github.com/mwouts/jupytext/pull/1092), [#1109](https://github.com/mwouts/jupytext/pull/1109))
98 - Pandoc 3.0 is now supported, thanks to [Raniere Silva](https://github.com/rgaiacs) for his PR ([#1099](https://github.com/mwouts/jupytext/pull/1099))
99 - We have reorganized the documentation and the README.md ([#1031](https://github.com/mwouts/jupytext/issues/1031), [#1073](https://github.com/mwouts/jupytext/issues/1073))
100 - Invalid `pyproject.toml` files will be ignored by Jupytext in Jupyter ([#1103](https://github.com/mwouts/jupytext/issues/1103))
101 - We have updated the pre-commit tools
102
103
104 1.14.7 (2023-06-29)
105 -------------------
106
107 **Changed**
108 - We have updated the GitHub workflows - thanks to Matthew Feickert and to Cristian Le for their help on this subject ([#1037](https://github.com/mwouts/jupytext/issues/1037))
109 - We have removed the upper bound on `markdown-it-py<3`. Now we test Jupytext with `markdown-it-py` in versions `2.x` and `3.x` on the CI ([#1075](https://github.com/mwouts/jupytext/issues/1075))
110
111 **Fixed**
112 - Notebooks with an empty YAML header work ([#1070](https://github.com/mwouts/jupytext/issues/1070))
113 - Double quote strings in R Markdown options can contain single quotes ([#1079](https://github.com/mwouts/jupytext/issues/1079))
114 - The necessary directories are created when paired notebooks are moved to a sub-folder ([#1059](https://github.com/mwouts/jupytext/issues/1059))
115 - Commented quotes are recognized as such ([#1060](https://github.com/mwouts/jupytext/issues/1060))
116 - Jupytext can use either `pkg_resources` or `packaging` to parse version numbers ([#1085](https://github.com/mwouts/jupytext/issues/1085))
117
118
119 1.14.6 (2023-06-04)
120 -------------------
121
122 **Changed**
123 - This version comes with a build requirement `jupyterlab>=3,<4`, as the Jupyterlab
124 extension for Jupytext is not compatible with JupyterLab 4 yet ([#1054](https://github.com/mwouts/jupytext/issues/1054))
125 - The JupyterLab extension was released to `npm` in version 1.3.9.
126
127
128 1.14.5 (2023-02-25)
129 -------------------
130
131 **Added**
132 - Added Stata as a supported language ([#1027](https://github.com/mwouts/jupytext/pull/1027)) - thanks to [Raffaele Mancuso](https://github.com/raffaem) for this contribution
133 - Added SAS as a supported language ([#1047](https://github.com/mwouts/jupytext/pull/1047)) - thanks to [lawrencet149](https://github.com/lawrencet149) for this contribution
134 - We have added a series of test to make sure that the main formats support cell tags ([#1024](https://github.com/mwouts/jupytext/issues/1024))
135
136 **Fixed**
137 - When a metadata key is not a valid identifier, a warning is emitted and the metadata is not saved to the text representation ([#1042](https://github.com/mwouts/jupytext/issues/1042))
138 - The CI was fixed by [Matthew Feickert](https://github.com/matthewfeickert) ([#1035](https://github.com/mwouts/jupytext/pull/1035))
139 - We now use `concurrency` to cancel previous runs on the same branch/PR ([#1037](https://github.com/mwouts/jupytext/issues/1037))
140 - We use both `codecov.notify.after_n_builds` and `comment.after_n_builds` to get only the final codecov comment
141
142 **Changed**
143 - Empty tags are not exported to the text notebook anymore ([#960](https://github.com/mwouts/jupytext/issues/960))
144 - We updated the `yarn.lock` file for the jupyter lab extension to address security vulnerabilities ([#1030](https://github.com/mwouts/jupytext/issues/1030), [#1036](https://github.com/mwouts/jupytext/issues/1036))
145 - In the pre-commit tests we now use `main` for the main branch
146
147
148 1.14.4 (2022-12-11)
149 -------------------
150
151 **Added**
152 - Added Wolfram Language as a supported language ([#1014](https://github.com/mwouts/jupytext/issues/1014)) - thanks to [Etienne Dechamps](https://github.com/dechamps) for this contribution
153
154
155 1.14.3 (2022-12-11)
156 -------------------
157
158 **Fixed**
159 - When the default contents manager is _async_ (i.e. `jupyter_server>=2.0.0`), the Jupyter server extension for Jupytext derives a contents manager from `LargeFileManager` instead, as async contents managers are not supported by Jupytext at the moment ([#1020](https://github.com/mwouts/jupytext/issues/1020))
160 - We have made adjustments on the CI as flake8 was moved to GitHub, and Python 3.6 is not available anymore on `ubuntu-latest`
161
162
163 1.14.2 (2022-11-12)
164 -------------------
165
166 **Fixed**
167 - The sample notebooks have been normalized with `nbformat.validator.normalize` ([#1002](https://github.com/mwouts/jupytext/issues/1002)).
168 - The warnings in the test suite that we cannot fix are filtered using a new `pytest.ini` file
169 - We updated the `yarn.lock` file for the jupyter lab extension to address security vulnerabilities ([#984](https://github.com/mwouts/jupytext/issues/984), [#1005](https://github.com/mwouts/jupytext/issues/1005), [#1011](https://github.com/mwouts/jupytext/issues/1011))
170
171 **Changed**
172 - The CI uses Python 3.9 rather than 3.7 when testing conda environments
173
174 **Added**
175 - Gnuplot is now supported ([#998](https://github.com/mwouts/jupytext/issues/998)) - thanks to [razimantv](https://github.com/razimantv) for this contribution
176 - We now test Jupytext against Python 3.6 to 3.11 on the CI
177 - We have added a test to document how to use the folder and prefix matching when pairing notebooks ([#974](https://github.com/mwouts/jupytext/issues/974))
178
179
180 1.14.1 (2022-07-29)
181 -------------------
182
183 **Fixed**
184 - The timestamp of a paired notebook is the timestamp of the most recent paired file. This fixes the warning "File Changed"
185 after reloading the notebook in Jupyter ([#978](https://github.com/mwouts/jupytext/issues/978)).
186
187
188 1.14.0 (2022-07-03)
189 -------------------
190
191 **Changed**
192 - The Jupytext configuration file has a new option `cm_config_log_level` that defaults to `info_if_changed`.
193 With that value, the contents manager will log a line regarding the configuration file used only when the
194 config file is not the same as the one previously used ([#959](https://github.com/mwouts/jupytext/issues/959)) -
195 many thanks to R.C. Thomas for suggesting this and thoughtfully testing the patch.
196 - Hidden configuration files like `.jupytext.toml` or `.jupytext.py` are now ignored by Jupytext's contents manager
197 when `allow_hidden=False` (that option was introduced in `jupyter_server==2.0.0a1`) ([#964](https://github.com/mwouts/jupytext/issues/964)).
198 - We have changed `jupytext --set-formats` to make it more similar to `jupytext --sync`. Now `--set-formats` will not
199 override existing paired files anymore ([#969](https://github.com/mwouts/jupytext/issues/969)).
200
201 **Added**
202 - We have added a test `test_pre_commit_hook_sync_with_no_config` that documents how to use the pre-commit hook without
203 a configuration file ([#967](https://github.com/mwouts/jupytext/issues/967))
204
205 1.13.8 (2022-04-04)
206 -------------------
207
208 **Fixed**
209 - Text-only notebooks are always trusted (as they don't include any output cells) ([#941](https://github.com/mwouts/jupytext/issues/941))
210 - We made sure that our tests also work in absence of a Python kernel ([#906](https://github.com/mwouts/jupytext/issues/906))
211 - The coverage of the `tests` folder has been restored at 100%
212 - Bash commands like `!{cmd}` are now correctly escaped in the `py:percent` format ([#938](https://github.com/mwouts/jupytext/issues/938))
213
214 **Added**
215 - Added Tcl as a supported language ([#930](https://github.com/mwouts/jupytext/issues/930)) - thanks to [shishitao](https://github.com/shishitao) for this contribution
216 - Added Maxima as a supported language ([#927](https://github.com/mwouts/jupytext/issues/927)) - thanks to [Alberto Lusiani](https://github.com/alusiani) for contributing a sample Maxima notebook.
217
218 **Changed**
219 - The Jupytext contents manager is derived from the `LargeFileManager` imported from `jupyter_server` rathen than `notebook` ([#933](https://github.com/mwouts/jupytext/issues/933))
220 - Allow for markdown-it-py v2 ([#924](https://github.com/mwouts/jupytext/issues/924))
221 - We have updated the hooks used in the test pre-commits, to fix an issue on the CI ([#940](https://github.com/mwouts/jupytext/issues/940), [#942](https://github.com/mwouts/jupytext/issues/942))
222 - We updated the `yarn.lock` file for the jupyter lab extension to address security vulnerabilities ([#904](https://github.com/mwouts/jupytext/issues/904), [#925](https://github.com/mwouts/jupytext/issues/925), [#935](https://github.com/mwouts/jupytext/issues/935), [#939](https://github.com/mwouts/jupytext/issues/939))
223
224
225 1.13.7 (2022-02-09)
226 -------------------
227
228 **Fixed**
229 - The Jupytext CLI only suggest `--update` when the target is an .ipynb file ([#905](https://github.com/mwouts/jupytext/issues/905)) - thanks to [st--](https://github.com/st--) for this contribution
230 - We made sure that commands like `cat notebook.md | jupytext --execute` work ([#908](https://github.com/mwouts/jupytext/issues/908))
231
232 **Added**
233 - Added Haskell as supported language ([#909](https://github.com/mwouts/jupytext/issues/909)) - thanks to [codeweber](https://github.com/codeweber) for this contribution
234
235 **Changed**
236 - We have updated the pre-commit hooks and in particular we switched to the first stable version of `black==22.1.0`.
237 - We require `pandoc==2.16.2` for testing. The representation for code cells changed from ` ``` {.python}` to ` ``` python` in that version of Pandoc ([#906](https://github.com/mwouts/jupytext/issues/906)). We don't use `pandoc>=2.17` in tests at the moment because of the introduction of cell ids that cannot be filtered.
238 - Jupytext will not add anymore a UTF-8 encoding on Python scripts when the notebook contains non-ascii characters ([#907](https://github.com/mwouts/jupytext/issues/907))
239 - We have added `pyupgrade` to the pre-commit hooks used for developing Jupytext ([#907](https://github.com/mwouts/jupytext/issues/907))
240
241
242 1.13.6 (2022-01-11)
243 -------------------
244
245 **Fixed**
246 - The `text_representation` metadata of text notebooks is filtered from `.ipynb` files both in `jupytext.write` and in the contents manager for Jupyter ([#900](https://github.com/mwouts/jupytext/issues/900))
247
248 **Changed**
249 - Jupytext will not issue a warning when a format suffix starting with '.', '-' or '_' is passed to the `--to` option ([#901](https://github.com/mwouts/jupytext/issues/901))
250
251
252 1.13.5 (2021-12-27)
253 -------------------
254
255 **Fixed**
256 - Jupytext will not open a text notebook that is not UTF-8 ([#896](https://github.com/mwouts/jupytext/issues/896))
257
258
259 1.13.4 (2021-12-12)
260 -------------------
261
262 **Changed**
263 - The test suite filters the warnings that don't belong to Jupytext ([#823](https://github.com/mwouts/jupytext/issues/823))
264
265 **Fixed**
266 - The parsing of notebooks that don't have a YAML header (like `docs/formats.md`) was improved.
267 - The test suite works with `pytest-randomly` ([#838](https://github.com/mwouts/jupytext/issues/838))
268
269
270 1.13.3 (2021-12-04)
271 -------------------
272
273 **Changed**
274 - The "Jupytext Notebook" factory that lets the user configure the Notebook viewer as the default for text notebooks accepts more filetypes: "myst", "r-markdown" and "quarto" ([#803](https://github.com/mwouts/jupytext/issues/803))
275 - Empty MyST Markdown files are valid notebooks ([#883](https://github.com/mwouts/jupytext/issues/883))
276 - Jupytext also works with `markdown-it-py` v2.0 ([#885](https://github.com/mwouts/jupytext/issues/885))
277
278
279 1.13.2 (2021-11-30)
280 -------------------
281
282 **Changed**
283 - The extension for Jupyter Lab benefited from a series of improvements contributed by [Frédéric Collonval](https://github.com/fcollonval):
284 - A new "Jupytext Notebook" factory offers the option to open text notebooks directly with the notebook view ([#803](https://github.com/mwouts/jupytext/issues/803)). To use it, follow the instructions in the [documentation](https://github.com/mwouts/jupytext/blob/main/docs/index.md#Install).
285 - The ICommandPalette is optional, for compatibility with RISE within JupyterLab [RISE[#605](https://github.com/mwouts/jupytext/issues/605)](https://github.com/damianavila/RISE/pull/605)
286 - Added support for translation
287 - Branch `master` was renamed to `main` (links in the documentation were updated)
288
289
290 1.13.1 (2021-10-07)
291 -------------------
292
293 **Fixed**
294 - The magic commands in `py:percent` scripts with no explicit format information remain commented over a round trip ([#848](https://github.com/mwouts/jupytext/issues/848))
295
296
297 1.13.0 (2021-09-25)
298 -------------------
299
300 **Added**
301 - The Jupytext CLI has a new `--diff` command to show the differences between two notebooks (and if you want to see the changes in a file being updated by Jupytext, use `--show-changes`) ([#799](https://github.com/mwouts/jupytext/issues/799))
302 - Jupyter will show the diff between text and `ipynb` paired notebooks when it cannot open a paired notebook because the `ipynb` version is more recent. Also, if the inputs in the two files are identical then the notebook will open with no error ([#799](https://github.com/mwouts/jupytext/issues/799))
303 - The `py:percent` format will use raw strings when encoding Markdown cells as string, if they contain backslash characters ([#836](https://github.com/mwouts/jupytext/issues/836))
304
305 **Fixed**
306 - We have upgraded the jupyterlab extension dependencies and especially `ansi-regex` to fix a security vulnerability ([#857](https://github.com/mwouts/jupytext/issues/857))
307
308 **Changed**
309 - The Jupytext configuration file is reloaded only when a notebook is opened, saved, or when a different folder is explored ([#797](https://github.com/mwouts/jupytext/issues/797))
310
311
312 1.12.0 (2021-09-09)
313 -------------------
314
315 **Added**
316 - Jupytext supports Quarto notebooks (with `.qmd` extension) ([#837](https://github.com/mwouts/jupytext/issues/837))
317 - Jupytext can be configured through the `pyproject.toml` file. Thanks to Robin Brown for this contribution! ([#828](https://github.com/mwouts/jupytext/issues/828))
318 - Jupytext now supports OCaml files with `.ml` extension. Thanks to Quentin Fortier for getting this started ([#832](https://github.com/mwouts/jupytext/issues/832))
319
320 **Fixed**
321 - Added more test to make sure that notebooks can be trusted. In practice, notebooks could not be trusted in JupyterLab<3.0.13 because of the absence of cell ids ([#826](https://github.com/mwouts/jupytext/issues/826))
322
323
324 1.11.5 (2021-08-31)
325 -------------------
326
327 **Fixed**
328 - Fixed typos revealed by `codespell` - thanks to @hectormz for this contribution ([#829](https://github.com/mwouts/jupytext/issues/829))
329 - We updated the dependencies of the `jupyterlab-jupytext` extension to address several security issues ([#842](https://github.com/mwouts/jupytext/issues/842)) ([#843](https://github.com/mwouts/jupytext/issues/843))
330 - The Jupytext dev environment (`requirements-dev.txt`) now uses `jupyterlab==3.0.17` rather than `3.0.0` because of another security issue ([#839](https://github.com/mwouts/jupytext/issues/839))
331
332
333 1.11.4 (2021-07-14)
334 -------------------
335
336 **Changed**
337 - The documentation illustrates how the `cell_markers` option (and the other ones) can be set directly in the `jupytext.toml` config file ([#809](https://github.com/mwouts/jupytext/issues/809)).
338 - The dependency on `mdit-py-plugins` through `markdown-it-py[plugins]` was made explicit ([#814](https://github.com/mwouts/jupytext/issues/814))
339
340 **Fixed**
341 - System assigns of the form `var = !cmd` are commented out ([#816](https://github.com/mwouts/jupytext/issues/816))
342 - Fixed an `InconsistentPath` issue with notebooks paired with scripts in a folder. The prefix in the Jupytext formats always use /, while paths might use either / or \ ([#806](https://github.com/mwouts/jupytext/issues/806))
343 - Tests that cannot succeed are skipped when either the Jupytext folder is not a git repository, when `sphinx-gallery` is too recent, or when `pandoc` is not up-to-date ([#814](https://github.com/mwouts/jupytext/issues/814))
344 - Removed the mention of '--update' in 'jupytext --pipe' since outputs are preserved already
345
346
347 1.11.3 (2021-06-10)
348 -------------------
349
350 **Changed**
351 - Jupytext CLI has a new option `--use-source-timestamp` that sets the last modification time of the output file equal to that of the source file (this avoids having to change the timestamp of the source file) ([#784](https://github.com/mwouts/jupytext/issues/784))
352 - In the pre-commit mode, Jupytext now uses the commit timestamp to determine which file in the pair is the most recent ([#780](https://github.com/mwouts/jupytext/issues/780))
353
354
355 **Fixed**
356 - Dependencies of the JupyterLab extension have been upgraded to fix a security vulnerability ([#798](https://github.com/mwouts/jupytext/pull/798))
357 - The `--warn-only` option also applies to pipes. Use this if the pipe may fail, e.g. if you apply `black` on a possibly invalid script ([#781](https://github.com/mwouts/jupytext/issues/781))
358 - Variables assigned from a magic command are commented out in `py` scripts ([#781](https://github.com/mwouts/jupytext/issues/781))
359 - Fixed a round-trip issue on notebooks that have None/null in their metadata ([#792](https://github.com/mwouts/jupytext/issues/792))
360
361
362 1.11.2 (2021-05-02)
363 -------------------
364
365 **Changed**
366 - Jupytext's dependency markdown-it-py is now in v1 ([#769](https://github.com/mwouts/jupytext/issues/769))
367 - The optional argument `fmt` in `jupytext.reads` now has the default value `None` - thanks to Yuvi Panda ([#763](https://github.com/mwouts/jupytext/issues/763))
368
369 **Fixed**
370 - All text files are opened with an explicit `utf-8` encoding ([#770](https://github.com/mwouts/jupytext/issues/770))
371 - Previously `--pipe black` was not always putting two blank lines between functions. To fix that we load the internal Jupytext
372 cell metadata like `lines_to_next_cell` from the text file rather than ipynb ([#761](https://github.com/mwouts/jupytext/issues/761))
373 - The timestamp of the source file is not updated any more when the destination file is not in the pair ([#765](https://github.com/mwouts/jupytext/issues/765), [#767](https://github.com/mwouts/jupytext/issues/767))
374
375 **Added**
376 - A new test documents when the `ipython3` pygment lexer appears in MyST Markdown files ([#759](https://github.com/mwouts/jupytext/issues/759))
377
378
379 1.11.1 (2021-03-26)
380 -------------------
381
382 **Fixed**
383 - Format options stored in the notebook itself are now taken into account (Fixes [#757](https://github.com/mwouts/jupytext/issues/757))
384
385
386 1.11.0 (2021-03-18)
387 -------------------
388
389 **Fixed**
390 - The `jupytext.toml` config file can now be used together with the `jupytext` pre-commit hook ([#752](https://github.com/mwouts/jupytext/issues/752))
391 - The `notebook_extensions` option of the `jupytext.toml` file now works ([#746](https://github.com/mwouts/jupytext/issues/746))
392
393 **Changed**
394 - The options in `jupytext.toml` where renamed to match the `jupytext` metadata in the text notebooks. One should now use `formats` rather than `default_jupytext_formats` and `notebook_metadata_filter` rather than `default_notebook_metadata_filter` ([#753](https://github.com/mwouts/jupytext/issues/753))
395
396
397 1.10.3 (2021-03-07)
398 -------------------
399
400 **Fixed**
401 - We have updated `marked`, an indirect dependency of the `jupyterlab-jupytext` extension, to fix a moderate vulnerability ([#750](https://github.com/mwouts/jupytext/issues/750)).
402 - We use non-random cell ids in the tests to avoid test failures due to duplicate cell ids ([#747](https://github.com/mwouts/jupytext/issues/747))
403
404
405 1.10.2 (2021-02-17)
406 -------------------
407
408 **Fixed**
409 - We have adjusted the `MANIFEST.in` file to exclude the `node_modules` but still include the JupyterLab extension that was missing in the `.tar.gz` (and conda) package in v1.10.1. Many thanks to Martin Renou for providing the fix at ([#741](https://github.com/mwouts/jupytext/issues/741))
410
411
412 1.10.1 (2021-02-11)
413 -------------------
414
415 **Added**
416 - The recursive glob pattern `**/*.ipynb` is now supported by Jupytext - Thanks to Banst for this contribution ([#731](https://github.com/mwouts/jupytext/issues/731))
417 - Sage notebooks are supported. They can be converted to `.sage` and `.md` files and back. Thanks to Lars Franke for suggesting this! ([#727](https://github.com/mwouts/jupytext/issues/727))
418 - Jupytext is also accessible with `python -m jupytext`. Thanks to Matthew Brett for his PR! ([#739](https://github.com/mwouts/jupytext/issues/739))
419
420 **Changed**
421 - We have tested Jupytext with the new cell ids introduced in `nbformat>=5.1.0`. Cell ids are preserved by the `--sync` and `--update` command. So we removed the constraint on the version of `nbformat` ([#735](https://github.com/mwouts/jupytext/issues/735)).
422
423 **Fixed**
424 - We filtered out the `node_modules` folder from the `.tar.gz` package for Jupytext ([#730](https://github.com/mwouts/jupytext/issues/730))
425
426
427 1.10.0 (2021-02-04)
428 -------------------
429
430 **Added**
431 - Jupytext has a pre-commit hook! Many thanks to John Paton and Aaron Gokaslan for making this happen ([#698](https://github.com/mwouts/jupytext/issues/698))
432 - Jupytext CLI will not rewrite files that don't change ([#698](https://github.com/mwouts/jupytext/issues/698)).
433 - If you want to see the diff for changed files, use the new `--diff` option ([#722](https://github.com/mwouts/jupytext/issues/722))
434 - We have added `isort` and `autoflake8` to the `pre-commit` configuration file used for developing the Jupytext project ([#709](https://github.com/mwouts/jupytext/issues/709))
435 - We made sure that `py:percent` scripts end with exactly one blank line ([#682](https://github.com/mwouts/jupytext/issues/682))
436 - We checked that Jupytext works well with symbolic links to folders (not files!) ([#696](https://github.com/mwouts/jupytext/issues/696))
437
438 **Changed**
439 - Jupytext does not work properly with the new cell ids of the version 4.5 of `nbformat>=5.1.0` yet, so we added the requirement `nbformat<=5.0.8` ([#715](https://github.com/mwouts/jupytext/issues/715))
440 - Jupytext will issue an informative error or warning on notebooks in a version of nbformat that is not known to be supported ([#681](https://github.com/mwouts/jupytext/issues/681), [#715](https://github.com/mwouts/jupytext/issues/715))
441
442 **Fixed**
443 - Code cells that contain triple backticks (or more) are now encapsulated with four backticks (or more) in the Markdown and MyST Markdown formats. The version number for the Markdown format was increased to 1.3, and the version number for the MyST Markdown format was increased to 0.13 ([#712](https://github.com/mwouts/jupytext/issues/712))
444 - Indented magic commands are supported ([#694](https://github.com/mwouts/jupytext/issues/694))
445
446
447 1.9.1 (2021-01-06)
448 ------------------
449
450 **Fixed**
451 - Include the lab extension that was missing in the conda package ([#703](https://github.com/mwouts/jupytext/pull/703)).
452
453
454 1.9.0 (2021-01-05)
455 ------------------
456
457 **Changed**
458 - The Jupytext extension for JupyterLab is compatible with Jupyter Lab 3.0, thanks to Martin Renou's awesome contribution ([#683](https://github.com/mwouts/jupytext/pull/683)).
459
460
461 1.8.2 (2021-01-04)
462 ------------------
463
464 **Changed**
465 - Jupytext 1.8.2 depends on `python>=3.6`. The last version of Jupytext explicitly tested with Python 2.7 and 3.5 was Jupytext 1.7.1 ([#697](https://github.com/mwouts/jupytext/issues/697)).
466
467
468 1.8.1 (2021-01-03)
469 ------------------
470
471 **Changed**
472 - The dependency on `markdown-it-py` is conditional on `python>=3.6` ([#697](https://github.com/mwouts/jupytext/issues/697))
473
474
475 1.8.0 (2020-12-22)
476 ------------------
477
478 **Changed**
479 - Removed support for Python 2.7 and 3.5, a preliminary step towards a JupyterLab 3.0-compatible extension ([#683](https://github.com/mwouts/jupytext/issues/683))
480 - The MyST Markdown format uses `markdown-it-py~=0.6.0` ([#692](https://github.com/mwouts/jupytext/issues/692))
481
482
483 1.7.1 (2020-11-16)
484 ------------------
485
486 **Fixed**
487 - Text notebooks have the same format and mimetype as ipynb notebooks. This fixes the _File Load Error - content.indexOf is not a function_ error on text notebooks ([#659](https://github.com/mwouts/jupytext/issues/659))
488
489
490 1.7.0 (2020-11-14)
491 ------------------
492
493 **Changed**
494 - Jupytext's contents manager uses the parent CM's `get` and `save` methods to read and save text files, and explicitly calls `jupytext.reads` and `jupytext.writes` to do the conversion. We don't use `mock` nor internal parent methods any more. Thanks to Max Klein for helping making this work! ([#634](https://github.com/mwouts/jupytext/issues/634), [#635](https://github.com/mwouts/jupytext/issues/635))
495 - Thanks to the above, Jupytext can work on top of contents manager that don't derive from `FileContentsManager`, and in particular it works with `jupyterfs` ([#618](https://github.com/mwouts/jupytext/issues/618))
496 - The documentation was reorganized. `README.md` was simplified and now includes many links to the documentation.
497 - The documentation now uses `myst_parser` rather than `recommonmark`. And we use `conda` on RTD ([#650](https://github.com/mwouts/jupytext/issues/650), [#652](https://github.com/mwouts/jupytext/issues/652))
498 - The `readf` and `writef` functions were dropped (they had been deprecated in favor of `read` and `write` in June 2019, v1.2.0)
499 - The description & dependencies of the JupyterLab extension were updated ([#654](https://github.com/mwouts/jupytext/issues/654))
500 - The `--set-kernel -` command, on a Python notebook, gives an explicit error when no kernel is not found that matches the current Python executable.
501 - All the GitHub workflow files were concatenated into a unique file, and we have added an `pypi-publish` step to automatically publish the package on PyPi when new releases are created.
502 - The `CHANGELOG.md` file was moved under `docs` to better expose the history of changes.
503
504 **Added**
505 - Configuration errors are reported in the console and/or in Jupyter ([#613](https://github.com/mwouts/jupytext/issues/613))
506 - Jupytext's Contents Manager internal errors are logged on the console, and trigger an HTTP Error 500 ([#638](https://github.com/mwouts/jupytext/issues/638))
507 - The GitHub actions run on both push events and pull requests, and duplicate jobs are skipped ([#605](https://github.com/mwouts/jupytext/issues/605))
508 - Jupytext has a `tox.ini` file, thanks to Chris Sewell ([#605](https://github.com/mwouts/jupytext/issues/605))
509 - Jupytext is tested against Python 3.9
510 - The `execution` cell metadata is now filtered by default ([#656](https://github.com/mwouts/jupytext/issues/656))
511
512 **Fixed**
513 - Optional dependency on `sphinx-gallery` frozen to version `~=0.7.0` ([#614](https://github.com/mwouts/jupytext/issues/614))
514 - Codecov/patch reports should be OK now ([#639](https://github.com/mwouts/jupytext/issues/639))
515 - Jupytext tests work on non-English locales ([#636](https://github.com/mwouts/jupytext/issues/636))
516 - Cell metadata that are already present in text notebook can be filtered out using a config file ([#656](https://github.com/mwouts/jupytext/issues/656))
517 - Optional cell attributes like attachments are preserved ([#671](https://github.com/mwouts/jupytext/issues/671))
518
519
520 1.6.0 (2020-09-01)
521 ------------------
522
523 **Added**
524 - New option `hide_notebook_metadata` to encapsulate the notebook metadata in an HTML comment ([#527](https://github.com/mwouts/jupytext/issues/527))
525 - New option `root_level_metadata_as_raw_cell`. Set it to `False` if you don't want to see root level metadata
526 of R Markdown notebooks as a raw cell in Jupyter ([#415](https://github.com/mwouts/jupytext/issues/415))
527 - New option `doxygen_equation_markers` to translate Markdown equations into Doxygen equations ([#517](https://github.com/mwouts/jupytext/issues/517))
528 - New option `custom_cell_magics` to comment out cells starting with user-specific cell magics ([#513](https://github.com/mwouts/jupytext/issues/513))
529 - Documented how to use `isort` on notebooks ([#553](https://github.com/mwouts/jupytext/issues/553))
530 - `jupytext notebook.ipynb --to filename.py` will warn that `--to` is used in place of `--output`.
531 - `jupytext --set-formats filename.py` will suggest to use `--sync` instead of `--set-formats` ([#544](https://github.com/mwouts/jupytext/issues/544))
532 - Warn if 'Include Metadata' is off when saving text files in Jupyter ([#561](https://github.com/mwouts/jupytext/issues/561))
533 - Test that notebooks paired through a configuration file are left unmodified ([#598](https://github.com/mwouts/jupytext/issues/598))
534 - Test that metadata filters in the configuration files are taken into account when using `jupytext --to` ([#543](https://github.com/mwouts/jupytext/issues/543))
535 - New argument `--run-path` to execute the notebooks at the desired location ([#595](https://github.com/mwouts/jupytext/issues/595))
536 - Activated GitHub code scanning alerts
537
538 **Changed**
539 - Jupytext now depends on `markdown-it-py` (Python 3.6 and above) and always features the MyST-Markdown format,
540 thanks to Chris Sewell ([#591](https://github.com/mwouts/jupytext/issues/591))
541 - The `md:myst` and `md:pandoc` are always included in the Jupytext formats, and an informative runtime
542 error will occur if the required dependencies, resp. `markdown-it-py` and `pandoc`, are not installed. ([#556](https://github.com/mwouts/jupytext/issues/556))
543 - The `# %%` cell marker has the same indentation as the first line in the cell ([#562](https://github.com/mwouts/jupytext/issues/562))
544 - Jupytext is now installed from source on MyBinder to avoid cache issues ([#567](https://github.com/mwouts/jupytext/issues/567))
545 - The tests that execute a notebook are now skipped on Windows to avoid timeout issues ([#489](https://github.com/mwouts/jupytext/issues/489))
546
547 **Fixed**
548 - Only scripts can have an encoding comment, not Markdown or R Markdown files ([#576](https://github.com/mwouts/jupytext/issues/576))
549 - Spaces in `--pipe` commands are supported ([#562](https://github.com/mwouts/jupytext/issues/562))
550 - Bash commands starting with special characters are now correctly detected, thanks to Aaron Gokaslan ([#587](https://github.com/mwouts/jupytext/issues/587))
551 - MyST Markdown files are recognized as such even if MyST-Markdown is not available ([#556](https://github.com/mwouts/jupytext/issues/556))
552 - Build JupyterLab with `dev-build=False` and `minimize=False` on mybinder to avoid build errors
553 - Configured coverage targets in `codecov.yml`
554
555
556 1.5.2 (2020-07-21)
557 ------------------
558
559 **Changed**
560 - The documentation uses the Alabaster theme
561
562 **Fixed**
563 - Preserve indentation when commenting out magic commands ([#437](https://github.com/mwouts/jupytext/issues/437))
564 - Fixed MyBinder - `jupytext.py` is not a configuration file ([#559](https://github.com/mwouts/jupytext/issues/559), [#567](https://github.com/mwouts/jupytext/issues/567))
565
566
567 1.5.1 (2020-07-05)
568 ------------------
569
570 **Fixed**
571 - Added `toml` as a dependency ([#552](https://github.com/mwouts/jupytext/issues/552)).
572 - Filtered out `__pycache__` and `.pyc` files from the pip package.
573 - Fixed coverage upload by adding `coverage` as a dependency to the conda CI workflow.
574 - Fixed the conda CI / Python 2.7 job by explicitly installing `backports.functools_lru_cache` ([#554](https://github.com/mwouts/jupytext/issues/554)).
575
576
577 1.5.0 (2020-06-07)
578 ------------------
579
580 **Added**
581 - Jupytext can use a local or global [configuration file](https://github.com/mwouts/jupytext/blob/main/docs/config.md) ([#508](https://github.com/mwouts/jupytext/issues/508))
582 - Jupytext can pair notebooks in trees. Use e.g. `notebooks///ipynb,scripts///py:percent` if you want to replicate the tree of notebooks under `notebooks` in a folder named `scripts` ([#424](https://github.com/mwouts/jupytext/issues/424))
583 - The extension for Jupyter Notebook has a _New Text Notebook_ menu that creates text-only notebooks ([#443](https://github.com/mwouts/jupytext/issues/443))
584 - Groovy and Java are now supported, thanks to Przemek Wesołek ([#500](https://github.com/mwouts/jupytext/issues/500))
585 - The Coconut language is also supported, thanks to Thurston Sexton ([#532](https://github.com/mwouts/jupytext/issues/532))
586 - Resource files with `.resource` extension from the Robot Framework are supported, thanks to Hiski Valli ([#535](https://github.com/mwouts/jupytext/issues/535))
587 - Jupytext is tested in `pip` and `conda` environments, on Linux, Mac OS and Windows, using Github actions ([#487](https://github.com/mwouts/jupytext/issues/487))
588 - Jupytext uses pre-commit checks and automatic reformatting with `pre-commit`, `black` and `flake8` ([#483](https://github.com/mwouts/jupytext/issues/483))
589 - Documentation improvements:
590 - Mention that the YAML header can be created with either `--set-kernel`, `--set-formats`, or both ([#485](https://github.com/mwouts/jupytext/issues/485))
591 - Mention that one should use double quotes, not single quotes, around `jupytext --check` commands like `"pytest {}"` on Windows ([#475](https://github.com/mwouts/jupytext/issues/475))
592 - Improved error message when a file is in a version that can't be read by Jupytext ([#531](https://github.com/mwouts/jupytext/issues/531))
593
594 **Fixed**
595 - Skip the `jupytext --execute` tests when the warning _Timeout waiting for IOPub output_ occurs, which is the case intermittently on Windows ([#489](https://github.com/mwouts/jupytext/issues/489))
596 - Fixed wrong paired paths when syncing with the --pre-commit flag ([#506](https://github.com/mwouts/jupytext/issues/506))
597
598
599 1.4.2 (2020-04-05)
600 ------------------
601
602 **Added**
603 - Added an example with custom notebook metadata ([#469](https://github.com/mwouts/jupytext/issues/469))
604 - Added an example with custom cell tags ([#478](https://github.com/mwouts/jupytext/issues/478))
605
606 **Changed**
607 - The outputs from the `.ipynb` file are matched with the input cells from the text file with less strict rules. In this version, a search and replace on the text file will not remove the outputs any more ([#464](https://github.com/mwouts/jupytext/issues/464)).
608 - Update parsing of myst notebooks to new (markdown-it based) parser (please upgrade to `myst-parser` to version `~0.8`) ([#473](https://github.com/mwouts/jupytext/issues/473))
609 - Use `os.path.samefile` when searching for the kernel that corresponds to the current environment (`--set-kernel -`)
610
611 **Fixed**
612 - Fixed the CLI example for not commenting out magic commands: `--opt comment_magics=false`. In addition, most of the `jupytext` commands in `using-cli.md` are now tested! ([#465](https://github.com/mwouts/jupytext/issues/465))
613 - `jupytext.read` and `jupytext.write` now give more meaningful errors when the format information is incorrect ([#462](https://github.com/mwouts/jupytext/issues/462))
614 - Multiline comments starting or ending with quadruple quotes should not cause issues anymore ([#460](https://github.com/mwouts/jupytext/issues/460))
615 - Fixed active cells in the py:percent format ([#477](https://github.com/mwouts/jupytext/issues/477))
616
617 1.4.1 (2020-03-19)
618 ------------------
619
620 **Added**
621 - Script of script (SoS) notebooks are now supported. Thanks to Thomas Pernet-coudrier for contributing the sample notebook ([#453](https://github.com/mwouts/jupytext/issues/453)).
622 - New MyST Markdown format (`md:myst`), developed by the [ExecutableBookProject](https://github.com/ExecutableBookProject) team. Read more about the MyST Markdown format in the [documentation](https://jupytext.readthedocs.io/en/latest/formats.html#myst-markdown). And many thanks to Chris Sewell for contributing the actual implementation! ([#447](https://github.com/mwouts/jupytext/issues/447) [#456](https://github.com/mwouts/jupytext/issues/456) [#458](https://github.com/mwouts/jupytext/issues/458))
623
624 **Fixed**
625 - When using `jupytext --pipe cmd`, the output of `cmd` should not appear in the terminal ([#432](https://github.com/mwouts/jupytext/issues/432))
626
627
628 1.4.0 (2020-03-09)
629 ------------------
630
631 **Changed**
632 - The new jupyterlab extension (in version 1.2.0) is compatible with JupyterLab 2.0. Many thanks to Jean Helie! ([#449](https://github.com/mwouts/jupytext/issues/449))
633 - It is not compatible with JupyterLab 1.x anymore. If you wish, you can install manually the previous version of the extension with `jupyter labextension install [email protected]`.
634
635 **Fixed**
636 - Display the output/errors of command executed with `jupytext --pipe` or `jupytext --check` ([#432](https://github.com/mwouts/jupytext/issues/432))
637
638 1.3.5 (2020-03-08)
639 ------------------
640
641 **Fixed**
642 - Removed leading slash in notebook paths ([#444](https://github.com/mwouts/jupytext/issues/444))
643 - Fixed `jupytext --set-formats` when using formats with prefix and/or suffix ([#450](https://github.com/mwouts/jupytext/issues/450))
644
645
646 1.3.4 (2020-02-18)
647 ------------------
648
649 **Added**
650 - C# and F# Jupyter notebooks are now supported ([#427](https://github.com/mwouts/jupytext/issues/427), [#429](https://github.com/mwouts/jupytext/issues/429))
651
652 **Fixed**
653 - `jupytext --to script *.ipynb` now computes the script extension for each notebook ([#428](https://github.com/mwouts/jupytext/issues/428))
654 - Fix shebang handling for languages with non-# comments, by Jonas Bushart ([#434](https://github.com/mwouts/jupytext/issues/434))
655 - Indented bash commands are now commented out ([#437](https://github.com/mwouts/jupytext/issues/437))
656 - The main formats are documented in `jupytext --help` ([#426](https://github.com/mwouts/jupytext/issues/426), [#433](https://github.com/mwouts/jupytext/issues/433))
657
658
659 1.3.3 (2020-01-27)
660 ------------------
661
662 **Added**
663 - Jupytext has a logo! Many thanks to Kyle Kelley for contributing the actual logo ([#423](https://github.com/mwouts/jupytext/issues/423)), and to Chris Holdgraf for suggesting this ([#260](https://github.com/mwouts/jupytext/issues/260)).
664 - Nested metadata filtering is now supported! You can use this to rid of `jupytext_version` if you wish ([#416](https://github.com/mwouts/jupytext/issues/416)).
665
666 **Fixed**
667 - Code cells in the Markdown format can contain triple backticks inside multiline strings ([#419](https://github.com/mwouts/jupytext/issues/419)).
668 - Changes in the YAML header when running `jupytext --test` on text files are ignored ([#414](https://github.com/mwouts/jupytext/issues/414)).
669
670 1.3.2 (2020-01-08)
671 ------------------
672
673 **Fixed**
674 - The `--pre-commit` mode now ignores non-notebook files in the index ([#338](https://github.com/mwouts/jupytext/issues/338)).
675 - `nbformat_minor` is taken from the notebook with outputs When inputs and outputs are merged.
676
677 1.3.1 (2019-12-26)
678 ------------------
679
680 **Added**
681 - New `nomarker` format in the Jupyter Notebook and JupyterLab extensions ([#397](https://github.com/mwouts/jupytext/issues/397))
682
683 **Changed**
684 - The `normarker` format replaces the one previously named `bare`.
685
686 **Fixed**
687 - Multiline strings are now accepted in the YAML header ([#404](https://github.com/mwouts/jupytext/issues/404)). Fix contributed by ZHUO Qiang ([#405](https://github.com/mwouts/jupytext/issues/405)).
688 - Fixed the instructions on how to use multiline comments for all Markdown cells in the py:percent format, by ZHUO Qiang ([#403](https://github.com/mwouts/jupytext/issues/403)).
689 - Added `cd` to the list of magic commands.
690 - Do not read paired files when `--set-formats` is being used (fixes [#399](https://github.com/mwouts/jupytext/issues/399)).
691
692 1.3.0 (2019-11-23)
693 ------------------
694
695 See also [What's new in Jupytext 1.3?](https://gist.github.com/mwouts/724efe5e00654fc2145a4c916796e071)
696
697 **Added**
698
699 - Pairing a notebook to both `.md` and `.py` is now supported. Input cells are loaded from the most recent text representation ([#290](https://github.com/mwouts/jupytext/issues/290))
700 - Both the Jupyter Notebook and the Jupyter Lab extension for Jupytext were updated ([#290](https://github.com/mwouts/jupytext/issues/290))
701 - Raw cells are now encoded using HTML comments (`<!-- #raw -->` and `<!-- #endraw -->`) in Markdown files ([#321](https://github.com/mwouts/jupytext/issues/321))
702 - Markdown cells can be delimited with any of `<!-- #region -->`, `<!-- #markdown -->` or `<!-- #md -->` ([#344](https://github.com/mwouts/jupytext/issues/344))
703 - Code blocks from Markdown files, when they don't have an explicit language, appear in Markdown cells in Jupyter ([#321](https://github.com/mwouts/jupytext/issues/321))
704 - Code blocks with an explicit language and a `.noeval` attribute are inactive in Jupyter ([#347](https://github.com/mwouts/jupytext/issues/347))
705 - Markdown and raw cells can be quoted with triple quotes in the `py:percent` format. And Markdown cells can start with just `# %% [md]` ([#305](https://github.com/mwouts/jupytext/issues/305))
706 - The light format uses `# + [markdown]` rather than the previous `cell_type` metadata to identify markdown cells with metadata ([#356](https://github.com/mwouts/jupytext/issues/356))
707 - Explicit Markdown cells in the light format `# + [markdown]` can use triple quotes ([#356](https://github.com/mwouts/jupytext/issues/356))
708 - IPython magic help commands like `float?` are classified as magics, and thus commented in Python scripts ([#297](https://github.com/mwouts/jupytext/issues/297))
709 - Cell metadata can be encoded as either `key=value` (the new default) or in JSON. An automatic option `cell_metadata_json` should help minimize the impact on existing files ([#344](https://github.com/mwouts/jupytext/issues/344))
710 - R Markdown hidden inputs, outputs, or cells are now mapped to the corresponding Jupyter Book tags by default ([#337](https://github.com/mwouts/jupytext/issues/337))
711 - The notebook metadata filter is automatically updated when extra keys are added to the YAML header ([#376](https://github.com/mwouts/jupytext/issues/376))
712 - The Jupyter Notebook extension for Jupytext is compatible with Jupyter Notebook 6.0 ([#346](https://github.com/mwouts/jupytext/issues/346))
713 - `jupytext notebook.py --to ipynb` updates the timestamp of `notebook.py` so that the paired notebook still works in Jupyter ([#335](https://github.com/mwouts/jupytext/issues/335), [#254](https://github.com/mwouts/jupytext/issues/254))
714 - `jupytext --check pytest notebook.ipynb` can be used to run test functions in a notebook ([#286](https://github.com/mwouts/jupytext/issues/286))
715 - `jupytext --check` and `jupytext --pipe` can run commands that only operate on files: when `{}` is found in the text of the command, `jupytext` saves the text representation of the notebook in a temp file, and replaces `{}` with the name of that file before executing the command. ([#286](https://github.com/mwouts/jupytext/issues/286))
716 - Documented how to sync notebooks in a pre-commit hook ([#338](https://github.com/mwouts/jupytext/issues/338))
717 - Added support for Rust/Evxcr, by Jonas Bushart ([#351](https://github.com/mwouts/jupytext/issues/351))
718 - Added support for [Robot Framework](https://robots-from-jupyter.github.io/), by Asko Soukka ([#378](https://github.com/mwouts/jupytext/issues/378))
719 - Added support for PowerShell ([#349](https://github.com/mwouts/jupytext/issues/349))
720
721 **Changed**
722
723 - Use `CHANGELOG.md` rather than `HISTORY.rst`
724
725 **Fixed**
726
727 - Commands like `cat = x` are not magic commands, so they are not commented any more ([#339](https://github.com/mwouts/jupytext/issues/339))
728 - Fixed an inconsistent round trip (code cell with `"cat"` being converted to a markdown cell) in the `py:light` format ([#339](https://github.com/mwouts/jupytext/issues/339))
729 - `jupytext --test textfile.ext` now really compares the text file to its round trip (rather than the corresponding notebook) ([#339](https://github.com/mwouts/jupytext/issues/339))
730 - Markdown cells that contain code are now preserved in a round trip through the Markdown and R Markdown formats ([#361](https://github.com/mwouts/jupytext/issues/361))
731 - Code cells with a `%%python3` cell magic are now preserved in a round trip through the Markdown format ([#365](https://github.com/mwouts/jupytext/issues/365))
732 - `jupytext --execute` runs the notebook in its folder ([#382](https://github.com/mwouts/jupytext/issues/382))
733 - Strings in the metadata of code cells are quoted in the Rmd representation. And we escape R code in chunk options with `#R_CODE#` ([#383](https://github.com/mwouts/jupytext/issues/383))
734
735 1.2.4 (2019-09-19)
736 ------------------
737
738 **Added**
739
740 - The documentation includes a mention on how to set metadata filters at the command line ([#330](https://github.com/mwouts/jupytext/issues/330))
741 - Jupytext will not catch any error when the flag `--warn-only` is not set ([#327](https://github.com/mwouts/jupytext/issues/327))
742
743 **Fixed**
744
745 - Now the flag `--warn-only` catches every possible error ([#263](https://github.com/mwouts/jupytext/issues/263))
746 - `.md` and `.markdown` files are treated identically ([#325](https://github.com/mwouts/jupytext/issues/325))
747 - Fixed `--set-kernel` when using pipes ([#326](https://github.com/mwouts/jupytext/issues/326))
748 - Fixed utf-8 encoding on stdout on Python 2 ([#331](https://github.com/mwouts/jupytext/issues/331))
749
750
751 1.2.3 (2019-09-02)
752 ------------------
753
754 **Fixed**
755
756 - Dependency on `setuptools` in `pandoc.py` made optional to fix the build of the conda package ([#310](https://github.com/mwouts/jupytext/issues/310), [#323](https://github.com/mwouts/jupytext/issues/323))
757
758
759 1.2.2 (2019-09-01)
760 ------------------
761
762 **Added**
763
764 - Documentation includes a section on how to use Jupytext as a Python library ([#317](https://github.com/mwouts/jupytext/issues/317))
765 - Mention of the server extension in the documentation ([#304](https://github.com/mwouts/jupytext/issues/304))
766 - Text notebooks can be tested with `jupytext --execute notebook.md` ([#303](https://github.com/mwouts/jupytext/issues/303))
767 - The default value of `as_version` in `jupytext.read` is `nbformat.NO_CONVERT`, as for `nbformat.read`
768 - Jupytext tests are now included in sdist ([#310](https://github.com/mwouts/jupytext/issues/310))
769
770 **Fixed**
771
772 - Fixed the usability of the `fmt` argument in `jupytext.read` ([#312](https://github.com/mwouts/jupytext/issues/312))
773 - Fixed the download notebook error when `c.notebook_extensions` has a custom value ([#318](https://github.com/mwouts/jupytext/issues/318))
774 - String delimiters in commented text are now ignored ([#307](https://github.com/mwouts/jupytext/issues/307))
775
776
777 1.2.1 (2019-07-20)
778 ------------------
779
780 **Added**
781
782 - Added documentation on how to use Jupytext with JupyterLab 0.35 ([#299](https://github.com/mwouts/jupytext/issues/299))
783 - and on using Jupytext with the pre-commit package manager ([#292](https://github.com/mwouts/jupytext/issues/292))
784 - The `read` and `write` functions are easier to use ([#292](https://github.com/mwouts/jupytext/issues/292))
785
786 **Fixed**
787
788 - Jupytext now ships the `jupyterlab-jupytext` extension in version 1.0.2. The version 1.0.1 erroneously introduces a `target_formats` metadata in the jupytext section, instead of `formats`, and works only after two clicks.
789
790
791 1.2.0 (2019-07-18)
792 ------------------
793
794 **Added**
795
796 - New `--execute` option in Jupytext CLI ([#231](https://github.com/mwouts/jupytext/issues/231))
797 - The `--set-formats` option in Jupytext CLI also triggers `--sync`, allowing shorter commands.
798 - `jupytext`'s `read` and `write` functions can be used as drop-in replacements for `nbformat`'s ones ([#262](https://github.com/mwouts/jupytext/issues/262)).
799 - `jupytext --sync` will now skip unpaired notebooks ([#281](https://github.com/mwouts/jupytext/issues/281)).
800 - The JupyterLab extension was updated. It now works on on text files ([#213](https://github.com/mwouts/jupytext/issues/213)) and has a new option to include
801 (or not) the metadata in the text representation of the notebook.
802 - Jupytext's contents manager class is derived dynamically from the default CM class for compatibility with
803 `jupyter_server` ([#270](https://github.com/mwouts/jupytext/issues/270))
804 - Removed dependency on `mock` and `testfixtures`, thanks to Jean-Sebastien Dieu ([#279](https://github.com/mwouts/jupytext/issues/279))
805 - Added support for `.markdown` extension ([#288](https://github.com/mwouts/jupytext/issues/288))
806
807 **Fixed**
808
809 - The `jupyterlab-jupytext` extension shipped with the python package is in version 1.0.1, and is compatible only
810 with JupyterLab >= 1.0. If you use an earlier version of JupyterLab, please install the version 0.19 of the extension
811 with `jupyter labextension install [email protected]` ([#276](https://github.com/mwouts/jupytext/issues/276), [#278](https://github.com/mwouts/jupytext/issues/278))
812 - Text files can be unpaired ([#289](https://github.com/mwouts/jupytext/issues/289))
813
814
815 1.1.7 (2019-06-23)
816 ------------------
817
818 **Added**
819
820 - Added support for Scala notebook, by Tobias Frischholz ([#253](https://github.com/mwouts/jupytext/issues/253))
821 - Added a getting started notebook for jupytext (and Binder), by Chris Holdgraf ([#257](https://github.com/mwouts/jupytext/issues/257))
822 - The Markdown and R Markdown representations are now tested for all the languages
823 - The Jupytext notebook extension also works when the notebook is a text file ([#213](https://github.com/mwouts/jupytext/issues/213))
824
825
826 **Fixed**
827
828 - The Jupytext Menu in Jupyter Notebook is now compatible with `jupyter_nbextensions_configurator` ([#178](https://github.com/mwouts/jupytext/issues/178))
829 - Entries in the Jupytext menu are updated when the menu is hovered on ([#248](https://github.com/mwouts/jupytext/issues/248))
830 - Fixed link to `.md` files in the documentation ([#255](https://github.com/mwouts/jupytext/issues/255))
831
832
833 1.1.6 (2019-06-11)
834 ------------------
835
836 **Added**
837
838 - Jupytext now supports Javascript and Typescript, thanks to Hatem Hosny ([#250](https://github.com/mwouts/jupytext/issues/250))
839 - Jupytext works with Python 3.8 as well
840
841 **Fixed**
842
843 - Fix global `auto` pairing ([#249](https://github.com/mwouts/jupytext/issues/249))
844
845
846 1.1.5 (2019-06-06)
847 ------------------
848
849 **Fixed**
850
851 - Fixed implicit dependency on `jupyter_client` ([#245](https://github.com/mwouts/jupytext/issues/245))
852
853
854 1.1.4 (2019-06-05)
855 ------------------
856
857 **Added**
858
859 - New argument `--set-kernel` in Jupytext command line ([#230](https://github.com/mwouts/jupytext/issues/230))
860 - Jupytext now accepts `--to script` or `--to auto` ([#240](https://github.com/mwouts/jupytext/issues/240))
861 - Jupytext now has a real Sphinx documentation on [readthedocs](https://jupytext.readthedocs.io/en/latest), thanks to Chris Holdgraf ([#237](https://github.com/mwouts/jupytext/issues/237))
862
863 **Fixed**
864
865 - Invalid notebooks may cause a warning, but not a fatal error ([#234](https://github.com/mwouts/jupytext/issues/234))
866 - Jupyter server extension leaves the contents manager unchanged if it is a sub-class of Jupytext's CM ([#236](https://github.com/mwouts/jupytext/issues/236))
867 - Fixed format inference when metadata is present but not format information ([#239](https://github.com/mwouts/jupytext/issues/239))
868 - Preserve executable and encoding information in scripts with metadata ([#241](https://github.com/mwouts/jupytext/issues/241))
869
870 1.1.3 (2019-05-22)
871 ------------------
872
873 **Added**
874
875 - Support for IDL notebooks and .pro scripts ([#232](https://github.com/mwouts/jupytext/issues/232))
876
877
878 1.1.2 (2019-05-16)
879 ------------------
880
881 **Added**
882
883 - Jupytext's content manager has a new `notebook_extensions` option ([#224](https://github.com/mwouts/jupytext/issues/224), [#183](https://github.com/mwouts/jupytext/issues/183))
884 - Cells can be made inactive in scripts with the `active-ipynb` cell tag ([#226](https://github.com/mwouts/jupytext/issues/226))
885
886 **Fixed**
887
888 - Directories ending in .jl (or .ipynb) are not notebooks ([#228](https://github.com/mwouts/jupytext/issues/228))
889 - Empty notebooks have no language ([#227](https://github.com/mwouts/jupytext/issues/227))
890
891
892 1.1.1 (2019-04-16)
893 ------------------
894
895 **Added**
896
897 - Jupytext server extension leaves the contents manager unchanged when it is already a subclass of TextFileContentsManager ([#218](https://github.com/mwouts/jupytext/issues/218))
898 - The base class for TextFileContentsManager defaults to FileContentsManager when LargeFileManager is not available ([#217](https://github.com/mwouts/jupytext/issues/217))
899
900
901 1.1.0 (2019-04-14)
902 ------------------
903
904 **Added**
905
906 - Markdown and R Markdown formats now support metadata ([#66](https://github.com/mwouts/jupytext/issues/66), [#111](https://github.com/mwouts/jupytext/issues/111), [#188](https://github.com/mwouts/jupytext/issues/188))
907 - The `light` format for Scripts can use custom cell markers, e.g. Vim or VScode/PyCharm folding markers ([#199](https://github.com/mwouts/jupytext/issues/199))
908 - Pandoc's Markdown format for Jupyter notebooks is available in Jupytext as `md:pandoc` ([#208](https://github.com/mwouts/jupytext/issues/208))
909
910 **Fixed**
911
912 - Jupytext's contents manager is now based on `LargeFileManager` to allow large file uploads ([#210](https://github.com/mwouts/jupytext/issues/210))
913 - YAML header parsed with yaml.safe_load rather than yaml.load ([#215](https://github.com/mwouts/jupytext/issues/215))
914 - IPython line magic can be split across lines ([#209](https://github.com/mwouts/jupytext/issues/209))
915 - `jupytext --to py` rather than `--to python` in the README ([#216](https://github.com/mwouts/jupytext/issues/216))
916
917
918 1.0.5 (2019-03-26)
919 ------------------
920
921 **Fixed**
922
923 - Fix the error 'notebook file has changed on disk' when saving large notebooks ([#207](https://github.com/mwouts/jupytext/issues/207))
924
925
926 1.0.4 (2019-03-20)
927 ------------------
928
929 **Added**
930
931 - Wildcard are now supported on Windows ([#202](https://github.com/mwouts/jupytext/issues/202))
932 - Trusted notebooks remain trusted when inputs cells are modified ([#203](https://github.com/mwouts/jupytext/issues/203))
933
934 **Fixed**
935
936 - Pre-commit mode adds the result of conversion to the commit ([#200](https://github.com/mwouts/jupytext/issues/200))
937
938
939 1.0.3 (2019-03-13)
940 ------------------
941
942 **Added**
943
944 - Matlab and Octave notebooks and scripts are now supported ([#197](https://github.com/mwouts/jupytext/issues/197))
945
946 **Fixed**
947
948 - `notebook_metadata_filter = "all"` now works ([#196](https://github.com/mwouts/jupytext/issues/196))
949 - Default pairing in subfolders fixed in Jupyter Lab ([#180](https://github.com/mwouts/jupytext/issues/180))
950
951
952 1.0.2 (2019-02-27)
953 ------------------
954
955 **Added**
956
957 - Rename notebooks in pairs in the tree view ([#190](https://github.com/mwouts/jupytext/issues/190))
958 - Associate `.scm` file extension with Scheme scripts ([#192](https://github.com/mwouts/jupytext/issues/192))
959 - Added support for Clojure, by bzinberg ([#193](https://github.com/mwouts/jupytext/issues/193))
960
961 **Fixed**
962
963 - Allow spaces between `?` or `!` and python or bash command ([#189](https://github.com/mwouts/jupytext/issues/189))
964
965
966 1.0.1 (2019-02-23)
967 ------------------
968
969 **Fixed**
970
971 - Exclude tests in package deployment ([#184](https://github.com/mwouts/jupytext/issues/184))
972 - Jupytext's serverextension only runs selected init steps ([#185](https://github.com/mwouts/jupytext/issues/185))
973 - Added an additional test for magic arguments ([#111](https://github.com/mwouts/jupytext/issues/111))
974
975 1.0.0 (2019-02-19)
976 ------------------
977
978 **Added**
979
980 - Jupytext now includes a Jupyter Notebook extension and a JupyterLab extension ([#86](https://github.com/mwouts/jupytext/issues/86)).
981 - Jupytext command line has more arguments: `--paired-paths` to list the paths for the paired representations of the notebook, and `--sync` to synchronise the content of all paired paths based on the most recent file ([#146](https://github.com/mwouts/jupytext/issues/146)). In addition, the `--from` argument is optional even when the notebook is read from stdin ([#148](https://github.com/mwouts/jupytext/issues/148)).
982 - The pairing information, and more generally the notebook metadata can be edited with the CLL, see the `--set-formats` and the `--update-metadata` arguments ([#141](https://github.com/mwouts/jupytext/issues/141)).
983 - Jupytext can `--pipe` the text representation of a notebook to external programs like `black` or `flake8` ([#154](https://github.com/mwouts/jupytext/issues/154), [#142](https://github.com/mwouts/jupytext/issues/142))
984 - The Python representation of notebooks containing PEP8 cells is now expected to be PEP8 compliant ([#154](https://github.com/mwouts/jupytext/issues/154)).
985 - Format specification allow prefix and suffix for path and file name ([#138](https://github.com/mwouts/jupytext/issues/138), [#142](https://github.com/mwouts/jupytext/issues/142)). Use `ipynb,prefix/suffix.py:percent` to pair the current notebook named `notebook.ipynb` to a script named `prefixnotebooksuffix.py`. Suffix and prefix can also be configured on the `ipynb` file, with the same syntax.
986 - Introducing a new `hydrogen` format for scripts, which derives from `percent`. In that format Jupyter magic commands are not commented ([#59](https://github.com/mwouts/jupytext/issues/59), [#126](https://github.com/mwouts/jupytext/issues/126), [#132](https://github.com/mwouts/jupytext/issues/132)).
987 - Introducing a new `bare` format for scripts, which derives from `light`. That format has no cell marker. Use a notebook metadata filter `{"jupytext": {"notebook_metadata_filter":"-all"}}` if you want no YAML header ([#152](https://github.com/mwouts/jupytext/issues/152)).
988 - The default format for R script is now `light`, as for the other languages.
989 - Added support for q/kdb+ notebooks ([#161](https://github.com/mwouts/jupytext/issues/161)).
990 - Python scripts or Markdown documents that have no Jupyter metadata receive a metadata filter that ensures that metadata is not exported back to the text representation ([#124](https://github.com/mwouts/jupytext/issues/124)).
991 - Metadata filters are represented as strings rather than dictionaries to make YAML headers shorter. Previous syntax from [#105](https://github.com/mwouts/jupytext/issues/105) is still supported. They were also renamed to `notebook_metadata_filter` and `cell_metadata_filter`.
992 - Markdown and RMarkdown formats have a new option `split_at_heading` to split Markdown cells at heading ([#130](https://github.com/mwouts/jupytext/issues/130))
993
994 **Fixed**
995
996 - Main language of scripts is inferred from script extension. Fixes a round trip conversion issue for Python notebooks with a Javascript cell.
997 - Non-Python scripts opened as notebooks in Jupyter are now correctly saved even when no matching kernel is found.
998 - Jupyter magic commands like `ls` are commented in the light and R markdown format ([#149](https://github.com/mwouts/jupytext/issues/149)).
999 - Cell starting with `%%html`, `%%latex` are now commented out in the `light`, `percent` and `Rmd` formats ([#179](https://github.com/mwouts/jupytext/issues/179)).
1000
1001 0.8.6 (2018-11-29)
1002 ------------------
1003
1004 **Added**
1005
1006 - The `language_info` section is not part of the default header any more. Language information is now taken from metadata `kernelspec.language`. ([#105](https://github.com/mwouts/jupytext/issues/105)).
1007 - When opening a paired notebook, the active file is now the file that was originally opened ([#118](https://github.com/mwouts/jupytext/issues/118)). When saving a notebook, timestamps of all the alternative representations are tested to ensure that Jupyter's autosave does not override manual modifications.
1008 - Jupyter magic commands are now commented per default in the `percent` format ([#126](https://github.com/mwouts/jupytext/issues/126), [#132](https://github.com/mwouts/jupytext/issues/132)). Version for the `percent` format increases from '1.1' to '1.2'. Set an option `comment_magics` to `false` either per notebook, or globally on Jupytext's contents manager, or on `jupytext`'s command line, if you prefer not to comment Jupyter magics.
1009 - Jupytext command line has a pre-commit mode ([#121](https://github.com/mwouts/jupytext/issues/121)).
1010
1011
1012 0.8.5 (2018-11-13)
1013 ------------------
1014
1015 **Added**
1016
1017 - `bash` scripts as notebooks ([#127](https://github.com/mwouts/jupytext/issues/127))
1018 - R scripts with `.r` extension are supported ([#122](https://github.com/mwouts/jupytext/issues/122))
1019 - Jupytext selects the first kernel that matches the language ([#120](https://github.com/mwouts/jupytext/issues/120))
1020
1021 0.8.4 (2018-10-29)
1022 ------------------
1023
1024 **Added**
1025
1026 - Notebook metadata is filtered - only the most common metadata are stored in the text representation ([#105](https://github.com/mwouts/jupytext/issues/105))
1027 - New config option `freeze_metadata` on the content manager and on the command line interface (defaults to `False`). Use this option to avoid creating a YAML header or cell metadata if there was none initially. ([#110](https://github.com/mwouts/jupytext/issues/110))
1028 - Language magic arguments are preserved in R Markdown, and also supported in `light` and `percent` scripts ([#111](https://github.com/mwouts/jupytext/issues/111), [#114](https://github.com/mwouts/jupytext/issues/114), [#115](https://github.com/mwouts/jupytext/issues/115))
1029 - First markdown cell exported as a docstring when using the Sphinx format ([#107](https://github.com/mwouts/jupytext/issues/107))
1030
1031 0.8.3 (2018-10-19)
1032 ------------------
1033
1034 **Added**
1035
1036 - Frozen cells are supported in R Markdown, light and percent scripts ([#101](https://github.com/mwouts/jupytext/issues/101))
1037 - Inactive cells extended to percent scripts ([#108](https://github.com/mwouts/jupytext/issues/108))
1038 - `jupytext` gains a `--version` argument ([#103](https://github.com/mwouts/jupytext/issues/103))
1039 - "ExecuteTime" cell metadata is not included in the text representation anymore ([#106](https://github.com/mwouts/jupytext/issues/106))
1040
1041
1042 0.8.2 (2018-10-15)
1043 ------------------
1044
1045 **Added**
1046
1047 - Round trip conversion testing with `jupytext --test` was improved ([#99](https://github.com/mwouts/jupytext/issues/99))
1048 - Round trip conversion tested on Jake Vanderplas' Python for Data Science Handbook.
1049
1050 **Fixed**
1051
1052 - Nested lists and dictionaries are now supported in notebook metadata
1053 - Final empty code cell supported in Sphinx representation
1054
1055 0.8.1 (2018-10-11)
1056 ------------------
1057
1058 **Fixed**
1059
1060 - Sphinx format tested on `World population` notebook ([#97](https://github.com/mwouts/jupytext/issues/97))
1061 - Mirror test made stronger on this occasion!
1062 - Markdown representation recognize Julia, Scheme and C++ code cells as such
1063 - Light representation of Scheme and C++ notebooks fixed ([#61](https://github.com/mwouts/jupytext/issues/61))
1064
1065 0.8.0 (2018-10-10)
1066 ------------------
1067
1068 **Added**
1069
1070 - All `jupytext` related metadata goes to a `jupytext` section ([#91](https://github.com/mwouts/jupytext/issues/91)). Please make sure your collaborators use the same version of Jupytext, as the new version can read previous metadata, but not the opposite.
1071 - Notebooks extensions can be prefixed with any prefix of at most three chars ([#87](https://github.com/mwouts/jupytext/issues/87)).
1072 - Export of the same notebook to multiple formats is now supported. To export to all python formats, plus `.ipynb` and `.md`, use `"jupytext": {"formats": "ipynb,pct.py:percent,lgt.py:light,spx.py:sphinx,md"},`.
1073 - README includes a short section on how to extend `light` and `percent` formats to more languages ([#61](https://github.com/mwouts/jupytext/issues/61)).
1074 - Jupytext's contents manager accepts the `auto` extension in `default_jupytext_formats` ([#93](https://github.com/mwouts/jupytext/issues/93)).
1075 - All Jupyter magics are escaped in `light` scripts and R markdown documents. Escape magics in other formats with a `comment_magics` metadata (true or false), or with the contents manager `comment_magics` global flag ([#94](https://github.com/mwouts/jupytext/issues/94)).
1076
1077 **Fixed**
1078
1079 - Trusting notebooks made functional again.
1080 - Command line `jupytext` returns a meaningful error when no argument is given.
1081 - Fixed global pairing configuration ([#95](https://github.com/mwouts/jupytext/issues/95)).
1082
1083 0.7.2 (2018-10-01)
1084 ------------------
1085
1086 **Added**
1087
1088 - `light` and `percent` formats made available for scheme and cpp notebooks. Adding more formats is straightforward - just add a new entry to _SCRIPT_EXTENSIONS in languages.py, a sample notebook and a mirror test ([#61](https://github.com/mwouts/jupytext/issues/61))
1089 - Format name is automatically appended to extension in `jupytext_formats` when notebook is loaded/saved.
1090
1091 **Fixed**
1092
1093 - Notebooks extensions can only be prefixed with `.nb` ([#87](https://github.com/mwouts/jupytext/issues/87))
1094
1095
1096 0.7.1 (2018-09-24)
1097 ------------------
1098
1099 **Fixed**
1100
1101 - Markdown cells header in sphinx gallery format may have a space between first # and following.
1102
1103 0.7.0 (2018-09-23)
1104 ------------------
1105
1106 **Added**
1107
1108 - Header for cells in `percent` format is more robust: use `[markdown]` and `[raw]` to identify cell types. Cell type comes after the cell title. ([#59](https://github.com/mwouts/jupytext/issues/59))
1109 - Jupytext can read and write notebooks as Hydrogen/VScode/Spyder/PyCharm compatible scripts (cells starting with `# %%`) ([#59](https://github.com/mwouts/jupytext/issues/59))
1110 - Jupytext can read and write notebooks as Sphinx-gallery compatible scripts ([#80](https://github.com/mwouts/jupytext/issues/80))
1111 - Metadata are supported for all cell types in light python and percent formats ([#66](https://github.com/mwouts/jupytext/issues/66)). Due to this, light python format version is now 1.3. Light python notebooks in versions 1.1 and 1.2 are still readable.
1112 - Command line `jupytext` has a `from` argument, and now accepts notebook from the standard input.
1113
1114 **Fixed**
1115
1116 - Fix merging of input and output notebooks ([#83](https://github.com/mwouts/jupytext/issues/83))
1117 - Removed extra new line on stdout in command line `jupytext` ([#84](https://github.com/mwouts/jupytext/issues/84))
1118
1119 0.6.5 (2018-09-13)
1120 ------------------
1121
1122 **Added**
1123
1124 - Code lines that start with a quotation mark in Jupyter are commented in the corresponding Python and Julia scripts ([#73](https://github.com/mwouts/jupytext/issues/73))
1125 - Update pypy, add flake8 tests on Travis CI ([#74](https://github.com/mwouts/jupytext/issues/74))
1126
1127 **Fixed**
1128
1129 - Import notebook.transutils before notebook.services.contents.filemanager ([#75](https://github.com/mwouts/jupytext/issues/75))
1130
1131 0.6.4 (2018-09-12)
1132 ------------------
1133
1134 **Added**
1135
1136 - Jupytext will not load paired notebook when text representation is out of date ([#63](https://github.com/mwouts/jupytext/issues/63))
1137 - Package tested against Python 3.7 ([#68](https://github.com/mwouts/jupytext/issues/68))
1138
1139 **Fixed**
1140
1141 - Allow unicode characters in notebook path ([#70](https://github.com/mwouts/jupytext/issues/70))
1142 - Read README.md as unicode in `setup.py` ([#71](https://github.com/mwouts/jupytext/issues/71))
1143
1144 0.6.3 (2018-09-07)
1145 ------------------
1146
1147 **Added**
1148
1149 - Lighter cell markers for Python and Julia scripts ([#57](https://github.com/mwouts/jupytext/issues/57)). Corresponding file format version at 1.2. Scripts in previous version 1.1 can still be opened.
1150 - New screenshots for the README.
1151
1152 **Fixed**
1153
1154 - Command line conversion tool `jupytext` fixed on Python 2.7 ([#46](https://github.com/mwouts/jupytext/issues/46))
1155
1156 0.6.2 (2018-09-05)
1157 ------------------
1158
1159 **Added**
1160
1161 - Initial support for Jupyter notebooks as Julia scripts ([#56](https://github.com/mwouts/jupytext/issues/56))
1162 - Command line conversion tool `jupytext` has explicit `to` and `output` options ([#46](https://github.com/mwouts/jupytext/issues/46))
1163 - Round trip test with `jupytext --test` improved ([#54](https://github.com/mwouts/jupytext/issues/54))
1164 - Improved README ([#51](https://github.com/mwouts/jupytext/issues/51))
1165
1166
1167 **Fixed**
1168
1169 - testfixtures now in requirements ([#55](https://github.com/mwouts/jupytext/issues/55))
1170 - Empty code cells are now preserved ([#53](https://github.com/mwouts/jupytext/issues/53))
1171
1172 0.6.1 (2018-08-31)
1173 ------------------
1174
1175 **Added**
1176
1177 - Package and conversion script renamed from `nbrmd` to `jupytext`.
1178
1179 0.6.0 (2018-08-31)
1180 ------------------
1181
1182 **Added**
1183
1184 - Cell parsing and exporting done in two specialized classes. This is way easier to read. Pylint score at 9.9 !
1185 - Python file format updated to 1.1: default end of cell for python scripts is one blank space. Two blank spaces are allowed as well. Now you can reformat code in Python IDE without breaking notebook cells ([#38](https://github.com/mwouts/jupytext/issues/38)).
1186 - Added support for plain markdown files ([#40](https://github.com/mwouts/jupytext/issues/40), [#44](https://github.com/mwouts/jupytext/issues/44)).
1187 - Demonstration notebooks more user friendly ([#45](https://github.com/mwouts/jupytext/issues/45)).
1188 - Command line tool simpler to use ([#46](https://github.com/mwouts/jupytext/issues/46)).
1189 - Start code patterns present in Jupyter cells are escaped.
1190 - Default `nbrmd_format` is empty (mwouts/nbsrc/[#5](https://github.com/mwouts/jupytext/issues/5)): no Jupyter notebook is created on disk when the user opens a Python or R file and saves it from Jupyter, unless the users asks for it by setting `nbrmd_format`.
1191
1192 **Fixed**
1193
1194 - Fixed message in the `nbsrc` script ([#43](https://github.com/mwouts/jupytext/issues/43))
1195 - Technical metadata don't appear any more in scripts unless required ([#42](https://github.com/mwouts/jupytext/issues/42))
1196 - Code cells that are fully commented remain code cells after round trip ([#41](https://github.com/mwouts/jupytext/issues/41))
1197
1198 0.5.4 (2018-08-24)
1199 ------------------
1200
1201 **Added**
1202
1203 - R to Rmd conversion compares well to knitr::spin ([#26](https://github.com/mwouts/jupytext/issues/26))
1204 - Increased coverage to 98%
1205
1206
1207 0.5.3 (2018-08-22)
1208 ------------------
1209
1210 **Fixed**
1211
1212 - Read and write version to the same metadata ([#36](https://github.com/mwouts/jupytext/issues/36))
1213
1214
1215 0.5.2 (2018-08-22)
1216 ------------------
1217
1218 **Added**
1219
1220 - Classical jupyter extensions (autoreload, rmagics) are also escaped ([#35](https://github.com/mwouts/jupytext/issues/35))
1221 - Explicit file format version, set at 1.0, to avoid overriding ipynb files by accident ([#36](https://github.com/mwouts/jupytext/issues/36))
1222
1223
1224 0.5.1 (2018-08-21)
1225 ------------------
1226
1227 **Fixed**
1228
1229 - Source only notebooks can be trusted.
1230
1231 0.5.0 (2018-08-21)
1232 ------------------
1233
1234 **Added**
1235
1236 - Jupyter magic commands escaped when exported ([#29](https://github.com/mwouts/jupytext/issues/29))
1237 - 'endofcell' option for explicit (optional) end-of-cell marker ([#31](https://github.com/mwouts/jupytext/issues/31))
1238 - 'active' cell option now supported for .py and .R export ([#30](https://github.com/mwouts/jupytext/issues/30))
1239 - Raw cells now preserved when exported to .py or .R ([#32](https://github.com/mwouts/jupytext/issues/32))
1240 - Extensions can be prefixed, like `.nb.py`, (mwouts/nbsrc[#5](https://github.com/mwouts/jupytext/issues/5))
1241 - When a file with an extension not associated to 'ipynb' is opened and saved, no 'ipynb' file is created (mwouts/nbsrc[#5](https://github.com/mwouts/jupytext/issues/5))
1242 - Extensions can now be a sequence of groups. For instance, `nbrmd_formats="ipynb,nb.py;script.ipynb,py"` will create an `ipynb` file when a `nb.py` is opened (and conversely), and a `script.ipynb` file when a `py` file is opened (mwouts/nbsrc[#5](https://github.com/mwouts/jupytext/issues/5))
1243 - `nbsrc` script was moved to the `nbrmd` package. The `nbsrc` package now only contains the documentation (mwouts/nbsrc[#3](https://github.com/mwouts/jupytext/issues/3))
1244
1245
1246 0.4.6 (2018-07-26)
1247 ------------------
1248
1249 - Ping pypi - previous version still not available
1250
1251
1252 0.4.5 (2018-07-26)
1253 ------------------
1254
1255 **Fixed**
1256
1257 - Removed dependency of `setup.py` on `yaml`
1258
1259 0.4.4 (2018-07-26)
1260 -------------------
1261
1262 **Fixed**
1263
1264 - Package republished with `python setup.py sdist bdist_wheel` to fix missing dependencies
1265
1266 0.4.3 (2018-07-26)
1267 ------------------
1268
1269 **Added**
1270
1271 - Multiline comments now supported [#25](https://github.com/mwouts/jupytext/issues/25)
1272 - Readme refactored, notebook demos available on binder [#23](https://github.com/mwouts/jupytext/issues/23)
1273
1274 **Fixed**
1275
1276 - ContentsManager can be imported even if `notebook.transutils` is not available, for compatibility with older python distributions.
1277 - Fixed missing cell metadata [#27](https://github.com/mwouts/jupytext/issues/27)
1278 - Documentation tells how to avoid creating `.ipynb` files [#16](https://github.com/mwouts/jupytext/issues/16)
1279
1280 0.4.2 (2018-07-23)
1281 ------------------
1282
1283 **Added**
1284
1285 - Added test for R notebooks
1286 - Added pylint badge, imports now in correct order
1287 - New `active` cell metadata that allows cell activation only for desired extensions (currently available for Rmd and ipynb extensions only)
1288
1289 0.4.1 (2018-07-20)
1290 ------------------
1291
1292 **Fixed**
1293
1294 - Indented python code will not start a new cell [#20](https://github.com/mwouts/jupytext/issues/20)
1295 - Fixed parsing of Rmd cell metadata [#21](https://github.com/mwouts/jupytext/issues/21)
1296
1297 0.4.0 (2018-07-18)
1298 ------------------
1299
1300 **Added**
1301
1302 - `.py` format for notebooks is lighter and pep8 compliant
1303
1304 **Fixed**
1305
1306 - Default nbrmd config not added to notebooks ([#17](https://github.com/mwouts/jupytext/issues/17))
1307 - `nbrmd_formats` becomes a configurable traits ([#16](https://github.com/mwouts/jupytext/issues/16))
1308 - Removed `nbrmd_sourceonly_format` metadata. Source notebook is current notebook when not `.ipynb`, otherwise the first notebook format in `nbrmd_formats` (not `.ipynb`) that is found on disk
1309
1310 0.3.0 (2018-07-17)
1311 ------------------
1312
1313 **Added**
1314
1315 - Introducing support for notebooks as python `.py` or R scripts `.R`
1316
1317 0.2.6 (2018-07-13)
1318 ------------------
1319
1320 **Added**
1321
1322 - Introduced `nbrmd_sourceonly_format` metadata
1323 - Inputs are loaded from `.Rmd` file when a matching `.ipynb` file is opened.
1324
1325 **Fixed**
1326
1327 - Trusted notebooks remain trusted ([#12](https://github.com/mwouts/jupytext/issues/12))
1328
1329 0.2.5 (2018-07-11)
1330 ------------------
1331
1332 **Added**
1333
1334 - Outputs of existing `.ipynb` versions are combined with matching inputs of R markdown version, as suggested by @grst ([#12](https://github.com/mwouts/jupytext/issues/12))
1335
1336 **Fixed**
1337
1338 - Support for unicode text in python 2.7 ([#11](https://github.com/mwouts/jupytext/issues/11))
1339
1340
1341 0.2.4 (2018-07-05)
1342 ------------------
1343
1344 **Added**
1345
1346 - nbrmd will always open notebooks, even if header of code cells are not terminated. Merge conflicts can thus be solved in Jupyter directly.
1347 - New metadata 'main language' that preserves the notebook language.
1348
1349 **Fixed**
1350
1351 - dependencies included in `setup.py`
1352 - pre_save_hook work with non-empty `notebook_dir` ([#9](https://github.com/mwouts/jupytext/issues/9))
1353
1354 0.2.3 (2018-06-28)
1355 ------------------
1356
1357 **Added**
1358
1359 - Screenshots in README
1360
1361 **Fixed**
1362
1363 - RMarkdown exporter for nbconvert fixed on non-recent python
1364 - Tests compatible with other revisions of nbformat >= 4.0
1365 - Tests compatible with older pytest versions
1366
1367
1368 0.2.2 (2018-06-28)
1369 -------------------
1370
1371 **Added**
1372
1373 - RMarkdown exporter for nbconvert
1374 - Parsing of R options robust to parenthesis
1375 - Jupyter cell tags are preserved
1376
1377 **Fixed**
1378
1379 - requirements.txt now included in pypi packages
1380
1381 0.2.1 (2018-06-24)
1382 ------------------
1383
1384 **Added**
1385
1386 - Support for editing markdown files in Jupyter
1387 - New pre-save hook `update_selected_formats` that saves to formats in metadata 'nbrmd_formats'
1388 - Rmd cell options directly mapped to cell metadata
1389
1390 **Fixed**
1391
1392 - ContentManager compatible with Python 2.7
1393
1394 0.2.0 (2018-06-21)
1395 ------------------
1396
1397 **Added**
1398
1399 - The package provides a `RmdFileContentsManager` for direct edit of R markdown files in Jupyter
1400 - Notebook metadata and cell options are preserved
1401
1402
1403 0.1.1 (2018-06-19)
1404 ------------------
1405
1406 **Added**
1407
1408 - `nbrmd` prints the result of conversion to stdout, unless flag `-i` is provided
1409 - Notebooks with R code chunks are supported
1410
1411 0.1 (2018-06-18)
1412 ----------------
1413
1414 - Initial version with the `nbrmd` converter and Jupyter `pre_save_hook`