1
0
Fork 0
forked from fun/fun

Preparing releasing 0.42.1. No code changes. (0.42.1)

This commit is contained in:
Johannes Findeisen 2026-06-09 00:03:20 +02:00
commit f37b8538b2
4 changed files with 83 additions and 2 deletions

View file

@ -5,6 +5,30 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) (during 0.x.y development phase).
## [0.42.1] - 2026-06-08
### Fixed
- Small test script issue.
### Changed
- Documentation and website updates. No runtime code changes.
- README, `make`, and `Doxyfile` updates. No runtime code changes.
## [0.42.0] - 2026-06-03
### Added
- Redis/Valkey extension named `redis` (see `src/extensions/redis.c` and `src/vm/redis/*`).
- Redis example programs: `basic_ping.fun`, `hash_ops.fun`, `kv_set_get.fun`, `list_ops.fun`, and `redis_test.fun`.
- Initial Redis documentation page under `web/documentation/extensions/redis/`.
### Changed
- Build system: Redis extension is not compiled by default; enable it explicitly if needed. No other code changes.
- GitHub workflow tweaks. No code changes.
## [0.41.16] - 2026-05-29
### Added
- `playground/` directory for local-only experiments.
### Changed
- `examples/features.fun` and website features page updates.
- README and API documentation updates. No code changes.
- Documentation and web fixes. No code changes.
## [0.41.15] - 2026-05-26
### Changed
- More internal optimizations.

View file

@ -211,7 +211,7 @@ Some extensions also have a corresponding stdlib wrapper class (e.g., `JSON`, `I
<pre>$ git clone https://git.xw3.org/fun/fun.git
$ cd fun
$ cmake -B build -DCMAKE_BUILD_TYPE=Release
$ cmake --build build
$ cmake --build build --target fun
$ ./build/fun
fun> print("Hello, World!")
Hello, World!

View file

@ -0,0 +1,58 @@
---
layout: post
published: true
author: hanez
author_email: you@hanez.org
author_url: https://hanez.org
noToc: false
title: Announcing Fun 0.42.1
description: Maintenance release with documentation updates and a small test script fix
date: 2026-06-09
categories:
- news
- releases
tags:
- fun
- release
- docs
- redis
---
We just released Fun 0.42.1. This is a small, safe maintenance update you can adopt immediately.
### Whats in 0.42.1
- Fixed: Small test script issue.
- Changed: Documentation and website updates. No runtime code changes.
- Changed: README, `make`, and `Doxyfile` updates. No runtime code changes.
If youre already on 0.42.0, this update has no behavioral impact on your programs.
### Recap: Highlights from 0.42.0
In case you missed the previous release, 0.42.0 introduced the optional Redis/Valkey extension powered by `hiredis`, along with example programs and docs.
- New extension: `redis` (connect, cmd, close)
- Examples: `basic_ping.fun`, `hash_ops.fun`, `kv_set_get.fun`, `list_ops.fun`, `redis_test.fun`
- Docs: see Documentation → Extensions → Redis
To enable the Redis extension when building Fun, pass the CMake option `-DFUN_WITH_REDIS=ON` (ensure `hiredis` is installed and visible to the toolchain). See the build guide for details.
Example (Release build directory shown by your setup):
```
cmake -S . -B build_release -DFUN_WITH_REDIS=ON
cmake --build build_release --target fun
```
### Changelog
For the complete list of changes and dates, see the projects [CHANGELOG.md](https://git.xw3.org/fun/fun/src/branch/main/CHANGELOG.md){:class="git"} in the repository.
### Thank you
Thanks to everyone testing, filing issues, and contributing examples and docs. If you want to help, check out the repository, read the docs, and say hi in the community.
Happy hacking!
Johannes Findeisen (hanez) — hanez@fun-lang.xyz

View file

@ -72,4 +72,3 @@ Place your `.fun` files anywhere under `examples/` to have them picked up by `pl
#include <io/console.fun></pre>
If you add an example showcasing a new feature, also consider adding a brief note to the relevant doc (types.md, includes.md, opcodes.md, etc.).