Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

Commit

Permalink
Added instructions to upgrade from 0.7.1 (#211)
Browse files Browse the repository at this point in the history
Added instructions to upgrade from 0.7.1
  • Loading branch information
bacherfl authored Oct 2, 2020
1 parent 9753b1f commit b186504
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
39 changes: 39 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,3 +101,42 @@ Within [.travis.yml](.travis.yml) we have included an automation that creates a
[github.com/keptn/keptn](https://github.com/keptn/keptn) to update `go.mod` files with an updated version of this
package (based on the commit hash). To make this work, a `GITHUB_TOKEN` (personal access token)
needs to be added within the [travis-ci settings page](https://travis-ci.org/keptn/go-utils/settings).
## Upgrade to 0.7.2 from previous versions
This version introduces a couple of changes within the structure of the module. When upgrading from an earlier version, please follow the following steps:
The following exported types/funcs that have been imported from `github.com/keptn/go-utils/pkg/lib` have been moved to `github.com/keptn/go-utils/pkg/lib/keptn`
- `KeptnOpts`
- `LoggingOpts`
- `KeptnBase`
- `EventProperties`
- `SLIConfig`
- `CombinedLogger`
- `NewCombinedLogger()`
- `NewLogger()`
- `Logger`
- `MyCloudEvent`
- `LogData`
- `IncompleteCE`
- `ConnectionData`
- `OpenWS()`
- `WriteWSLog()`
- `WriteLog()`
- `LoggerInterface`
- `ValidateKeptnEntityName()`
- `ValididateUnixDirectoryName()`
- `GetServiceEndpoint()`
If you have used any of those, you will need to change the import from
```go
import github.com/keptn/go-utils/pkg/lib
```
to
```go
import github.com/keptn/go-utils/pkg/lib/keptn
```
3 changes: 3 additions & 0 deletions releasenotes/releasenotes_V0.7.2.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@
## Fixed Issues

## Known Limitations

- This version introduces a couple of changes within the structure of the module. When upgrading from previous versions, please make sure to follow the instructions
in the [README.md](https://github.com/keptn/go-utils/tree/release-0.7.2#upgrade-to-072-from-previous-versions)

0 comments on commit b186504

Please sign in to comment.