Skip to content
This repository has been archived by the owner on Jun 4, 2022. It is now read-only.

Releases: anmonteiro/lumo

1.10.1

10 Apr 14:03
ca72313
Compare
Choose a tag to compare

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

  • Fix fs/readdir{Sync} not listing the correct files for . and ..
    arguments (#463)
  • Fix fs/readFile not accepting file descriptor arguments
    (#462)

1.10.0

09 Apr 20:46
c64e773
Compare
Choose a tag to compare

Changes

  • Upgrade Node.js to version 11.13.0.
  • Upgrade ClojureScript to version 1.10.520.

Bug fixes

  • Fix fs/readdir{Sync} not listing the correct files for . and ..
    arguments (#463)
  • Fix fs/readFile not accepting file descriptor arguments
    (#462)

1.9.0

08 Nov 15:24
07124ff
Compare
Choose a tag to compare

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

  • ctrl-c during REPL execution exits lumo (#327).
  • SIGINT cannot be caught (#191).
  • Correctly set __dirname and __filename when running script file (#185).
  • Honor the "accept" parameter of the socket repl options (#431)
  • Autocompletion should be case sensitive (#435)

1.9.0-alpha

12 May 03:22
a444929
Compare
Choose a tag to compare

Bug fixes

  • clojure.reflect not bundled (#369).
  • -e with 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-cache as global cache folder.
    • Throw in case of the unsupported :parallel-build.
    • Fix init of cljs.core/*print-newline*.

1.8.0

15 Feb 21:38
Compare
Choose a tag to compare

New features

  • Remove #_=> from pasted code (#261).
  • Allow CLJS require from node_modules (#130).
  • Make dir work 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.reader with 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

17 Sep 18:54
b10e5a4
Compare
Choose a tag to compare

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-file switching 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

17 Aug 01:19
Compare
Choose a tag to compare

New features

  • Add support for tagged literals (#75).
  • Add support for running custom accept functions in the Lumo socket server
    (#105).
    The --socket-repl option can now be a JSON object with accept and args keys
    (in addition to port and host) where accept is a namespace qualified string
    for a function that will run when accepting a new connection.
  • Add support for specifying Closure libraries in the :libs entry in deps.cljs
    (#210).
  • Add lumo.core/exit function.
  • Pretty print JavaScript objects & arrays.
  • Add a new -A / --checked-arrays command line option that can be warn or error.
  • 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 new cljs.core/*command-line-args*
    introduced in ClojureScript 1.9.8XX.

Bug fixes

  • Isolate copy paste inference per readline session (#197).
  • Socket REPL fails to isolate NS (#158).
  • Fix NPM installation as root (#206).
  • Deduplicate the results of lumo.repl/apropos.
  • Fix issue that prevented *print-namespace-maps* to be true on REPL startup.

1.6.0

30 Jun 21:13
c505287
Compare
Choose a tag to compare

New features

  • Add ability to execute a script from standard input (#168).
  • Add support for reverse-i-search (#169).
  • Expose eval. There is now a lumo.core/eval function (#146, #177).
  • Add support for passing Maven coordinates to add JARs to the classpath (#156 and #186).
    The relevant CLI option is -D / --dependencies that supports a comma-separated
    list of Maven coordinates, and -L / --local-repo to 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
    on test.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 doc for macros that are not referred (#153).
  • Correctly set __dirname and __filename when running script file (#185).
  • Also Crawl deps.cljs files 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

13 May 20:41
41c1406
Compare
Choose a tag to compare

New features

  • Add find-doc REPL function (#141).
  • Add source REPL special (#84).
  • Add apropos REPL 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 to cljs.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 --eval scripts (#155).
  • Fix a bug that would prevent loading files from absolute paths (#161).

1.4.1

21 Apr 00:48
ecac3d4
Compare
Choose a tag to compare

Changes

  • Statically link the Lumo binary on Linux (#137).

Bug fixes

  • Allow all asynchronous operations to finish before exiting when running scripts.