New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@jupyterlab/services

Package Overview
Dependencies
Maintainers
4
Versions
404
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jupyterlab/services - npm Package Versions

1
37384041

0.37.0

Diff
blink1073
published 0.37.0 •
blink1073
published 0.36.1 •
blink1073
published 0.36.0 •
blink1073
published 0.35.1 •
blink1073
published 0.35.0 •

Changelog

Source

v0.35.0

October 3, 2018

See the JupyterLab 0.35.0 milestone on GitHub for the full list of pull requests and issues closed.

Features

  • A notebook cell can now be readonly, reflecting its enabled metadata. (#5401, #1312)
  • Add "Go To Line" in the Edit menu for text editors. (#5377)
  • 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, #5054, #3707)
  • Make the sidebar a bit narrower, and make the minimum width adjustable from a theme. (#5245)
  • Populate the File, Export Notebook As... submenu from the server nbconvert capabilities. (#5217)
  • 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, #4924)
  • Add a command-line interface for managing workspaces. (#5166)
  • Allow safe inline CSS styles in Markdown. (#5012, #1812)
  • Add Quit to File menu when appropriate. (#5226, #5252, #5246, #5280)
  • Rework extension manager user experience. (#5147, #5042)

Dark theme

  • Show a dark splash screen when using a dark theme. (#5339, #5338, #5403)
  • Fix code completion menu for a dark theme. (#5364, #5349)
  • Style CSV viewer for a dark theme. (#5304, #3456)
  • Make Matplotlib figures legible in a dark theme. (#5232)
  • Fix notebook cell dropdown legibility in a dark theme. (#5168)

Bug fixes

  • Various save options in the file menu and toolbar are now disabled when a file is not writable. (#5376, #5391)
  • Kernel selector dialog no longer cuts off kernel names. (#5260, #5181)
  • Fix focus issues with the toolbar. (#5344, #5324, #2995, #5328)
  • Fix toolbar button enabled/disabled status. (#5278)
  • Table alignment is now respected in Markdown. (#5301, #3180)
  • Fix syntax highlighting for Markdown lists. (#5297, #2741)
  • Use the current filebrowser instead of the default one for various commands. (#5390)
  • 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, #5340, #5153)

Build system

  • Use Typescript 3.1. (#5360)
  • Use Lerna 3.2.1. (#5262)
  • Node >=6.11.5 is now required. (#5227)
  • Pin vega-embed version to 3.18.2. (#5342)
  • Use Jest for services tests. (#5251, #5282)
  • Make it easier for third party extensions to use the JupyterLab test app and testing utilities. (#5415)
  • Fix jupyter lab clean on Windows. (#5400, #5397)
  • Fix jupyter lab build on NFS. (#5237, #5233)
  • Build wheels for Python 3 only. (#5287)
  • Migrate to using jupyterlab_server instead of jupyterlab_launcher and fix the app example. (#5316)
  • Move Mathjax 2 typesetter to a library package. (#5259, #5257)

For Developers

  • Default toolbar buttons can be overridden, and mime renderers can now specify toolbar buttons. (#5398, #5370, #5363)
  • A JupyterLab application instance can now be given a document registry, service manager, and command linker. (#5291)
blink1073
published 0.34.3 •
blink1073
published 0.34.2 •
blink1073
published 0.34.1 •
blink1073
published 0.34.0 •

Changelog

Source

v0.34.0

August 18, 2018

See the JupyterLab 0.34.0 milestone on GitHub for the full list of pull requests and issues closed.

Key Features

  • Notebooks, consoles, and text files now have access to completions for local tokens.
  • Python 3.5+ is now required to use JupyterLab. Python 2 kernels can still be run within JupyterLab.
  • Added the pipe (|) character as a CSV delimiter option.
  • Added "Open From Path..."" to top level File menu.
  • Added "Copy Download Link" to context menu for files.

Changes for Developers

  • Notebooks, consoles, and text files now have access to completions for local tokens. If a text file has a running kernel associated with its path (as happens with an attached console), it also gets completions and tooltips from that kernel. (#5049)

  • The FileBrowser widget has a new constructor option refreshInterval, allowing the creator to customize how often the widget polls the storage backend. This can be useful to prevent rate-limiting in certain contexts. (#5048)

  • The application shell now gets a pair of CSS data attributes indicating the current theme, and whether it is light or dark. Extension authors can write CSS rules targeting these to have their extension UI elements respond to the application theme. For instance, to write a rule targeting whether the theme is overall light or dark, you can use

    [data-theme-light='true'] your-ui-class {
      background-color: white;
    }
    [data-theme-light='false'] your-ui-class {
      background-color: black;
    }
    

    The theme name can also be targeted by writing CSS rules for data-theme-name. (#5078)

  • The IThemeManager interface now exposes a signal for themeChanged, allowing extension authors to react to changes in the theme. Theme extensions must also provide a new boolean property isLight, declaring whether they are broadly light colored. This data allows third-party extensions to react better to the active application theme. (#5078)

  • Added a patch to update the uploads for each FileBrowserModel instantly whenever a file upload errors. Previously, the upload that erred was only being removed from uploads upon an update. This would allow the status bar component and other extensions that use the FileBrowserModel to be more precise. (#5077)

  • Cell IDs are now passed in the shell message as part of the cell metadata when a cell is executed. This helps in developing reactive kernels. (#5033)

  • The IDs of all deleted cells since the last run cell are now passed as part of the cell metadata on execution. The IDs of deleted cells since the last run cell are stored as deletedCells in NotebookModel. This helps in developing reactive kernels. (#5037)

  • The ToolbarButton in apputils has been refactored with an API change and now uses a React component ToolbarButtonComponent to render its children. It is now a div with a single button child, which in turn as two span elements for an icon and text label. Extensions that were using the className options should rename it as iconClassName. The className options still exists, but it used as the CSS class on the button element itself. The API changes were done to accommodate styling changes to the button. (#5117)

  • The Toolbar.createFromCommand function has been replaced by a dedicated ToolbarButton subclass called CommandToolbarButton, that wraps a similarly named React component. (#5117)

  • The design and styling of the right and left sidebars tabs has been improved to address #5054. We are now using icons to render tabs for the extensions we ship with JupyterLab and extension authors are encouraged to do the same (text labels still work). Icon based tabs can be used by removing widget.caption and adding widget.iconClass = '<youriconclass> jp-SideBar-tabIcon';. (#5117)

  • The style of buttons in JupyterLab has been updated to a borderless design. (#5117)

  • A new series of helper CSS classes for styling SVG-based icons at different sizes has been added: jp-Icon, jp-Icon-16, jp-Icon-18, jp-Icon-20.

  • The rank of the default sidebar widget has been updated. The main change is giving the extension manager a rank of 1000 so that it appears at the end of the default items.

  • Python 3.5+ is now required to use JupyterLab. Python 2 kernels can still be run within JupyterLab. (#5119)

  • JupyterLab now uses yarn 1.9.4 (aliased as jlpm), which now allows uses to use Node 10+. (#5121)

  • Clean up handling of baseUrl and wsURL for PageConfig and ServerConnection. (#5111)

Other Changes

  • Added the pipe (|) character as a CSV delimiter option. (#5112)
  • Added Open From Path... to top level File menu. (#5108)
  • Added a saveState signal to the document context object. (#5096)
  • Added "Copy Download Link" to context menu for files. (#5089)
  • Extensions marked as deprecated are no longer shown in the extension manager. (#5058)
  • Remove In and Out text from cell prompts. Shrunk the prompt width from 90px to 64px. In the light theme, set the prompt colors of executed console cells to active prompt colors and reduced their opacity to 0.5. In the dark theme, set the prompt colors of executed console cells to active prompt colors and set their opacity to 1. (#5097 and #5130)

Bug Fixes

  • Fixed a bug in the rendering of the "New Notebook" item of the command palette. (#5079)
  • We only create the extension manager widget if it is enabled. This prevents unnecessary network requests to npmjs.com. (#5075)
  • The running panel now shows the running sessions at startup. (#5118)
  • Double clicking a file in the file browser always opens it rather than sometimes selecting it for a rename. (#5101)
blink1073
published 0.33.1 •