Skip to content

Commit 1108a40

Browse files
committed
blog: release-0.20
1 parent f2ce708 commit 1108a40

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
+++
2+
title = "Release: v0.20"
3+
+++
4+
5+
## Expanding the Core
6+
7+
### ✨ TL;DR
8+
9+
This release expands Phel’s core with many new functions and macros, unifies and improves collection handling (`reduce`, `take`, `map`, `sets`), and streamlines runtime access through the new Phel facade. It also includes key bug fixes, refined math behavior, and developer workflow enhancements.
10+
11+
## Highlights
12+
13+
### ✨ New features
14+
15+
- Unified `reduce` implementation now works without an initial value (removing the need for `reduce2`)
16+
- Added a wide range of core functions such as `select-keys`, `median`, `slurp`, `spit`, `zipmap`, `repeat`, and more, along with aliases like `assoc/assoc-in` and `dissoc/dissoc-in`
17+
- Introduced macros `some->` and `some->>` for optional chaining patterns
18+
- `take` now supports PHP Traversable inputs for safe slicing of generators and other iterables
19+
- Phel serves as the public entry class and proxy for `Registry` methods, exposing additional constructors and helpers
20+
21+
### 🐛 Bug fixes
22+
23+
- Resolved `map` exhaustion on empty collections
24+
- Fixed `contains-value?` handling of nil values
25+
- Corrected set `difference` behavior for certain inputs
26+
- Addressed `require` loading when `*build-mode*` is unset
27+
- Prevented coercion of `nil` to 0 in math operations
28+
29+
### 🔧 Enhancements & Refactors
30+
31+
- Improved `php/->` to support nested calls
32+
- Adopted new `list`, `vector`, `set`, and `map` constructors for cleaner proxying through Phel
33+
34+
### ⚙️ Miscellaneous
35+
36+
- Added an auto-assign-author GitHub workflow to streamline contributions
37+
38+
## Full list
39+
40+
For a full list of changes, have a look at the concrete version:
41+
42+
- [v0.20.0](https://github.com/phel-lang/phel-lang/releases/tag/v0.20.0)

0 commit comments

Comments
 (0)