Skip to content

Releases: samber/ro

v0.4.1

Choose a tag to compare

@github-actions github-actions released this 23 Aug 19:55

Changes

  • fix(plugins/websocket): correct sentinel error package prefix by @samber in #323
  • feat(plugins/sort): add Reverse operator by @samber in #349
  • fix(plugins/sort,iter): preserve per-item context, stable sort, unsafe iter sources by @samber in #351

Doc

  • docs: improve contributing documentation for agentic workflows by @samber in #320
  • docs: add 55 verified Go Playground demos by @samber in #321
  • docs: note that sourceRef line numbers drift and how to refresh them by @samber in #322

Dependencies

  • chore(deps): bump github/codeql-action from 4 to 4.37.3 by @dependabot[bot] in #339
  • chore(deps): bump actions/setup-go from 6 to 7 by @dependabot[bot] in #340
  • chore(deps): bump the go_modules group across 4 directories with 4 updates by @dependabot[bot] in #333
  • chore(deps): bump actions/setup-node from 6 to 7 by @dependabot[bot] in #341

Full Changelog: v0.4.0...v0.4.1

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 04 Jul 18:33

What's Changed

  • perf: reduce hot-path allocations in TakeLast, Zip, ReplaySubject and Subscriber by @samber in #296
  • perf: reuse cases.Title caser via sync.Pool in Capitalize by @samber in #315
  • fix(plugins/strings,bytes): sync fixes from samber/lo by @samber in #318
  • feat: add WithLanguage variants for case-conversion operators (strings + bytes plugins) by @samber in #317
  • fix(plugins): use sentinel error variables instead of panic with strings by @samber in #319

Documentation

  • docs: add missing operator documentation (28 new files) by @samber in #316

Tooling

