Socket
Socket
Sign inDemoInstall

@jupyterlab/services

Package Overview
Dependencies
Maintainers
34
Versions
387
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jupyterlab/services - npm Package Versions

1
39

2.0.1

Diff

darian
published 2.0.0 •

Changelog

Source

v2.0.0

February 2020

Here are some highlights for this release. See the JupyterLab 2.0 milestone on GitHub for the full list of pull requests and issues closed.

User-facing changes

  • New user interface for notebook cell tags (#7407, #7786)
<img alt="Notebook cell tags in the left sidebar next to an open notebook." src="https://raw.githubusercontent.com/jupyterlab/jupyterlab/3.1.x/docs/source/getting_started/changelog_celltags.png" class="jp-screenshot">
  • File info display when hovering on a file in the file browser (#7485, #7352)
<img alt="The file browser with a tooltip describing a notebook's info like the name, size, and kernel." src="https://raw.githubusercontent.com/jupyterlab/jupyterlab/3.1.x/docs/source/getting_started/changelog_fileinfo.png" class="jp-screenshot">
  • Support for searching outputs in notebooks (#7258)
<img alt="A notebook with multiple cells and the cell output searching in the upper right." src="https://raw.githubusercontent.com/jupyterlab/jupyterlab/3.1.x/docs/source/getting_started/changelog_searchoutput.png" class="jp-screenshot">
  • Ctrl Shift . and Ctrl Shift , shortcuts move focus to the next and previous tab bar in the main area, respectively (#7673)

  • Shift Home and Shift End shortcuts in a notebook select all cells from the current cell to the top or bottom of a notebook, respectively (#7177)

  • Explicit "No Kernel" button in the kernel selection dialog for new notebooks (#7647)

  • Notebook recordTiming advanced setting to control whether execution timing information is stored in notebook files (#7578)

  • "Select current running or last run cell" command added (requires notebook recordTiming advanced setting to be set to true) (#7551)

  • Codemirror lineWiseCopyCut advanced setting to control the behavior of the copy/cut keyboard shortcuts when there is no selection (#7842)

  • Refreshed the command palette and property inspector sidebar icons and user interfaces (#7577, #7038, #7733, #7732, #7718, #7686)

  • "New File" and "New Markdown File" items in file browser context menu (#7483, #4280)

  • "Download" item in File menu (#7480)

  • "Restart Kernel and Run up to Selected Cell" item in notebook Kernel menu (#7789, #6746)

  • In extension manager, the "enable" button is now only shown for installed extensions (#7482)

  • Dialogs can now be closed by clicking outside of them (#7885, #3784)

  • documentsearch:startWithReplace command to open the document find overlay with replace. There is not currently a default keyboard shortcut for this, but one can be assigned as a custom keyboard shortcut in Advanced Settings. (#7725)

  • # added to the CSV Viewer delimiter options (#7367, #6324)

  • The JSON viewer now only displays structure hints for arrays and empty objects for a more streamlined feel (#7227)

  • Optional platform-aware keyboard shortcut fields linuxKeys, macKeys, and winKeys in keyboard shortcut definitions (#7589)

    {
      command: "application:toggle-mode",
      selector: "body",
      linuxKeys: ["Ctrl Shift M"], // only linux
      macKeys: ["Cmd Shift Z"], // only mac
      winKeys: ["Ctrl Shift B"], // only windows
      keys: ["Accel Shift U"] // default shortcut
    }
    
  • Added options for jupyter lab clean to clean specific parts of the build, such as --extensions, --settings, --static, and --all (#7583, #6734)

  • Removed the vega 4 and vega-lite 2 renderers (vega 5 and vega-lite 4 is included in JupyterLab by default). These legacy renderers may be available via custom extensions (#7650, #7523, #7658)

  • JupyterHub users should use the c.Spawner.default_url = '/lab' setting instead of the deprecated and now removed labhubapp (#7724)

For developers

See extension_migration for help in migrating extensions to JupyterLab 2.0.

Backward incompatible changes
  • Switch from @phosphor to @lumino dependencies. (#7582, #7534, #7763, #7762, #7595)
  • Factor out the settingsregistry and statedb packages from coreutils (#7681, #7615)
  • Rework services architecture (sessions, kernels, terminals). Among these changes, ClientSession is renamed to SessionContext and the IKernelConnection.connectToComm method is replaced with IKernelConnection.createComm and IKernelConnection.hasComm methods. (#7252, #7674, #7820, #7694, #7690, #7682)
  • Upgrade to TypeScript 3.7 (#7522)
  • Remove polling from coreutils in favor for @lumino/polling (#7617)
  • TypeScript strict null checking in core packages (#7657, #7607)
  • Update state database list method to query based on namespace match. (#7742, #7257)
  • Address code todo items and deprecations for 2.0 (#7720, #7724)
  • Update Console panel tracker widgets (#7705, #7726, #7648, #7645)
  • Update contribution guide to require node v12+ (#7479)
  • New API for the Running sidebar extension (#6895, #6876)
  • Clean up handling of icons under unified LabIcon ( #7192 #7700, #7765, #7767, #7800, #7846, #7859, #7864, #7886)
Other changes
  • New property inspector used to display the properties of the currently selected main area widget (#7665, #7664, #7718, #7686)
  • Allow metadata for launcher items (#7654, #7652)
  • Allow default file browser to restore manually. (#7695, #4009)
  • Upgrade bundled yarn to 1.21.1 (#7691, #7692)
  • Make session dialogs configurable (#7618, #7616)
  • Support transient editor configs (#7611, #7295)
  • Optionally force new browser tab (#7603, #7602)
  • Update core dependencies (e.g., codemirror, xterm.js, markdown, fontawesome, etc.) (#7590, #7194, #7326, #6479, #7769)
  • Add storybook to ui-components (#7588, #6799)
  • Add explicit documentation encouraging people to re-use lab components (#7543)
  • Enable TypeScript sourcemaps for debugging locally installed labextensions (#7541)
  • Add UseSignal example to the docs (#7519)
  • Add env prop to kernel options (#7499)
  • Add kernelspec metadata (#7229, #7228)
  • Allow different mimetypes for the clipboard data (#7202)
  • Add password dialog to apputils (#7855)
  • Alias phosphor packages to lumino to allow a deprecation period for phosphor (#7893)
  • Match react version in ui-components peerdependencies (#7794)
  • Fix lint-staged for both win and mac (#7784)
  • Update websocket workaround for node environments (#7780, #6934)
  • Fix handling of linked extensions (#7728, #6738)
  • Fix extension compatibility checks for prereleases and extensions supporting multiple major versions of JupyterLab (#7723, #7241, #7919)
  • Teach update-dependency about more range specifiers and make it adopt the current range for any tag (#7709)
  • Add support for giving a rank to items in the top area (#7278)
  • Apply all options to the initial JupyterLab application instance (#7251)

Bugfixes

  • "Copy Shareable Link" in the file browser context menu now properly works in JupyterHub (#7906)
  • Update Mathjax CDN in the cell and console examples (#7680)
  • Revert ensure-max-old-space now that Node 12+ has better default memory ceilings (#7677, #7675)
  • Resolve race condition between default file browser and tree urls. (#7676, #4009)
  • Fix handling of code editor refresh (#7672, #7671)
  • Start new notebooks in edit mode (#7666, #6731)
  • Use consistent versions of React (#7661, #7655)
  • Add scrollbar styles to nbconvert-css (#7653)
  • Close output views when corresponding notebooks are closed (#7633, #7301)
  • Fixed incorrect white background for new command palette icon (#7609, #7577)
  • Block fetching the settings for a plugin that is disabled (#7147)
  • When timing metadata changes, ensure signal fires (#7576)
  • Prevent memory leaks in Vega renderer (#7564)
  • Handle cell execution cancellation when cell is disposed (#7555, #7554)
  • Fix dropdown option style issue on Windows (#7513)
  • Make sure label is linked to a control when checking for element type (#7458)
  • Refine log console message UX (#7448, #7444, #7443)
  • Fix multicursor backspacing (#7401, #7205)
  • Reset log display and count when non-notebook tab gets activated (#7334, #7325)
  • Fix Safari multiple tabs by working around a Safari bug. (#7316, #6921)
  • Skip custom click behavior on links when the download attribute is set (#7311, #5443)
  • Fix context menu hit test to deal with SVG nodes. (#7242, #7224)
  • Fix overwriting of target attribute of anchors rendered by IPython.display (#7215, #6827)
  • Fix file browser location in tree view (#7155)
  • Stop too many fetch calls in docmanager-extension (#7879, #7874)
  • Ensures that Shift Tab dedent shortcut works correctly in the file editor (#7865)
  • Fix unexpected jump to last search result when using documentsearch (#7835)
  • Fixed refresh issue for html viewer (#7824, #7552)
  • Fix for center-aligned images with IPython.display.image (#7798)
  • Changes to setting editor should trigger application dirty state (#7774, #7757)
  • Move vega from "devdependencies" to "dependencies" (#7699, #7689)
  • Restore default file browser manually. (#7695, #4009)
  • Use default app_dir when app_dir is '' (#7268, #7264)
blink1073
published 1.1.4 •

blink1073
published 1.1.3 •

blink1073
published 1.1.2 •

blink1073
published 1.1.1 •

blink1073
published 1.1.0 •

Changelog

Source

v1.1.0

August 28, 2019

Here are some highlights of what is in this release. See the JupyterLab 1.1.0 milestone on GitHub for the full list of pull requests and issues closed.

User-facing changes

  • jupyter lab build now has a --minimize=False option to build without minimization to conserve memory and time (#6907)
  • Fix workspace reset functionality (#7106, #7105)
  • Restore behavior of the "raises-exception" cell tag (#7020, #7015)
  • Add settings to override theme font sizes (#6926)
  • Accept query parameter to optionally change file browser location (#6875)
  • Pressing escape in the console should switch out of edit mode (#6822)
  • Fix file browser downloads in Google Chrome (#6686)
  • Make it possible to override the default widgets to view a file (#6813, #4048)
  • Support installing multiple versions of the same extension (#6857)
  • Support JupyterHub server name for JupyterHub 1.0 (#6931)
  • Add docs to help users diagnose issues before creating them (#6971)
  • The JupyterLab conda-forge package is now a noarch package. If you are using JupyterLab with notebook version 5.2 or earlier, you may need to manually enable the JupyterLab server extension. See the issue for more details (#7042)

For developers

  • Expose install_kernel for tests so that outside projects can better use the testing framework (#7089)
  • Fix comm_info_request content to conform to the Jupyter message specification in a backwards-compatible way (#6949, #6947)
  • Add yarn package resolution to build to constrain core package versions to patch semver ranges (#6938)
  • Make handling comm messages optional in a kernel connection. (#6929)
  • Expose icon svg to theme css (#6034, #7027)
  • Expose convenience functions for open dialogs (#6366, #6365)
  • Add debug messages to possible kernel messages (#6704)
  • Add server side coreconfig object (#6991)

Bug fixes

  • Handle errors that occur during kernel selection (#7094)
  • Fix escaping issues for page config and other template variables (#7016, #7024, #7061, #7058, #6858)
  • Require jinja2 2.10+ to fix escaping issues (#7055, #7053)
  • Increase the search debounce from 100ms to 500ms to increase incremental search responsiveness in large documents (#7034)
  • Fix vega downloads and download urls in general (#7022, #7017, #7098, #7047)
  • Do not complain in the build about duplicate or optional packages (#7013)
  • Fix contextual help layout for R help (#6933, #6935)
blink1073
published 1.0.1 •

blink1073
published 1.0.0 •

Changelog

Source

v1.0.0

June 28, 2019

See the JupyterLab 1.0.0 milestone on GitHub for the full list of pull requests and issues closed in 1.0.0, and other 1.0.x milestones for bugs fixed in patch releases.

Find and Replace

<img alt="A notebook with multiple cells and the find and replace interface in the upper right." src="https://raw.githubusercontent.com/jupyterlab/jupyterlab/3.1.x/docs/source/getting_started/find.png" class="jp-screenshot">

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, #6322, #6301, #6282, #6256, #6241, #6237, #6159, #6081, #6155, #6094, #6024, #5937, #5795, #1074)

Status Bar

<img alt="A screenshot of the updated JupyterLab status bar." src="https://raw.githubusercontent.com/jupyterlab/jupyterlab/3.1.x/docs/source/getting_started/statusbar.png" class="jp-screenshot">

We have integrated the JupyterLab Status Bar package package into the core distribution. Extensions can add their own status to it as well (#5577, #5525 #5990, #5982, #5514, #5508, #5352).

JupyterHub Integration

  • We now include the JupyterHub extension in core JupyterLab, so you no longer need to install @jupyterlab/hub-extension. (#6451, #6428)
  • JupyterLab now has a File > Logout menu entry when running with JupyterHub (#6087, #5966)

Printing

We now have a printing system that allows extensions to customize how documents and activities are printed. (#5850, #1314)

Other User Facing Changes

  • The launcher displays longer kernel names and supports keyboard navigation (#6587)
  • Notebook outputs without any valid MimeType renderers will not be displayed, instead of displaying an error (#6559, #6216)
  • Add tooltip to file browser root breadcrumb icon showing the server root, if it is available (#6552)
  • Downloading a file will no longer open a new browser window (#6546)
  • Rename the help "Inspector" to "Contextual Help" and move it to the "Help" menu (#6493, #6488, #6678, #6671)
  • Update many of the icons to make them more consistent (#6672, #6618, #6664, #6621)
  • Update the settings UI to remove the table view (#6654, #6622, #6653, #6623, #6646, #6642)
  • Replace FAQ Extension with link to JupyterLab documentation (#6628, #6608, #6625, #6610)
  • 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, #6357)
  • Show help text in Inspector window to describe you should select a function (#6476)
  • Fixes SVG rendering (#6469, #6295)
  • Add support for dropping a tab in the tab bar area. (#6454, #5406)
  • Switch some default shortcuts to use Accel instead of Ctrl so they are more natural for Mac users (#6447, #5023)
  • Add ability to tell between hover and selected command palette items (#6407, #279)
  • Hide the "Last Modified" column when the file browser is narrow (#6406, #6093)
  • Support copy/paste in terminal and Mac OS using Ctrl+C and Ctrl+V (#6391, #6385, #1146)
  • Support scrolling in running kernels panel (#6383, #6371)
  • Adds ability to "Merge Selected Cells" in the context menu in the notebook (#6375, #6318)
  • Turn On Accessibility In Xterm.js to make it more compatible for screen readers (#6359)
  • When selecting cells using the keyboard shortcuts, we now skip collapsed cells (#6356, #3233)
  • Supporting opening .geojson files in JSON viewer (#6349)
  • Performance fixes for text-based progress bars (#6304, #4202)
  • Add support for rendering Vega 5 and Vega Lite 3 while keeping the existing Vega 4 and Vega Lite 2 renderers (#6294, #6133, #6128, #6689, #6685, #6684, #6675, #6591, #6572)
  • Drag and drop console cells into a notebook or text editor (#5585, #4847)
  • Drag and drop notebook cells into a console or text editor (#5571, #3732)
  • The extension manager search now sorts extensions by the score assigned to them by NPM instead of alphabetically (#5649)
  • Notify the user when a kernel is automatically restarted, for example, if crashes from an out of memory error (#6246, #4273)
  • Expose the extension manager in a command and menu item (#6200)
  • Add command to render all Markdown cells (#6029, #6017)
  • Supports using shift to select text in output area (#6015, #4800)
  • Output areas that opened in new views are restored properly now on reload (#5981, #5976)
  • 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, #5200)
  • Inherit terminal theme from core theme (#5964)
  • Adds a built-in HTML viewer so that you can view HTML files (#5962, #5855, #2369)
  • New workspaces are now automatically generated when you create a new window with the same workspace name. (#5950, #5854, #5830, #5214)
  • We now add a hint to the context menu to describe how you can access the native browser menu (#5940, #4023)
  • The tabs on the left panel have changed to make them more understandable (#5920, #5269)
  • Start a new terminal when the page is refreshed and the old terminal has died (#5917)
  • 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, #3074)
  • The contextual help now updates based on changes in the cursor from the mouse instead of just from the keyboard (#5906, #5899)
  • The launcher now updates when the kernels change on the server (#5904, #5676)
  • Retain cell auto scroll behavior even when a cell output is cleared (#5817, #4028)
  • 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)
  • Adds the ability to link to a certain row in a CSV file and have the viewer open to that row (#5727, #5720)
  • We have improved the performance of switching to a large notebook (#5700, #4292, #2639)
  • The vdom extension now supports event handling, so that you can have kernel code run in response to user interaction with the UI (#5670)
  • Adds the ability to run "Run All Code" and "Restart Kernel and Run All Code" in code and markdown files (#5641, #5579)
  • 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, #4464, #3901, #3706)
  • Fixes rendering of SVG elements in HTML MimeType output (#5610, #5610, #5589)
  • Allow copying files by holding down Ctrl when dragging them in the file browser (#5584, #3235)
  • Switch the hover modified time in the file browser to use the local format (#5567)
  • We have added a default keyboard shortcut of Ctrl Shift Q for closing and cleaning up a file (#5534, #4390)
  • Adds the ability to find and go to a certain line in the CSV viewer (#5523)
  • Add the ability to create new text and markdown files from the launcher and command palette (#5512, #5511)
  • A "New Folder" option has been added to the file browser context menu (#5447)
  • The ANSI colors are now the same as those in the classic notebook (#5336, #3773)
  • Send complete statements instead of current lines when stepping through code in a cell (#6515, #6063)
  • Description list styles (dl, dt, dd) are improved to be consistent with the nteract project (#5682, #2399)

Settings

  • The settings system has been rewritten (#5470, #5298) and now uses json5 as the syntax, which supports comments and other features for better human readability (#6343, #6199).
  • The keyboard shortcut system has been rewritten and now displays a list of system commands in the settings comments (#5812, #5562).

There are new settings for many following items, including:

Command Line Changes

  • Installing extensions will be quieter and adds a --debug to extension installing (#6567, #6499, #5986)
  • We now support running JupyterLab when its application directory is a symlink (#6240, #6166)
  • Add --all flag to labextension uninstall to remove all extensions (#6058, #6006)
  • Adds the ability to override the base URLs from the config (#5518, #5503)
  • Updates to workspaces CLI command (#6473, #5977, #6276, #6234, #6210, #5975, #5695, #5694)

Extension Development Changes

  • 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, #5298)
  • 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, #5919)
  • The lab shell addToMainArea, addToLeftArea, addToTopArea, addToRightArea, and addToBottomArea functions have been replaced with a single add() function that takes the area as an argument. Replace addToMainArea(widget, options) with add(widget, 'main', options), etc. (#5845)
  • Rename pageUrl to appUrl in the server connection (#6509, #6508, #6585, #6584)
  • MainAreaWidget instances now forward update requests to their content (#6586, #6571)
  • 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, #6554)
  • 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, #6530, #6395, #6390)
  • Dialog.prompt has been replaced by a number of type-specific dialogs such as InputDialog.getString, InputDialog.getBoolean, etc. (#6522, #6378, #6327, #6326)
  • 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, #6505, #6497)
  • 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, #6224)
  • We have updated the typings for some of the Kernel messages so that they better match the spec. (#6433)
  • 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, #6176, #3324)
  • Add rate limiting and polling utilities to coreutils to use for throttling and debouncing of API requests (#6345, #6346, #6401, #6305, #6157, #6192, #6186, #6141, #3929, #6141, #3929, #6186, #6192, #6401 ,#6305, #6157)
  • Require session when instantiating terminal widget (#6339, #5061)
  • Provides a signal to see what items are opened in a directory listing (#6270, #6269)
  • Ads the ability to add widget above the main work area to a top header area (#5936)
  • Renames contextMenuFirst to contextMenuHitTest in the JupyterFrontEnd (#5932)
  • Removes the initialCommand arg from the terminal creation command. (#5916)
  • 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)
  • Adds the ability to insert a new item to the toolbar before or after another item (#5896, #5894)
  • Adds the ability for extensions to register new CodeMirror modes (#5829)
  • We have removed the JUPYTERLAB_xxx_LOADER Webpack loaders, instead you should use the loader directly in the URL as Webpack supports it (#5709, #4406)
  • Adds the ability to handle fragments for document widgets (#5630, #5599)
  • 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)
  • The showErrorMessage function now lets you customize the buttons it uses (#5513)
  • We now provide helpers for using React components within JupyterLab. If you were previously using ReactElementWidget you should switch to using ReactWidget. (#5479, #5766, #6595, #6595)
  • The share link command has been moved to its own extension so that it can be overridden (#5460, #5388)
  • Creating a new services session now requires passing a kernel model instead of a kernel instance (#6503, #6142)
  • 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.
  • Widget factories now can support custom cloning behavior from an optional source widget (#6060, #6044)
  • We have renamed the type InstanceTracker to WidgetTracker (#6569).
  • 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.
blink1073
published 0.52.0 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc