changelog.rst 79 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120
  1. .. _changelog:
  2. JupyterLab Changelog
  3. ====================
  4. v1.0.0
  5. ------
  6. See the `JupyterLab
  7. 1.0.0 <https://github.com/jupyterlab/jupyterlab/milestone/2?closed=1>`__
  8. milestone on GitHub for the full list of pull requests and issues closed.
  9. Find and Replace
  10. ^^^^^^^^^^^^^^^^
  11. .. image:: find.png
  12. :align: center
  13. :class: jp-screenshot
  14. We have added first class support for find and replace across JupyterLab. It is currently supported in notebooks and text files and is extensible for other widgets who wish to support it. (`#6350 <https://github.com/jupyterlab/jupyterlab/pull/6350>`__, `#6322 <https://github.com/jupyterlab/jupyterlab/issues/6322>`__, `#6301 <https://github.com/jupyterlab/jupyterlab/pull/6301>`__, `#6282 <https://github.com/jupyterlab/jupyterlab/pull/6282>`__, `#6256 <https://github.com/jupyterlab/jupyterlab/pull/6256>`__, `#6241 <https://github.com/jupyterlab/jupyterlab/pull/6241>`__, `#6237 <https://github.com/jupyterlab/jupyterlab/pull/6237>`__, `#6159 <https://github.com/jupyterlab/jupyterlab/pull/6159>`__, `#6081 <https://github.com/jupyterlab/jupyterlab/issues/6081>`__, `#6155 <https://github.com/jupyterlab/jupyterlab/pull/6155>`__, `#6094 <https://github.com/jupyterlab/jupyterlab/pull/6094>`__, `#6024 <https://github.com/jupyterlab/jupyterlab/pull/6024>`__, `#5937 <https://github.com/jupyterlab/jupyterlab/pull/5937>`__, `#5795 <https://github.com/jupyterlab/jupyterlab/pull/5795>`__, `#1074 <https://github.com/jupyterlab/jupyterlab/issues/1074>`__)
  15. Status Bar
  16. ^^^^^^^^^^
  17. .. image:: statusbar.png
  18. :align: center
  19. :class: jp-screenshot
  20. We have integrated the `JupyterLab Status Bar package <https://github.com/jupyterlab/jupyterlab-statusbar>`__ package into the core distribution. Extensions can add their own status to it as well (`#5577 <https://github.com/jupyterlab/jupyterlab/pull/5577>`__, `#5525 <https://github.com/jupyterlab/jupyterlab/pull/5525>`__ `#5990 <https://github.com/jupyterlab/jupyterlab/pull/5990>`__, `#5982 <https://github.com/jupyterlab/jupyterlab/issues/5982>`__, `#5514 <https://github.com/jupyterlab/jupyterlab/pull/5514>`__, `#5508 <https://github.com/jupyterlab/jupyterlab/pull/5508>`__, `#5352 <https://github.com/jupyterlab/jupyterlab/issues/5352>`__).
  21. JupyterHub Integration
  22. ^^^^^^^^^^^^^^^^^^^^^^
  23. * We now include the JupyterHub extension in core JupyterLab, so you no longer need to install ``@jupyterlab/hub-extension``. (`#6451 <https://github.com/jupyterlab/jupyterlab/pull/6451>`__, `#6428 <https://github.com/jupyterlab/jupyterlab/issues/6428>`__)
  24. * JupyterLab now has a File > Logout menu entry when running with JupyterHub (`#6087 <https://github.com/jupyterlab/jupyterlab/pull/6087>`__, `#5966 <https://github.com/jupyterlab/jupyterlab/issues/5966>`__)
  25. Printing
  26. ^^^^^^^^
  27. We now have a printing system that allows extensions to customize how documents and activities are printed. (`#5850 <https://github.com/jupyterlab/jupyterlab/pull/5850>`__, `#1314 <https://github.com/jupyterlab/jupyterlab/issues/1314>`__)
  28. Other User Facing Changes
  29. ^^^^^^^^^^^^^^^^^^^^^^^^^
  30. * The launcher displays longer kernel names and supports keyboard navigation (`#6587 <https://github.com/jupyterlab/jupyterlab/pull/6587>`__)
  31. * Notebook outputs without any valid MimeType renderers will not be displayed, instead of displaying an error (`#6559 <https://github.com/jupyterlab/jupyterlab/pull/6559>`__, `#6216 <https://github.com/jupyterlab/jupyterlab/issues/6216>`__)
  32. * Add tooltip to file browser root breadcrumb icon showing the server root, if it is available (`#6552 <https://github.com/jupyterlab/jupyterlab/pull/6552>`__)
  33. * Downloading a file will no longer open a new browser window (`#6546 <https://github.com/jupyterlab/jupyterlab/pull/6546>`__)
  34. * Rename the help "Inspector" to "Contextual Help" and move it to the "Help" menu (`#6493 <https://github.com/jupyterlab/jupyterlab/pull/6493>`__, `#6488 <https://github.com/jupyterlab/jupyterlab/issues/6488>`__, `#6678 <https://github.com/jupyterlab/jupyterlab/pull/6678>`__, `#6671 <https://github.com/jupyterlab/jupyterlab/pull/6671>`__)
  35. * Update many of the icons to make them more consistent (`#6672 <https://github.com/jupyterlab/jupyterlab/pull/6672>`__, `#6618 <https://github.com/jupyterlab/jupyterlab/issues/6618>`__, `#6664 <https://github.com/jupyterlab/jupyterlab/pull/6664>`__, `#6621 <https://github.com/jupyterlab/jupyterlab/issues/6621>`__)
  36. * Update the settings UI to remove the table view (`#6654 <https://github.com/jupyterlab/jupyterlab/pull/6654>`__, `#6622 <https://github.com/jupyterlab/jupyterlab/issues/6622>`__, `#6653 <https://github.com/jupyterlab/jupyterlab/pull/6653>`__, `#6623 <https://github.com/jupyterlab/jupyterlab/issues/6623>`__, `#6646 <https://github.com/jupyterlab/jupyterlab/pull/6646>`__, `#6642 <https://github.com/jupyterlab/jupyterlab/issues/6642>`__)
  37. * Replace FAQ Extension with link to JupyterLab documentation (`#6628 <https://github.com/jupyterlab/jupyterlab/pull/6628>`__, `#6608 <https://github.com/jupyterlab/jupyterlab/issues/6608>`__, `#6625 <https://github.com/jupyterlab/jupyterlab/pull/6625>`__, `#6610 <https://github.com/jupyterlab/jupyterlab/issues/6610>`__)
  38. * Change the default keyboard shortcut for closing a tab to be ``Alt+w`` instead of ``Cmd/Ctrl+w`` to avoid conflicts with operating systems. (`#6486 <https://github.com/jupyterlab/jupyterlab/pull/6486>`__, `#6357 <https://github.com/jupyterlab/jupyterlab/issues/6357>`__)
  39. * Show help text in Inspector window to describe you should select a function (`#6476 <https://github.com/jupyterlab/jupyterlab/pull/6476>`__)
  40. * Fixes SVG rendering (`#6469 <https://github.com/jupyterlab/jupyterlab/pull/6469>`__, `#6295 <https://github.com/jupyterlab/jupyterlab/issues/6295>`__)
  41. * Add support for dropping a tab in the tab bar area. (`#6454 <https://github.com/jupyterlab/jupyterlab/pull/6454>`__, `#5406 <https://github.com/jupyterlab/jupyterlab/issues/5406>`__)
  42. * Switch some default shortcuts to use ``Accel`` instead of ``Ctrl`` so they are more natural for Mac users (`#6447 <https://github.com/jupyterlab/jupyterlab/pull/6447>`__, `#5023 <https://github.com/jupyterlab/jupyterlab/issues/5023>`__)
  43. * Add ability to tell between hover and selected command palette items (`#6407 <https://github.com/jupyterlab/jupyterlab/pull/6407>`__, `#279 <https://github.com/jupyterlab/jupyterlab/issues/279>`__)
  44. * Hide the "Last Modified" column when the file browser is narrow (`#6406 <https://github.com/jupyterlab/jupyterlab/pull/6406>`__, `#6093 <https://github.com/jupyterlab/jupyterlab/issues/6093>`__)
  45. * Support copy/paste in terminal and Mac OS using ``Ctrl+C`` and ``Ctrl+V`` (`#6391 <https://github.com/jupyterlab/jupyterlab/pull/6391>`__, `#6385 <https://github.com/jupyterlab/jupyterlab/issues/6385>`__, `#1146 <https://github.com/jupyterlab/jupyterlab/issues/1146>`__)
  46. * Support scrolling in running kernels panel (`#6383 <https://github.com/jupyterlab/jupyterlab/pull/6383>`__, `#6371 <https://github.com/jupyterlab/jupyterlab/issues/6371>`__)
  47. * Adds ability to "Merge Selected Cells" in the context menu in the notebook (`#6375 <https://github.com/jupyterlab/jupyterlab/pull/6375>`__, `#6318 <https://github.com/jupyterlab/jupyterlab/issues/6318>`__)
  48. * Turn On Accessibility In Xterm.js to make it more compatible for screen readers (`#6359 <https://github.com/jupyterlab/jupyterlab/pull/6359>`__)
  49. * When selecting cells using the keyboard shortcuts, we now skip collapsed cells (`#6356 <https://github.com/jupyterlab/jupyterlab/pull/6356>`__, `#3233 <https://github.com/jupyterlab/jupyterlab/issues/3233>`__)
  50. * Supporting opening ``.geojson`` files in JSON viewer (`#6349 <https://github.com/jupyterlab/jupyterlab/pull/6349>`__)
  51. * Performance fixes for text-based progress bars (`#6304 <https://github.com/jupyterlab/jupyterlab/pull/6304>`__, `#4202 <https://github.com/jupyterlab/jupyterlab/issues/4202>`__)
  52. * Add support for rendering Vega 5 and Vega Lite 3 while keeping the existing Vega 4 and Vega Lite 2 renderers (`#6294 <https://github.com/jupyterlab/jupyterlab/pull/6294>`__, `#6133 <https://github.com/jupyterlab/jupyterlab/pull/6133>`__, `#6128 <https://github.com/jupyterlab/jupyterlab/issues/6128>`__, `#6689 <https://github.com/jupyterlab/jupyterlab/pull/6689>`__, `#6685 <https://github.com/jupyterlab/jupyterlab/pull/6685>`__, `#6684 <https://github.com/jupyterlab/jupyterlab/issues/6684>`__, `#6675 <https://github.com/jupyterlab/jupyterlab/issues/6675>`__, `#6591 <https://github.com/jupyterlab/jupyterlab/pull/6591>`__, `#6572 <https://github.com/jupyterlab/jupyterlab/issues/6572>`__)
  53. * Drag and drop console cells into a notebook or text editor (`#5585 <https://github.com/jupyterlab/jupyterlab/pull/5585>`__, `#4847 <https://github.com/jupyterlab/jupyterlab/issues/4847>`__)
  54. * Drag and drop notebook cells into a console or text editor (`#5571 <https://github.com/jupyterlab/jupyterlab/pull/5571>`__, `#3732 <https://github.com/jupyterlab/jupyterlab/issues/3732>`__)
  55. * The extension manager search now sorts extensions by the score assigned to them by NPM instead of alphabetically (`#5649 <https://github.com/jupyterlab/jupyterlab/pull/5649>`__)
  56. * Notify the user when a kernel is automatically restarted, for example, if crashes from an out of memory error (`#6246 <https://github.com/jupyterlab/jupyterlab/pull/6246>`__, `#4273 <https://github.com/jupyterlab/jupyterlab/issues/4273>`__)
  57. * Expose the extension manager in a command and menu item (`#6200 <https://github.com/jupyterlab/jupyterlab/pull/6200>`__)
  58. * Add command to render all Markdown cells (`#6029 <https://github.com/jupyterlab/jupyterlab/pull/6029>`__, `#6017 <https://github.com/jupyterlab/jupyterlab/issues/6017>`__)
  59. * Supports using shift to select text in output area (`#6015 <https://github.com/jupyterlab/jupyterlab/pull/6015>`__, `#4800 <https://github.com/jupyterlab/jupyterlab/issues/4800>`__)
  60. * Output areas that opened in new views are restored properly now on reload (`#5981 <https://github.com/jupyterlab/jupyterlab/pull/5981>`__, `#5976 <https://github.com/jupyterlab/jupyterlab/issues/5976>`__)
  61. * Add support for managing notebook metadata under a new "Advanced Tools" section in the cell tools area. The cell and notebook metadata now always reflect the current state of the notebook (`#5968 <https://github.com/jupyterlab/jupyterlab/pull/5968>`__, `#5200 <https://github.com/jupyterlab/jupyterlab/issues/5200>`__)
  62. * Inherit terminal theme from core theme (`#5964 <https://github.com/jupyterlab/jupyterlab/pull/5964>`__)
  63. * Adds a built-in HTML viewer so that you can view HTML files (`#5962 <https://github.com/jupyterlab/jupyterlab/pull/5962>`__, `#5855 <https://github.com/jupyterlab/jupyterlab/pull/5855>`__, `#2369 <https://github.com/jupyterlab/jupyterlab/issues/2369>`__)
  64. * New workspaces are now automatically generated when you create a new window with the same workspace name. (`#5950 <https://github.com/jupyterlab/jupyterlab/pull/5950>`__, `#5854 <https://github.com/jupyterlab/jupyterlab/issues/5854>`__, `#5830 <https://github.com/jupyterlab/jupyterlab/pull/5830>`__, `#5214 <https://github.com/jupyterlab/jupyterlab/issues/5214>`__)
  65. * We now add a hint to the context menu to describe how you can access the native browser menu (`#5940 <https://github.com/jupyterlab/jupyterlab/pull/5940>`__, `#4023 <https://github.com/jupyterlab/jupyterlab/issues/4023>`__)
  66. * The tabs on the left panel have changed to make them more understandable (`#5920 <https://github.com/jupyterlab/jupyterlab/pull/5920>`__, `#5269 <https://github.com/jupyterlab/jupyterlab/issues/5269>`__)
  67. * Start a new terminal when the page is refreshed and the old terminal has died (`#5917 <https://github.com/jupyterlab/jupyterlab/pull/5917>`__)
  68. * Add a command to open the main menus, which can be assigned to a keyboard shortcut to open and navigate menus without a mouse (`#5910 <https://github.com/jupyterlab/jupyterlab/pull/5910>`__, `#3074 <https://github.com/jupyterlab/jupyterlab/issues/3074>`__)
  69. * The contextual help now updates based on changes in the cursor from the mouse instead of just from the keyboard (`#5906 <https://github.com/jupyterlab/jupyterlab/pull/5906>`__, `#5899 <https://github.com/jupyterlab/jupyterlab/issues/5899>`__)
  70. * The launcher now updates when the kernels change on the server (`#5904 <https://github.com/jupyterlab/jupyterlab/pull/5904>`__, `#5676 <https://github.com/jupyterlab/jupyterlab/issues/5676>`__)
  71. * Retain cell auto scroll behavior even when a cell output is cleared (`#5817 <https://github.com/jupyterlab/jupyterlab/pull/5817>`__, `#4028 <https://github.com/jupyterlab/jupyterlab/issues/4028>`__)
  72. * If you link to a relative path that is not a file in a markdown cell, this will now be preserved instead of changing it to a file URL (`#5814 <https://github.com/jupyterlab/jupyterlab/pull/5814>`__)
  73. * Adds the ability to link to a certain row in a CSV file and have the viewer open to that row (`#5727 <https://github.com/jupyterlab/jupyterlab/pull/5727>`__, `#5720 <https://github.com/jupyterlab/jupyterlab/issues/5720>`__)
  74. * We have improved the performance of switching to a large notebook (`#5700 <https://github.com/jupyterlab/jupyterlab/pull/5700>`__, `#4292 <https://github.com/jupyterlab/jupyterlab/issues/4292>`__, `#2639 <https://github.com/jupyterlab/jupyterlab/issues/2639>`__)
  75. * The vdom extension now supports event handling, so that you can have kernel code run in response to user interaction with the UI (`#5670 <https://github.com/jupyterlab/jupyterlab/pull/5670>`__)
  76. * Adds the ability to run "Run All Code" and "Restart Kernel and Run All Code" in code and markdown files (`#5641 <https://github.com/jupyterlab/jupyterlab/pull/5641>`__, `#5579 <https://github.com/jupyterlab/jupyterlab/issues/5579>`__)
  77. * We now remember what line ending a text file has when loading it, so that files with ``CRLF`` line endings will properly be saved with the same endings (`#5622 <https://github.com/jupyterlab/jupyterlab/pull/5622>`__, `#4464 <https://github.com/jupyterlab/jupyterlab/issues/4464>`__, `#3901 <https://github.com/jupyterlab/jupyterlab/issues/3901>`__, `#3706 <https://github.com/jupyterlab/jupyterlab/issues/3706>`__)
  78. * Fixes rendering of SVG elements in HTML MimeType output (`#5610 <https://github.com/jupyterlab/jupyterlab/pull/5610>`__, `#5610 <https://github.com/jupyterlab/jupyterlab/issues/5610>`__, `#5589 <https://github.com/jupyterlab/jupyterlab/issues/5589>`__)
  79. * Allow copying files by holding down ``Ctrl`` when dragging them in the file browser (`#5584 <https://github.com/jupyterlab/jupyterlab/pull/5584>`__, `#3235 <https://github.com/jupyterlab/jupyterlab/issues/3235>`__)
  80. * Switch the hover modified time in the file browser to use the local format (`#5567 <https://github.com/jupyterlab/jupyterlab/pull/5567>`__)
  81. * We have added a default keyboard shortcut of ``Ctrl Shift Q`` for closing and cleaning up a file (`#5534 <https://github.com/jupyterlab/jupyterlab/pull/5534>`__, `#4390 <https://github.com/jupyterlab/jupyterlab/issues/4390>`__)
  82. * Adds the ability to find and go to a certain line in the CSV viewer (`#5523 <https://github.com/jupyterlab/jupyterlab/pull/5523>`__)
  83. * Add the ability to create new text and markdown files from the launcher and command palette (`#5512 <https://github.com/jupyterlab/jupyterlab/pull/5512>`__, `#5511 <https://github.com/jupyterlab/jupyterlab/pull/5511>`__)
  84. * A "New Folder" option has been added to the file browser context menu (`#5447 <https://github.com/jupyterlab/jupyterlab/pull/5447>`__)
  85. * The ANSI colors are now the same as those in the classic notebook (`#5336 <https://github.com/jupyterlab/jupyterlab/pull/5336>`__, `#3773 <https://github.com/jupyterlab/jupyterlab/issues/3773>`__)
  86. * Send complete statements instead of current lines when stepping through code in a cell (`#6515 <https://github.com/jupyterlab/jupyterlab/pull/6515>`__, `#6063 <https://github.com/jupyterlab/jupyterlab/pull/6063>`__)
  87. * Description list styles (``dl``, ``dt``, ``dd``) are improved to be consistent with the nteract project (`#5682 <https://github.com/jupyterlab/jupyterlab/pull/5682>`__, `#2399 <https://github.com/jupyterlab/jupyterlab/issues/2399>`__)
  88. Settings
  89. ^^^^^^^^
  90. * The settings system has been rewritten (`#5470 <https://github.com/jupyterlab/jupyterlab/pull/5470>`__, `#5298 <https://github.com/jupyterlab/jupyterlab/issues/5298>`__) and now uses json5 as the syntax, which supports comments and other features for better human readability (`#6343 <https://github.com/jupyterlab/jupyterlab/pull/6343>`__, `#6199 <https://github.com/jupyterlab/jupyterlab/issues/6199>`__).
  91. * The keyboard shortcut system has been rewritten and now displays a list of system commands in the settings comments (`#5812 <https://github.com/jupyterlab/jupyterlab/pull/5812>`__, `#5562 <https://github.com/jupyterlab/jupyterlab/issues/5562>`__).
  92. There are new settings for many following items, including:
  93. * Adds an option to shut down terminals and notebook kernels when they are closed (`#6285 <https://github.com/jupyterlab/jupyterlab/pull/6285>`__, `#6275 <https://github.com/jupyterlab/jupyterlab/pull/6275>`__)
  94. * Scrolling past the end of a notebooks and text editor document (`#5542 <https://github.com/jupyterlab/jupyterlab/pull/5542>`__, `#5271 <https://github.com/jupyterlab/jupyterlab/issues/5271>`__, `#5652 <https://github.com/jupyterlab/jupyterlab/pull/5652>`__, `#4429 <https://github.com/jupyterlab/jupyterlab/issues/4429>`__)
  95. * Text editor code folding, rulers, and active line highlighting (`#5761 <https://github.com/jupyterlab/jupyterlab/pull/5761>`__, `#4083 <https://github.com/jupyterlab/jupyterlab/issues/4083>`__, `#5750 <https://github.com/jupyterlab/jupyterlab/pull/5750>`__, `#4179 <https://github.com/jupyterlab/jupyterlab/issues/4179>`__, `#5529 <https://github.com/jupyterlab/jupyterlab/pull/5529>`__, `#5528 <https://github.com/jupyterlab/jupyterlab/issues/5528>`__)
  96. * Markdown viewer options (`#5901 <https://github.com/jupyterlab/jupyterlab/pull/5901>`__, `#3940 <https://github.com/jupyterlab/jupyterlab/issues/3940>`__)
  97. * Terminal scrollback and other settings (`#5609 <https://github.com/jupyterlab/jupyterlab/pull/5609>`__, `#3985 <https://github.com/jupyterlab/jupyterlab/issues/3985>`__)
  98. * The autosave interval (`#5645 <https://github.com/jupyterlab/jupyterlab/pull/5645>`__, `#5619 <https://github.com/jupyterlab/jupyterlab/issues/5619>`__)
  99. * The file browser showing the current active file (`#5698 <https://github.com/jupyterlab/jupyterlab/pull/5698>`__, `#4258 <https://github.com/jupyterlab/jupyterlab/issues/4258>`__)
  100. * Custom scrollbar styling for dark themes (`#6026 <https://github.com/jupyterlab/jupyterlab/pull/6026>`__, `#4867 <https://github.com/jupyterlab/jupyterlab/issues/4867>`__)
  101. Command Line Changes
  102. ^^^^^^^^^^^^^^^^^^^^
  103. * Installing extensions will be quieter and adds a ``--debug`` to extension installing (`#6567 <https://github.com/jupyterlab/jupyterlab/pull/6567>`__, `#6499 <https://github.com/jupyterlab/jupyterlab/issues/6499>`__, `#5986 <https://github.com/jupyterlab/jupyterlab/issues/5986>`__)
  104. * We now support running JupyterLab when its application directory is a symlink (`#6240 <https://github.com/jupyterlab/jupyterlab/pull/6240>`__, `#6166 <https://github.com/jupyterlab/jupyterlab/issues/6166>`__)
  105. * Add ``--all`` flag to ``labextension uninstall`` to remove all extensions (`#6058 <https://github.com/jupyterlab/jupyterlab/pull/6058>`__, `#6006 <https://github.com/jupyterlab/jupyterlab/issues/6006>`__)
  106. * Adds the ability to override the base URLs from the config (`#5518 <https://github.com/jupyterlab/jupyterlab/pull/5518>`__, `#5503 <https://github.com/jupyterlab/jupyterlab/pull/5503>`__)
  107. * Updates to workspaces CLI command (`#6473 <https://github.com/jupyterlab/jupyterlab/pull/6473>`__, `#5977 <https://github.com/jupyterlab/jupyterlab/issues/5977>`__, `#6276 <https://github.com/jupyterlab/jupyterlab/pull/6276>`__, `#6234 <https://github.com/jupyterlab/jupyterlab/pull/6234>`__, `#6210 <https://github.com/jupyterlab/jupyterlab/issues/6210>`__, `#5975 <https://github.com/jupyterlab/jupyterlab/pull/5975>`__, `#5695 <https://github.com/jupyterlab/jupyterlab/pull/5695>`__, `#5694 <https://github.com/jupyterlab/jupyterlab/issues/5694>`__)
  108. Extension Development Changes
  109. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  110. * We have rewritten how extensions provide keyboard shortcuts and interact with the settings system. If you previously defined keyboard shortcuts or used the settings mechanism, you will need to update your extension (`#5470 <https://github.com/jupyterlab/jupyterlab/pull/5470>`__, `#5298 <https://github.com/jupyterlab/jupyterlab/issues/5298>`__)
  111. * We have renamed the plugin type from ``JupyterLabPlugin`` to ``JupyterFrontEndPlugin``. The application arg is also renamed from ``JupyterLab`` to ``JupyterFrontEnd`` and some its functionality has been moved to a separate ``ILabShell`` plugin (`#5845 <https://github.com/jupyterlab/jupyterlab/pull/5845>`__, `#5919 <https://github.com/jupyterlab/jupyterlab/pull/5919>`__)
  112. * Rename ``pageUrl`` to ``appUrl`` in the server connection (`#6509 <https://github.com/jupyterlab/jupyterlab/pull/6509>`__, `#6508 <https://github.com/jupyterlab/jupyterlab/issues/6508>`__, `#6585 <https://github.com/jupyterlab/jupyterlab/pull/6585>`__, `#6584 <https://github.com/jupyterlab/jupyterlab/issues/6584>`__)
  113. * ``MainAreaWidget`` instances now forward update requests to their ``content`` (`#6586 <https://github.com/jupyterlab/jupyterlab/pull/6586>`__, `#6571 <https://github.com/jupyterlab/jupyterlab/issues/6571>`__)
  114. * The theme data attributes are renamed and moved to the document body element. If you are relying on these attributes in CSS to conditionally style based on the theme, you should update their names. For example ``data-theme-light`` is now ``data-jp-theme-light``. (`#6566 <https://github.com/jupyterlab/jupyterlab/pull/6566>`__, `#6554 <https://github.com/jupyterlab/jupyterlab/issues/6554>`__)
  115. * Extensions which require CSS should no longer import their CSS files into their Javascript files. Instead, they should specify a root CSS file in the ``style`` attribute in their ``package.json``, and JupyterLab will automatically import that CSS file. (`#6533 <https://github.com/jupyterlab/jupyterlab/pull/6533>`__, `#6530 <https://github.com/jupyterlab/jupyterlab/issues/6530>`__, `#6395 <https://github.com/jupyterlab/jupyterlab/pull/6395>`__, `#6390 <https://github.com/jupyterlab/jupyterlab/issues/6390>`__)
  116. * ``Dialog.prompt`` has been replaced by a number of type-specific dialogs such as ``InputDialog.getString``, ``InputDialog.getBoolean``, etc. (`#6522 <https://github.com/jupyterlab/jupyterlab/pull/6522>`__, `#6378 <https://github.com/jupyterlab/jupyterlab/issues/6378>`__, `#6327 <https://github.com/jupyterlab/jupyterlab/pull/6327>`__, `#6326 <https://github.com/jupyterlab/jupyterlab/issues/6326>`__)
  117. * When a ``RenderMime`` widget is re-rendered, the default behavior is to remove any existing content in the DOM. This can be overridden if needed. (`#6513 <https://github.com/jupyterlab/jupyterlab/pull/6513>`__, `#6505 <https://github.com/jupyterlab/jupyterlab/issues/6505>`__, `#6497 <https://github.com/jupyterlab/jupyterlab/issues/6497>`__)
  118. * We have updated our internal TypeScript version to 3.5.1 and our compile target to ``ES2017``. Extensions may need to upgrade their TypeScript version and target as well. (`#6440 <https://github.com/jupyterlab/jupyterlab/pull/6440>`__, `#6224 <https://github.com/jupyterlab/jupyterlab/pull/6224>`__)
  119. * We have updated the typings for some of the Kernel messages so that they better match the spec. (`#6433 <https://github.com/jupyterlab/jupyterlab/pull/6433>`__)
  120. * A ``connectionFailure`` signal has been added to some of the manager classes, which can be used to detect when a connection to the server is lost (`#6399 <https://github.com/jupyterlab/jupyterlab/pull/6399>`__, `#6176 <https://github.com/jupyterlab/jupyterlab/issues/6176>`__, `#3324 <https://github.com/jupyterlab/jupyterlab/issues/3324>`__)
  121. * Add rate limiting and polling utilities to ``coreutils`` to use for throttling and debouncing of API requests (`#6345 <https://github.com/jupyterlab/jupyterlab/pull/6345>`__, `#6346 <https://github.com/jupyterlab/jupyterlab/issues/6346>`__, `#6401 <https://github.com/jupyterlab/jupyterlab/pull/6401>`__, `#6305 <https://github.com/jupyterlab/jupyterlab/pull/6305>`__, `#6157 <https://github.com/jupyterlab/jupyterlab/issues/6157>`__, `#6192 <https://github.com/jupyterlab/jupyterlab/pull/6192>`__, `#6186 <https://github.com/jupyterlab/jupyterlab/pull/6186>`__, `#6141 <https://github.com/jupyterlab/jupyterlab/pull/6141>`__, `#3929 <https://github.com/jupyterlab/jupyterlab/issues/3929>`__, `#6141 <https://github.com/jupyterlab/jupyterlab/pull/6141>`__, `#3929 <https://github.com/jupyterlab/jupyterlab/issues/3929>`__, `#6186 <https://github.com/jupyterlab/jupyterlab/pull/6186>`__, `#6192 <https://github.com/jupyterlab/jupyterlab/pull/6192>`__, `#6401 <https://github.com/jupyterlab/jupyterlab/pull/6401>`__ ,`#6305 <https://github.com/jupyterlab/jupyterlab/pull/6305>`__, `#6157 <https://github.com/jupyterlab/jupyterlab/issues/6157>`__)
  122. * Require session when instantiating terminal widget (`#6339 <https://github.com/jupyterlab/jupyterlab/pull/6339>`__, `#5061 <https://github.com/jupyterlab/jupyterlab/issues/5061>`__)
  123. * Provides a signal to see what items are opened in a directory listing (`#6270 <https://github.com/jupyterlab/jupyterlab/pull/6270>`__, `#6269 <https://github.com/jupyterlab/jupyterlab/issues/6269>`__)
  124. * Ads the ability to add widget above the main work area to a top header area (`#5936 <https://github.com/jupyterlab/jupyterlab/pull/5936>`__)
  125. * Renames ``contextMenuFirst`` to ``contextMenuHitTest`` in the ``JupyterFrontEnd`` (`#5932 <https://github.com/jupyterlab/jupyterlab/pull/5932>`__)
  126. * Removes the ``initialCommand`` arg from the terminal creation command. (`#5916 <https://github.com/jupyterlab/jupyterlab/pull/5916>`__)
  127. * Adds ``--jp-code-cursor-width0``, ``--jp-code-cursor-width1``, and ``--jp-code-cursor-width2`` variables to the themes to support changing the cursor width if you change the font size (`#5898 <https://github.com/jupyterlab/jupyterlab/pull/5898>`__)
  128. * Adds the ability to insert a new item to the toolbar before or after another item (`#5896 <https://github.com/jupyterlab/jupyterlab/pull/5896>`__, `#5894 <https://github.com/jupyterlab/jupyterlab/issues/5894>`__)
  129. * Adds the ability for extensions to register new CodeMirror modes (`#5829 <https://github.com/jupyterlab/jupyterlab/pull/5829>`__)
  130. * We have removed the ``JUPYTERLAB_xxx_LOADER`` Webpack loaders, instead you should use the loader directly in the URL as Webpack supports it (`#5709 <https://github.com/jupyterlab/jupyterlab/pull/5709>`__, `#4406 <https://github.com/jupyterlab/jupyterlab/issues/4406>`__)
  131. * Adds the ability to handle fragments for document widgets (`#5630 <https://github.com/jupyterlab/jupyterlab/pull/5630>`__, `#5599 <https://github.com/jupyterlab/jupyterlab/issues/5599>`__)
  132. * We have added a ``@jupyterlab/ui-components`` package that contains reusable React components to be used internally and in extensions. Feel free to use this to create extension UIs with consistent styles (`#5538 <https://github.com/jupyterlab/jupyterlab/pull/5538>`__)
  133. * The ``showErrorMessage`` function now lets you customize the buttons it uses (`#5513 <https://github.com/jupyterlab/jupyterlab/pull/5513>`__)
  134. * We now provide helpers for using React components within JupyterLab. If you were previously using ``ReactElementWidget`` you should switch to using ``ReactWidget``. (`#5479 <https://github.com/jupyterlab/jupyterlab/pull/5479>`__, `#5766 <https://github.com/jupyterlab/jupyterlab/issues/5766>`__, `#6595 <https://github.com/jupyterlab/jupyterlab/pull/6595>`__, `#6595 <https://github.com/jupyterlab/jupyterlab/pull/6595>`__)
  135. * The share link command has been moved to its own extension so that it can be overridden (`#5460 <https://github.com/jupyterlab/jupyterlab/pull/5460>`__, `#5388 <https://github.com/jupyterlab/jupyterlab/issues/5388>`__)
  136. * Creating a new services session now requires passing a kernel model instead of a kernel instance (`#6503 <https://github.com/jupyterlab/jupyterlab/pull/6503>`__, `#6142 <https://github.com/jupyterlab/jupyterlab/issues/6142>`__)
  137. * We upgraded the Webpack raw file loader. The new version of the raw loader exports ES2015 modules, so this may require changes in extensions that import files using the raw loader. For example, if you did ``require('myfile.md')`` to get the content of `myfile.md` as a string, you now should import it using ES2015 `import` syntax, or use `require('myfile.md').default`.
  138. * Widget factories now can support custom cloning behavior from an optional source widget (`#6060 <https://github.com/jupyterlab/jupyterlab/pull/6060>`__, `#6044 <https://github.com/jupyterlab/jupyterlab/issues/6044>`__)
  139. * We have renamed the type ``InstanceTracker`` to ``WidgetTracker`` (`#6569 <https://github.com/jupyterlab/jupyterlab/commit/da8e7bda5eebd22319f59e5abbaaa9917872a7e8>`__).
  140. * In order to add widgets to the main area (e.g. as in the old XKCD extension tutorial), the correct syntax is now ``app.shell.add(widget)`` or ``app.shell.add(widget, 'main')``, see `here <https://github.com/jupyterlab/jupyterlab/blob/da8e7bda5eebd22319f59e5abbaaa9917872a7e8/packages/application/src/shell.ts#L500>`__.
  141. `v0.35.0 <https://github.com/jupyterlab/jupyterlab/releases/tag/v0.35.0>`__
  142. ---------------------------------------------------------------------------
  143. October 3, 2018
  144. ^^^^^^^^^^^^^^^
  145. See the `JupyterLab
  146. 0.35.0 <https://github.com/jupyterlab/jupyterlab/milestone/18?closed=1>`__
  147. milestone on GitHub for the full list of pull requests and issues closed.
  148. Features
  149. ^^^^^^^^
  150. * A notebook cell can now be readonly, reflecting its ``enabled`` metadata. (`#5401 <https://github.com/jupyterlab/jupyterlab/pull/5401>`__, `#1312 <https://github.com/jupyterlab/jupyterlab/issues/1312>`__)
  151. * Add "Go To Line" in the Edit menu for text editors. (`#5377 <https://github.com/jupyterlab/jupyterlab/pull/5377>`__)
  152. * Sidebar panels can now be switched between left and right sidebars. Right-click on a sidebar tab to move it to the other sidebar. (`#5347 <https://github.com/jupyterlab/jupyterlab/pull/5347>`__, `#5054 <https://github.com/jupyterlab/jupyterlab/issues/5054>`__, `#3707 <https://github.com/jupyterlab/jupyterlab/issues/3707>`__)
  153. * Make the sidebar a bit narrower, and make the minimum width adjustable from a theme. (`#5245 <https://github.com/jupyterlab/jupyterlab/pull/5245>`__)
  154. * Populate the File, Export Notebook As... submenu from the server nbconvert capabilities. (`#5217 <https://github.com/jupyterlab/jupyterlab/pull/5217>`__)
  155. * Server contents managers can now tell JupyterLab to open files as notebooks. For example, several custom contents managers save and open notebooks as Markdown files. (`#5247 <https://github.com/jupyterlab/jupyterlab/pull/5247>`__, `#4924 <https://github.com/jupyterlab/jupyterlab/issues/4924>`__)
  156. * Add a command-line interface for managing workspaces. (`#5166 <https://github.com/jupyterlab/jupyterlab/pull/5166>`__)
  157. * Allow safe inline CSS styles in Markdown. (`#5012 <https://github.com/jupyterlab/jupyterlab/pull/5012>`__, `#1812 <https://github.com/jupyterlab/jupyterlab/issues/1812>`__)
  158. * Add Quit to File menu when appropriate. (`#5226 <https://github.com/jupyterlab/jupyterlab/pull/5226>`__, `#5252 <https://github.com/jupyterlab/jupyterlab/pull/5252>`__, `#5246 <https://github.com/jupyterlab/jupyterlab/issues/5246>`__, `#5280 <https://github.com/jupyterlab/jupyterlab/pull/5280>`__)
  159. * Rework extension manager user experience. (`#5147 <https://github.com/jupyterlab/jupyterlab/pull/5147>`__, `#5042 <https://github.com/jupyterlab/jupyterlab/issues/5042>`__)
  160. Dark theme
  161. ^^^^^^^^^^
  162. * Show a dark splash screen when using a dark theme. (`#5339 <https://github.com/jupyterlab/jupyterlab/pull/5339>`__, `#5338 <https://github.com/jupyterlab/jupyterlab/issues/5338>`__, `#5403 <https://github.com/jupyterlab/jupyterlab/pull/5403>`__)
  163. * Fix code completion menu for a dark theme. (`#5364 <https://github.com/jupyterlab/jupyterlab/pull/5364>`__, `#5349 <https://github.com/jupyterlab/jupyterlab/issues/5349>`__)
  164. * Style CSV viewer for a dark theme. (`#5304 <https://github.com/jupyterlab/jupyterlab/pull/5304>`__, `#3456 <https://github.com/jupyterlab/jupyterlab/issues/3456>`__)
  165. * Make Matplotlib figures legible in a dark theme. (`#5232 <https://github.com/jupyterlab/jupyterlab/pull/5232>`__)
  166. * Fix notebook cell dropdown legibility in a dark theme. (`#5168 <https://github.com/jupyterlab/jupyterlab/issues/5168>`__)
  167. Bug fixes
  168. ^^^^^^^^^
  169. * Various save options in the file menu and toolbar are now disabled when a file is not writable. (`#5376 <https://github.com/jupyterlab/jupyterlab/pull/5376>`__, `#5391 <https://github.com/jupyterlab/jupyterlab/pull/5391>`__)
  170. * Kernel selector dialog no longer cuts off kernel names. (`#5260 <https://github.com/jupyterlab/jupyterlab/pull/5260>`__, `#5181 <https://github.com/jupyterlab/jupyterlab/issues/5181>`__)
  171. * Fix focus issues with the toolbar. (`#5344 <https://github.com/jupyterlab/jupyterlab/pull/5344>`__, `#5324 <https://github.com/jupyterlab/jupyterlab/pull/5324>`__, `#2995 <https://github.com/jupyterlab/jupyterlab/issues/2995>`__, `#5328 <https://github.com/jupyterlab/jupyterlab/pull/5328>`__)
  172. * Fix toolbar button enabled/disabled status. (`#5278 <https://github.com/jupyterlab/jupyterlab/pull/5278>`__)
  173. * Table alignment is now respected in Markdown. (`#5301 <https://github.com/jupyterlab/jupyterlab/pull/5301>`__, `#3180 <https://github.com/jupyterlab/jupyterlab/issues/3180>`__)
  174. * Fix syntax highlighting for Markdown lists. (`#5297 <https://github.com/jupyterlab/jupyterlab/pull/5297>`__, `#2741 <https://github.com/jupyterlab/jupyterlab/issues/2741>`__)
  175. * Use the current filebrowser instead of the default one for various commands. (`#5390 <https://github.com/jupyterlab/jupyterlab/pull/5390>`__)
  176. * Fix escaping in link handling to conform to Markdown syntax. This means that spaces in link references now need to be encoded as ``%20``. (`#5383 <https://github.com/jupyterlab/jupyterlab/pull/5383>`__, `#5340 <https://github.com/jupyterlab/jupyterlab/pull/5340>`__, `#5153 <https://github.com/jupyterlab/jupyterlab/issues/5153>`__)
  177. Build system
  178. ^^^^^^^^^^^^
  179. * Use Typescript 3.1. (`#5360 <https://github.com/jupyterlab/jupyterlab/pull/5360>`__)
  180. * Use Lerna 3.2.1. (`#5262 <https://github.com/jupyterlab/jupyterlab/pull/5262>`__)
  181. * Node >=6.11.5 is now required. (`#5227 <https://github.com/jupyterlab/jupyterlab/pull/5227>`__)
  182. * Pin vega-embed version to 3.18.2. (`#5342 <https://github.com/jupyterlab/jupyterlab/pull/5342>`__)
  183. * Use Jest for services tests. (`#5251 <https://github.com/jupyterlab/jupyterlab/pull/5251>`__, `#5282 <https://github.com/jupyterlab/jupyterlab/pull/5282>`__)
  184. * Make it easier for third party extensions to use the JupyterLab test app and testing utilities. (`#5415 <https://github.com/jupyterlab/jupyterlab/pull/5415>`__)
  185. * Fix ``jupyter lab clean`` on Windows. (`#5400 <https://github.com/jupyterlab/jupyterlab/pull/5400>`__, `#5397 <https://github.com/jupyterlab/jupyterlab/issues/5397>`__)
  186. * Fix ``jupyter lab build`` on NFS. (`#5237 <https://github.com/jupyterlab/jupyterlab/pull/5237>`__, `#5233 <https://github.com/jupyterlab/jupyterlab/issues/5233>`__)
  187. * Build wheels for Python 3 only. (`#5287 <https://github.com/jupyterlab/jupyterlab/pull/5287>`__)
  188. * Migrate to using ``jupyterlab_server`` instead of ``jupyterlab_launcher`` and fix the app example. (`#5316 <https://github.com/jupyterlab/jupyterlab/pull/5316>`__)
  189. * Move Mathjax 2 typesetter to a library package. (`#5259 <https://github.com/jupyterlab/jupyterlab/pull/5259>`__, `#5257 <https://github.com/jupyterlab/jupyterlab/issues/5257>`__)
  190. For Developers
  191. ^^^^^^^^^^^^^^
  192. * Default toolbar buttons can be overridden, and mime renderers can now specify toolbar buttons. (`#5398 <https://github.com/jupyterlab/jupyterlab/pull/5398>`__, `#5370 <https://github.com/jupyterlab/jupyterlab/pull/5370>`__, `#5363 <https://github.com/jupyterlab/jupyterlab/issues/5363>`__)
  193. * A JupyterLab application instance can now be given a document registry, service manager, and command linker. (`#5291 <https://github.com/jupyterlab/jupyterlab/pull/5291>`__)
  194. `v0.34.0 <https://github.com/jupyterlab/jupyterlab/releases/tag/v0.34.0>`__
  195. ---------------------------------------------------------------------------
  196. August 18, 2018
  197. ^^^^^^^^^^^^^^^
  198. See the `JupyterLab
  199. 0.34.0 <https://github.com/jupyterlab/jupyterlab/milestone/16?closed=1>`__
  200. milestone on GitHub for the full list of pull requests and issues closed.
  201. Key Features
  202. ^^^^^^^^^^^^
  203. * Notebooks, consoles, and text files now have access to completions for local
  204. tokens.
  205. * Python 3.5+ is now required to use JupyterLab. Python 2 kernels can still be
  206. run within JupyterLab.
  207. * Added the pipe (``|``) character as a CSV delimiter option.
  208. * Added "Open From Path..."" to top level ``File`` menu.
  209. * Added "Copy Download Link" to context menu for files.
  210. Changes for Developers
  211. ^^^^^^^^^^^^^^^^^^^^^^
  212. * Notebooks, consoles, and text files now have access to completions for local
  213. tokens. If a text file has a running kernel associated with its path (as
  214. happens with an attached console), it also gets completions and tooltips from
  215. that kernel. (`#5049 <https://github.com/jupyterlab/jupyterlab/pull/5049>`__)
  216. * The ``FileBrowser`` widget has a new constructor option ``refreshInterval``,
  217. allowing the creator to customize how often the widget polls the storage
  218. backend. This can be useful to prevent rate-limiting in certain contexts.
  219. (`#5048 <https://github.com/jupyterlab/jupyterlab/pull/5048>`__)
  220. * The application shell now gets a pair of CSS data attributes indicating the
  221. current theme, and whether it is light or dark. Extension authors can write
  222. CSS rules targeting these to have their extension UI elements respond to the
  223. application theme. For instance, to write a rule targeting whether the theme
  224. is overall light or dark, you can use
  225. .. code:: css
  226. [data-theme-light="true"] your-ui-class {
  227. background-color: white;
  228. }
  229. [data-theme-light="false"] your-ui-class {
  230. background-color: black;
  231. }
  232. The theme name can also be targeted by writing CSS rules for
  233. ``data-theme-name``. (`#5078
  234. <https://github.com/jupyterlab/jupyterlab/pull/5078>`__)
  235. * The ``IThemeManager`` interface now exposes a signal for ``themeChanged``,
  236. allowing extension authors to react to changes in the theme. Theme extensions
  237. must also provide a new boolean property ``isLight``, declaring whether they are
  238. broadly light colored. This data allows third-party extensions to react better
  239. to the active application theme. (`#5078
  240. <https://github.com/jupyterlab/jupyterlab/pull/5078>`__)
  241. * Added a patch to update the ``uploads`` for each ``FileBrowserModel`` instantly
  242. whenever a file upload errors. Previously, the upload that erred was only
  243. being removed from uploads upon an update. This would allow the status bar
  244. component and other extensions that use the ``FileBrowserModel`` to be more
  245. precise. (`#5077 <https://github.com/jupyterlab/jupyterlab/pull/5077>`__)
  246. * Cell IDs are now passed in the shell message as part of the cell metadata when
  247. a cell is executed. This helps in developing reactive kernels. (`#5033
  248. <https://github.com/jupyterlab/jupyterlab/pull/5033>`__)
  249. * The IDs of all deleted cells since the last run cell are now passed as part of
  250. the cell metadata on execution. The IDs of deleted cells since the last run
  251. cell are stored as ``deletedCells`` in ``NotebookModel``. This helps in
  252. developing reactive kernels. (`#5037
  253. <https://github.com/jupyterlab/jupyterlab/pull/5037>`__)
  254. * The ``ToolbarButton`` in ``apputils`` has been refactored with an API change
  255. and now uses a React component ``ToolbarButtonComponent`` to render its
  256. children. It is now a ``div`` with a single ``button`` child, which in turn as
  257. two ``span`` elements for an icon and text label. Extensions that were using
  258. the ``className`` options should rename it as ``iconClassName``. The
  259. ``className`` options still exists, but it used as the CSS class on the
  260. ``button`` element itself. The API changes were done to accommodate styling
  261. changes to the button. (`#5117
  262. <https://github.com/jupyterlab/jupyterlab/pull/5117>`__)
  263. * The ``Toolbar.createFromCommand`` function has been replaced by a dedicated
  264. ``ToolbarButton`` subclass called ``CommandToolbarButton``, that wraps a similarly
  265. named React component. (`#5117
  266. <https://github.com/jupyterlab/jupyterlab/pull/5117>`__)
  267. * The design and styling of the right and left sidebars tabs has been improved
  268. to address `#5054 <https://github.com/jupyterlab/jupyterlab/issues/50>`__.
  269. We are now using icons to render tabs for the extensions we ship with
  270. JupyterLab and extension authors are encouraged to do the same (text labels
  271. still work). Icon based tabs can be used by removing ``widget.caption`` and
  272. adding ``widget.iconClass = '<youriconclass> jp-SideBar-tabIcon';``. (`#5117
  273. <https://github.com/jupyterlab/jupyterlab/pull/5117>`__)
  274. * The style of buttons in JupyterLab has been updated to a borderless design.
  275. (`#5117 <https://github.com/jupyterlab/jupyterlab/pull/5117>`__)
  276. * A new series of helper CSS classes for stying SVG-based icons at different
  277. sizes has been added: ``jp-Icon``, ``jp-Icon-16``, ``jp-Icon-18``, ``jp-Icon-20``.
  278. * The rank of the default sidebar widget has been updated. The main change is
  279. giving the extension manager a rank of ``1000`` so that it appears at the end of
  280. the default items.
  281. * Python 3.5+ is now required to use JupyterLab. Python 2 kernels can still be
  282. run within JupyterLab. (`#5119
  283. <https://github.com/jupyterlab/jupyterlab/pull/5119>`__)
  284. * JupyterLab now uses ``yarn 1.9.4`` (aliased as ``jlpm``), which now allows uses to
  285. use Node 10+. (`#5121
  286. <https://github.com/jupyterlab/jupyterlab/pull/5121>`__)
  287. * Clean up handling of ``baseUrl`` and ``wsURL`` for ``PageConfig`` and
  288. ``ServerConnection``. (`#5111
  289. <https://github.com/jupyterlab/jupyterlab/pull/5111>`__)
  290. Other Changes
  291. ^^^^^^^^^^^^^
  292. * Added the pipe (``|``) character as a CSV delimiter option. (`#5112
  293. <https://github.com/jupyterlab/jupyterlab/pull/5112>`__)
  294. * Added ``Open From Path...`` to top level ``File`` menu. (`#5108
  295. <https://github.com/jupyterlab/jupyterlab/pull/5108>`__)
  296. * Added a ``saveState`` signal to the document context object. (`#5096
  297. <https://github.com/jupyterlab/jupyterlab/pull/5096>`__)
  298. * Added "Copy Download Link" to context menu for files. (`#5089
  299. <https://github.com/jupyterlab/jupyterlab/pull/5089>`__)
  300. * Extensions marked as ``deprecated`` are no longer shown in the extension
  301. manager. (`#5058 <https://github.com/jupyterlab/jupyterlab/pull/5058>`__)
  302. * Remove ``In`` and ``Out`` text from cell prompts. Shrunk the prompt width from
  303. 90px to 64px. In the light theme, set the prompt colors of executed console
  304. cells to active prompt colors and reduced their opacity to 0.5. In the dark
  305. theme, set the prompt colors of executed console cells to active prompt colors
  306. and set their opacity to 1. (`#5097
  307. <https://github.com/jupyterlab/jupyterlab/pull/5097>`__ and `#5130
  308. <https://github.com/jupyterlab/jupyterlab/pull/5130>`__)
  309. Bug Fixes
  310. ^^^^^^^^^
  311. * Fixed a bug in the rendering of the "New Notebook" item of the command
  312. palette. (`#5079 <https://github.com/jupyterlab/jupyterlab/pull/5079>`__)
  313. * We only create the extension manager widget if it is enabled. This prevents
  314. unnecessary network requests to ``npmjs.com``.
  315. (`#5075 <https://github.com/jupyterlab/jupyterlab/pull/5075>`__)
  316. * The ``running`` panel now shows the running sessions at startup. (`#5118
  317. <https://github.com/jupyterlab/jupyterlab/pull/5118>`__)
  318. * Double clicking a file in the file browser always opens it rather than
  319. sometimes selecting it for a rename. (`#5101
  320. <https://github.com/jupyterlab/jupyterlab/pull/5101>`__)
  321. `v0.33.0 <https://github.com/jupyterlab/jupyterlab/releases/tag/v0.33.0>`__
  322. ---------------------------------------------------------------------------
  323. July 26, 2018
  324. ^^^^^^^^^^^^^
  325. See the `JupyterLab
  326. 0.33.0 <https://github.com/jupyterlab/jupyterlab/milestone/12?closed=1>`__
  327. milestone on GitHub for the full list of pull requests and issues
  328. closed.
  329. Key Features:
  330. ^^^^^^^^^^^^^
  331. - `No longer in beta <#no-longer-in-beta>`__
  332. - `Workspaces <#workspaces>`__
  333. - `Menu items <#menu-items>`__
  334. - `Keyboard shortcuts <#keyboard-shorcuts>`__
  335. - `Command palette items <#command-palette-items>`__
  336. - `Settings <#settings>`__
  337. - `Larger file uploads <#larger-size-uploads>`__
  338. - `Extension management and installation <#extension-manager>`__
  339. - `Interface changes <#interface-changes>`__
  340. - `Renderers <#renderers>`__
  341. - `Changes for developers <#changes-for-developers>`__
  342. - `Other fixes <#other-fixes>`__
  343. No longer in beta
  344. ^^^^^^^^^^^^^^^^^
  345. In JupyterLab 0.33, we removed the “Beta” label to better signal that
  346. JupyterLab is ready for users to use on a daily basis. The extension
  347. developer API is still being stabilized. See the release blog post for
  348. details.
  349. (`#4898 <https://github.com/jupyterlab/jupyterlab/issues/4898>`__,
  350. `#4920 <https://github.com/jupyterlab/jupyterlab/pull/4920>`__)
  351. Workspaces
  352. ^^^^^^^^^^
  353. We added new workspace support, which enables you to have multiple saved
  354. layouts, including in different browser windows. See the
  355. :ref:`workspace documentation <url-workspaces-ui>`
  356. for more details.
  357. (`#4502 <https://github.com/jupyterlab/jupyterlab/issues/4502>`__,
  358. `#4708 <https://github.com/jupyterlab/jupyterlab/pull/4708>`__,
  359. `#4088 <https://github.com/jupyterlab/jupyterlab/issues/4088>`__,
  360. `#4041 <https://github.com/jupyterlab/jupyterlab/pull/4041>`__
  361. `#3673 <https://github.com/jupyterlab/jupyterlab/issues/3673>`__,
  362. `#4780 <https://github.com/jupyterlab/jupyterlab/pull/4780>`__)
  363. Menu items
  364. ^^^^^^^^^^
  365. - “Activate Previously Used Tab” added to the Tab menu
  366. (``Ctrl/Cmd Shift '``) to toggle between the previously active tabs
  367. in the main area.
  368. (`#4296 <https://github.com/jupyterlab/jupyterlab/pull/4296>`__)
  369. - “Reload From Disk” added to the File menu to reload an open file from
  370. the state saved on disk.
  371. (`#4615 <https://github.com/jupyterlab/jupyterlab/pull/4615>`__)
  372. - “Save Notebook with View State” added to the File menu to persist the
  373. notebook collapsed and scrolled cell state. We now read the
  374. ``collapsed``, ``scrolled``, ``jupyter.source_hidden`` and
  375. ``jupyter.outputs_hidden`` notebook cell metadata when opening.
  376. ``collapsed`` and ``jupyter.outputs_hidden`` are redundant and the
  377. initial collapsed state is the union of both of them. When the state
  378. is persisted, if an output is collapsed, both will be written with
  379. the value ``true``, and if it is not, both will not be written.
  380. (`#3981 <https://github.com/jupyterlab/jupyterlab/pull/3981>`__)
  381. - “Increase/Decrease Font Size” added to the text editor settings menu.
  382. (`#4811 <https://github.com/jupyterlab/jupyterlab/pull/4811>`__)
  383. - “Show in File Browser” added to a document tab’s context menu.
  384. (`#4500 <https://github.com/jupyterlab/jupyterlab/pull/4500>`__)
  385. - “Open in New Browser Tab” added to the file browser context menu.
  386. (`#4315 <https://github.com/jupyterlab/jupyterlab/pull/4315>`__)
  387. - “Copy Path” added to file browser context menu to copy the document’s
  388. path to the clipboard.
  389. (`#4582 <https://github.com/jupyterlab/jupyterlab/pull/4582>`__)
  390. - “Show Left Area” has been renamed to “Show Left Sidebar” for
  391. consistency (same for right sidebar).
  392. (`#3818 <https://github.com/jupyterlab/jupyterlab/pull/3818>`__)
  393. Keyboard shortcuts
  394. ^^^^^^^^^^^^^^^^^^
  395. - “Save As…” given the keyboard shortcut ``Ctrl/Cmd Shift S``.
  396. (`#4560 <https://github.com/jupyterlab/jupyterlab/pull/4560>`__)
  397. - “Run All Cells” given the keyboard shortcut ``Ctrl/Cmd Shift Enter``.
  398. (`#4558 <https://github.com/jupyterlab/jupyterlab/pull/4558>`__)
  399. - “notebook:change-to-cell-heading-X” keyboard shortcuts (and commands)
  400. renamed to “notebook:change-cell-to-heading-X” for X=1…6. This fixes
  401. the notebook command-mode keyboard shortcuts for changing headings.
  402. (`#4430 <https://github.com/jupyterlab/jupyterlab/pull/4430>`__)
  403. - The console execute shortcut can now be set to either ``Enter`` or
  404. ``Shift Enter`` as a Console setting.
  405. (`#4054 <https://github.com/jupyterlab/jupyterlab/pull/4054>`__)
  406. Command palette items
  407. ^^^^^^^^^^^^^^^^^^^^^
  408. - “Notebook” added to the command palette to open a new notebook.
  409. (`#4812 <https://github.com/jupyterlab/jupyterlab/pull/4812>`__)
  410. - “Run Selected Text or Current Line in Console” added to the command
  411. palette to run the selected text or current line from a notebook in a
  412. console. A default keyboard shortcut for this command is not yet
  413. provided, but can be added by users with the
  414. ``notebook:run-in-console`` command. To add a keyboard shortcut
  415. ``Ctrl G`` for this command, use the “Settings” \| “Advanced Settings
  416. Editor” menu item to open the “Keyboard Shortcuts” advanced settings,
  417. and add the following JSON in the shortcut JSON object in the User
  418. Overrides pane (adjust the actual keyboard shortcut if you wish).
  419. (`#3453 <https://github.com/jupyterlab/jupyterlab/issues/3453>`__,
  420. `#4206 <https://github.com/jupyterlab/jupyterlab/issues/4206>`__,
  421. `#4330 <https://github.com/jupyterlab/jupyterlab/pull/4330>`__)
  422. .. code:: json
  423. {
  424. "command": "notebook:run-in-console",
  425. "keys": ["Ctrl G"],
  426. "selector": ".jp-Notebook.jp-mod-editMode"
  427. }
  428. - The command palette now renders labels, toggled state, and keyboard
  429. shortcuts in a more consistent and correct way.
  430. (`#4533 <https://github.com/jupyterlab/jupyterlab/pull/4533>`__,
  431. `#4510 <https://github.com/jupyterlab/jupyterlab/pull/4510>`__)
  432. Settings
  433. ^^^^^^^^
  434. - “fontFamily”, “fontSize”, and “lineHeight” settings added to the text
  435. editor advanced settings.
  436. (`#4673 <https://github.com/jupyterlab/jupyterlab/pull/4673>`__)
  437. - Solarized dark and light text editor themes from CodeMirror.
  438. (`#4445 <https://github.com/jupyterlab/jupyterlab/pull/4445>`__)
  439. Larger file uploads
  440. ^^^^^^^^^^^^^^^^^^^
  441. - Support for larger file uploads (>15MB) when using Jupyter notebook
  442. server version >= 5.1.
  443. (`#4224 <https://github.com/jupyterlab/jupyterlab/pull/4224>`__)
  444. Extension management and installation
  445. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  446. - New extension manager for installing JupyterLab extensions from npm
  447. within the JupyterLab UI. You can enable this from the Advanced
  448. Settings interface.
  449. (`#4682 <https://github.com/jupyterlab/jupyterlab/pull/4682>`__,
  450. `#4925 <https://github.com/jupyterlab/jupyterlab/pull/4925>`__)
  451. - Please note that to install extensions in JupyterLab, you must use
  452. NodeJS version 9 or earlier (i.e., not NodeJS version 10). We will
  453. upgrade yarn, with NodeJS version 10 support, when a `bug in
  454. yarn <https://github.com/yarnpkg/yarn/issues/5935>`__ is fixed.
  455. (`#4804 <https://github.com/jupyterlab/jupyterlab/pull/4804>`__)
  456. Interface changes
  457. ^^^^^^^^^^^^^^^^^
  458. - Wider tabs in the main working area to show longer filenames.
  459. (`#4801 <https://github.com/jupyterlab/jupyterlab/pull/4801>`__)
  460. - Initial kernel selection for a notebook or console can no longer be
  461. canceled: the user must select a kernel.
  462. (`#4596 <https://github.com/jupyterlab/jupyterlab/pull/4596>`__)
  463. - Consoles now do not display output from other clients by default. A
  464. new “Show All Kernel Activity” console context menu item has been
  465. added to show all activity from a kernel in the console.
  466. (`#4503 <https://github.com/jupyterlab/jupyterlab/pull/4503>`__)
  467. - The favicon now shows the busy status of the kernels in JupyterLab.
  468. (`#4361 <https://github.com/jupyterlab/jupyterlab/pull/4361>`__,
  469. `#3957 <https://github.com/jupyterlab/jupyterlab/issues/3957>`__,
  470. `#4966 <https://github.com/jupyterlab/jupyterlab/pull/4966>`__)
  471. Renderers
  472. ^^^^^^^^^
  473. - JupyterLab now ships with a Vega4 renderer by default (upgraded from
  474. Vega3).
  475. (`#4806 <https://github.com/jupyterlab/jupyterlab/pull/4806>`__)
  476. - The HTML sanitizer now allows some extra tags in rendered HTML,
  477. including ``kbd``, ``sup``, and ``sub``.
  478. (`#4618 <https://github.com/jupyterlab/jupyterlab/pull/4618>`__)
  479. - JupyterLab now recognizes the ``.tsv`` file extension as
  480. tab-separated files.
  481. (`#4684 <https://github.com/jupyterlab/jupyterlab/pull/4684>`__)
  482. - Javascript execution in notebook cells has been re-enabled.
  483. (`#4515 <https://github.com/jupyterlab/jupyterlab/pull/4682>`__)
  484. Changes for developers
  485. ^^^^^^^^^^^^^^^^^^^^^^
  486. - A new signal for observing application dirty status state changes.
  487. (`#4840 <https://github.com/jupyterlab/jupyterlab/issues/4840>`__)
  488. - A new signal for observing notebook cell execution.
  489. (`#4740 <https://github.com/jupyterlab/jupyterlab/issues/4740>`__,
  490. `#4744 <https://github.com/jupyterlab/jupyterlab/pull/4744>`__)
  491. - A new ``anyMessage`` signal for observing any message a kernel sends
  492. or receives.
  493. (`#4437 <https://github.com/jupyterlab/jupyterlab/pull/4437>`__)
  494. - A generic way for different widgets to register a “Save with extras”
  495. command that appears in the File menu under save.
  496. (`#3981 <https://github.com/jupyterlab/jupyterlab/pull/3981>`__)
  497. - A new API for removing groups from a JupyterLab menu. ``addGroup``
  498. now returns an ``IDisposable`` which can be used to remove the group.
  499. ``removeGroup`` has been removed.
  500. (`#4890 <https://github.com/jupyterlab/jupyterlab/pull/4890>`__)
  501. - The ``Launcher`` now uses commands from the application
  502. ``CommandRegistry`` to launch new activities. Extension authors that
  503. add items to the launcher will need to update them to use commands.
  504. (`#4757 <https://github.com/jupyterlab/jupyterlab/pull/4757>`__)
  505. - There is now a top-level ``addToBottomArea`` function in the
  506. application, allowing extension authors to add bottom panel items
  507. like status bars.
  508. (`#4752 <https://github.com/jupyterlab/jupyterlab/pull/4752>`__)
  509. - Rendermime extensions can now indicate that they are the default
  510. rendered widget factory for a file-type. For instance, the default
  511. widget for a markdown file is a text editor, but the default rendered
  512. widget is the markdown viewer.
  513. (`#4692 <https://github.com/jupyterlab/jupyterlab/pull/4692>`__)
  514. - Add new workspace REST endpoints to ``jupyterlab_server`` and make
  515. them available in ``@jupyterlab/services``.
  516. (`#4841 <https://github.com/jupyterlab/jupyterlab/pull/4841>`__)
  517. - Documents created with a mimerenderer extension can now be accessed
  518. using an ``IInstanceTracker`` which tracks them. Include the token
  519. ``IMimeDocumentTracker`` in your plugin to access this. The
  520. ``IInstanceTracker`` interface has also gained convenience functions
  521. ``find`` and ``filter`` to simplify iterating over instances.
  522. (`#4762 <https://github.com/jupyterlab/jupyterlab/pull/4762>`__)
  523. - RenderMime render errors are now displayed to the user.
  524. (`#4465 <https://github.com/jupyterlab/jupyterlab/pull/4465>`__)
  525. - ``getNotebookVersion`` is added to the ``PageConfig`` object.
  526. (`#4224 <https://github.com/jupyterlab/jupyterlab/pull/4224>`__)
  527. - The session ``kernelChanged`` signal now contains both the old kernel
  528. and the new kernel to make it easy to unregister things from the old
  529. kernel.
  530. (`#4834 <https://github.com/jupyterlab/jupyterlab/pull/4834>`__)
  531. - The ``connectTo`` functions for connecting to kernels and sessions
  532. are now synchronous (returning a connection immediately rather than a
  533. promise). The DefaultSession ``clone`` and ``update`` methods are
  534. also synchronous now.
  535. (`#4725 <https://github.com/jupyterlab/jupyterlab/pull/4725>`__)
  536. - Kernel message processing is now asynchronous, which guarantees the
  537. order of processing even if a handler is asynchronous. If a kernel
  538. message handler returns a promise, kernel message processing is
  539. paused until the promise resolves. The kernel’s ``anyMessage`` signal
  540. is emitted synchronously when a message is received before
  541. asynchronous message handling, and the ``iopubMessage`` and
  542. ``unhandledMessage`` signals are emitted during asynchronous message
  543. handling. These changes mean that the comm ``onMsg`` and ``onClose``
  544. handlers and the kernel future ``onReply``, ``onIOPub``, and
  545. ``onStdin`` handlers, as well as the comm target and message hook
  546. handlers, may be asynchronous and return promises.
  547. (`#4697 <https://github.com/jupyterlab/jupyterlab/pull/4697>`__)
  548. - Kernel comm targets and message hooks now are unregistered with
  549. ``removeCommTarget`` and ``removeMessageHook``, instead of using
  550. disposables. The corresponding ``registerCommTarget`` and
  551. ``registerMessageHook`` functions now return nothing.
  552. (`#4697 <https://github.com/jupyterlab/jupyterlab/pull/4697>`__)
  553. - The kernel ``connectToComm`` function is synchronous, and now returns
  554. the comm rather than a promise to the comm.
  555. (`#4697 <https://github.com/jupyterlab/jupyterlab/pull/4697>`__)
  556. - The ``KernelFutureHandler`` class ``expectShell`` constructor
  557. argument is renamed to ``expectReply``.
  558. (`#4697 <https://github.com/jupyterlab/jupyterlab/pull/4697>`__)
  559. - The kernel future ``done`` returned promise now resolves to undefined
  560. if there is no reply message.
  561. (`#4697 <https://github.com/jupyterlab/jupyterlab/pull/4697>`__)
  562. - The ``IDisplayDataMsg`` is updated to have the optional ``transient``
  563. key, and a new ``IUpdateDisplayDataMsg`` type was added for update
  564. display messages.
  565. (`#4697 <https://github.com/jupyterlab/jupyterlab/pull/4697>`__)
  566. - The ``uuid`` function from ``@jupyterlab/coreutils`` is removed.
  567. Instead import ``UUID`` from ``@phosphor/coreutils`` and use
  568. ``UUID.uuid4()`` .
  569. (`#4604 <https://github.com/jupyterlab/jupyterlab/pull/4604>`__)
  570. - Main area widgets like the launcher and console inherit from a common
  571. ``MainAreaWidget`` class which provides a content area (``.content``)
  572. and a toolbar (``.toolbar``), consistent focus handling and
  573. activation behavior, and a spinner displayed until the given
  574. ``reveal`` promise is resolved. Document widgets, like the notebook
  575. and text editor and other documents opened from the document manager,
  576. implement the ``IDocumentWidget`` interface (instead of
  577. ``DocumentRegistry.IReadyWidget``), which builds on
  578. ``MainAreaWidget`` and adds a ``.context`` attribute for the document
  579. context and makes dirty handling consistent. Extension authors may
  580. consider inheriting from the ``MainAreaWidget`` or ``DocumentWidget``
  581. class for consistency. Several effects from these changes are noted
  582. below.
  583. (`#3499 <https://github.com/jupyterlab/jupyterlab/pull/3499>`__,
  584. `#4453 <https://github.com/jupyterlab/jupyterlab/pull/4453>`__)
  585. - The notebook panel ``.notebook`` attribute is renamed to
  586. ``.content``.
  587. - The text editor is now the ``.content`` of a ``DocumentWidget``,
  588. so the top-level editor widget has a toolbar and the editor itself
  589. is ``widget.content.editor`` rather than just ``widget.editor``.
  590. - Mime documents use a ``MimeContent`` widget embedded inside of a
  591. ``DocumentWidget`` now.
  592. - Main area widgets and document widgets now have a ``revealed``
  593. promise which resolves when the widget has been revealed (i.e.,
  594. the spinner has been removed). This should be used instead of the
  595. ``ready`` promise.
  596. Changes in the JupyterLab code infrastructure include:
  597. - The JupyterLab TypeScript codebase is now compiled to ES2015 (ES6)
  598. using TypeScript 2.9. We also turned on the TypeScript
  599. ``esModuleInterop`` flag to enable more natural imports from
  600. non-es2015 JavaScript modules. With the update to ES2015 output, code
  601. generated from async/await syntax became much more manageable, so we
  602. have started to use async/await liberally throughout the codebase,
  603. especially in tests. Because we use Typedoc for API documentation, we
  604. still use syntax compatible with TypeScript 2.7 where Typedoc is
  605. used. Extension authors may have some minor compatibility updates to
  606. make. If you are writing an extension in TypeScript, we recommend
  607. updating to TypeScript 2.9 and targeting ES2015 output as well.
  608. (`#4462 <https://github.com/jupyterlab/jupyterlab/pull/4462>`__,
  609. `#4675 <https://github.com/jupyterlab/jupyterlab/pull/4675>`__,
  610. `#4714 <https://github.com/jupyterlab/jupyterlab/pull/4714>`__,
  611. `#4797 <https://github.com/jupyterlab/jupyterlab/pull/4797>`__)
  612. - The JupyterLab codebase is now formatted using
  613. `Prettier <https://github.com/prettier/prettier>`__. By default the
  614. development environment installs a pre-commit hook that formats your
  615. staged changes.
  616. (`#4090 <https://github.com/jupyterlab/jupyterlab/pull/4090>`__)
  617. - Updated build infrastructure using webpack 4 and better typing.
  618. (`#4702 <https://github.com/jupyterlab/jupyterlab/pull/4702>`__,
  619. `#4698 <https://github.com/jupyterlab/jupyterlab/pull/4698>`__)
  620. - Upgraded yarn to version 1.6. Please note that you must use NodeJS
  621. version 9 or earlier with JupyterLab (i.e., not NodeJS version 10).
  622. We will upgrade yarn, with NodeJS version 10 support, when a `bug in
  623. yarn <https://github.com/yarnpkg/yarn/issues/5935>`__ is fixed.
  624. (`#4804 <https://github.com/jupyterlab/jupyterlab/pull/4804>`__)
  625. - Various process utilities were moved to ``jupyterlab_server``.
  626. (`#4696 <https://github.com/jupyterlab/jupyterlab/pull/4696>`__)
  627. Other fixes
  628. ^^^^^^^^^^^
  629. - Fixed a rendering bug with the Launcher in single-document mode.
  630. (`#4805 <https://github.com/jupyterlab/jupyterlab/pull/4805>`__)
  631. - Fixed a bug where the native context menu could not be triggered in a
  632. notebook cell in Chrome.
  633. (`#4720 <https://github.com/jupyterlab/jupyterlab/pull/4720>`__)
  634. - Fixed a bug where the cursor would not show up in the dark theme.
  635. (`#4699 <https://github.com/jupyterlab/jupyterlab/pull/4699>`__)
  636. - Fixed a bug preventing relative links from working correctly in
  637. alternate ``IDrive``\ s.
  638. (`#4613 <https://github.com/jupyterlab/jupyterlab/pull/4613>`__)
  639. - Fixed a bug breaking the image viewer upon saving the image.
  640. (`#4602 <https://github.com/jupyterlab/jupyterlab/pull/4602>`__)
  641. - Fixed the font size for code blocks in notebook Markdown headers.
  642. (`#4617 <https://github.com/jupyterlab/jupyterlab/pull/4617>`__)
  643. - Prevented a memory leak when repeatedly rendering a Vega chart.
  644. (`#4904 <https://github.com/jupyterlab/jupyterlab/pull/4904>`__)
  645. - Support dropped terminal connection re-connecting.
  646. (`#4763 <https://github.com/jupyterlab/jupyterlab/issues/4763>`__,
  647. `#4802 <https://github.com/jupyterlab/jupyterlab/pull/4802>`__)
  648. - Use ``require.ensure`` in ``vega4-extension`` to lazily load
  649. ``vega-embed`` and its dependencies on first render.
  650. (`#4706 <https://github.com/jupyterlab/jupyterlab/pull/4706>`__)
  651. - Relative links to documents that include anchor tags will now
  652. correctly scroll the document to the right place.
  653. (`#4692 <https://github.com/jupyterlab/jupyterlab/pull/4692>`__)
  654. - Fix default settings JSON in setting editor.
  655. (`#4591 <https://github.com/jupyterlab/jupyterlab/issues/4591>`__,
  656. `#4595 <https://github.com/jupyterlab/jupyterlab/pull/4595>`__)
  657. - Fix setting editor pane layout’s stretch factor.
  658. (`#2971 <https://github.com/jupyterlab/jupyterlab/issues/2971>`__,
  659. `#4772 <https://github.com/jupyterlab/jupyterlab/pull/4772>`__)
  660. - Programmatically set settings are now output with nicer formatting.
  661. (`#4870 <https://github.com/jupyterlab/jupyterlab/pull/4870>`__)
  662. - Fixed a bug in displaying one-line CSV files.
  663. (`#4795 <https://github.com/jupyterlab/jupyterlab/issues/4795>`__,
  664. `#4796 <https://github.com/jupyterlab/jupyterlab/pull/4796>`__)
  665. - Fixed a bug where JSON arrays in rich outputs were collapsed into
  666. strings.
  667. (`#4480 <https://github.com/jupyterlab/jupyterlab/pull/4480>`__)
  668. `Beta 2 (v0.32.0) <https://github.com/jupyterlab/jupyterlab/releases/tag/v0.32.0>`__
  669. ------------------------------------------------------------------------------------
  670. Apr 16, 2018
  671. ^^^^^^^^^^^^
  672. This is the second in the JupyterLab Beta series of releases. It
  673. contains many enhancements, bugfixes, and refinements, including:
  674. - Better handling of a corrupted or invalid state database.
  675. (`#3619 <https://github.com/jupyterlab/jupyterlab/issues/3619>`__,
  676. `#3622 <https://github.com/jupyterlab/jupyterlab/issues/3622>`__,
  677. `#3687 <https://github.com/jupyterlab/jupyterlab/issues/3687>`__,
  678. `#4114 <https://github.com/jupyterlab/jupyterlab/issues/4114>`__).
  679. - Fixing file dirty status indicator.
  680. (`#3652 <https://github.com/jupyterlab/jupyterlab/issues/3652>`__).
  681. - New option for whether to autosave documents.
  682. (`#3734 <https://github.com/jupyterlab/jupyterlab/issues/3734>`__).
  683. - More commands in the notebook context menu.
  684. (`#3770 <https://github.com/jupyterlab/jupyterlab/issues/3770>`__,
  685. `#3909 <https://github.com/jupyterlab/jupyterlab/issues/3909>`__)
  686. - Defensively checking for completion metadata from kernels.
  687. (`#3888 <https://github.com/jupyterlab/jupyterlab/issues/3888>`__)
  688. - New “Shutdown all” button in the Running panel.
  689. (`#3764 <https://github.com/jupyterlab/jupyterlab/issues/3764>`__)
  690. - Performance improvements wherein non-focused documents poll the
  691. server less.
  692. (`#3931 <https://github.com/jupyterlab/jupyterlab/issues/3931>`__)
  693. - Changing the keyboard shortcut for singled-document-mode to something
  694. less easy to trigger.
  695. (`#3889 <https://github.com/jupyterlab/jupyterlab/issues/3889>`__)
  696. - Performance improvements for rendering text streams, especially
  697. around progress bars.
  698. (`#4045 <https://github.com/jupyterlab/jupyterlab/issues/4045>`__).
  699. - Canceling a “Restart Kernel” now functions correctly.
  700. (`#3703 <https://github.com/jupyterlab/jupyterlab/issues/3703>`__).
  701. - Defer loading file contents until after the application has been
  702. restored.
  703. (`#4087 <https://github.com/jupyterlab/jupyterlab/issues/4087>`__).
  704. - Ability to rotate, flip, and invert images in the image viewer.
  705. (`#4000 <https://github.com/jupyterlab/jupyterlab/issues/4000>`__)
  706. - Major performance improvements for large CSV viewing.
  707. (`#3997 <https://github.com/jupyterlab/jupyterlab/issues/3997>`__).
  708. - Always show the context menu in the file browser, even for an empty
  709. directory.
  710. (`#4264 <https://github.com/jupyterlab/jupyterlab/issues/4264>`__).
  711. - Handle asynchronous comm messages in the services library more
  712. correctly (Note: this means ``@jupyterlab/services`` is now at
  713. version 2.0!)
  714. (`[#4115](https://github.com/jupyterlab/jupyterlab/issues/4115) <https://github.com/jupyterlab/jupyterlab/pull/4115>`__).
  715. - Display the kernel banner in the console when a kernel is restarted
  716. to mark the restart
  717. (`[#3663](https://github.com/jupyterlab/jupyterlab/issues/3663) <https://github.com/jupyterlab/jupyterlab/pull/3663>`__).
  718. - Many tweaks to the UI, as well as better error handling.
  719. `Beta 1 (v0.31.0) <https://github.com/jupyterlab/jupyterlab/releases/tag/v0.31.0>`__
  720. ------------------------------------------------------------------------------------
  721. Jan 11, 2018
  722. ^^^^^^^^^^^^
  723. - Add a ``/tree`` handler and ``Copy Shareable Link`` to file listing
  724. right click menu: https://github.com/jupyterlab/jupyterlab/pull/3396
  725. - Experimental support for saved workspaces:
  726. `#3490 <https://github.com/jupyterlab/jupyterlab/issues/3490>`__,
  727. `#3586 <https://github.com/jupyterlab/jupyterlab/issues/3586>`__
  728. - Added types information to the completer:
  729. `#3508 <https://github.com/jupyterlab/jupyterlab/issues/3508>`__
  730. - More improvements to the top level menus:
  731. https://github.com/jupyterlab/jupyterlab/pull/3344
  732. - Editor settings for notebook cells:
  733. https://github.com/jupyterlab/jupyterlab/pull/3441
  734. - Simplification of theme extensions:
  735. https://github.com/jupyterlab/jupyterlab/pull/3423
  736. - New CSS variable naming scheme:
  737. https://github.com/jupyterlab/jupyterlab/pull/3403
  738. - Improvements to cell selection and dragging:
  739. https://github.com/jupyterlab/jupyterlab/pull/3414
  740. - Style and typography improvements:
  741. https://github.com/jupyterlab/jupyterlab/pull/3468
  742. https://github.com/jupyterlab/jupyterlab/pull/3457
  743. https://github.com/jupyterlab/jupyterlab/pull/3445
  744. https://github.com/jupyterlab/jupyterlab/pull/3431
  745. https://github.com/jupyterlab/jupyterlab/pull/3428
  746. https://github.com/jupyterlab/jupyterlab/pull/3408
  747. https://github.com/jupyterlab/jupyterlab/pull/3418
  748. `v0.30.0 <https://github.com/jupyterlab/jupyterlab/releases/tag/v0.30.0>`__
  749. ---------------------------------------------------------------------------
  750. Dec 05, 2017
  751. ^^^^^^^^^^^^
  752. - Semantic menus: https://github.com/jupyterlab/jupyterlab/pull/3182
  753. - Settings editor now allows comments and provides setting validation:
  754. https://github.com/jupyterlab/jupyterlab/pull/3167
  755. - Switch to Yarn as the package manager:
  756. https://github.com/jupyterlab/jupyterlab/pull/3182
  757. - Support for carriage return in outputs:
  758. `#2761 <https://github.com/jupyterlab/jupyterlab/issues/2761>`__
  759. - Upgrade to TypeScript 2.6:
  760. https://github.com/jupyterlab/jupyterlab/pull/3288
  761. - Cleanup of the build, packaging, and extension systems.
  762. ``jupyter labextension install`` is now the recommended way to
  763. install a local directory. Local directories are considered linked to
  764. the application. cf
  765. https://github.com/jupyterlab/jupyterlab/pull/3182
  766. - ``--core-mode`` and ``--dev-mode`` are now semantically different.
  767. ``--core-mode`` is a version of JupyterLab using released JavaScript
  768. packages and is what we ship in the Python package. ``--dev-mode`` is
  769. for unreleased JavaScript and shows the red banner at the top of the
  770. page. https://github.com/jupyterlab/jupyterlab/pull/3270
  771. `v0.29.2 <https://github.com/jupyterlab/jupyterlab/releases/tag/v0.29.2>`__
  772. ---------------------------------------------------------------------------
  773. Nov 17, 2017
  774. ^^^^^^^^^^^^
  775. Bug fix for file browser right click handling.
  776. https://github.com/jupyterlab/jupyterlab/issues/3019
  777. `v0.29.0 <https://github.com/jupyterlab/jupyterlab/releases/tag/v0.29.0>`__
  778. ---------------------------------------------------------------------------
  779. Nov 09, 2017
  780. ^^^^^^^^^^^^
  781. - Create new view of cell in cell context menu.
  782. `#3159 <https://github.com/jupyterlab/jupyterlab/issues/3159>`__
  783. - New Renderers for VDOM and JSON mime types and files.
  784. `#3157 <https://github.com/jupyterlab/jupyterlab/issues/3157>`__
  785. - Switch to React for our VDOM implementation. Affects the
  786. ``VDomRenderer`` class.
  787. `#3133 <https://github.com/jupyterlab/jupyterlab/issues/3133>`__
  788. - Standalone Cell Example.
  789. `#3155 <https://github.com/jupyterlab/jupyterlab/issues/3155>`__
  790. `v0.28.0 <https://github.com/jupyterlab/jupyterlab/releases/tag/v0.28.0>`__
  791. ---------------------------------------------------------------------------
  792. Oct 16, 2017
  793. ^^^^^^^^^^^^
  794. This release generally focuses on developer and extension author
  795. enhancements and general bug fixes.
  796. - Plugin id and schema file conventions change.
  797. https://github.com/jupyterlab/jupyterlab/pull/2936.
  798. - Theme authoring conventions change.
  799. `#3061 <https://github.com/jupyterlab/jupyterlab/issues/3061>`__
  800. - Enhancements to enabling and disabling of extensions.
  801. `#3078 <https://github.com/jupyterlab/jupyterlab/issues/3078>`__
  802. - Mime extensions API change (``name`` -> ``id`` and new naming
  803. convention).
  804. `#3078 <https://github.com/jupyterlab/jupyterlab/issues/3078>`__
  805. - Added a ``jupyter lab --watch`` mode for extension authors.
  806. `#3077 <https://github.com/jupyterlab/jupyterlab/issues/3077>`__
  807. - New comprehensive extension authoring tutorial.
  808. `#2921 <https://github.com/jupyterlab/jupyterlab/issues/2921>`__
  809. - Added the ability to use an alternate LaTeX renderer.
  810. `#2974 <https://github.com/jupyterlab/jupyterlab/issues/2974>`__
  811. - Numerous bug fixes and style enhancements.
  812. `v0.27.0 <https://github.com/jupyterlab/jupyterlab/releases/tag/v0.27.0>`__
  813. ---------------------------------------------------------------------------
  814. Aug 23, 2017
  815. ^^^^^^^^^^^^
  816. - Added support for dynamic theme loading.
  817. https://github.com/jupyterlab/jupyterlab/pull/2759
  818. - Added an application splash screen.
  819. https://github.com/jupyterlab/jupyterlab/pull/2899
  820. - Enhancements to the settings editor.
  821. https://github.com/jupyterlab/jupyterlab/pull/2784
  822. - Added a PDF viewer.
  823. `#2867 <https://github.com/jupyterlab/jupyterlab/issues/2867>`__
  824. - Numerous bug fixes and style improvements.
  825. `v0.26.0 <https://github.com/jupyterlab/jupyterlab/releases/tag/v0.26.0>`__
  826. ---------------------------------------------------------------------------
  827. Jul 21, 2017
  828. ^^^^^^^^^^^^
  829. - Implemented server side handling of users settings:
  830. https://github.com/jupyterlab/jupyterlab/pull/2585
  831. - Revamped the handling of file types in the application - affects
  832. document and mime renderers:
  833. https://github.com/jupyterlab/jupyterlab/pull/2701
  834. - Updated dialog API - uses virtual DOM instead of raw DOM nodes and
  835. better use of the widget lifecycle:
  836. https://github.com/jupyterlab/jupyterlab/pull/2661
  837. `v0.25.0 <https://github.com/jupyterlab/jupyterlab/releases/tag/v0.25.0>`__
  838. ---------------------------------------------------------------------------
  839. Jul 07, 2017
  840. ^^^^^^^^^^^^
  841. - Added a new extension type for mime renderers, with the
  842. ``vega2-extension`` as a built-in example. Also overhauled the
  843. rendermime interfaces.
  844. https://github.com/jupyterlab/jupyterlab/pull/2488
  845. https://github.com/jupyterlab/jupyterlab/pull/2555
  846. https://github.com/jupyterlab/jupyterlab/pull/2595
  847. - Finished JSON-schema based settings system, using client-side storage
  848. for now. https://github.com/jupyterlab/jupyterlab/pull/2411
  849. - Overhauled the launcher design.
  850. https://github.com/jupyterlab/jupyterlab/pull/2506
  851. https://github.com/jupyterlab/jupyterlab/pull/2580
  852. - Numerous bug fixes and style updates.
  853. `v0.24.0 <https://github.com/jupyterlab/jupyterlab/releases/tag/v0.24.0>`__
  854. ---------------------------------------------------------------------------
  855. Jun 16, 2017
  856. ^^^^^^^^^^^^
  857. - Overhaul of the launcher.
  858. `#2380 <https://github.com/jupyterlab/jupyterlab/issues/2380>`__
  859. - Initial implementation of client-side settings system.
  860. `#2157 <https://github.com/jupyterlab/jupyterlab/issues/2157>`__
  861. - Updatable outputs.
  862. `#2439 <https://github.com/jupyterlab/jupyterlab/issues/2439>`__
  863. - Use new Phosphor Datagrid for CSV viewer.
  864. `#2433 <https://github.com/jupyterlab/jupyterlab/issues/2433>`__
  865. - Added ability to enable/disable extensions without rebuilding.
  866. `#2409 <https://github.com/jupyterlab/jupyterlab/issues/2409>`__
  867. - Added language and tab settings for the file viewer.
  868. `#2406 <https://github.com/jupyterlab/jupyterlab/issues/2406>`__
  869. - Improvements to real time collaboration experience.
  870. `#2387 <https://github.com/jupyterlab/jupyterlab/issues/2387>`__
  871. `#2333 <https://github.com/jupyterlab/jupyterlab/issues/2333>`__
  872. - Compatibility checking for extensions.
  873. `#2410 <https://github.com/jupyterlab/jupyterlab/issues/2410>`__
  874. - Numerous bug fixes and style improvements.
  875. `v0.23.0 <https://github.com/jupyterlab/jupyterlab/releases/tag/v0.23.0>`__
  876. ---------------------------------------------------------------------------
  877. Jun 02, 2017
  878. ^^^^^^^^^^^^
  879. - Chat box feature. https://github.com/jupyterlab/jupyterlab/pull/2118
  880. - Collaborative cursors.
  881. https://github.com/jupyterlab/jupyterlab/pull/2139
  882. - Added concept of Drive to ContentsManager.
  883. https://github.com/jupyterlab/jupyterlab/pull/2248
  884. - Refactored to enable switching the theme.
  885. https://github.com/jupyterlab/jupyterlab/pull/2283
  886. - Clean up the APIs around kernel execution.
  887. https://github.com/jupyterlab/jupyterlab/pull/2266
  888. - Various bug fixes and style improvements.
  889. `v0.22.0 <https://github.com/jupyterlab/jupyterlab/releases/tag/v0.22.0>`__
  890. ------------------------------------------------------------------------------------
  891. May 18, 2017
  892. ^^^^^^^^^^^^
  893. - Export To… for notebooks.
  894. https://github.com/jupyterlab/jupyterlab/pull/2200
  895. - Change kernel by clicking on the kernel name in the notebook.
  896. https://github.com/jupyterlab/jupyterlab/pull/2195
  897. - Improved handling of running code in text editors.
  898. https://github.com/jupyterlab/jupyterlab/pull/2191
  899. - Can select file in file browser by typing:
  900. https://github.com/jupyterlab/jupyterlab/pull/2190
  901. - Ability to open a console for a notebook.
  902. https://github.com/jupyterlab/jupyterlab/pull/2189
  903. - Upgrade to Phosphor 1.2 with Command Palette fuzzy matching
  904. improvements.
  905. `#1182 <https://github.com/jupyterlab/jupyterlab/issues/1182>`__
  906. - Rename of widgets that had ``Widget`` in the name and associated
  907. package names. https://github.com/jupyterlab/jupyterlab/pull/2177
  908. - New ``jupyter labhub`` command to launch JupyterLab on JupyterHub:
  909. https://github.com/jupyterlab/jupyterlab/pull/2222
  910. - Removed the ``utils`` from ``@jupyterlab/services`` in favor of
  911. ``PageConfig`` and ``ServerConnection``.
  912. https://github.com/jupyterlab/jupyterlab/pull/2173
  913. https://github.com/jupyterlab/jupyterlab/pull/2185
  914. - Cleanup, bug fixes, and style updates.
  915. `v0.20.0 <https://github.com/jupyterlab/jupyterlab/releases/tag/v0.20.0>`__
  916. ------------------------------------------------------------------------------------
  917. Apr 21, 2017
  918. ^^^^^^^^^^^^
  919. Release Notes:
  920. - Overhaul of extension handling, see updated docs for
  921. `users <https://github.com/jupyterlab/jupyterlab/blob/dd83a2e4be8bf23c610c163afe4b480215514764/tutorial/extensions_user.md>`__
  922. and
  923. `developers <https://github.com/jupyterlab/jupyterlab/blob/dd83a2e4be8bf23c610c163afe4b480215514764/tutorial/extensions_dev.md>`__.
  924. https://github.com/jupyterlab/jupyterlab/pull/2023
  925. - Added single document mode and a ``Tabs`` sidebar.
  926. https://github.com/jupyterlab/jupyterlab/pull/2037
  927. - More work toward real time collaboration - implemented a model
  928. database interface that can be in-memory by real time backends.
  929. https://github.com/jupyterlab/jupyterlab/pull/2039
  930. Numerous bug fixes and improvements.
  931. `v0.19.0 <https://github.com/jupyterlab/jupyterlab/releases/tag/v0.19.0>`__
  932. ------------------------------------------------------------------------------------------
  933. Apr 04, 2017
  934. ^^^^^^^^^^^^
  935. Mainly backend-focused release with compatibility with Phosphor 1.0 and
  936. a big refactor of session handling (the ClientSession class) that
  937. provides a simpler object for classes like notebooks, consoles,
  938. inspectors, etc. to use to communicate with the API. Also includes
  939. improvements to the development workflow of JupyterLab itself after the
  940. big split.
  941. https://github.com/jupyterlab/jupyterlab/pull/1984
  942. https://github.com/jupyterlab/jupyterlab/pull/1927
  943. `v0.18.0 <https://github.com/jupyterlab/jupyterlab/releases/tag/v0.18.0>`__
  944. ------------------------------------------------------------------------------------------
  945. Mar 21, 2017
  946. ^^^^^^^^^^^^
  947. - Split the repository into multiple packages that are managed using
  948. the lerna build tool.
  949. https://github.com/jupyterlab/jupyterlab/issues/1773
  950. - Added restoration of main area layout on refresh.
  951. https://github.com/jupyterlab/jupyterlab/pull/1880
  952. - Numerous bug fixes and style updates.
  953. `v0.17.0 <https://github.com/jupyterlab/jupyterlab/releases/tag/v0.17.0>`__
  954. ------------------------------------------------------------------------------------
  955. Mar 01, 2017
  956. ^^^^^^^^^^^^
  957. - Upgrade to new ``@phosphor`` packages - brings a new Command Palette
  958. interaction that should be more intuitive, and restores the ability
  959. to drag to dock panel edges
  960. https://github.com/jupyterlab/jupyterlab/pull/1762.
  961. - Refactor of ``RenderMime`` and associated renders to use live models.
  962. See https://github.com/jupyterlab/jupyterlab/pull/1709 and
  963. https://github.com/jupyterlab/jupyterlab/issues/1763.
  964. - Improvements and bug fixes for the completer widget:
  965. https://github.com/jupyterlab/jupyterlab/pull/1778
  966. - Upgrade CodeMirror to 5.23:
  967. https://github.com/jupyterlab/jupyterlab/pull/1764
  968. - Numerous style updates and bug fixes.
  969. `v0.16.0 <https://github.com/jupyterlab/jupyterlab/releases/tag/v0.16.0>`__
  970. ----------------------------------------------------------------------------------------
  971. Feb 09, 2017
  972. ^^^^^^^^^^^^
  973. - Adds a Cell Tools sidebar that allows you to edit notebook cell
  974. metadata.
  975. `#1586 <https://github.com/jupyterlab/jupyterlab/issues/1586>`__.
  976. - Adds keyboard shortcuts to switch between tabs (Cmd/Ctrl LeftArrow
  977. and Cmd/Ctrl RightArrow).
  978. `#1647 <https://github.com/jupyterlab/jupyterlab/issues/1647>`__
  979. - Upgrades to xterm.js 2.3.
  980. `#1664 <https://github.com/jupyterlab/jupyterlab/issues/1664>`__
  981. - Fixes a bug in application config, but lab extensions will need to be
  982. re-enabled.
  983. `#1607 <https://github.com/jupyterlab/jupyterlab/issues/1607>`__
  984. - Numerous other bug fixes and style improvements.