Dependencies

  • chore(deps): bump github.com/samber/lo from 1.52.0 to 1.53.0 in /plugins/testify by @dependabot[bot] in #240
  • chore(deps): bump github.com/samber/lo from 1.52.0 to 1.53.0 in /plugins/iter by @dependabot[bot] in #238
  • chore(deps): bump github.com/samber/lo from 1.52.0 to 1.53.0 in /ee by @dependabot[bot] in #237
  • chore(deps): bump github.com/samber/lo from 1.52.0 to 1.53.0 by @dependabot[bot] in #236
  • chore(deps): bump svgo from 3.3.2 to 3.3.3 in /docs by @dependabot[bot] in #242
  • chore(deps): bump github.com/samber/ro from 0.2.0 to 0.3.0 in /plugins/time by @dependabot[bot] in #245
  • chore(deps): bump github.com/arran4/golang-ical from 0.3.3 to 0.3.4 in /plugins/ics by @dependabot[bot] in #244
  • chore(deps): bump dompurify from 3.2.7 to 3.3.2 in /docs by @dependabot[bot] in #243
  • chore(deps): bump dompurify from 3.3.2 to 3.3.3 in /docs by @dependabot[bot] in #248
  • chore(deps): bump path-to-regexp from 0.1.12 to 0.1.13 in /docs by @dependabot[bot] in #254
  • chore(deps): bump picomatch from 2.3.1 to 2.3.2 in /docs by @dependabot[bot] in #252
  • chore(deps): bump node-forge from 1.3.2 to 1.4.0 in /docs by @dependabot[bot] in #253
  • chore(deps): bump brace-expansion from 1.1.12 to 1.1.13 in /docs by @dependabot[bot] in #255
  • chore(deps): bump dompurify from 3.3.3 to 3.4.0 in /docs by @dependabot[bot] in #269
  • chore(deps): bump lodash from 4.17.23 to 4.18.1 in /docs by @dependabot[bot] in #268
  • chore(deps): bump follow-redirects from 1.15.11 to 1.16.0 in /docs by @dependabot[bot] in #267
  • chore(deps): bump github.com/arran4/golang-ical from 0.3.4 to 0.3.5 in /plugins/ics by @dependabot[bot] in #262
  • chore(deps): bump github.com/go-co-op/gocron/v2 from 2.19.1 to 2.20.0 in /plugins/cron by @dependabot[bot] in #261
  • chore(deps-dev): bump typescript from 5.9.3 to 6.0.2 in /docs by @dependabot[bot] in #257
  • chore(deps): bump codecov/codecov-action from 5 to 6 by @dependabot[bot] in #256
  • chore(deps): bump @babel/plugin-transform-modules-systemjs from 7.27.1 to 7.29.4 in /docs by @dependabot[bot] in #280
  • chore(deps): bump webpack-dev-server from 5.2.2 to 5.2.4 in /docs by @dependabot[bot] in #286
  • ci: add dependabot automerge workflow by @headless-samber in #284
  • chore(deps): bump qs from 6.13.0 to 6.14.2 in /docs by @dependabot[bot] in #285
  • chore(deps): bump github.com/samber/lo from 1.44.0 to 1.53.0 by @dependabot[bot] in #282
  • chore(deps): bump fast-uri from 3.1.0 to 3.1.2 in /docs by @dependabot[bot] in #279
  • chore(deps): bump github.com/go-co-op/gocron/v2 from 2.20.0 to 2.21.1 in /plugins/cron by @dependabot[bot] in #273
  • chore(deps): bump softprops/action-gh-release from 2 to 3 by @dependabot[bot] in #274
  • chore(deps): bump aquasecurity/trivy-action from 0.35.0 to 0.36.0 by @dependabot[bot] in #275
  • chore(deps): bump marked from 17.0.3 to 18.0.3 in /docs by @dependabot[bot] in #276
  • chore(deps): bump mermaid from 11.12.0 to 11.15.0 in /docs by @dependabot[bot] in #281
  • chore(deps): bump github.com/sirupsen/logrus from 1.9.3 to 1.9.4 by @dependabot[bot] in #289
  • chore(deps): bump shell-quote from 1.8.3 to 1.8.4 in /docs by @dependabot[bot] in #295
  • chore(deps): bump actions/checkout from 6 to 7 by @dependabot[bot] in #312
  • chore(deps): bump webpack-dev-server from 5.2.4 to 5.2.5 in /docs by @dependabot[bot] in #311
  • chore(deps): bump launch-editor from 2.11.1 to 2.14.1 in /docs by @dependabot[bot] in #310
  • chore(deps): bump ws from 7.5.10 to 7.5.11 in /docs by @dependabot[bot] in #307
  • chore(deps): bump dompurify from 3.4.0 to 3.4.11 in /docs by @dependabot[bot] in #309
  • chore(deps): bump github.com/go-co-op/gocron/v2 from 2.21.1 to 2.21.2 in /plugins/cron by @dependabot[bot] in #304
  • chore(deps): bump codecov/codecov-action from 6 to 7 by @dependabot[bot] in #313

New Contributors

Full Changelog: v0.3.0...v0.4.0

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 02 Mar 15:16

Thrilled to announce the latest release of samber/ro with great improvements!

This new release brings 2 new plugins:

  • simd !!!
  • time

The new SIMD plugin is a massive speed-up for data processing. It requires Go 1.26 and a modern CPU. The implementation is still experimental. Please enter the conversation on #231.

moto-gopher2

Features

  • feat(exp,simd): adding experimental SIMD operators by @samber in #232
  • feat: add plugin for time by @BenjaminGoehry in #215
    #226
  • Add CeilWithPrecision operator with arbitrary decimal rounding support by @kosiew in #183
  • Add FloorWithPrecision operator for configurable decimal flooring in math utilities by @kosiew in #181

Other

  • fix(nanotime): fallback to time.Since to get monotonic time instead of runtime.nanotime by @samber in
  • chore: improve tests and CI by @samber in #186
  • refactor: rename io plugin to stdio by @samber in #185
  • chore(ci): improve go version management in CI by @samber in #227
  • chore(ci): adding codeql by @samber in #230
  • refactor: rename testing package to rotesting by @samber in #233

