This repository was archived by the owner on Jun 4, 2022. It is now read-only.
Releases: anmonteiro/lumo
Releases · anmonteiro/lumo
1.10.1
The following are changes since 1.9.0. The 1.10.0 release is broken and to be considered unusable.
Changes
- Upgrade Node.js to version 11.13.0.
- Upgrade ClojureScript to version 1.10.520.
Bug fixes
1.10.0
1.9.0
New features
- Allow omitting version in -D – default to the latest locally available version (#320).
Changes
- Upgrade ClojureScript to version 1.10.439.
- Upgrade Node.js to version 10.9.0.
- The release installer for NPM should now be much more reliable.
Bug fixes
1.9.0-alpha
Bug fixes
clojure.reflectnot bundled (#369).-ewith unfinished form hangs (#375).- Fix crash when trying to auto-complete a line ending with
'(#365).
Changes
- Upgrade Node.js to version 9.10.0.
- Bump ClojureScript to 1.10.X (#379).
Plus miscellaneous fixes, most notably:- Use cljs.core/eval in lumo.core.
- Bundle
cljs.core.specs.alpha. - Use
$HOME/.cljs/.lumo-cacheas global cache folder. - Throw in case of the unsupported
:parallel-build. - Fix init of
cljs.core/*print-newline*.
1.8.0
New features
- Remove #_=> from pasted code (#261).
- Allow CLJS require from
node_modules(#130). - Make
dirwork on aliases. - Add spec completions (#279).
- Handle scoped packages when loading Cljs from node dirs (#300).
- Added
lumo.build.api/watch(#321).
Changes
- Upgrade Node.js to version 9.2.0.
- Upgrade ClojureScript to version 1.9.946.
Bug fixes
- lumo.compiler/cljs-files-in can match dirs (#270).
- Fix bug in the build API caused by requiring
cljs.spec.test.alpha(#273). - Fix compilation crash with macros &
:optimize-constants true(#274). - Require fails if Lumo output is redirected (#283).
- Lumo script failure when redirecting stdout? (#286).
- Load required macro namespaces when reading analysis cache (#308).
- Don't look for the REPL history file in the user's home directory if one doesn't exist (#309).
- Use
tools.readerwith the unicode literal / cljs.core/bit-or warning (#341). - Auto-completion fails with numbers in ns names (#332)
- WARNING: cljs.core/bit-or, all arguments must be numbers (#341).
- Add common metadata keys to completion keywords (#344).
1.8.0-beta
New features
- Get arglists from the runtime environment (#248).
- Honor
*main-cli-fn*(#238). - Completions for JS namespaces (#254).
- Comprehensive enhancement to the Lumo build API (#263).
The Lumo build API has been enhanced significantly and now includes JS module
processing, preloads, and is mostly at feature parity with the JVM ClojureScript
build API.
One noteworthy feature is the possibility of passing a callback to
lumo.build.api/build: Lumo compilation is intrinsically asynchronous,
therefore now it is possible to pass a callback.
Changes
- Treat stdin as file (doesn't print results by default) (#231).
Bug fixes
- Fix
cljs.core/*command-line-args*not getting populated (#237). - Crash when getting completions for a namespace that was required as string (#246).
- Fix
load-fileswitching back to default namespace (#236). - Can't require
goog(#227). - Build API: namespaces compiled more than once (#245).
- Error in build API when building with source maps on (#132).
1.7.0
New features
- Add support for tagged literals (#75).
- Add support for running custom accept functions in the Lumo socket server
(#105).
The--socket-reploption can now be a JSON object withacceptandargskeys
(in addition toportandhost) whereacceptis a namespace qualified string
for a function that will run when accepting a new connection. - Add support for specifying Closure libraries in the
:libsentry indeps.cljs
(#210). - Add
lumo.core/exitfunction. - Pretty print JavaScript objects & arrays.
- Add a new
-A / --checked-arrayscommand line option that can bewarnorerror. - Miscellaneous improvements to pretty printing at the REPL.
Changes
- Use Paredit.js to calculate indentation for multiline forms (#193).
- Upgrade Google Closure Compiler to v20170806.
- Upgrade ClojureScript to version 1.9.908.
- Upgrade Node.js to version 8.4.0.
- BREAKING: Remove
lumo.core/*command-line-args*in favor of the newcljs.core/*command-line-args*
introduced in ClojureScript 1.9.8XX.
Bug fixes
1.6.0
New features
- Add ability to execute a script from standard input (#168).
- Add support for
reverse-i-search(#169). - Expose
eval. There is now alumo.core/evalfunction (#146, #177). - Add support for passing Maven coordinates to add JARs to the classpath (#156 and #186).
The relevant CLI option is-D / --dependenciesthat supports a comma-separated
list of Maven coordinates, and-L / --local-repoto override the local Maven
repository (defaults to~/.m2/repository). - Bundle
cljs.spec.test.alpha(#179).
Note that while this namespace is now bundled with Lumo, it has a hard dependency
ontest.check(>= v0.10.0-alpha1).
Changes
- Upgrade ClojureScript to version 1.9.671.
- Upgrade Node.js to version 8.1.3.
- Upgrade Google Closure Compiler to v20170521 (#173).
- Don't compile a fully static binary under Linux (#163, #176). This fixes
a problem where requiring Node packages would crash (different stdlib versions).
It also means that Lumo no longer works under NixOS.
Bug fixes
- Fix regression that prevented requiring binary modules (#163).
- Fix bug that prevented Lumo from continuing executing after being put in background (#166).
- Fix regression that prevented requiring foreign libraries (#167).
- Fix a race condition with the REPL history where Lumo could attempt to read a file's
size before it was created. - Pretty print eductions (#170).
- Auto-complete after arrow & other special characters (#157).
- Don't print
docfor macros that are not referred (#153). - Correctly set __dirname and __filename when running script file (#185).
- Also Crawl
deps.cljsfiles in dirs (#184). - Suppress printing metadata for unknown types (#189).
- Fix brace highlighting for forms that span more than the terminal width (#187).
1.5.0
New features
- Add
find-docREPL function (#141). - Add
sourceREPL special (#84). - Add
aproposREPL function (#86). - Print stacktraces (#36).
- Add support for running Lumo in Git Bash on Windows (#142).
Changes
- Upgrade Node.js to version 7.10.0.
- Upgrade ClojureScript to version 1.9.542. This includes the renaming of Spec
namespaces tocljs.spec.alpha,cljs.spec.gen.alpha, etc.
Bug fixes
- Allow all asynchronous operations to finish before exiting when running scripts.
The fix that landed in version 1.4.1 still exhibited some issues (#148). - Fix installation on Windows (#149).
- Don't crash if socket server can't bind to port (#159).
- Support multiple forms in
--evalscripts (#155). - Fix a bug that would prevent loading files from absolute paths (#161).