1.9.0 #2091
yannham
announced in
Announcements
1.9.0
#2091
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Nickel 1.9 includes various bug fixes and quality of life improvements.
Noteworthy additions are:
let ... in ...
file (it was based on the file extension implicitly and would default
to Nickel), e.g. as
import "foo.txt" as 'Json
orimport "bar.ncl" as 'Text
.nickel test
command that can extract snippets from thein-code documentation (the
| doc
metadata) together with their expectedresult 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
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
#2031,
#2051)
import "sample.html" as 'Text
by @vi(#2036,
#2070)
Rc<[..]>
by @jneem in [Use a persistent vector instead of anRc<[..]>
#2057](Use a persistent vector instead of anRc<[..]>
#2057Documentation
LSP
Tooling
--format
argument tonickel query
command by @suimong in Add--format
argument tonickel query
command #2015nickel test
subcommand for testing examples in docs. by @jneem in Adds anickel test
subcommand for testing examples in docs. #2020nickel doc
by @yannham in Detect infinite recursions innickel doc
#2055New Contributors
import 'Raw "sample.html"
#2036Full Changelog: 1.8.1...1.9.0
This discussion was created from the release 1.9.0.
Beta Was this translation helpful? Give feedback.
All reactions