Skip to content
This repository has been archived by the owner on Jul 30, 2024. It is now read-only.

Releases: exoego/scala-js-nodejs

v0.15.0 🌈

14 Jul 01:10
13dcb3e
Compare
Choose a tag to compare

Summary

This will be a final release to support multiple NodeJS versions (v16, v14 and v12).
From next, only the latest (v18 maybe) version will be supported.
This is mainly because Scala 3 dropped macro annotation support, which is used heavily for compiler switch in this project.

🧰 Maintenance

v0.14.0 🌈

09 Nov 11:55
6784a98
Compare
Choose a tag to compare

Remarks

Icon 💥 stands for breaking change.

🚀 Features

  • 💥[fs] Dir & Dirent is now Dir[T] & Dirent[T] (parameterized for path name) @exoego (#354)
  • [fs] Overhaul fsPromise: new methods and correction @exoego (#355)
  • [fs] Overhaul fs: new methods and correction @exoego (#356)
  • [fs] Allow null in readsync @exoego (#395)
  • Node.js 16 part1 @exoego (#396)
  • Add more Node.js 16 additions (Node.js v16.3.0-v16.9.0) @exoego (#434)

🐛 Bug Fixes

🧰 Maintenance

v0.13.0 🌈

17 Feb 23:10
1d3f779
Compare
Choose a tag to compare

Remarks

Icon 💥 stands for breaking change.

🚀 Features

  • 💥Remove the stuff deprecated in previous version (v0.12.0) @exoego (#308)
  • 💥 [process] Remove Process#openStdin deprecated in Node.js v0.3.3 @exoego (#309)
  • 💥 Use js.Set introduced in Scala.js 1.2.0 @exoego (#316)
  • [crypto] Add crypto.randomInt @exoego (#317)
  • Reflect recent updates on Node.js v12.19.0 @exoego (#327)

🐛 Bug Fixes

  • [fs] BigIntStats should use js.BigInt & Remove ~Ns fron nodejs-v10 @exoego (#350)

🧰 Maintenance

v0.12.0🌈

31 Jul 05:59
fbcbd21
Compare
Choose a tag to compare

🗒️ Notable Changes

  • This introduces some 💥breaking changes (source-incompatible & binary-incompatible) for better typings and performance.
  • This is a final version for Scala.js 0.6.x. Consider update to Scala.js 1.x.
  • Node.js v14 support is added. Currently Node.js v14.7.0 is supported.
  • Parameter objects (e.g. MkdirOptions for Fs.mkdir) are now trait instead of class. Instances for such traits can be constructred via factory method (e.g. val option = MkdirOptions(recursive = true), just like case classes. This change is intended for performance and small footprint of generated JS file.
  • Most of method definitions now uses method overrides, instead of pseudo union types and default values (e.g. def foo(bar: String | Int, buz: Boolean = js.native)), for better source/binary compatibility.

🚀 Features

  • Typing: Prefer "overload" over "default parameter" for backward compat @exoego (#259, #260)
  • Typing: Prefer "overload" over "union types" for better type inference and backward compat @exoego (#261)
  • Update to Nodejs v14.7.0 @exoego (#302)
  • Use Factory macro for optimization and maintainability @exoego (#234)
  • [Error] Update ErrorCodes for Node.js v14 @exoego (#236)
  • [UDP/Datagram] Add addSourceSpecificMemberShip/dropSourceSpecificMemberShip @exoego (#269)
  • [child_process][cluster] Add serialization option (Node.js v13.2.0+, v12.16.0+) @exoego (#226)
  • [console] Add groupdIndentation to ConsoleOptions (Node.js v14.2.0+) @exoego (#228)
  • [console] Allow 0 argument logging & Allow seq.foreach(Consoe.log) @exoego (#297)
  • [console] Allow passing scala.Any to console @exoego (#299)
  • [crypto] Various updates for Node.js v14 @exoego (#229)
  • [dns] Added DNS.ALL flags (Node.js v14.0.0+) and other flags (Node.js v10+) @exoego (#230)
  • [events] Add experimental captureRejections, events.on, add events.errorMonitor @exoego (#237)
  • [fs] Various updates for Node.js v14 @exoego (#238)
  • [http2] Update to Node.js v14 @exoego (#241)
  • [http] Various updates for Node.js v14 @exoego (#239)
  • [https] Add highWaterMark to RequestOptions , Add agent.onKeylog event hander @exoego (#242)
  • [module] Move Module object to dedicated package, Various updates on Module object @exoego (#243)
  • [os] Add OS.version @exoego (#256)
  • [perf_hooks] Add new perf_hooks module @exoego (#257)
  • [readline] Various updates for Node.js v14 @exoego (#258)
  • [repl] Add preview field to StartOptions, Delete Unused REPLOptions @exoego (#265)
  • [stream] Add writable.writableCorked @exoego (#267)
  • [tls] Update ConnectOptions for Node.js v14 @exoego (#268)
  • [util] Node.js v14 ready @exoego (#224)
  • [vm] SecureContext is renamed to Context and now just an alias of js.Object @exoego (#270)
  • [worker_thread] Add transferList and resourceLimits @exoego (#271)

🐛 Bug Fixes

  • Extension method should not expose value @exoego (#263)
  • "option" objects should extend js.Object & ClusterSettings.serialization should be optional @exoego (#281)
  • [fs] WriteStream wrongly imports ReadStream @exoego (#248)
  • [stream] Fix stream.pipeline returning wrong type @exoego (#266)
  • [stream] Readable.redableFlowing should be nullary @exoego (#249)

📚 Docs

🧰 Maintenance

v0.11.0 🌈

26 May 07:51
9673cf5
Compare
Choose a tag to compare

🚀 Features

  • [https] Added tls-related properties to https.Agent(options) & https.request(options) @exoego (#201)
  • [process] Implement TransferOptions @exoego (#196)
  • [process] Deprecate process.openStdin in favor of process.stdin @exoego (#195)
  • [os][stream] Refine return types after dropping Node.js v8 @exoego (#194)
  • [stream] Remove the unused class Chunk @exoego (#193)

🐛 Bug Fixes

🧰 Maintenance

v0.10.0 🌈

23 Feb 02:15
3f29f17
Compare
Choose a tag to compare

From this version, Scala.js 1.0.0 is supported.
Scala.js 0.6.x will be supported until Scala.js 0.6.x reaches EOL.

🚀 Features

🐛 Bug Fixes

  • Buffer instance does not have kMaxLength actually @exoego (#169)
  • Those modules do not extend EventEmitter actually @exoego (#168)
  • Fix wrong typing in events.EventEmitter @exoego (#167)
  • Fix key object in crypto module @exoego (#166)
  • Fix "errors" module-related issues @exoego (#161)

🧰 Maintenance

v0.9.1 🌈

01 Jan 08:32
9d231c2
Compare
Choose a tag to compare

This is a final release for Node.js v8, which reached end-of-life on 2019-12-31.

🚀 Features

  • util.promisify is now function object with custom property @exoego (#116)
  • Util.inspect object is now function @exoego (#114)
  • Fields in option should be mutable so reusable after mutated @exoego (#115)
  • Overhaul fs module @exoego (#108)

🐛 Bug Fixes

📚 Docs

🧰 Maintenance

v0.9.0

06 Oct 11:55
Compare
Choose a tag to compare

This release cross-published for Node.js versions.

// For Node.js v8 LTS
libraryDependencies += "net.exoego" %%% "scala-js-nodejs-v8" % "0.9.0"
// For Node.js v10 LTS
libraryDependencies += "net.exoego" %%% "scala-js-nodejs-v10" % "0.9.0"
// For Node.js v12 (supposed to be next LTS)
libraryDependencies += "net.exoego" %%% "scala-js-nodejs-v12" % "0.9.0"

🚀 Features

"Overhaul" in the below means "added tons of new APIs and fixed the wrong type facade".

🐛 Fix

🧰 Maintenance