Skip to content

Releases: Casterlabs/Commons

1.3.2

28 Dec 01:24
Compare
Choose a tag to compare

IPC

  • Updated Rakurai, again.

1.3.1

28 Dec 00:36
Compare
Choose a tag to compare

IPC

  • Update Rakurai.

1.3.0

18 Nov 19:54
Compare
Choose a tag to compare

Functional

  • Added vector classes, which are essentially a set of numbers (e.g coordinates or velocity). These should look familar from other Common libraries (Vector2f, Vector3d, etc).

Platform

  • Renamed OSDistribution.MACOSX -> MACOS.
  • Added processor word size to the Platform. ("32" or "64")
  • Added isBigEndian to Platform as well.
  • Renamed a couple of the architectures to be more consistent with other precedents.
  • Added SPARC, MIPS, S390, and RISCV to the list of processor architectures.

1.2.0

20 Oct 02:13
Compare
Choose a tag to compare

IPC

  • This now exists in preview. Use at your own risk :^)

Async

  • Added PromiseWithHandles, for edge cases not met by Promise.
  • SyncQueue and ThreadQueue have been renamed to SyncExecutionQueue and ThreadExecutionQueue respectively. They also now have a common interface for better interoperability.
  • Cleaned up SyncExecutionQueue.

1.1.1

24 Sep 09:20
Compare
Choose a tag to compare

Async

  • Promises now use their own Supplier-compatible interface which properly allows throwing.
  • Added a new Promise constructor for deep-nested lambdas.

1.1.0

24 Sep 07:48
Compare
Choose a tag to compare
  • Generally cleaned up a lot of the existing code and put comments everywhere.

Async

  • Renamed Lock -> SyncQueue
  • Moved both SyncQueue and ThreadQueue to the co.casterlabs.commons.async.queue package.
  • Made AsyncTask use static constructors, create and createNonDaemon.

Functional

  • Added Tuples (Pair, Triple, etc).

Events

  • Renamed the classes for better clarity.
  • The EventProvider classes now properly utilize concurrent collections.
  • Removed dumb methods, and the generated listener ID is no longer based on the hashCode of the listener.

Platform

  • Added a library filename helper (e.g "Webview" -> "libwebview.so").

1.0.0

21 Sep 17:05
Compare
Choose a tag to compare

First release :^)