Download Latest Version 0.26.0 source code.tar.gz (1.1 MB)
Email in envelope

Get an email when there's a new version of Mint

Home / 0.26.0
Name Modified Size InfoDownloads / Week
Parent folder
mint-0.26.0-osx-x86_64 2025-07-09 7.9 MB
mint-0.26.0-linux-x86_64 2025-07-09 29.6 MB
mint-0.26.0-osx-arm64 2025-07-09 7.4 MB
0.26.0 source code.tar.gz 2025-07-09 1.1 MB
0.26.0 source code.zip 2025-07-09 1.8 MB
README.md 2025-07-09 1.2 kB
Totals: 6 Items   47.8 MB 5

Standard Library

  • Added arguments for upload and download progress to Http.send.
  • Added FormData variant to Http.ResponseBody.
  • Added FormData.getFile and FormData.getString functions.
  • Added File.fromUrl function.
  • Added Regexp.exec function.
  • Added Html.DataTransfer.getMimeTypes function.

Exporting Entities

The build command now takes any number of --export arguments which allows exporting entities from the final bundle.

Functions and constants can be exported from modules, variant constructors from types and components. Components are exported in a way that they can be used easily.

Here is a minimal example:

:::mint
component Greeter {
  property name : String = ""

  fun render {
    "Hello #{name}!"
  }
}

:::bash
mint build --export Greeter

:::javascript
import { Greeter } from `index.js`;

// Render the component into a DOM element.
Main.render(document.querySelector('div'), { name: "Joe" })

Bugfixes

  • Properly resolve static type signature of Ast::Type
  • Make sure that variable labels survive pruning. (#780)
Source: README.md, updated 2025-07-09