Releases: launchdarkly/go-test-helpers
Releases · launchdarkly/go-test-helpers
2.0.0
[2.0.0] - 2020-07-01
Added:
- In
httphelpers
,ChunkedStreamingHandler
,SSEHandler
, andSSEEvent
- In the main package,
ReadWithTimeout
.
Changed:
- This project now requires modules and has a minimum Go version of 1.13.
- In
ldservices
,ServerSideStreamingServiceHandler
now useshttphelpers.SSEEvent
instead of having a dependency on theeventsource
package. Its interface is now based on the newSSEHandler
instead of using channels. - In
httphelpers
,PanicHandler
is replaced byBrokenConnectionHandler
.
Removed:
- The LaunchDarkly client-side streaming endpoint handler in
ldservices
was not used and has been removed.
1.2.0
[1.2.0] - 2020-07-01
Added:
- New package
testbox
for running a Go test in a temporary environment.
1.1.3
[1.1.3] - 2020-06-04
Added:
- Added
go.mod
so this package can be consumed as a module. This does not affect code that is currently consuming it viago get
,dep
, orgovendor
.
1.1.2
[1.1.2] - 2020-04-01
Fixed:
- Patch event type for client-side streams.
1.1.1
[1.1.1] - 2020-04-01
Fixed:
- In
ldservices
, fixed JSON property names for simulated client-side flag data.
1.1.0
[1.1.0] - 2020-04-01
Added:
- Method
HandlerForPathRegex
inhttphelpers
. - New methods and types in
ldservices
to simulate LaunchDarkly client-side streaming endpoints.
1.0.0
[1.0.0] - 2020-03-16
Initial release.