Skip to content

Commit

Permalink
chore: bump version to 0.4.0 and update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardosm committed Feb 28, 2025
1 parent 6697c05 commit 2e98c68
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 7 deletions.
34 changes: 34 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,39 @@
# Changelog

## 0.4.0 (unreleased)

### Added

- New language features from Jsonnet 0.21:
- Slices now accept negative indexes.
- Chomped multi-line text blocks (which start with `|||-`).
- New standard library elements from Jsonnet 0.21:
- `std.pi` (constant)
- `std.log2(x)`
- `std.log10(x)`
- `std.atan2(y, x)`
- `std.deg2rad(x)`
- `std.rad2deg(x)`
- `std.hypot(a, b)`
- `std.isEven(x)`
- `std.isOdd(x)`
- `std.isInteger(x)`
- `std.isDecimal(x)`
- `std.trim(str)`
- `std.equalsIgnoreCase(str1, str2)`
- `std.flattenDeepArray(value)`
- `std.minArray(arr, keyF, onEmpty)`
- `std.maxArray(arr, keyF, onEmpty)`
- `std.contains(arr, elem)`
- `std.avg(arr)`
- `std.remove(arr, elem)`
- `std.removeAt(arr, idx)`
- `std.objectRemoveKey(obj, key)`
- `std.sha1(s)`
- `std.sha256(s)`
- `std.sha512(s)`
- `std.sha3(s)`

## 0.3.0 (2024-11-07)

### Breaking
Expand Down
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ members = [
resolver = "2"

[workspace.package]
version = "0.3.0"
version = "0.4.0-pre"
authors = ["Eduardo Sánchez Muñoz <eduardosm-dev@e64.io>"]
edition = "2021"
rust-version = "1.74"
repository = "https://github.com/eduardosm/rsjsonnet"
license = "MIT OR Apache-2.0"
publish = true
publish = false

[workspace.dependencies]
rsjsonnet-front = { path = "rsjsonnet-front", version = "0.3.0" }
rsjsonnet-lang = { path = "rsjsonnet-lang", version = "0.3.0" }
rsjsonnet-front = { path = "rsjsonnet-front", version = "0.4.0-pre" }
rsjsonnet-lang = { path = "rsjsonnet-lang", version = "0.4.0-pre" }

[profile.release]
strip = "debuginfo"
Expand Down

0 comments on commit 2e98c68

Please sign in to comment.