All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Added an
index.ts
file to thescalefunc
andlog
packages in TypeScript to make importing them more ergonomic
v0.4.5 - 2023-10-09
- Environment Variables set during the scale function build command now get passed properly to the downstream commands
- The build system now allows for wasi and wasm targets depending on the user's choice
- Using init function for Rust plugins now properly builds and does not cause builds to break
- The Rust build step now properly verifies the build target with Cargo
- The storage manager now properly generates TypeScript signatures for both the guest and the host
- The TypeScript manifest generator for builds and signatures now returns a pretty-printed package.json
- The signature builder now returns the tar.gz format for TypeScript signatures as well as the raw files
v0.4.4 - 2023-10-05
- Added ability to compile with WASM-32 support (no WASI)
- Fixed a bug where the signature generation would not generate typescript signatures
v0.4.3 - 2023-10-04
- Scale Signatures for rust guests now properly use borrow/ownership semantics
- The NPM package for
scale
now has a properindex.js
file so it can be imported
v0.4.2 - 2023-09-27
- Fixing a bug where the
converter
package would not handle multiple embedded models correctly #110
v0.4.1 - 2023-09-20
- Fixing a bug where the imported typescript builder was unable to find the generated builder CLI because it was called
js_builder-x86_64-pc-windows-msvc.exe
instead ofjs_builder-x86_64-pc-windows-msvc
.
v0.4.0 - 2023-09-20
- Added support for scale signatures
- Consolidated build pipeline into the
build
package - Consolidated the compiler for golang, typescript, and rust guest functions into the
compile
package
- Merged various signature repositories into this repository
- Added integration tests to the
scale
package
v0.3.19 - 2023-05-15
- Added basic otel tracing support to
Golang
andTypescript
runtimes.
v0.3.18 - 2023-05-03
- Added dynamic source linking in jsbuilder
v0.3.17 - 2023-04-16
- Adding the
random_get
WASI Syscall implementation to theTypescript
Hosts'sDisabledWASI
Polyfill
v0.3.16 - 2023-04-15
- Updating the
Golang
andTypescript
API Clients
- Adding
Typescript
Client Support to the Scale Runtime @jimmyaxod
- Bumping
wazero
tov1.0.1
v0.3.15 - 2023-03-19
- Bumping
scale-signature-http
tov0.3.8
v0.3.14 - 2023-03-12
- Fix a series of bugs in the JS Compiler that were introduced in
v0.3.13
- Bumping
scalefile
tov0.1.9
- Bumping
scale-signature
tov0.2.11
- Bumping
scale-signature-http
tov0.3.7
v0.3.13 - 2023-03-12
- Updating the
typescript
andgolang
API clients from the latest scale API - Removing the
webpack
loader (moved to thescalefile
package)
- Bumping
scalefile
tov0.1.8
- Bumping
scale-signature
tov0.2.10
- Bumping
scale-signature-http
tov0.3.6
v0.3.12 - 2023-02-28
- Updating the
Typescript
runtime to function properly withNextJS
- Updating the
Typescript
registry to function properly in Browser environments - Adding a
webpack
loader forTypescript
runtimes that need to import scale functions directly - Allowing the
Typescript
scale runtime to be instantiated with Promises ofScaleFunc
objects
- Changing the
registry.New
function for bothTypescript
andGolang
toregistry.Download
- Bumping
golang.org/x/net
tov0.7.0
- Bumping
golang.org/x/text
tov0.7.0
v0.3.11 - 2023-02-20
- Updated API Client to expose the new
DeleteFunction
endpoint from the Scale API
v0.3.10 - 2023-02-19
- Fixing bug in
Go
andTS
Registry implementations where the computed hashes would get encoded inbase64
instead ofhex
leading to incorrect hashes
v0.3.9 - 2023-02-19
- Bumping
auth
version tov0.2.26
- Added
WithStorage
option togo/registry
to allow for pre-configured Storage Clients to be used - Updated API Client to expose the new
UserInfo
endpoint from the Scale API
v0.3.8 - 2023-02-19
- Added
WithClient
option togo/registry
to allow for pre-configured OpenAPI Clients to be used
v0.3.7 - 2023-02-19
- Fixing bug in
Go
Runtime where passing innil
as theNext
function would cause a panic
v0.3.6 - 2023-02-19
- In the
Go
runtime module actions are now cancellable via the given context
- Removing
parcel.js
and using thetypescript
compiler directly to build typescript libraries - Renaming
@loopholelabs/scale-ts
library to@loopholelabs/scale
- Bumping
wazero
to1.0.0-pre.9
- Fixing bugs in the
DisabledWASI
Polyfill implementation where the proper error codes would not be returned (fd_write
,fd_read
,environ...
,args...
) - Fixing bug in the
DisabledWASI
Polyfill implementation where the proper clock time would not get returned - Making sure the
client
,registry
, andstorage
typescript packages get exported and packaged properly - Making sure modules that return an error get thrown away properly instead of being recycled
v0.3.5 - 2023-02-17
- Fixing a bug in
go/storage
andts/storage
where the entire function path would be used to parse the filename instead of just the base file name
v0.3.4 - 2023-02-17
- Bumping
scale-signature
version tov0.2.9
- Bumping
scale-signature-http
version tov0.3.4
- Bumping
scalefile
version tov0.1.7
- Updating
storage
libraries for both TS and Go to use the newscalefile
library
v0.3.3 - 2023-02-17
- Changed the implementation of
List
ingo/storage
so that it returns an[]Entry
which contains theOrganization
and theHash
of the scale function - Changed the implementation of
Get
ingo/storage
andts/storage
so they both Return anEntry
v0.3.2 - 2023-02-16
- Fixing bug in
go/storage
where theList
function was not appending the storage BasePath properly - Fixing bug in
go/storage
where theGet
function would return an error if the required scale function was not found (it now returns nil) - Updating the
golang
compile template'smain.go
file to not have a dependency on thescale
runtime itself
v0.3.1 - 2023-02-15
- Adding API Client for both
Golang
andTypescript
- Adding Registry Functionality for both
Golang
andTypescript
- Adding
scalefile
support forTypescript
- Bumping
scale-signature
version tov0.2.7
- Bumping
scale-signature-http
version tov0.3.2
v0.3.0 - 2023-02-14
- Bumping
scale-signature
version tov0.2.2
- Bumping
scale-signature-http
version tov0.3.0
- Bumping
scalefile
version tov0.1.5
v0.2.2 - 2023-02-03
- Removing
wee_alloc
from all dependencies and from the rust generator - Bumping
scale-signature
version tov0.2.1
- Bumping
scale-signature-http
version tov0.2.4
v0.2.1 - 2023-02-02
- Bumping
scale-signature-http
version tov0.2.3
v0.2.0 - 2023-02-01
- Adding Typescript support for the Scale Runtime
- Adding Rust support for the Scale Guest
- Adding support for custom signatures in any Scale Runtime
- Adding test cases to guarantee cross-language compatibility (Go, Rust, Typescript)
v0.1.4 - 2023-01-12
- Added
runtime.NewSignature
type to signify a factory function for creating a newsignature.Signature
type. - Updating the
runtime.New
function to accept asignature.New
factory function (runtime.NewSignature
) instead of asignature.Signature
type. - Updated
runtime_test.go
to use the newruntime.New
function signature. - Updated the
runtime.Instance
function to make thenext
argument optional. instance.RuntimeContext
is now a private function since we don't expect developers to use it directly.
v0.1.1 - 2022-11-28
- Updating https://github.com/loopholelabs/scale-signature to
v0.1.1
- Adding missing license headers
v0.1.0 - 2022-11-25
- Initial release of the Scale Runtime library.