Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: brexhq/substation
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.3.0
Choose a base ref
...
head repository: brexhq/substation
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.3.1
Choose a head ref
  • 2 commits
  • 2 files changed
  • 2 contributors

Commits on Nov 7, 2024

  1. fix(transform): Add SkipMissingValues Flag to Test Transform (#273)

    jshlbrd authored Nov 7, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    21ff1db View commit details
  2. chore(main): release 2.3.1 (#274)

    Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
    github-actions[bot] authored Nov 7, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    25dfb73 View commit details
Showing with 8 additions and 1 deletion.
  1. +7 −0 CHANGELOG.md
  2. +1 −1 transform/test_message.go
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## [2.3.1](https://github.com/brexhq/substation/compare/v2.3.0...v2.3.1) (2024-11-07)


### Bug Fixes

* **transform:** Add SkipMissingValues Flag to Test Transform ([#273](https://github.com/brexhq/substation/issues/273)) ([21ff1db](https://github.com/brexhq/substation/commit/21ff1dbfee305398cbaf3a210d9e1a6ef50cca69))

## [2.3.0](https://github.com/brexhq/substation/compare/v2.2.0...v2.3.0) (2024-11-04)


2 changes: 1 addition & 1 deletion transform/test_message.go
Original file line number Diff line number Diff line change
@@ -44,7 +44,7 @@ type testMessage struct {

func (tf *testMessage) Transform(_ context.Context, msg *message.Message) ([]*message.Message, error) {
if msg.HasFlag(message.IsControl) {
m := message.New().SetData(anyToBytes(tf.conf.Value))
m := message.New().SetData(anyToBytes(tf.conf.Value)).SkipMissingValues()
return []*message.Message{m, msg}, nil
}