Dependencies

  • chore(deps): bump github.com/go-co-op/gocron/v2 from 2.14.0 to 2.18.0 in /plugins/cron by @dependabot[bot] in #188
  • chore(deps): bump github.com/stretchr/testify from 1.10.0 to 1.11.1 in /plugins/fsnotify by @dependabot[bot] in #174
  • chore(deps): bump js-yaml from 3.14.1 to 3.14.2 in /docs by @dependabot[bot] in #192
  • chore(deps): bump github.com/go-co-op/gocron/v2 from 2.18.0 to 2.18.2 in /plugins/cron by @dependabot[bot] in #204
  • chore(deps): bump github.com/spf13/cobra from 1.10.1 to 1.10.2 in /ee by @dependabot[bot] in #202
  • chore(deps): bump mdast-util-to-hast from 13.2.0 to 13.2.1 in /docs by @dependabot[bot] in #199
  • chore(deps): bump actions/checkout from 5 to 6 by @dependabot[bot] in #197
  • chore(deps): bump node-forge from 1.3.1 to 1.3.2 in /docs by @dependabot[bot] in #195
  • chore(deps): bump golangci/golangci-lint-action from 8 to 9 by @dependabot[bot] in #196
  • chore(deps): bump qs and express in /docs by @dependabot[bot] in #212
  • chore(deps): bump github.com/go-co-op/gocron/v2 from 2.18.2 to 2.19.0 in /plugins/cron by @dependabot[bot] in #208
  • chore(deps): bump github.com/axiomhq/hyperloglog from 0.2.5 to 0.2.6 in /plugins/hyperloglog by @dependabot[bot] in #209
  • chore(deps): bump webpack from 5.102.0 to 5.105.2 in /docs by @dependabot[bot] in #225
  • chore(deps): bump github.com/go-co-op/gocron/v2 from 2.19.0 to 2.19.1 in /plugins/cron by @dependabot[bot] in #220
  • chore(deps): bump lodash from 4.17.21 to 4.17.23 in /docs by @dependabot[bot] in #219
  • chore(deps): bump ajv from 6.12.6 to 6.14.0 in /docs by @dependabot[bot] in #228
  • chore(deps): bump github.com/arran4/golang-ical from 0.3.2 to 0.3.3 in /plugins/ics by @dependabot[bot] in #229
  • chore(deps): bump marked from 16.4.1 to 17.0.3 in /docs by @dependabot[bot] in #234

New Contributors

Full Changelog: v0.2.0...v0.3.0

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 25 Oct 22:20

What's Changed

  • feat(mergewith): mergewith now receive variadic parameters by @samber in #166
  • feat(plugin): add ICS plugin with 2 sources (from file or url) by @samber in #155
  • feat(operator): adding "distinctby" operator by @samber in #157
  • fix(combinelatestwith4): fix status check on update by @samber in #123
  • fix(skipwhile): invert the logic by @samber in #158
  • fix(typo): fix typo for eventualy->eventually by @samber in #169
  • perf: optimize message passing with optimized data structure by @samber in #171
  • refactor: reorganize code in to the repository by @samber in #117

CI

  • Chore(ci): adding github actions for triage and reviews by @samber in #119
  • chore(ci): fix ai reviewer and ai triage by @samber in #125
  • chore: lots of micro fixes for doc and ci by @samber in #170

