Changelog#

Unreleased#

General

None

Server extension

None

Jupyterlab extension

None

1.5.2 2022-08-06#

Server extension

  • Add AStyle support using `subprocess - courtesy of nthiery;

1.5.1 2022-07-24#

General

  • Add rustfmt support using subprocess - courtesy of andrelfpinto;

  • Add docs for adding a custom formatter;

Server extension

  • Handle single/double leading question mark properly;

  • Re-add trailing new line if not in notebook;

Jupyterlab extension

  • Suppress cell skipped error properly if configured to suppress;

1.5.0 2022-07-16#

General

  • Add scalafmt support using subprocess - courtesy of andrelfpinto;

  • Add Py10 to supported list - courtesy of haoxins;

  • Better error message - courtesy of ianhi;

  • Support more black configuration - courtesy of utkarshgupta137;

Server extension

  • Make server extension work without notebook package, courtesy of KanchiShimono;

Jupyterlab extension

  • Fix JSON schemas - courtesy of KanchiShimono;

  • Fix UI errors in configuration screen - courtesy of KanchiShimono;

1.4.11 2022-05-01#

General

  • Revamp documentation site;

  • Revamp development environment;

Server extension

  • Escape Quarto’s comment to exmept it from formatting - thanks rgaiacs for providing test case;

  • Add support for blue formatter;

  • Restore easily accessible formatter list API;

  • Escape run script command in JupyterLab;

Jupyterlab extension

  • Add suppress formatter errors setting;

1.4.10 2021-04-02#

Server extension

  • Ignore more magic;

Jupyterlab extension

No change.

1.4.9 2021-04-02#

Server extension

  • Don’t expect options to be always passed;

Jupyterlab extension

No change.

1.4.8 2021-04-02#

Server extension

  • Improve interactive help regex - again;

Jupyterlab extension

  • Remove include_trailing_comma option for black, it’s not an option to begin with.

1.4.7 2021-04-01#

Server extension

  • Improve interactive help regex;

Jupyterlab extension

No change.

1.4.6 2021-04-01#

Server extension

  • Improve interactive help regex;

Jupyterlab extension

  • Support noop/skip in default formatters setting;

1.4.5 2021-03-14#

Server extension

  • Ignore interactive help lines while formatting;

Jupyterlab extension

No change.

1.4.4 2021-02-13#

Server extension

  • Handle incompatible magic language cellblock better;

Jupyterlab extension

  • Auto format on save as an option - courtesy of simamumu;

1.4.3 2021-01-01#

Server extension

  • Attempt to address JupyterHub precarity - courtesy of SarunasAzna;

Jupyterlab extension

No changes.

1.4.2 2021-01-01#

Server extension

  • Attempt to auto enable server extension - courtesy of fcollonval;

Jupyterlab extension

No changes.

1.4.1 2021-01-01#

Server extension

No changes.

Jupyterlab extension

No changes.

General

  • Fix package publish procedure;

1.4.0 2021-01-01#

Server extension

No changes.

Jupyterlab extension

  • Minor fix for error messages;

General

  • Project reorganisation, improve plugin packaging, massive thanks to ianhi for laying the groundwork;

1.3.8 2020-11-17#

Server extension

No changes.

Jupyterlab extension

  • Fix icon color in dark theme, courtesy of AllanChain;

1.3.7 2020-11-15#

Server extension

  • Handle shell commands in code cells;

Jupyterlab extension

No changes.

1.3.6 2020-08-08#

Server extension

No changes.

Jupyterlab extension

  • Fix isort schema spec for the following settings:

    • known_future_library

    • known_standard_library

    • known_third_party

    • known_first_party

1.3.5 2020-07-18#

Server extension

No changes.

Jupyterlab extension

  • Fix server URL lookup for JupyterLab 2.2.0+;

1.3.4 2020-07-11#

Server extension

  • Fix semicolon handling again;

Jupyterlab extension

No changes.

1.3.3 2020-07-10#

Server extension

  • Support isort 5 and also isort 4 at the same time, courtesy of dialvarezs;

Jupyterlab extension

No changes.

1.3.2 2020-07-08#

Server extension

  • Fix semicolon handling again; (This was mistakenly removed in 1.3.3 later on, and reintroduced later.)

  • Improve error message when formatter is not found;

Jupyterlab extension

No changes.

1.3.1 2020-05-08#

Same as 1.3.0.

1.3.0 2020-05-08#

Server extension

  • Move cell/file ending handling back to server extension;

  • Fix semicolon handling;

Jupyterlab extension

  • Move cell/file ending handling back to server extension;

  • Fix erroneous detection of R default formatters;

1.2.5 2020-04-25#

Server extension

  • Ignore magic and trailing semicolon for R formatters;

Jupyterlab extension

No changes.

1.2.4 2020-04-18#

Server extension

  • Fix detect notebook type fallback - courtesy of devstein;

Jupyterlab extension

No changes.

1.2.3 2020-04-09#

Server extension

No changes.

Jupyterlab extension

  • Add detect notebook type fallback;

  • Make failure to determin default formatters more prominent;

1.2.2 2020-03-14#

Server extension

No changes.

Jupyterlab extension

  • Fix error reporting when blank code cell(s) exists;

1.2.1 2020-03-12#

Server extension

  • Add version API handler;

Jupyterlab extension

  • Fully prohibit mismatched lab and server extension usage (accounting for either stale lab or server extension);

  • Use Jupyterlab dialogs for error reporting instead of console for clarity;

  • Support multiple default formatters to be ran in sequence;

1.2.0 2020-03-04#

Server extension

No Changes

Jupyterlab extension

  • Address Jupyter lab 2.0.0 breaing changes;

1.1.0 2020-02-08#

Server extension

  • Defer trailing newline removal to labextension;

  • Prohibit mismatched lab and server extension usage;

Jupyterlab extension

  • Make tool bar format all button respect where it’s clicked;

  • Delete trailing newline for notebook cells only;

  • Prohibit mismatched lab and server extension usage;

1.0.3 2019-12-07#

Server extension

  • Handle :code:indent_by and :code:start_comments_with_one_space for styler;

  • Unify magic and semicolon handling for Python formatters;

Jupyterlab extension

  • Handle :code:indent_by and :code:start_comments_with_one_space for styler;

General

  • Various fixes to docs;

  • Various fixes to Makefile;

1.0.2 2019-12-01#

Server extension

  • Fix optional :code:rpy2 import crashing server extension;

Jupyterlab extension

No changes.

1.0.1 2019-12-01#

No change, simply fixing versioning error.

1.0.0 2019-12-01#

Server extension

  • Fix missing rpy2 import error;

  • Add tests;

Jupyterlab extension

  • Major refactoring;

  • Temporarily removed language filtering for command palette;

  • Tooltip format notebook changed to icon - thanks to mlucool;

General

  • Project reorgnaisation;

  • Use nix for local development environment;

  • Documentation generation;

0.7.0 2019-11-02#

Server extension

  • Support more styler options;

  • Fix bad string comparsion of version strings;

  • Compile regex once only;

Jupyterlab extension

  • Support more styler options;

  • Fix bad capitalisation of config schema;

0.6.1 2019-10-23#

Server extension

  • Retain semicolon after black’s formatting action - courtesy of dfm;

Jupyterlab extension

No Change.

0.6.0 2019-10-16#

Server extension

  • Support formatting multiple code cell at the same time - courtesy of mlucool;

  • Return formatting error if they exists - courtesy of mlucool;

Jupyterlab extension

  • Add jupyterlab_code_foramtter:format command and context menu button - courtesy of mlucool;

  • Add jupyterlab_code_foramtter:format_all command and command tools bar button - courtesy of mlucool;

0.5.2 2019-09-29#

Server extension

  • Trim trialing newline for autopep8;

Jupyterlab extension

No changes.

0.5.1 2019-09-09#

Server extension

  • Fix bug where presence of rpy2 could cause plugin to be useless;

Jupyterlab extension

No changes.

0.5.0 2019-08-21#

Server extension

  • Support styler - Another R code formatter - courtesy of dev-wei;

Jupyterlab extension

  • Support styler - Another R code formatter - courtesy of dev-wei;

0.4.0 2019-08-19#

Server extension

  • Support formatr - A R code formatter - courtesy of dev-wei;

Jupyterlab extension

  • Support formatr - A R code formatter - courtesy of dev-wei;

0.3.0 2019-07-10#

General

  • Minor updates to README - courtesy of reza1615;

Server extension

No Change

Jupyterlab extension

  • Support Jupyterlab ^1.0.0 - courtesy of gnestor;

  • Remove custom_style enum restriction - courtesy of CaselIT;

  • Add companion packages info;

0.2.3 2019-06-17#

Same as v0.2.2 - Re-publishing because I messed up the versioning.

0.2.2 2019-06-17#

General

  • Minor updates to README - courtesy of akashlakhera and mzakariaCERN;

Server extension

No Change

Jupyterlab extension

  • Remove some excessive logging - courtesy of jtpio;

  • Make formatter commands visible for Python files and notebooks only - courtesy of jtpio;

0.2.1 2019-04-29#

General

  • Add Binder to README - courtesy of jtpio;

  • Add a test notebook for easier testing with Binder;

Server extension

  • Add LICENSE in sdist - courtesy of xhochy;

  • Handle the exsistence of magic commands in codecell for Black - courtesy of Lif3line;

Jupyterlab extension

No Change

0.2.0 2019-03-24#

  • Handle format_str interface change for black>=19.3b0;

  • Support Isort as a formatter;

  • Bugfixes - courtesy of gnestor;

0.1.8 2019-02-16#

  • Minor fix for formatting files in code cells;

0.1.7 2019-02-16#

  • Support formatting files in FileEditor - courtesy of rbedi;

0.1.6 2019-01-19#

  • Expose autopep8 options - courtesy of timlod;

0.1.5 2018-12-01#

  • Add commands to the main menu for better accessibility - courtesy of jtpio;

0.1.4 2018-10-10#

  • Bump dependency ranges;

0.1.3 2018-08-24#

  • Fix typo in command;

0.1.2 2018-08-24#

  • Bump dependency ranges;

0.1.1 2018-08-18#

  • Minor README update;

0.1.0 2018-08-18#

  • Inital implementation;