Skip to content

Commit

Permalink
[release.sh] update to 1.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
yannham committed Nov 12, 2024
1 parent 985b99b commit 7236f8e
Show file tree
Hide file tree
Showing 6 changed files with 82 additions and 10 deletions.
10 changes: 5 additions & 5 deletions Cargo.lock

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

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

[workspace.package]
version = "1.8.0"
version = "1.9.0"
authors = ["The Nickel Team <[email protected]>"]
license = "MIT"
edition = "2021"
Expand All @@ -22,7 +22,7 @@ homepage = "https://nickel-lang.org"
readme = "README.md"

[workspace.dependencies]
nickel-lang-core = { version = "0.9.0", path = "./core", default-features = false }
nickel-lang-core = { version = "0.10.0", path = "./core", default-features = false }
nickel-lang-vector = { version = "0.1.0", path = "./vector" }
nickel-lang-utils = { version = "0.1.0", path = "./utils" }
lsp-harness = { version = "0.1.0", path = "./lsp/lsp-harness" }
Expand Down
67 changes: 67 additions & 0 deletions RELEASES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,70 @@
Version 1.9 (2024-11-12)
========================

Nickel 1.9 includes various bug fixes and quality of life improvements.

Noteworthy additions are:

- let-blocks: declaring several variables at once instead of chaining
`let ... in ...`
- explicit import: the ability to specify explicitly the format of an imported
file (it was based on the file extension implicitly and would default
to Nickel), e.g. as `import "foo.txt" as 'Json` or `import "bar.ncl" as
'Text`.
- the addition of a `nickel test` command that can extract snippets from the
in-code documentation (the `| doc` metadata) together with their expected
result and run them. The feature is detailed in a new CLI chapter of the user
manual.

Two important future evolutions have been designed and discussed through RFCs:
package management and a performant bytecode virtual machine. Those features
aren't implemented yet, but the initial designs have been agreed upon.

Breaking changes
----------------

* Formatting: the formatting of let bindings has been fixed and improved. To
avoid a large, irrelevant diff on your next commits, we advise formatting your
whole codebase first after upgrading to 1.9 in a separate commit.

Core language
-------------

* Let blocks by @jneem ([#2010](https://github.com/tweag/nickel/pull/2010),
[#2031](https://github.com/tweag/nickel/pull/2031),
[#2051](https://github.com/tweag/nickel/pull/2051))
* Fix unsound record contract deduplication by @yannham in https://github.com/tweag/nickel/pull/2042
* Explicit import format: `import "sample.html" as 'Text` by @vi
([#2036](https://github.com/tweag/nickel/pull/2036),
[#2070](https://github.com/tweag/nickel/pull/2070))
* Thunks for resolved imports (detect import infinite loops and avoid work duplication) by @jneem in https://github.com/tweag/nickel/pull/2052
* Use a persistent vector to represent arrays instead of an `Rc<[..]>` by @jneem in [#2057](https://github.com/tweag/nickel/pull/2057

Documentation
-------------

* Add a manual chapter for the cli. by @jneem in https://github.com/tweag/nickel/pull/2065
* [RFC006] Package management by @jneem in https://github.com/tweag/nickel/pull/1983
* [RFC007] Bytecode interpreter by @yannham in https://github.com/tweag/nickel/pull/2045

LSP
---

* Remove the option for an external formatter in nls by @jneem in https://github.com/tweag/nickel/pull/2064
* Fix completions in incomplete field name position. by @jneem in https://github.com/tweag/nickel/pull/2069
* Bound the length of nls completions by @jneem in https://github.com/tweag/nickel/pull/2073

Tooling
-------

* Add `--format` argument to `nickel query` command by @suimong in https://github.com/tweag/nickel/pull/2015
* Adds a `nickel test` subcommand for testing examples in docs. by @jneem in https://github.com/tweag/nickel/pull/2020
* Detect infinite recursions in `nickel doc` by @yannham in https://github.com/tweag/nickel/pull/2055
* Strict typechecking mode by @jneem in https://github.com/tweag/nickel/pull/2077
* Switch to toml-edit for spanned deserialization fixing TOML deserialization bug by @jneem in https://github.com/tweag/nickel/pull/2074
* Make serde-wasm-bindgen optional in core by @akavel in https://github.com/tweag/nickel/pull/2089
* Move 'clap' crate dependency behind feature flag in core by @akavel in https://github.com/tweag/nickel/pull/2090

Version 1.8 (2024-09-09)
========================

Expand Down
2 changes: 1 addition & 1 deletion core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "nickel-lang-core"
version = "0.9.0"
version = "0.10.0"
description = "Programmable configuration files."
authors.workspace = true
edition.workspace = true
Expand Down
7 changes: 6 additions & 1 deletion vector/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@
name = "nickel-lang-vector"
version = "0.1.0"
description = "Persistent vectors for Nickel"
edition = "2021"
authors.workspace = true
edition.workspace = true
homepage.workspace = true
keywords.workspace = true
license.workspace = true
repository.workspace = true

[dependencies]
imbl-sized-chunks = "0.1.2"
Expand Down
2 changes: 1 addition & 1 deletion wasm-repl/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "nickel-wasm-repl"
version = "0.9.0"
version = "0.10.0"
description = "WebAssembly REPL for the Nickel programming language."
authors.workspace = true
edition.workspace = true
Expand Down

0 comments on commit 7236f8e

Please sign in to comment.