Releases: Casterlabs/Commons
Releases · Casterlabs/Commons
1.3.2
1.3.1
1.3.0
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
toPlatform
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
IPC
- This now exists in preview. Use at your own risk :^)
Async
- Added
PromiseWithHandles
, for edge cases not met byPromise
. SyncQueue
andThreadQueue
have been renamed toSyncExecutionQueue
andThreadExecutionQueue
respectively. They also now have a common interface for better interoperability.- Cleaned up
SyncExecutionQueue
.
1.1.1
1.1.0
- 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
andcreateNonDaemon
.
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").