Skip to content

Adding "legacy" package to aid in migration

Pre-release
Pre-release
Compare
Choose a tag to compare
@n3wscott n3wscott released this 17 Mar 14:36
f248e16

We are adding a temporary legacy package that is the same as release v1.1.2 copied at package location github.com/cloudevents/sdk-go/legacy this package matches exactly the sdk at root v1, so to migrate to v2, search and replace imports from github.com/cloudevents/sdk-go to github.com/cloudevents/sdk-go/legacy. This will work for the alias file as well. Then use this preview to migrate to the new v2 API.

Let us know if you lack an alias or feature that is 100% required and can't do some other way in an issue.

More details can be found here: https://github.com/cloudevents/sdk-go/tree/v2.0.0-preview3/legacy

THANKS!