chore(deps): update backend non-major dependencies (minor)
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
github.com/go-playground/validator/v10 | require | minor |
v10.15.5 -> v10.17.0
|
github.com/gofiber/fiber/v2 | require | minor |
v2.50.0 -> v2.52.0
|
github.com/spf13/cobra | require | minor |
v1.7.0 -> v1.8.0
|
github.com/spf13/viper | require | minor |
v1.16.0 -> v1.18.2
|
go.temporal.io/api | require | minor |
v1.24.0 -> v1.27.0
|
go.temporal.io/sdk | require | minor |
v1.24.0 -> v1.25.1
|
Release Notes
go-playground/validator (github.com/go-playground/validator/v10)
v10.17.0
: Release 10.17.0
What's new
- Add translation of requiredXXX and excludedXXX in English/Chinese/Chinese Taiwan.
What's fixed
- Fix errors translation to work properly for aliases.
v10.16.0
: Release 10.16.0
What's new or fixed?
- Added new
issn
validator. TY @mrcook for the MR - Added improvement/fix to the file url validation. TY @nodivbyzero for the MR
- Fix onof tag in examples. TY @gren236 for the MR
- Add
fmt.Stringer
interface support touuid
validations allowing most UUID validation libraries which implement it to work transparently now. TY @JoshGlazebrook for the MR - Added new
omitnil
similar toomitempty
but for pointers. this is mainly for code generation ease. TY @tarampampam for the MR
gofiber/fiber (github.com/gofiber/fiber/v2)
v2.52.0
🚀 New
- Middleware/healthcheck: Add liveness and readiness checks (#2509) https://docs.gofiber.io/api/middleware/healthcheck
// Direct usage with default config
app.Use(healthcheck.New())
// Or extend your config for customization
app.Use(healthcheck.New(healthcheck.Config{
LivenessEndpoint: "/live",
LivenessProbe: func(c *fiber.Ctx) bool {
return true
},
ReadinessEndpoint: "/ready",
ReadinessProbe: func(c *fiber.Ctx) bool {
return serviceA.Ready() && serviceB.Ready() && ...
},
}))
🧹 Updates
- Middlewares: don't constrain middlewares context-keys to strings (#2751)
- Middleware/logger: colorize logger error message #2593 (#2773)
- Middleware/logger: changing default log output (#2730)
- Middleware/logger: log client IP address by default (#2755)
- Middleware/encryptcookie: update default config (#2753)
- Improve benchmarks for getOffer (#2739)
🛠 ️ Maintenance
- Bump github/codeql-action from 2 to 3 (#2763)
- Bump github.com/google/uuid from 1.4.0 to 1.5.0 (#2762)
- Bump actions/setup-go from 4 to 5 (#2754)
- Bump golang.org/x/sys from 0.14.0 to 0.15.0 (#2744)
- Bump github.com/valyala/fasthttp from 1.50.0 to 1.51.0 (#2721)
🐛 Fixes
- Middleware/redirect : fix for redirect with query params (#2748)
- Middleware/adaptor: Adaptor + otelfiber issue #2641 (#2772)
- Middleware/cors: Should use the defined AllowedOriginsFunc config when AllowedOrigins is empty (#2771)
- Middleware/session: Race in session middleware tests (#2740)
- Middleware/csrf: Fix failing CSRF tests (#2720)
- Fix race condition in parallel tests (#2734)
- utils.IsIPv4 and net.ParseIP have inconsistent results #2735 (#2736)
📚 Documentation
- Middleware/csrf: Improve csrf docs (#2726)
- Update app.md for indentation (#2761)
- Update default config (#2753)
- Update CONTRIBUTING.md (#2752)
Full Changelog: https://github.com/gofiber/fiber/compare/v2.51.0...v2.52.0
Thank you @MehmetFiratKomurcu, @benjajaja, @brunodmartins, @gilwo, @iredmail, @itswcg, @luk3skyw4lker, @muhammadkholidb, @nickajacks1, @sixcolors and @tokelo-12 for making this update possible.
v2.51.0
🚀 New
- Add support for parameters in content negotiation (#2678) RFC https://docs.gofiber.io/api/ctx#accepts
// Consideration of parameters in the accepted headers
// Accept: text/plain, application/json; version=1; foo=bar
app.Get("/", func(c *fiber.Ctx) error {
// Extra parameters in the accept are ignored
c.Accepts("text/plain;format=flowed") // "text/plain;format=flowed"
// An offer must contain all parameters present in the Accept type
c.Accepts("application/json") // ""
// Parameter order and capitalization does not matter. Quotes on values are stripped.
c.Accepts(`application/json;foo="bar";VERSION=1`) // "application/json;foo="bar";VERSION=1"
})
- Add support for application/problem+json (#2704) https://docs.gofiber.io/api/ctx#json https://docs.gofiber.io/api/client#json
// Passing a custom json type
ctx.JSON(fiber.Map{
"type": "https://example.com/probs/out-of-credit",
"title": "You do not have enough credit.",
"status": 403,
"detail": "Your current balance is 30, but that costs 50.",
"instance": "/account/12345/msgs/abc",
}, fiber.)
🧹 Updates
🛠 ️ Maintenance
- Bump golang.org/x/sys from 0.13.0 to 0.14.0 (#2707)
- Bump github.com/google/uuid from 1.3.1 to 1.4.0 (#2693)
- Bump actions/setup-node from 3 to 4 (#2690)
- Bump github.com/mattn/go-isatty from 0.0.19 to 0.0.20 (#2679)
🐛 Fixes
- Middleware/limiter: fix intermittent failures (#2716)
- Naming of routes works wrong after mount #2688 (#2689)
- Fix method validation on route naming (#2686)
📚 Documentation
- Changed "Twitter" to "X (Twitter)" in README.md Contribute Section (#2696)
- Add additional information as to why GetReqHeaders returns a map where the values are slices of strings (#2698)
- Enhance csrf.md (#2692)
Full Changelog: https://github.com/gofiber/fiber/compare/v2.50.0...v2.51.0
Thank you @BandhiyaHardik, @database64128, @efectn, @moritz157, @nickajacks1, @rhburt and @sixcolors for making this update possible.
spf13/cobra (github.com/spf13/cobra)
v1.8.0
✨ Features
- Support usage as plugin for tools like kubectl by @nirs in https://github.com/spf13/cobra/pull/2018 - this means that programs that utilize a "plugin-like" structure have much better support and usage (like for completions, command paths, etc.)
- Move documentation sources to site/content by @umarcor in https://github.com/spf13/cobra/pull/1428
- Add 'one required flag' group by @marevers in https://github.com/spf13/cobra/pull/1952 - this includes a new
MarkFlagsOneRequired
API for flags which can be used to mark a flag group as required and cause command failure if at least one is not used when invoked. - Customizable error message prefix by @5ouma in https://github.com/spf13/cobra/pull/2023 - This adds the
SetErrPrefix
andErrPrefix
APIs on theCommand
struct to allow for setting a custom prefix for errors - feat: add getters for flag completions by @avirtopeanu-ionos in https://github.com/spf13/cobra/pull/1943
- Feature: allow running persistent run hooks of all parents by @vkhoroz in https://github.com/spf13/cobra/pull/2044
- Improve API to get flag completion function by @marckhouzam in https://github.com/spf13/cobra/pull/2063
🐛 Bug fixes
- Fix typo in fish completions by @twpayne in https://github.com/spf13/cobra/pull/1945
- Fix grammar: 'allows to' by @supertassu in https://github.com/spf13/cobra/pull/1978
- powershell: escape variable with curly brackets by @Luap99 in https://github.com/spf13/cobra/pull/1960
- Don't complete --help flag when flag parsing disabled by @marckhouzam in https://github.com/spf13/cobra/pull/2061
- Replace all non-alphanumerics in active help env var program prefix by @scop in https://github.com/spf13/cobra/pull/1940
🔧 Maintenance
- build(deps): bump golangci/golangci-lint-action from 3.4.0 to 3.5.0 by @dependabot in https://github.com/spf13/cobra/pull/1971
- build(deps): bump golangci/golangci-lint-action from 3.5.0 to 3.6.0 by @dependabot in https://github.com/spf13/cobra/pull/1976
- build(deps): bump golangci/golangci-lint-action from 3.6.0 to 3.7.0 by @dependabot in https://github.com/spf13/cobra/pull/2021
- build(deps): bump actions/setup-go from 3 to 4 by @dependabot in https://github.com/spf13/cobra/pull/1934
- build(deps): bump github.com/cpuguy83/go-md2man/v2 from 2.0.2 to 2.0.3 by @dependabot in https://github.com/spf13/cobra/pull/2047
- build(deps): bump actions/checkout from 3 to 4 by @dependabot in https://github.com/spf13/cobra/pull/2028
- command: temporarily disable G602 due to securego/gosec#1005 by @umarcor in https://github.com/spf13/cobra/pull/2022
🧪 Testing & CI/CD
- test: make fish_completions_test more robust by @branchvincent in https://github.com/spf13/cobra/pull/1980
- golangci: enable 'unused' and disable deprecated replaced by it by @umarcor in https://github.com/spf13/cobra/pull/1983
- cleanup: minor corrections to unit tests by @JunNishimura in https://github.com/spf13/cobra/pull/2003
- ci: test golang 1.21 by @nunoadrego in https://github.com/spf13/cobra/pull/2024
- Fix linter errors by @marckhouzam in https://github.com/spf13/cobra/pull/2052
- Add tests for flag completion registration by @marckhouzam in https://github.com/spf13/cobra/pull/2053
✏ ️ Documentation
- doc: fix typo, Deperecated -> Deprecated by @callthingsoff in https://github.com/spf13/cobra/pull/2000
- Add notes to doc about the execution condition of *PreRun and *PostRun functions by @haoming29 in https://github.com/spf13/cobra/pull/2041
Thank you everyone who contributed to this release and all your hard work! Cobra and this community would never be possible without all of you!!!!
Full Changelog: https://github.com/spf13/cobra/compare/v1.7.0...v1.8.0
spf13/viper (github.com/spf13/viper)
v1.18.2
tl;dr Skip 1.18.0 and 1.18.1 and upgrade to this version instead.
This release fixes a regression that appears in rare circumstances when using Unmarshal
or UnmarshalExact
to decode values onto pointers with multiple indirection (eg. pointer to a pointer, etc). The change was introduced in 1.18.0 as a means to resolve a long-standing bug when decoding environment variables to structs.
The feature is now disabled by default and can be enabled using the viper_bind_struct
build tag. It's also considered experimental at this point, so breaking changes may be introduced in the future.
What's Changed
🐛
Bug Fixes - feat!: hide struct binding behind a feature flag by @sagikazarmark in https://github.com/spf13/viper/pull/1715
Full Changelog: https://github.com/spf13/viper/compare/v1.18.1...v1.18.2
v1.18.1
What's Changed
🐛
Bug Fixes - Merge missing struct keys inside UnmarshalExact by @krakowski in https://github.com/spf13/viper/pull/1704
Full Changelog: https://github.com/spf13/viper/compare/v1.18.0...v1.18.1
v1.18.0
Major changes
Highlighting some of the changes for better visibility.
Please share your feedback in the Discussion forum. Thanks!
AutomaticEnv
works with Unmarshal
Previously, environment variables that weren't bound manually or had no defaults could not be mapped by Unmarshal
. (The problem is explained in details in this issue: #761)
#1429 introduced a solution that solves that issue.
What's Changed
🚀
Enhancements - chore: rename files according to enabled build tags by @alexandear in https://github.com/spf13/viper/pull/1642
- test: replace ifs with asserts to simplify tests by @alexandear in https://github.com/spf13/viper/pull/1656
- ci: enable test shuffle and fix tests by @alexandear in https://github.com/spf13/viper/pull/1643
- fix: gocritic lint issues by @alexandear in https://github.com/spf13/viper/pull/1696
🐛
Bug Fixes - Implement viper.BindStruct for automatic unmarshalling from environment variables by @krakowski in https://github.com/spf13/viper/pull/1429
- fix isPathShadowedInFlatMap type cast bug by @linuxsong in https://github.com/spf13/viper/pull/1585
⬆ ️
Dependency Updates - build(deps): bump github/codeql-action from 2.21.9 to 2.22.3 by @dependabot in https://github.com/spf13/viper/pull/1661
- build(deps): bump golang.org/x/net from 0.15.0 to 0.17.0 by @dependabot in https://github.com/spf13/viper/pull/1659
- build(deps): bump actions/checkout from 4.1.0 to 4.1.1 by @dependabot in https://github.com/spf13/viper/pull/1663
- build(deps): bump actions/github-script from 6.4.1 to 7.0.1 by @dependabot in https://github.com/spf13/viper/pull/1686
- build(deps): bump github/codeql-action from 2.22.3 to 2.22.8 by @dependabot in https://github.com/spf13/viper/pull/1688
- build(deps): bump github.com/spf13/afero from 1.10.0 to 1.11.0 by @dependabot in https://github.com/spf13/viper/pull/1692
- build(deps): bump actions/dependency-review-action from 3.1.0 to 3.1.4 by @dependabot in https://github.com/spf13/viper/pull/1690
- build(deps): bump cachix/install-nix-action from 23 to 24 by @dependabot in https://github.com/spf13/viper/pull/1689
- build(deps): bump github.com/nats-io/nkeys from 0.4.5 to 0.4.6 by @dependabot in https://github.com/spf13/viper/pull/1672
- build(deps): bump github.com/spf13/cast from 1.5.1 to 1.6.0 by @dependabot in https://github.com/spf13/viper/pull/1691
- build(deps): bump github.com/fsnotify/fsnotify from 1.6.0 to 1.7.0 by @dependabot in https://github.com/spf13/viper/pull/1668
- chore: update dependencies by @sagikazarmark in https://github.com/spf13/viper/pull/1694
- chore: update crypt by @sagikazarmark in https://github.com/spf13/viper/pull/1701
Other Changes
- Add info about multiple hosts for remote config by @KaymeKaydex in https://github.com/spf13/viper/pull/1684
- refactor: drop fsonitfy wrapper by @sagikazarmark in https://github.com/spf13/viper/pull/1693
- Note Get* behavior on parse failure by @scop in https://github.com/spf13/viper/pull/1687
- fix: godot lint issues by @alexandear in https://github.com/spf13/viper/pull/1657
New Contributors
- @KaymeKaydex made their first contribution in https://github.com/spf13/viper/pull/1684
- @krakowski made their first contribution in https://github.com/spf13/viper/pull/1429
- @linuxsong made their first contribution in https://github.com/spf13/viper/pull/1585
Full Changelog: https://github.com/spf13/viper/compare/v1.17.0...v1.18.0
v1.17.0
Major changes
Highlighting some of the changes for better visibility.
Please share your feedback in the Discussion forum. Thanks!
Minimum Go version: 1.19
Viper now requires Go 1.19
This change ensures we can stay up to date with modern practices and dependencies.
log/slog
support [BREAKING]
Viper v1.11.0 added an experimental Logger
interface to allow custom implementations (besides jwalterweatherman).
In addition, it also exposed an experimental WithLogger
function allowing to set a custom logger.
This release deprecates that interface in favor of log/slog released in Go 1.21.
[!WARNING]
WithLogger
accepts an *slog.Logger from now on.
To preserve backwards compatibility with older Go versions, prior to Go 1.21 Viper accepts a *golang.org/x/exp/slog.Logger.
The experimental flag is removed.
New finder implementation [BREAKING]
As of this release, Viper uses a new library to look for files, called locafero.
The new library is better covered by tests and has been built from scratch as a general purpose file finder library.
The implementation is experimental and is hidden behind a finder
build tag.
[!WARNING] The
io/fs
based implementation (that used to be hidden behind afinder
build tag) has been removed.
What's Changed
🎉
Exciting New Features - Add NATS support by @hooksie1 in https://github.com/spf13/viper/pull/1590
- Add slog support by @sagikazarmark in https://github.com/spf13/viper/pull/1627
🚀
Enhancements - chore: add local development environment using nix by @sagikazarmark in https://github.com/spf13/viper/pull/1572
- feat: add func GetEnvPrefix by @baruchiro in https://github.com/spf13/viper/pull/1565
- Improve dev env by @sagikazarmark in https://github.com/spf13/viper/pull/1575
- fix: code optimization by @testwill in https://github.com/spf13/viper/pull/1557
- test: remove not needed testutil.Setenv by @alexandear in https://github.com/spf13/viper/pull/1610
- new finder library based on afero by @sagikazarmark in https://github.com/spf13/viper/pull/1625
- refactor: make use of
strings.Cut
by @scop in https://github.com/spf13/viper/pull/1650
🛠
Breaking Changes - feat: drop support for Go 1.17 by @sagikazarmark in https://github.com/spf13/viper/pull/1574
⬆ ️
Dependency Updates - build(deps): bump mheap/github-action-required-labels from 4 to 5 by @dependabot in https://github.com/spf13/viper/pull/1563
- build(deps): bump github.com/stretchr/testify from 1.8.3 to 1.8.4 by @dependabot in https://github.com/spf13/viper/pull/1558
- build(deps): bump cachix/install-nix-action from 21 to 22 by @dependabot in https://github.com/spf13/viper/pull/1573
- build(deps): bump github.com/pelletier/go-toml/v2 from 2.0.8 to 2.0.9 by @dependabot in https://github.com/spf13/viper/pull/1586
- chore: upgrade crypt by @sagikazarmark in https://github.com/spf13/viper/pull/1589
- build(deps): bump actions/checkout from 3.5.3 to 4.0.0 by @dependabot in https://github.com/spf13/viper/pull/1616
- build(deps): bump github/codeql-action from 2.21.2 to 2.21.5 by @dependabot in https://github.com/spf13/viper/pull/1615
- build(deps): bump github.com/pelletier/go-toml/v2 from 2.0.9 to 2.1.0 by @dependabot in https://github.com/spf13/viper/pull/1614
- build(deps): bump actions/dependency-review-action from 3.0.6 to 3.0.8 by @dependabot in https://github.com/spf13/viper/pull/1605
- build(deps): bump golangci/golangci-lint-action from 3.6.0 to 3.7.0 by @dependabot in https://github.com/spf13/viper/pull/1604
- build(deps): bump actions/setup-go from 4.0.1 to 4.1.0 by @dependabot in https://github.com/spf13/viper/pull/1593
- build(deps): bump github.com/subosito/gotenv from 1.4.2 to 1.6.0 by @dependabot in https://github.com/spf13/viper/pull/1603
- build(deps): bump cachix/install-nix-action from 22 to 23 by @dependabot in https://github.com/spf13/viper/pull/1620
- chore(deps): update crypt by @sagikazarmark in https://github.com/spf13/viper/pull/1621
- build(deps): bump actions/dependency-review-action from 3.0.8 to 3.1.0 by @dependabot in https://github.com/spf13/viper/pull/1623
- Bump minimum Go version to 1.19 by @sagikazarmark in https://github.com/spf13/viper/pull/1626
- build(deps): bump github/codeql-action from 2.21.5 to 2.21.6 by @dependabot in https://github.com/spf13/viper/pull/1632
- build(deps): bump github/codeql-action from 2.21.6 to 2.21.7 by @dependabot in https://github.com/spf13/viper/pull/1634
- build(deps): bump actions/checkout from 4.0.0 to 4.1.0 by @dependabot in https://github.com/spf13/viper/pull/1641
- build(deps): bump github.com/spf13/afero from 1.9.5 to 1.10.0 by @dependabot in https://github.com/spf13/viper/pull/1640
- build(deps): bump github/codeql-action from 2.21.7 to 2.21.8 by @dependabot in https://github.com/spf13/viper/pull/1638
- build(deps): bump github/codeql-action from 2.21.8 to 2.21.9 by @dependabot in https://github.com/spf13/viper/pull/1648
- chore(deps): update crypt by @sagikazarmark in https://github.com/spf13/viper/pull/1652
Other Changes
- [StepSecurity] ci: Harden GitHub Actions by @step-security-bot in https://github.com/spf13/viper/pull/1592
- Add Vitess to list of projects using Viper by @systay in https://github.com/spf13/viper/pull/1619
- docs: fix typos in comments by @alexandear in https://github.com/spf13/viper/pull/1609
- ci: add Go 1.21 to the test matrix by @sagikazarmark in https://github.com/spf13/viper/pull/1622
- Remove usages of deprecated io/ioutil; simplify viper tests by @alexandear in https://github.com/spf13/viper/pull/1631
- chore: remove deprecated build tags by @alexandear in https://github.com/spf13/viper/pull/1630
- refactor: replace 'interface{}' with 'any' by @alexandear in https://github.com/spf13/viper/pull/1646
- test: refactor asserts by @alexandear in https://github.com/spf13/viper/pull/1644
- docs: add set subset KV example by @yhliyr in https://github.com/spf13/viper/pull/1647
- Make deps fixes by @bersace in https://github.com/spf13/viper/pull/1628
New Contributors
- @goldeneggg made their first contribution in https://github.com/spf13/viper/pull/1561
- @baruchiro made their first contribution in https://github.com/spf13/viper/pull/1565
- @testwill made their first contribution in https://github.com/spf13/viper/pull/1557
- @step-security-bot made their first contribution in https://github.com/spf13/viper/pull/1592
- @systay made their first contribution in https://github.com/spf13/viper/pull/1619
- @alexandear made their first contribution in https://github.com/spf13/viper/pull/1609
- @hooksie1 made their first contribution in https://github.com/spf13/viper/pull/1590
- @yhliyr made their first contribution in https://github.com/spf13/viper/pull/1647
- @bersace made their first contribution in https://github.com/spf13/viper/pull/1628
- @scop made their first contribution in https://github.com/spf13/viper/pull/1650
Full Changelog: https://github.com/spf13/viper/compare/v1.16.0...v1.17.0
temporalio/api-go (go.temporal.io/api)
v1.27.0
What's Changed
- Delete .github/workflows/semgrep.yml by @jackdawm in https://github.com/temporalio/api-go/pull/129
- Replace gogo protobuf with google's protobuf v2 compiler by @tdeebswihart in https://github.com/temporalio/api-go/pull/119
- Add codegen comment to protoc-gen-go-helpers outputs by @tdeebswihart in https://github.com/temporalio/api-go/pull/132
- Add gitattributes file to hide autogen code by @tdeebswihart in https://github.com/temporalio/api-go/pull/131
- Remake protos by @tdeebswihart in https://github.com/temporalio/api-go/pull/133
- Port protojson coding stack to support shorthand HTTP payloads by @tdeebswihart in https://github.com/temporalio/api-go/pull/134
- Fix handling of binary/null content type by @tdeebswihart in https://github.com/temporalio/api-go/pull/136
- Retract version 1.26.1 by @tdeebswihart in https://github.com/temporalio/api-go/pull/137
- Preemptively retract v1.26.2 by @Quinn-With-Two-Ns in https://github.com/temporalio/api-go/pull/138
- Add protogen build tool by @tdeebswihart in https://github.com/temporalio/api-go/pull/139
- Handle wrapped ServiceErrors in Convert by @dnr in https://github.com/temporalio/api-go/pull/128
- allow git submodule update by @stephanos in https://github.com/temporalio/api-go/pull/141
- ignore .go-helpers-installed by @stephanos in https://github.com/temporalio/api-go/pull/142
- Port DOS protections to our protojson fork by @tdeebswihart in https://github.com/temporalio/api-go/pull/143
- Fix marshalling of shorthand maps by @tdeebswihart in https://github.com/temporalio/api-go/pull/145
Full Changelog: https://github.com/temporalio/api-go/compare/v1.26.0...v1.27.0
v1.26.2
v1.26.1
v1.26.0
- Add stage to UpdateWorkflowExecutionResponse and PollWorkflowExecutionUpdateResponse
- Add update_ref to PollWorkflowExecutionUpdateResponse
v1.25.0
- Add buffer size and dropped actions fields to ScheduleInfo
- Add namespace_id in DeleteNamespaceRequest
- Add batch operation rate limit
temporalio/sdk-go (go.temporal.io/sdk)
v1.25.1
Highlights
Bugfixes
Fix a regression causing some custom logger
implementations to log key-values as a list.
Specific Changes
2023-10-11 - 83199af
- Small docs tweaks. (#1262)
2023-10-12 - a6cdcd7
- Add UpdateWorkflowByID to TestWorkflowEnvironment (#1264)
2023-10-13 - b484666
- loggerWith.WithCallerSkip expand keyvals (#1267)
v1.25.0
Highlights
slog
Integration with If using Go version 1.21+ the Go SDK provides built in integration with the standard slog package.
package main
import (
"log/slog"
"os"
"go.temporal.io/sdk/client"
"go.temporal.io/sdk/log"
"go.temporal.io/sdk/worker"
)
func main() {
clientOptions := client.Options{
Logger: log.NewStructuredLogger(
slog.New(slog.NewJSONHandler(os.Stdout, &slog.HandlerOptions{
AddSource: true,
Level: slog.LevelDebug,
}))),
}
temporalClient, err := client.Dial(clientOptions)
// ...
}
WorkflowInfo
fields
New Added GetContinueAsNewSuggested()
and GetCurrentHistorySize()
to WorkflowInfo
.
(Experimental) Start delay
Added StartDelay
option to StartWorkflowOptions
. StartDelay
will cause Temporal to wait before dispatching the first workflow task.
If the workflow gets a signal before the delay, a workflow task will be dispatched and the rest
of the delay will be ignored.
Specific Changes
2023-08-02 - 1ec43ad
- Fix LA start to close timeout (#1180)
2023-08-04 - 3aba985
- Remove mentions of elasticsearch (#1186)
2023-08-06 - 66946b9
- fixing spelling errors in comments (#1188)
2023-08-07 - 23ff5a7
- Add option to ignore invalid parent spans (#1178)
2023-08-08 - 654e872
- Fix testsuite package docs (#1192)
2023-08-08 - 793489f
- Fix race condition with eager workflow start and close (#1191)
2023-08-10 - 1fccf9c
- Fix race condition in eager dispatch (#1195)
2023-08-10 - 90fcc71
- Enabled worker versioning tests (#1193)
2023-08-10 - c0a947b
- Add note on heart beating and async activities (#1198)
2023-08-11 - 7dbde86
- Fix flaky TestAsyncActivityCompletion (#1199)
2023-08-11 - d5d6d3e
- Update CI to Golang v1.21 (#1200)
2023-08-19 - 9bd67dd
- Add new fields to workflow info (#1202)
2023-08-21 - 27895a9
- Clarify what happens if an error and result are returned (#1203)
2023-08-22 - 20c550a
- Fix flake in TestQueryOnlyCoroutineUsage (#1204)
2023-08-23 - b9e5e24
- Refactor NextCommandEvents (#1205)
2023-08-28 - d5a2f8f
- Fix race condition during cache eviction (#1210)
2023-08-29 - a7f9cdf
- Add test for child wf cancel and update (#1214)
2023-08-30 - 9345e81
- Check all functions with workflow.Context as first parameter (#1215)
2023-08-31 - 0939af2
- Update Temporal API to v1.24.0 (#1220)
2023-09-01 - 7485282
- Fix the documentation of ListWorkflow for querying open workflows (#1217)
2023-09-01 - 90e7399
- Add slog adapter (#1219)
2023-09-01 - 9dc99ed
- Update readme for slog (#1222)
2023-09-01 - c514225
- Add replay option to disable deadlock detection (#1221)
2023-09-05 - 591ce7e
- Clarify GetLastCompletionResult works with schedule (#1225)
2023-09-05 - 6bdfec6
- chore: create UpdateCallbacks
binding for the RoadRunner (#1223)
2023-09-05 - b7931cb
- Handle generic maps and channels (#1224)
2023-09-07 - bc5e57d
- Remove binary file (#1226)
2023-09-08 - 7bf78b8
- Edit doc comments (#1228)
2023-09-11 - 8ef6db7
- Stop using the tinycicd namespace for tests (#1233)
2023-09-13 - ecfaa65
- Code inside workflow.SideEffect is deterministic (#1230)
2023-09-18 - 22435a7
- Add doc links throughout our user-facing APIs (#1239)
2023-09-18 - f1d6480
- feat(contrib/opentelemetry): add TraceID and SpanID fields to the logger (#1232)
2023-09-23 - 6039cd3
- Disable running sessions on a versioned worker (#1241)
2023-09-23 - a5ee832
- Decrease iterations of TestVersionLoopWorkflow (#1242)
2023-09-23 - bfb39ac
- Expose SetContinuedAsNewRunID in the TestWorkflowEnvironment (#1246)
2023-09-23 - ff9b3f4
- Expose StartDelay in StartWorkflowOptions (#1244)
2023-09-25 - 59d8488
- Add SDK version and name to history (#1245)
2023-09-27 - 159a69f
- Don't register a versioned worker for eager start (#1251)
2023-10-02 - 9228307
- Convert panics in update protocol state machine to errors (#1253)
2023-10-03 - fecfba8
- Fix selector AddSend docs (#1254)
2023-10-04 - a001e5f
- Add TaskReachability API (#1247)
2023-10-05 - df09c35
- Allow eager workflow start on versioned worker (#1255)
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.