+Release v0.1.8
+--------------
+Unreleased
+
+Additions:
+- MacOS compatibility
+ - Using Wasmer runtime, MacOS on ARM and AMD64 are supported.
+- Memory debugger
+ - A custom allocator that intercepts allocations and frees and reports them
+ to a client for visualizations and debugging.
+- New installation script
+ - sh <(curl https://get.onyxlang.io -sSfL)
+ - Works on Linux and MacOS
+
+Removals:
+
+Changes:
+- Renamed `--no-std` flag to `--no-core`, since Onyx does not call its standard
+ library "std", the name did not make any sense.
+
+Bugfixes:
+- Formatting of days and months were incorrect `time.strftime`.
+- Infinite loop in TCP server when a client disconnects.
+
Release v0.1.7
--------------
October 25th, 2023
#!/bin/sh
# This install script is intended to download and install the latest available
-# release of Wasmer.
+# release of Onyx.
# It attempts to identify the current platform and an error will be thrown if
# the platform is not supported.
#
else
printf "Updating bash profile $ONYX_PROFILE\n"
if ! grep -q 'ONYX_PATH' "$ONYX_PROFILE"; then
- command printf "$SOURCE_STR" >>"$WASMER_PROFILE"
+ command printf "$SOURCE_STR" >>"$ONYX_PROFILE"
if [ "$ONYX_INSTALL_LOG" = "$ONYX_VERBOSE" ]; then
printf "we've added the following to your $ONYX_PROFILE\n"
echo "If you have a different profile please add the following:"
;;
1)
onyx_warning "The selected version (${ONYX_RELEASE_TAG}) is lower than current installed version ($ONYX_VERSION)"
- printf "Do you want to continue installing Wasmer $ONYX_RELEASE_TAG?"
+ printf "Do you want to continue installing Onyx $ONYX_RELEASE_TAG?"
onyx_verify_or_quit || return 1
;;
-1) ;;
mkdir -p $INSTALL_DIRECTORY
- # Untar the wasmer contents in the install directory
+ # Untar the Onyx contents in the install directory
tar -C $INSTALL_DIRECTORY -zxf $DOWNLOAD_FILE
# Make the executable executable
compress_all() {
package_all
- tar -C dist -zcvf onyx.tar.gz bin core examples include lib misc tests tools LICENSE
+ # Sign the binaries on MacOS
+ [ "$(uname)" = 'Darwin' ] && \
+ codesign -s - "$DIST_DIR/bin/onyx" && \
+ codesign -s - "$DIST_DIR/lib/onyx_runtime.dylib"
+
+ tar -C "$DIST_DIR" -zcvf onyx.tar.gz bin core examples include lib misc tests tools LICENSE
mv onyx.tar.gz dist/
}