Skip to content

Commit

Permalink
chore: fix ci, add changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
pancsta committed Dec 15, 2024
1 parent cba2305 commit 778d7a5
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 26 deletions.
2 changes: 1 addition & 1 deletion .github_changelog_generator
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ pr-label=
since-tag=v0.1.0
user=pancsta
project=asyncmachine-go
unreleased=false
unreleased=true
51 changes: 26 additions & 25 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,32 +1,33 @@
# Changelog

## [v0.8.0](https://github.com/pancsta/asyncmachine-go/tree/v0.8.0-pre) (2024-11-13)

- feat\(am-dbg\): release am-dbg v0.8.0 [\#154](https://github.com/pancsta/asyncmachine-go/pull/154) (@pancsta)
- feat: add rest of v0.8.0 [\#153](https://github.com/pancsta/asyncmachine-go/pull/153) (@pancsta)
- feat\(examples\): add benchmark state source [\#152](https://github.com/pancsta/asyncmachine-go/pull/152) (@pancsta)
- feat\(examples\): add tree state source [\#151](https://github.com/pancsta/asyncmachine-go/pull/151) (@pancsta)
- feat\(helpers\): add dedicated test helpers [\#150](https://github.com/pancsta/asyncmachine-go/pull/150) (@pancsta)
- feat\(helpers\): add WaitFor\* methods [\#149](https://github.com/pancsta/asyncmachine-go/pull/149) (@pancsta)
- feat\(helpers\): add failsafe Request object [\#148](https://github.com/pancsta/asyncmachine-go/pull/148) (@pancsta)
- feat\(rpc\): add logging supports to RPC Worker [\#147](https://github.com/pancsta/asyncmachine-go/pull/147) (@pancsta)
- feat\(rpc\): add am.Tracer supports to RPC Worker [\#146](https://github.com/pancsta/asyncmachine-go/pull/146)
## [v0.9.0](https://github.com/pancsta/asyncmachine-go/tree/v0.9.0) (2024-12-15)

- feat\(node\): release v0.9 [\#194](https://github.com/pancsta/asyncmachine-go/pull/194) (@pancsta)
- feat\(node\): release v0.9 [\#193](https://github.com/pancsta/asyncmachine-go/pull/193) (@pancsta)
- fix\(am-dbg\): add various fixes v0.9 [\#192](https://github.com/pancsta/asyncmachine-go/pull/192) (@pancsta)
- feat\(am-dbg\): add --fwd-data flag [\#191](https://github.com/pancsta/asyncmachine-go/pull/191) (@pancsta)
- feat\(am-dbg\): hide GCed pipes [\#190](https://github.com/pancsta/asyncmachine-go/pull/190) (@pancsta)
- feat\(am-dbg\): add mouse support [\#189](https://github.com/pancsta/asyncmachine-go/pull/189) (@pancsta)
- feat\(am-dbg\): add address bar & tags [\#188](https://github.com/pancsta/asyncmachine-go/pull/188) (@pancsta)
- feat\(am-dbg\): add Source in reader pane [\#187](https://github.com/pancsta/asyncmachine-go/pull/187) (@pancsta)
- feat\(am-dbg\): add highlighting for log args and stack traces [\#186](https://github.com/pancsta/asyncmachine-go/pull/186)
(@pancsta)
- feat\(rpc\): add client failsafety [\#145](https://github.com/pancsta/asyncmachine-go/pull/145) (@pancsta)
- feat\(rpc\): add port multiplexer [\#144](https://github.com/pancsta/asyncmachine-go/pull/144) (@pancsta)
- feat\(telemetry\): auto-detach dbg tracer on errs [\#143](https://github.com/pancsta/asyncmachine-go/pull/143)
- feat\(am-dbg\): improve GC and add --max-mem flag [\#185](https://github.com/pancsta/asyncmachine-go/pull/185) (@pancsta)
- refac\(machine\): add indexes to Step [\#184](https://github.com/pancsta/asyncmachine-go/pull/184) (@pancsta)
- feat\(machine\): add AMerge for log args [\#183](https://github.com/pancsta/asyncmachine-go/pull/183) (@pancsta)
- feat\(machine\): allow events as mutation sources eg EvAdd\(\) [\#182](https://github.com/pancsta/asyncmachine-go/pull/182)
(@pancsta)
- feat\(telemetry\): Loki and Otel loggers [\#142](https://github.com/pancsta/asyncmachine-go/pull/142) (@pancsta)
- feat\(am-gen\): gen grafana dashboards using grabana [\#141](https://github.com/pancsta/asyncmachine-go/pull/141)
(@pancsta)
- feat\(node\): add pkg/node [\#140](https://github.com/pancsta/asyncmachine-go/pull/140) (@pancsta)
- feat\(states\): add pkg/states/pipes [\#139](https://github.com/pancsta/asyncmachine-go/pull/139) (@pancsta)
- feat\(machine\): reuse state contexts [\#138](https://github.com/pancsta/asyncmachine-go/pull/138) (@pancsta)
- feat\(machine\): topological sort for Require [\#137](https://github.com/pancsta/asyncmachine-go/pull/137) (@pancsta)
- feat: add typesafe mutation args [\#136](https://github.com/pancsta/asyncmachine-go/pull/136) (@pancsta)
- feat\(machine\): add info to state ctxs [\#135](https://github.com/pancsta/asyncmachine-go/pull/135) (@pancsta)
- feat\(machine\): add WillBe, WillBeRemoved [\#134](https://github.com/pancsta/asyncmachine-go/pull/134) (@pancsta)
- feat: add states file v2 format [\#133](https://github.com/pancsta/asyncmachine-go/pull/133) (@pancsta)

## [v0.8.1](https://github.com/pancsta/asyncmachine-go/tree/v0.8.1) (2024-12-14)

- fix\(machine\): fix remove implied by multi [\#180](https://github.com/pancsta/asyncmachine-go/pull/180) (@pancsta)
- feat\(helpers\): add fan out-in [\#159](https://github.com/pancsta/asyncmachine-go/pull/159) (@pancsta)
- feat\(telemetry\): add metrics for state activations [\#158](https://github.com/pancsta/asyncmachine-go/pull/158) (@pancsta)
- feat\(am-dbg\): show tx handlers in log reader [\#157](https://github.com/pancsta/asyncmachine-go/pull/157) (@pancsta)
- test: add source param to /pkg/helpers [\#156](https://github.com/pancsta/asyncmachine-go/pull/156) (@pancsta)
- ci: add tests and LoC badges [\#155](https://github.com/pancsta/asyncmachine-go/pull/155) (@pancsta)

## [v0.8.0](https://github.com/pancsta/asyncmachine-go/tree/v0.8.0) (2024-11-13)

## [v0.7.1](https://github.com/pancsta/asyncmachine-go/tree/v0.7.1) (2024-11-13)

Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,8 @@ is always a good idea.
- [`/tools/cmd/am-gen`](/tools/cmd/am-gen/README.md) Generates states files and Grafana dashboards.
- `/tools/cmd/am-vis` Planned.

![dashboard](https://pancsta.github.io/assets/asyncmachine-go/am-dbg-dashboard.png)

## Case Studies

Bigger implementations worth reading:
Expand Down
25 changes: 25 additions & 0 deletions tools/debugger/states/states_utils.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
package states

import am "github.com/pancsta/asyncmachine-go/pkg/machine"

// S is a type alias for a list of state names.
type S = am.S

// State is a type alias for a state definition.
type State = am.State

// SAdd is a func alias for merging lists of states.
var SAdd = am.SAdd

// StateAdd is a func alias for adding to an existing state definition.
var StateAdd = am.StateAdd

// StateSet is a func alias for replacing parts of an existing state
// definition.
var StateSet = am.StateSet

// StructMerge is a func alias for extending an existing state structure.
var StructMerge = am.StructMerge

// Exception is a type alias for the exception state.
var Exception = am.Exception

0 comments on commit 778d7a5

Please sign in to comment.