Documentation

  • doc(examples): add missing examples in ro_example_test.go by @samber in #124
  • doc(license): make the LICENSE file at the project root readable by pkg.go.dev by @samber in #126
  • doc(examples): adding an ics source example by @samber in #159
  • doc: adding a "blog" submenu, with a first link by @samber in #162
  • doc: fix code examples (add generic types to ro.Pipe[I,O] by @samber in #164
  • doc(website): adding documentation for hacking/contributing/troublesh… by @samber in #167
  • Doc: adding backpressure and scheduling documentation + adding Serialize operator by @samber in #168
  • doc(examples): adding more go playground links by @samber in #172
  • Doc: various doc improvements by @samber in #2
  • doc: adding algolia by @samber in #116

Dependabot

  • chore(dependabot): fix yaml typo by @samber in #127
  • chore(deps): bump actions/checkout from 4 to 5 by @dependabot[bot] in #137
  • chore(deps): bump softprops/action-gh-release from 1 to 2 by @dependabot[bot] in #130
  • chore(deps): bump github.com/stretchr/testify from 1.8.1 to 1.11.1 in /ee by @dependabot[bot] in #131
  • chore(deps): bump github.com/stretchr/testify from 1.8.1 to 1.11.1 by @dependabot[bot] in #129
  • chore(deps-dev): bump typescript from 5.6.3 to 5.9.3 in /docs by @dependabot[bot] in #146
  • chore(deps): bump marked from 16.3.0 to 16.4.1 in /docs by @dependabot[bot] in #144
  • chore(deps): bump actions/setup-node from 5 to 6 by @dependabot[bot] in #141
  • chore(deps): bump github.com/stretchr/testify from 1.8.1 to 1.11.1 in /plugins/signal by @dependabot[bot] in #140
  • chore(deps): bump github.com/samber/lo from 1.47.0 to 1.52.0 in /plugins/testify by @dependabot[bot] in #136
  • chore(deps): bump github.com/stretchr/testify from 1.8.1 to 1.11.1 in /plugins/io by @dependabot[bot] in #134
  • chore(deps): bump github.com/samber/lo from 1.51.0 to 1.52.0 in /plugins/iter by @dependabot[bot] in #135
  • chore(deps): bump github.com/stretchr/testify from 1.9.0 to 1.11.1 in /plugins/proc by @dependabot[bot] in #138
  • chore(deps): bump github.com/samber/lo from 1.51.0 to 1.52.0 in /ee by @dependabot[bot] in #142
  • chore(deps): bump github.com/stretchr/testify from 1.8.3 to 1.11.1 in /plugins/strings by @dependabot[bot] in #143
  • chore(deps): bump github.com/samber/lo from 1.51.0 to 1.52.0 by @dependabot[bot] in #128
  • chore(deps): bump github.com/stretchr/testify from 1.8.3 to 1.11.1 in /plugins/testify by @dependabot[bot] in #139
  • chore(deps): bump github.com/stretchr/testify from 1.8.1 to 1.11.1 in /plugins/strconv by @dependabot[bot] in #145
  • chore(deps): bump github.com/stretchr/testify from 1.8.1 to 1.11.1 in /plugins/regexp by @dependabot[bot] in #133
  • chore(deps): bump github.com/stretchr/testify from 1.8.3 to 1.11.1 in /plugins/bytes by @dependabot[bot] in #150
  • chore(deps): bump github.com/stretchr/testify from 1.10.0 to 1.11.1 in /plugins/cron by @dependabot[bot] in #149
  • chore(deps): bump github.com/spf13/cobra from 1.9.1 to 1.10.1 in /ee by @dependabot[bot] in #148
  • chore(deps): bump github.com/stretchr/testify from 1.8.1 to 1.11.1 in /plugins/sort by @dependabot[bot] in #152
  • chore(deps): bump github.com/stretchr/testify from 1.8.1 to 1.11.1 in /plugins/iter by @dependabot[bot] in #153
  • chore(deps): bump github.com/stretchr/testify from 1.8.1 to 1.11.1 in /plugins/template by @dependabot[bot] in #154

New Contributors

Full Changelog: v0.1.0...v0.2.0

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 14 Oct 12:21

Initial release 🎉

🚀 Excited to announce samber/ro - A Reactive Programming library for Go!

After months of development, I'm thrilled to introduce a comprehensive ReactiveX implementation for the Go ecosystem. If you've worked with RxJS in JavaScript or ReactiveX in other languages, you'll feel right at home.

Pasted Graphic 86

Features

  • Adding core package + testing package.
  • Adding documentation + examples
  • Adding plugins:
    • bytes
    • cron
    • encoding/json
    • encoding/gob
    • encoding/csv
    • encoding/base64
    • fsnotify
    • http
    • hyperloglog
    • io
    • iter
    • observability/log
    • observability/slog
    • observability/logrus
    • observability/sentry
    • observability/zap
    • observability/zerolog
    • ozzo
    • proc
    • ratelimit/ulule
    • ratelimit/native
    • regexp
    • samber/hot
    • samber/psi
    • signal
    • sort
    • strconv
    • strings
    • template
    • testify
    • websocket