Skip to content

Releases: marimo-team/marimo

0.6.8

26 May 06:35
e8d0d68
Compare
Choose a tag to compare

What's Changed

This release temporarily disables Cmd+Click go-to-definition due to a regression (#1462), and fixes an editor UI bug.

Full Changelog: 0.6.7...0.6.8

0.6.7

26 May 05:37
0586cb1
Compare
Choose a tag to compare

What's Changed

Fix a regression in the editor UI.

Full Changelog: 0.6.6...0.6.7

0.6.6

24 May 22:11
cd1257e
Compare
Choose a tag to compare

What's Changed

UX improvement: hover on the running status icon to highlight the current running cell.

All changes

Full Changelog: 0.6.5...0.6.6

0.6.5

24 May 16:56
f5dcfef
Compare
Choose a tag to compare

What's Changed

Highlights

Imperative outputs. A new output function to replace an output at a particular index: mo.output.replace_at_index.

Download as HTML from marimo run. marimo run apps now support downloading the page view as HTML/PNG.

UX improvements. Panel icons are now more visible — if you haven't been using our panels, hopefully this helps you use them more!

All changes

Full Changelog: 0.6.4...0.6.5

0.6.4

23 May 17:53
fc53164
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.6.3...0.6.4

0.6.3

23 May 04:46
a0fd9a0
Compare
Choose a tag to compare

What's Changed

A small fix for mo.ui.table.

Full Changelog: 0.6.2...0.6.3

0.6.2

22 May 23:46
3d96206
Compare
Choose a tag to compare

What's Changed

Small fixes.

Full Changelog: 0.6.1...0.6.2

0.6.1

22 May 21:58
91e1528
Compare
Choose a tag to compare

What's Changed

Highlights

This change includes many quality-of-life improvements to the marimo editor.

📝 Improved markdown editing. The markdown editor now includes basic keyboard shortcuts for bolding text, italicizing, inserting links and more. "Markdown cells", i.e. cells that have a single mo.md expression, automatically render with the markdown editor. We've also added a "add markdown cell" button to the bottom of the cell array for convenience.

📑 Go-to definition. Use Ctrl/Cmd+Click on a variable to automatically jump to its definition!

📣 Markdown admonitions. Admonitions in markdown are now supported! For example:

mo.md(
  r"""
      !!! {hint} "Here's a hint!"
          You can now use admonitions in marimo.
   """
)

See the Python markdown docs for more info on syntax.

🤖 Generate with AI button. If you have AI completions enabled, at the bottom of the cell array you'll now see a "Generate with AI" button.

🗺 Routes. Use mo.routes to create a list of routes that are switched based on the URL path. This is helpful if your working on a marimo notebook that will be deployed as an app -- you can use it in conjunction with mo.sidebar to create multipage apps.

All changes

New Contributors

Welcome to the marimo family!

Full Changelog: 0.6.0...0.6.1

0.6.0

17 May 05:55
4d60452
Compare
Choose a tag to compare

What's Changed

Version 0.6.0 includes two big new features — first-class markdown support and token-authentication — and small quality of life improvements.

Highlights

marimo ❤️ markdown: marimo edit nb.md. marimo now supports markdown as a first-class file format. This means that if you're working on notebook that's heavy on text, you can write your notebook in markdown using an editor of your choice (VSCode, vim — anything you like!). Save it as nb.md, then fire up the marimo editor to interact with it — marimo edit nb.md — or run it as an app with marimo run nb.md.

When working with markdown, create a notebook cell using a special fenced code block that starts with {python} (note the braces!).

```{python}
import matplotlib.pyplot as plt
plt.plot([1, 2, 3, 4])
```

Here's a full example:

# Hello, world!                                                                  
                                                                                 
This is a markdown powered notebook.                                             
                                                                                 
```{python}                                                              
import random                                                                    
random.randint(0, 1000)                                                          
```                                                                              
                                                                                 
```{python, hide_code=true} 
import marimo as mo 
```

The markdown file format is not meant as a replacement for the Python one, but it gives you the flexibility to choose the format that's best for your workflow. You can convert markdown notebooks to Python with

marimo convert nb.md > nb.py

and export Python to markdown with

marimo convert nb.py > nb.md

marimo export notebook.md > notebook.py

Check out our tutorial to learn more.

Huge shout out to @dmadisetti for contributing the markdown support! 💪🎉

Token-based authentication 🔑. marimo now runs with token-based authentication by default — this makes sure that only trusted parties can access the marimo server. Most users won't notice changes to their workflow. To learn more, check out the docs.

Export as ipynb 📝. Export marimo notebooks as Jupyter notebook files with marimo export ipynb nb.py -o nb.ipynb.

Split cell hotkey ⌨️: Split cells with our new hotkey: Ctrl/Cmd-Shift-'.

Breaking changes

mo.hstack and mo.vstack now require you to use keyword args (except for the list of items).

New Contributors

Welcome to the marimo family!

Full changelog

Full Changelog: 0.5.2...0.6.0

0.5.2

10 May 18:28
dfbe00e
Compare
Choose a tag to compare

Highlights

  • mo.sidebar to portal any elements into a collapsible sidebar for your application
mo.sidebar([
    mo.md("# marimo"),
    mo.nav_menu({
        "#home": f"{mo.icon('lucide:home')} Home",
        "#about": f"{mo.icon('lucide:user')} About",
        "#contact": f"{mo.icon('lucide:phone')} Contact",
        "Links": {
          "https://twitter.com/marimo_io": "Twitter",
          "https://github.com/marimo-team/marimo": "GitHub",
        },
      }, orientation="vertical",
    ),
])

What's Changed

Full Changelog: 0.5.1...0.5.2