Skip to content

Commit

Permalink
chore(master): release cli 2.35.0 (#728)
Browse files Browse the repository at this point in the history
Co-authored-by: Sönke Behrendt <[email protected]>
  • Loading branch information
phrase-bot and theSoenke authored Dec 18, 2024
1 parent 9d83fe6 commit 66d50da
Show file tree
Hide file tree
Showing 14 changed files with 32 additions and 15 deletions.
17 changes: 17 additions & 0 deletions clients/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
# Changelog

## [2.35.0](https://github.com/phrase/openapi/compare/cli-v2.34.1...cli-2.25.0) (2024-12-18)


### ⚠ BREAKING CHANGES

* Remove old Git sync endpoints. Replaced with new repo sync ([#735](https://github.com/phrase/openapi/issues/735))

### Features

* **API:** Add 'default_encoding' documentation ([#733](https://github.com/phrase/openapi/issues/733)) ([0139c51](https://github.com/phrase/openapi/commit/0139c51da747fbe7bc9929bcf3534aad7f22f39a))
* Remove old Git sync endpoints. Replaced with new repo sync ([#735](https://github.com/phrase/openapi/issues/735)) ([c3bd8ec](https://github.com/phrase/openapi/commit/c3bd8eccaabcfa1b1066ea4438971ac59833af46))


### Bug Fixes

* **API:** Add missing branch parameter to job comment endpoints #STRINGS-988 ([#724](https://github.com/phrase/openapi/issues/724)) ([64d399c](https://github.com/phrase/openapi/commit/64d399ced0980ac2a48366f91110047287a0c590))

## [2.34.1](https://github.com/phrase/openapi/compare/cli-v2.34.0...cli-v2.34.1) (2024-11-27)


Expand Down
2 changes: 1 addition & 1 deletion clients/cli/cmd/internal/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"github.com/phrase/phrase-cli/cmd/internal/prompt"
"github.com/phrase/phrase-cli/cmd/internal/shared"
"github.com/phrase/phrase-cli/cmd/internal/spinner"
"github.com/phrase/phrase-go/v3"
"github.com/phrase/phrase-go/v4"
"gopkg.in/yaml.v2"
)

Expand Down
2 changes: 1 addition & 1 deletion clients/cli/cmd/internal/pull.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
"github.com/phrase/phrase-cli/cmd/internal/print"

"github.com/antihax/optional"
"github.com/phrase/phrase-go/v3"
"github.com/phrase/phrase-go/v4"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion clients/cli/cmd/internal/pull_target.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"github.com/phrase/phrase-cli/cmd/internal/paths"
"github.com/phrase/phrase-cli/cmd/internal/placeholders"
"github.com/phrase/phrase-cli/cmd/internal/shared"
"github.com/phrase/phrase-go/v3"
"github.com/phrase/phrase-go/v4"
"github.com/spf13/viper"
)

Expand Down
2 changes: 1 addition & 1 deletion clients/cli/cmd/internal/push.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"github.com/phrase/phrase-cli/cmd/internal/print"
"github.com/phrase/phrase-cli/cmd/internal/shared"
"github.com/phrase/phrase-cli/cmd/internal/spinner"
"github.com/phrase/phrase-go/v3"
"github.com/phrase/phrase-go/v4"
)

type PushCommand struct {
Expand Down
2 changes: 1 addition & 1 deletion clients/cli/cmd/internal/push_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"github.com/antihax/optional"
"github.com/phrase/phrase-cli/cmd/internal/paths"
"github.com/phrase/phrase-cli/cmd/internal/placeholders"
"github.com/phrase/phrase-go/v3"
"github.com/phrase/phrase-go/v4"
"github.com/spf13/viper"
)

Expand Down
2 changes: 1 addition & 1 deletion clients/cli/cmd/internal/shared.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"github.com/phrase/phrase-cli/cmd/internal/print"
"github.com/phrase/phrase-cli/cmd/internal/prompt"
"github.com/phrase/phrase-cli/cmd/internal/shared"
"github.com/phrase/phrase-go/v3"
"github.com/phrase/phrase-go/v4"
"github.com/spf13/viper"
"golang.org/x/exp/maps"
)
Expand Down
2 changes: 1 addition & 1 deletion clients/cli/cmd/internal/upload_cleanup.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package internal

import (
"github.com/phrase/phrase-go/v3"
"github.com/phrase/phrase-go/v4"
)

type UploadCleanupCommand struct {
Expand Down
4 changes: 2 additions & 2 deletions clients/cli/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
"github.com/phrase/phrase-cli/cmd/internal/print"
"github.com/phrase/phrase-cli/cmd/internal/shared"
"github.com/phrase/phrase-cli/cmd/internal/updatechecker"
"github.com/phrase/phrase-go/v3"
api "github.com/phrase/phrase-go/v3"
"github.com/phrase/phrase-go/v4"
api "github.com/phrase/phrase-go/v4"
"github.com/spf13/cobra"
"github.com/spf13/viper"
)
Expand Down
2 changes: 1 addition & 1 deletion clients/cli/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ require (
github.com/daviddengcn/go-colortext v1.0.0
github.com/jpillora/backoff v1.0.0
github.com/mitchellh/mapstructure v1.4.0
github.com/phrase/phrase-go/v3 v4.0.2 // x-release-please-version
github.com/phrase/phrase-go/v4 v4.0.2 // x-release-please-version
github.com/spf13/cobra v1.0.0
github.com/spf13/viper v1.7.1
gopkg.in/yaml.v2 v2.4.0
Expand Down
4 changes: 2 additions & 2 deletions clients/cli/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -220,8 +220,8 @@ github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c/go.mod h1:lzWF7FI
github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic=
github.com/pelletier/go-toml v1.8.1 h1:1Nf83orprkJyknT6h7zbuEGUEjcyVlCxSUGTENmNCRM=
github.com/pelletier/go-toml v1.8.1/go.mod h1:T2/BmBdy8dvIRq1a/8aqjN41wvWlN4lrapLU/GW4pbc=
github.com/phrase/phrase-go/v3 v3.6.0 h1:0Uea1+Cz3NIdg1KSPhB3A/uQoCWlZAs/B5Eeb1IwAhc=
github.com/phrase/phrase-go/v3 v3.6.0/go.mod h1:s0uOYiXLxKAYlaIS6TbKv3efkKFUlY4OB6OL+VgvK90=
github.com/phrase/phrase-go/v4 v4.0.2 h1:xljCCa67OWBXrRCQqYgYdvVbfgiax0MgdoSey/rSh3M=
github.com/phrase/phrase-go/v4 v4.0.2/go.mod h1:4XplKvrbHS2LDaXfFp9xrVDtO5xk2WHFm0htutwwd8c=
github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pkg/sftp v1.10.1/go.mod h1:lYOWFsE0bwd1+KfKJaKeuokY15vzFx25BLbzYYoAxZI=
Expand Down
2 changes: 1 addition & 1 deletion openapi-generator/cli_lang.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
generatorName: go
outputDir: clients/cli
packageName: phrase
packageVersion: 2.34.1
packageVersion: 2.35.0
templateDir: openapi-generator/templates/cli
apiNameSuffix: Api
2 changes: 1 addition & 1 deletion openapi-generator/templates/cli/api.handlebars
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (

"github.com/antihax/optional"
helpers "github.com/phrase/phrase-cli/helpers"
api "github.com/phrase/phrase-go/v3"
api "github.com/phrase/phrase-go/v4"
"github.com/spf13/cobra"
"github.com/spf13/viper"
)
Expand Down
2 changes: 1 addition & 1 deletion release-please/manifest-cli.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "2.34.1"
".": "2.35.0"
}

0 comments on commit 66d50da

Please sign in to comment.