Releases: philipturner/swift-colab
v2.3
From now on, Swift-Colab will focus on more general usage of Swift, diverging from the S4TF project. It may not receive many new features anymore, but should stay actively maintained. The kernel was designed to work with future versions of Swift, making it usable even if it does go unmaintained. As a final safeguard, the extensive comments and documentation make patching future problems much easier for people besides myself.
I still find Swift-Colab quite useful for personal use cases, enabling persistently stored cloud notebooks geared toward interactive scripting. Plans to support local Jupyter notebooks are postponed indefinitely, as well as a "v3.0" version of Swift-Colab. However, liuliu/swift-jupyter provides a great experience for people seeking local Swift notebooks.
Changes:
- Numerous bug fixes.
- Shortened first cell of the template notebook from 3 to 2 lines.
- Added color to terminal output and refined stack traces for runtime errors.
- IPython and SwiftPlot images now render inline with text, making them appear before (instead of after) a cell finishes executing.
- You can now use Google Drive directly through PythonKit, without switching to Python mode.
- You can now enter command-line input to
%system
commands, making this feature on par with Python!
bash commands.
Not implemented:
%install-swiftpm-import
and%install-swiftpm-environment
magic commands, which would have sped up Swift for TensorFlow compilation considerably.- Conformance to the
JupyterDisplay
protocol fromliuliu/swift-jupyter
. %install-test
command for testing Swift packages inside a Colab notebook.- Support for specifying Swift v5.0-style package specifications.
v2.2
v2.1
Overhauled I/O and added color to text output, fixing numerous bugs.
v2.0
Rewrite of Swift-Colab with several performance improvements and new features.
v1.0
Swift-Colab is feature-complete.
v0.3
Swift Package Manager and IPython displays are now functional.
v0.2
This adds the first support for running Swift on Google Colab after it was shut down in March 2021. Expect this to be unstable.
v0.1
This is a pre-release. Swift syntax coloring and modified code execution behavior are present, but nothing else.