Skip to content

Releases: shiroinekotfs/jupyter-cpp-kernel

1.0.0a8

12 May 16:06
Compare
Choose a tag to compare

Full Changelog: 1.0.0a7...1.0.0a8

TL;DR

What's new?

In this version, there are plenty of updates in security, performance, and features:

Removed features & Solved bugs

  • Removed magics features. That means you cannot use external magic to manipulate the g++ compiling process
  • Solved #29
  • Solved getline() capture error when using it with ifstream. That makes the file I/O much easier

New features & Modifications

  • jdisplay is now _Jupyter_Display. It creates less confusion and extends the compatibility of the kernel
  • algorithm and iomanip are now in the default header list. No longer need to use #include with these libraries.
  • More display methods in #33 are now supported. You can view these in this documentation
  • New logo

image

Requirements (pre-install)

Windows

You have to install GNU Compiler Collection for Windows before doing any additional installation

Linux/macOS

You have to install GNU Compiler Collection that is compatible with your OS. You may need to go search for yourself.

How to install/upgrade?

Windows

python -m pip install --upgrade jupyter-cpp-kernel

Linux/macOS

sudo pip install --upgrade jupyter-cpp-kernel
# Or
pip install --upgrade jupyter-cpp-kernel

What's Changed

1.0.0a7

02 Feb 00:31
26b3920
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.0.0a6...1.0.0a7

TL;DR

What's new?

Requirements (pre-install)

Windows

You have to install GNU Compiler Collection for Windows before doing any additional installation

Linux/macOS

You have to install GNU Compiler Collection that is compatible with your OS. You may need to go search for yourself.

How to install/upgrade?

Windows

python -m pip install --upgrade jupyter-cpp-kernel

Linux/macOS

sudo pip install --upgrade jupyter-cpp-kernel
# Or
pip install --upgrade jupyter-cpp-kernel

1.0.0a6

26 Jan 15:30
b4ea260
Compare
Choose a tag to compare

By created PRs

Full Changelog: 1.0.0a5...1.0.0a6

TL;DR

What's new?

  1. C++ w/ multi-threading (in #21)
  2. text/markdown bug with multiple lines in C++ (in #18)
  3. application/pdf in displaying PDF files (both local and PDF over the Internet)
  4. Removed unnecessary Python modules
  5. Update math and metric prefix

Requirements (pre-install)

Windows

You have to install GNU Compiler Collection for Windows before doing any additional installation

Linux/macOS

You have to install GNU Compiler Collection that is compatible with your OS. You may need to go search for yourself.

How to install/upgrade?

Windows

python -m pip install --upgrade jupyter-cpp-kernel

Linux/macOS

sudo pip install --upgrade jupyter-cpp-kernel
# Or
pip install --upgrade jupyter-cpp-kernel

1.0.0a5

11 Nov 17:11
Compare
Choose a tag to compare

By created PRs

Full Changelog: 1.0.0a4...1.0.0a5

TL;DR

From now on, @takinekotfs is no longer active since she gave away his GitHub account and moved to the dark web.

That means @shiroinekotfs will take control of this project, leaving @takinekotfs behind.

What's new?

  1. The new C++ kernel has fixed the ReDoS security error raised in #13
  2. Removed unnecessary headers, minimal the number of attack interfaces.
  3. From version 1.0.0a5, this kernel supports external headers from non-inbound source.
    That means you can create your own C++ header using this template, then publish it to the PyPI to let anyone install it (Yes, installing C++ header from PyPI is crazy, but it exists).

Requirements (pre-install)

Windows

You have to install GNU Compiler Collection for Windows before doing any additional installation

Linux/macOS

You have to install GNU Compiler Collection that is compatible with your OS. You may need to go search for yourself.

How to install/upgrade?

Windows

python -m pip install --upgrade jupyter-cpp-kernel

Linux/macOS

sudo pip install --upgrade jupyter-cpp-kernel
# Or
pip install --upgrade jupyter-cpp-kernel

1.0.0a4

20 Aug 13:06
Compare
Choose a tag to compare

Full Changelog: 1.0.0a3...1.0.0a4

TL;DR

What's new?

  1. Compiling on Windows is now NO LONGER separate from the macOS/Linux compiling method
  2. C++ kernel for Jupyter is now widely supported on beauty outputs, using text/markdown as the default result output
    • This doesn't mean that the execution errors are displayed in text/markdown. This method is only used for successful execution.
    • Ignored all compiling warnings. This is unnecessary.
    • Changed package name in local Python3 site packages to jupyter-cpp-kernel
    • Full credits supported. In the kernel start-up, you'll see this message
    • Help links are now accessible from the Help header (in both Jupyter Notebook and Jupyter Lab)
  3. User input/output
    • User now can use cin and getline to input the variable.
    • As mentioned earlier, the result now uses text/markdown for the beauty outputs. You can also use the pre-defined output C++ header for Jupyter (I called it the Jupyter Display Handler) to replace the Markdown displayed method, including IFrame, Audio, CodeString, Image, PDF, Video, and YouTube player. You can see it here. You can see how I use the beauty outputs for playing a YouTube video.

image

  1. From now on, extended C++ headers are supported. See the list of headers that are already implemented into your code.

Solved old bugs

Solved typo errors that made display mistakes in the version 1.0.0a3

Requirements (pre-install)

Windows

You have to install GNU Compiler Collection for Windows before doing any additional installation

Linux/macOS

You have to install GNU Compiler Collection that is compatible with your OS. You may need to go search for yourself.

How to install/upgrade?

Windows

python -m pip install --upgrade jupyter-cpp-kernel

Linux/macOS

sudo pip install --upgrade jupyter-cpp-kernel
# Or
pip install --upgrade jupyter-cpp-kernel

1.0.0a3

08 Aug 17:24
Compare
Choose a tag to compare

Full change log: a43b0e1

What's new?

  • C++ kernel for Jupyter supports Windows
  • Remove install_cpp_jupyter. From now on, the kernel specification will install automatically
  • Added C++ logo for Jupyter

Solved old bugs

The version 1.0.0a2 is the perfect one.

However, this release doesn't support Windows, so this release solve that.

Requirement for Windows

You have to install GNU Compiler Collection for Windows before doing any additional installation

How to install/upgrade this release?

On PyPI, using --upgrade

sudo pip install --upgrade jupyter-cpp-kernel
# Or
pip install --upgrade jupyter-cpp-kernel

install_cpp_kernel --user

On Windows, for the first time

python -m pip install jupyter-cpp-kernel

1.0.0a2

15 Jul 03:45
959b72d
Compare
Choose a tag to compare

What's new?

  • Removed the mapped stdio.h and remapped the master.cpp
  • Ignore the unused variables and parameters

Solved old bugs

  • Cannot run C++ on jupyter-cpp-kernel: #1

  • Remove unused kernel metadata

  • Cleared g++ --version on start and introduction

How to install/upgrade this release?

On PyPI, using --upgrade

sudo pip install --upgrade jupyter-cpp-kernel
# Or
pip install --upgrade jupyter-cpp-kernel

install_cpp_kernel --user

Initial Release for C++ Jupyter kernel

14 Jul 09:46
819de6f
Compare
Choose a tag to compare

Full Changelog: see all commits here

You can download and install the public packages from PyPI