Skip to content

Commit

Permalink
Merge pull request #61 from loopholelabs/staging
Browse files Browse the repository at this point in the history
Release v0.3.7
  • Loading branch information
ShivanshVij authored Feb 21, 2023
2 parents edf10ea + 0fb3aab commit 1f171b9
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/golang-tests.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Golang
name: Golang Tests

on: [pull_request]

Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/typescript-release.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
name: Typescript
name: Typescript Release

on:
release:
types: [published]
workflow_dispatch:


jobs:
publish:
Expand All @@ -26,7 +28,7 @@ jobs:
run: npm run build
- name: Publish to npm
run: npm publish --access public
working-dir: ./dist
working-directory: ./dist
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}

2 changes: 1 addition & 1 deletion .github/workflows/typescript-tests.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Typescript
name: Typescript Tests

on: [pull_request]

Expand Down
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [v0.3.7] - 2023-02-19

### Fixes

- Fixing bug in `Go` Runtime where passing in `nil` as the `Next` function would cause a panic

## [v0.3.6] - 2023-02-19

### Features
Expand Down Expand Up @@ -120,7 +126,8 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

- Initial release of the Scale Runtime library.

[unreleased]: https://github.com/loopholelabs/scale/compare/v0.3.6...HEAD
[unreleased]: https://github.com/loopholelabs/scale/compare/v0.3.7...HEAD
[v0.3.7]: https://github.com/loopholelabs/scale/compare/v0.3.7
[v0.3.6]: https://github.com/loopholelabs/scale/compare/v0.3.6
[v0.3.5]: https://github.com/loopholelabs/scale/compare/v0.3.5
[v0.3.4]: https://github.com/loopholelabs/scale/compare/v0.3.4
Expand Down
2 changes: 1 addition & 1 deletion go/instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func (r *Runtime[T]) Instance(next ...Next[T]) (*Instance[T], error) {
runtimeCtx: ctx.RuntimeContext(),
}

if len(next) > 0 {
if len(next) > 0 && next[0] != nil {
i.next = next[0]
} else {
i.next = func(ctx T) (T, error) {
Expand Down
10 changes: 5 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@loopholelabs/scale",
"version": "0.3.6",
"version": "0.3.7",
"description": "Scale is a highly-performant WebAssembly function runtime that enables composable, language-agnostic software development.",
"source": "ts/index.ts",
"main": "main.js",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"resolveJsonModule": true,
"declaration": true,
"paths": {
"scale-ts": ["./ts"]
"scale": ["./ts"]
},
"types": ["node", "jest"]
},
Expand Down

0 comments on commit 1f171b9

Please sign in to comment.