Skip to content

Commit

Permalink
release: 0.1.0-alpha.2 (#14)
Browse files Browse the repository at this point in the history
* fix: do not call path.Base on ContentType (#13)

* chore: go live (#15)

* release: 0.1.0-alpha.2

---------

Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
  • Loading branch information
stainless-app[bot] authored Feb 11, 2025
1 parent 75db68e commit 254b61a
Showing 75 changed files with 604 additions and 591 deletions.
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.1.0-alpha.1"
".": "0.1.0-alpha.2"
}
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Changelog

## 0.1.0-alpha.2 (2025-02-11)

Full Changelog: [v0.1.0-alpha.1...v0.1.0-alpha.2](https://github.com/gitpod-io/gitpod-sdk-go/compare/v0.1.0-alpha.1...v0.1.0-alpha.2)

### Bug Fixes

* do not call path.Base on ContentType ([#13](https://github.com/gitpod-io/gitpod-sdk-go/issues/13)) ([8901c2e](https://github.com/gitpod-io/gitpod-sdk-go/commit/8901c2e2c7b1e01a388713b7c87a8bae642b4826))


### Chores

* go live ([#15](https://github.com/gitpod-io/gitpod-sdk-go/issues/15)) ([090fe43](https://github.com/gitpod-io/gitpod-sdk-go/commit/090fe43b7c871c25fcb2c4fd33eb21843cc8e646))

## 0.1.0-alpha.1 (2025-02-07)

Full Changelog: [v0.0.1-alpha.0...v0.1.0-alpha.1](https://github.com/gitpod-io/flex-sdk-go/compare/v0.0.1-alpha.0...v0.1.0-alpha.1)
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -41,7 +41,7 @@ To use a local version of this library from source in another project, edit the
directive. This can be done through the CLI with the following:

```sh
$ go mod edit -replace github.com/gitpod-io/flex-sdk-go=/path/to/flex-sdk-go
$ go mod edit -replace github.com/gitpod-io/gitpod-sdk-go=/path/to/gitpod-sdk-go
```

## Running tests
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Gitpod Go API Library

<a href="https://pkg.go.dev/github.com/gitpod-io/flex-sdk-go"><img src="https://pkg.go.dev/badge/github.com/gitpod-io/flex-sdk-go.svg" alt="Go Reference"></a>
<a href="https://pkg.go.dev/github.com/gitpod-io/gitpod-sdk-go"><img src="https://pkg.go.dev/badge/github.com/gitpod-io/gitpod-sdk-go.svg" alt="Go Reference"></a>

The Gitpod Go library provides convenient access to [the Gitpod REST
API](https://docs.gitpod.com) from applications written in Go. The full API of this library can be found in [api.md](api.md).
@@ -13,7 +13,7 @@ It is generated with [Stainless](https://www.stainlessapi.com/).

```go
import (
"github.com/gitpod-io/flex-sdk-go" // imported as gitpod
"github.com/gitpod-io/gitpod-sdk-go" // imported as gitpod
)
```

@@ -24,7 +24,7 @@ Or to pin the version:
<!-- x-release-please-start-version -->

```sh
go get -u 'github.com/gitpod-io/flex-sdk-go@v0.1.0-alpha.1'
go get -u 'github.com/gitpod-io/gitpod-sdk-go@v0.1.0-alpha.2'
```

<!-- x-release-please-end -->
@@ -44,8 +44,8 @@ import (
"context"
"fmt"

"github.com/gitpod-io/flex-sdk-go"
"github.com/gitpod-io/flex-sdk-go/option"
"github.com/gitpod-io/gitpod-sdk-go"
"github.com/gitpod-io/gitpod-sdk-go/option"
)

func main() {
@@ -153,7 +153,7 @@ client.Runners.New(context.TODO(), ...,
)
```

See the [full list of request options](https://pkg.go.dev/github.com/gitpod-io/flex-sdk-go/option).
See the [full list of request options](https://pkg.go.dev/github.com/gitpod-io/gitpod-sdk-go/option).

### Pagination

@@ -384,7 +384,7 @@ This package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) con

We take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.

We are keen for your feedback; please open an [issue](https://www.github.com/gitpod-io/flex-sdk-go/issues) with questions, bugs, or suggestions.
We are keen for your feedback; please open an [issue](https://www.github.com/gitpod-io/gitpod-sdk-go/issues) with questions, bugs, or suggestions.

## Contributing

14 changes: 7 additions & 7 deletions account.go
Original file line number Diff line number Diff line change
@@ -8,13 +8,13 @@ import (
"net/url"
"time"

"github.com/gitpod-io/flex-sdk-go/internal/apijson"
"github.com/gitpod-io/flex-sdk-go/internal/apiquery"
"github.com/gitpod-io/flex-sdk-go/internal/param"
"github.com/gitpod-io/flex-sdk-go/internal/requestconfig"
"github.com/gitpod-io/flex-sdk-go/option"
"github.com/gitpod-io/flex-sdk-go/packages/pagination"
"github.com/gitpod-io/flex-sdk-go/shared"
"github.com/gitpod-io/gitpod-sdk-go/internal/apijson"
"github.com/gitpod-io/gitpod-sdk-go/internal/apiquery"
"github.com/gitpod-io/gitpod-sdk-go/internal/param"
"github.com/gitpod-io/gitpod-sdk-go/internal/requestconfig"
"github.com/gitpod-io/gitpod-sdk-go/option"
"github.com/gitpod-io/gitpod-sdk-go/packages/pagination"
"github.com/gitpod-io/gitpod-sdk-go/shared"
)

// AccountService contains methods and other services that help with interacting
6 changes: 3 additions & 3 deletions account_test.go
Original file line number Diff line number Diff line change
@@ -8,9 +8,9 @@ import (
"os"
"testing"

"github.com/gitpod-io/flex-sdk-go"
"github.com/gitpod-io/flex-sdk-go/internal/testutil"
"github.com/gitpod-io/flex-sdk-go/option"
"github.com/gitpod-io/gitpod-sdk-go"
"github.com/gitpod-io/gitpod-sdk-go/internal/testutil"
"github.com/gitpod-io/gitpod-sdk-go/option"
)

func TestAccountGetWithOptionalParams(t *testing.T) {
4 changes: 2 additions & 2 deletions aliases.go
Original file line number Diff line number Diff line change
@@ -3,8 +3,8 @@
package gitpod

import (
"github.com/gitpod-io/flex-sdk-go/internal/apierror"
"github.com/gitpod-io/flex-sdk-go/shared"
"github.com/gitpod-io/gitpod-sdk-go/internal/apierror"
"github.com/gitpod-io/gitpod-sdk-go/shared"
)

type Error = apierror.Error
Loading
Oops, something went wrong.

0 comments on commit 254b61a

Please sign in to comment.