Skip to content
This repository has been archived by the owner on Sep 21, 2024. It is now read-only.

Releases: philipturner/swift-colab

v2.3

11 Oct 01:47
1e0f00a
Compare
Choose a tag to compare

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 from liuliu/swift-jupyter.
  • %install-test command for testing Swift packages inside a Colab notebook.
  • Support for specifying Swift v5.0-style package specifications.

v2.2

20 Jun 01:54
97a4ec4
Compare
Choose a tag to compare

Swift for TensorFlow now runs in the interactive Colab environment.

  • Fixed #11, allowing use of Swift concurrency inside a Task.
  • Addressed every Swift package installation bug reported in #14.
  • You can now download Swift toolchains from a custom URL.
  • Added test notebooks for S4TF and concurrency.

v2.1

14 May 01:37
5efbd83
Compare
Choose a tag to compare

Overhauled I/O and added color to text output, fixing numerous bugs.

v2.0

04 May 14:34
f97565d
Compare
Choose a tag to compare

Rewrite of Swift-Colab with several performance improvements and new features.

v1.0

31 Dec 00:09
2716f0e
Compare
Choose a tag to compare

Swift-Colab is feature-complete.

v0.3

30 Dec 19:30
260e0fd
Compare
Choose a tag to compare

Swift Package Manager and IPython displays are now functional.

v0.2

29 Dec 16:33
2022540
Compare
Choose a tag to compare

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

26 Dec 02:08
c2be6b2
Compare
Choose a tag to compare

This is a pre-release. Swift syntax coloring and modified code execution behavior are present, but nothing else.