all repos — min @ ac51420051e5f7bdd6c66d24024a237f70df2a02

A small but practical concatenative programming language.

site/contents/news/v0.43.0.md

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
-----
content-type: "post"
title: "Version 0.43.0 released"
slug: v0.43.0
date: 2024-02-04
-----
{@ _defs_.md || 0 @}

This is minor release introduces a breaking change, but also provides a way to automatically migrate your code using the `min-upgrade` managed module.

## BREAKING CHANGES

- Renamed `ROOT` symbol to `global`. Also the built-in `lang` module is now called `global`.

> %tip%
> Tip
>
> You can run `min run min-upgrade <folder>` to automatically upgrade all the `.min` files in `<folder>` and all its subfolders.

## New Features

- Upgraded OpenSSL to v3.2.0
- Added the `min run <mmm>` command to (download, install globally, and) execute the `main` symbol of the the specified [managed module](/learn-mmm/). For example this functionality can be used to upgrade `.min` files using the `min-upgrade` managed module.
- mmm: It is now possible to install, uninstall, and update modules by specifying them via `<name>@<version>`.
- mmm: The version is now optional when installing, uninstalling, and updating modules (the name of the HEAD branch will be used, e.g. "master" or "main", typically).

## Fixes and Improvements

- Added check to prevent installing local managed modules in the HOME directory or $HOME/mmm.
- Changed {#link-global-operator||tokenize#} symbol so that it returns the full token, including delimiters (for strings and comments).
- Fixed regression in `min compile` command introduced in the previews version due to parses changes.