Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

all: drop support for go 1.10 #1608

Merged
merged 10 commits into from
Aug 20, 2019
30 changes: 0 additions & 30 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,14 +95,6 @@ commands:
#-----------------------------------------------------------------------------#

jobs:
# check_code_1_10 performs code checks using Go 1.10 (gofmt is only run for 1.12).
check_code_1_10:
working_directory: /go/src/github.com/stellar/go
docker:
- image: circleci/golang:1.10-stretch
steps:
- govet

# check_code_1_11 performs code checks using Go 1.11 (gofmt is only run for 1.12).
check_code_1_11:
working_directory: /go/src/github.com/stellar/go
Expand All @@ -122,26 +114,6 @@ jobs:
- govet
- staticcheck

# test_code_1_10 performs all package tests using Go 1.10.
test_code_1_10:
working_directory: /go/src/github.com/stellar/go
docker:
- image: circleci/golang:1.10-stretch
environment:
PGHOST: localhost
PGPORT: 5432
PGUSER: circleci
MYSQL_HOST: 127.0.0.1
MYSQL_PORT: 3306
- image: circleci/postgres:9.6.5-alpine-ram
environment:
POSTGRES_USER: circleci
- image: circleci/mysql:5.7
- image: circleci/redis:5.0-alpine
steps:
- install_go_deps
- test_packages

# test_code_1_11 performs all package tests using Go 1.11.
test_code_1_11:
working_directory: /go/src/github.com/stellar/go
Expand Down Expand Up @@ -215,10 +187,8 @@ workflows:

check_code_and_test:
jobs:
- check_code_1_10
- check_code_1_11
- check_code_1_12
- test_code_1_10
- test_code_1_11
- test_code_1_12

Expand Down
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ addons:
ssh_known_hosts:
- bitbucket.org
go:
- '1.10'
- '1.11'
- '1.12'
- tip
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.10.3
FROM golang:1.12
RUN curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
WORKDIR /go/src/github.com/stellar/go

Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ This repo is the home for all of the public go code produced by SDF. In additio

## Dependencies

This repository depends upon a [number of external dependencies](./Gopkg.lock), and uses [dep](https://golang.github.io/dep/) to manage them (see installation instructions [here](https://golang.github.io/dep/docs/installation.html)).
This repository is officially supported on the last two releases of Go, which is currently Go 1.11 and Go 1.12.

It depends on a [number of external dependencies](./Gopkg.lock), and uses [dep](https://golang.github.io/dep/) to manage them (see installation instructions [here](https://golang.github.io/dep/docs/installation.html)).

To satisfy dependencies and populate the `vendor` directory run:

Expand Down
4 changes: 4 additions & 0 deletions clients/horizonclient/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
All notable changes to this project will be documented in this
file. This project adheres to [Semantic Versioning](http://semver.org/).

## Unreleased

- Dropped support for Go 1.10.

## [v1.4.0](https://github.com/stellar/go/releases/tag/horizonclient-v1.4.0) - 2019-08-09

- Add support for querying operation endpoint with `join` parameter [#1521](https://github.com/stellar/go/issues/1521).
Expand Down
2 changes: 1 addition & 1 deletion clients/horizonclient/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ This library is aimed at developers building Go applications that interact with
* The [txnbuild API reference](https://godoc.org/github.com/stellar/go/txnbuild).

### Prerequisites
* Go 1.10 or greater
* Go 1.11 or greater

### Installing
* Download the Stellar Go monorepo: `git clone [email protected]:stellar/go.git`
Expand Down
2 changes: 1 addition & 1 deletion govet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ set -e
# For now we just skip the shadow checking for Go 1.12+
# TODO: 2) Not triggering on shadowed vars (output not stdout?)
# TODO: 3) Fix syntax for Go 1.12+ (go tool vet -> go vet, but fails to find packages?)
if [[ $GOLANG_VERSION = 1.9.* ]] || [[ $GOLANG_VERSION = 1.10.* ]] || [[ $GOLANG_VERSION = 1.11.* ]]; then
if [[ $GOLANG_VERSION = 1.11.* ]]; then
echo "Running go vet checks..."
OUTPUT=$(ls -d */ \
| egrep -v '^vendor|^docs' \
Expand Down
1 change: 1 addition & 0 deletions services/bridge/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ As this project is pre 1.0, breaking changes may happen for minor version bumps.
## Unreleased

* Fixed path-payment operation in `/payment`
* Dropped support for Go 1.10.

## 0.0.32

Expand Down
4 changes: 4 additions & 0 deletions services/compliance/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

As this project is pre 1.0, breaking changes may happen for minor version bumps. A breaking change will get clearly notified in this log.

## Unreleased

* Dropped support for Go 1.10.

## 0.0.32

* Compliance server now uses the new Go SDK.
Expand Down
1 change: 1 addition & 0 deletions services/federation/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ bumps. A breaking change will get clearly notified in this log.
### Changed

- BREAKING CHANGE: The `url` database configuration has been renamed to `dsn` to more accurately reflect its content.
- Dropped support for Go 1.10.

### Fixed

Expand Down
4 changes: 4 additions & 0 deletions services/horizon/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ file. This project adheres to [Semantic Versioning](http://semver.org/).
As this project is pre 1.0, breaking changes may happen for minor version
bumps. A breaking change will get clearly notified in this log.

## Unreleased

* Dropped support for Go 1.10.

## v0.19.0

* Add `join` parameter to operations and payments endpoints. Currently, the only valid value for the parameter is `transactions`. If `join=transactions` is included in a request then the response will include a `transaction` field for each operation in the response.
Expand Down
2 changes: 1 addition & 1 deletion services/horizon/internal/docs/admin.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ To test the installation, simply run `horizon --help` from a terminal. If the h
Should you decide not to use one of our prebuilt releases, you may instead build Horizon from source. To do so, you need to install some developer tools:

- A unix-like operating system with the common core commands (cp, tar, mkdir, bash, etc.)
- A compatible distribution of Go (we officially support Go 1.10 and later)
- A compatible distribution of Go (Go 1.11 or later)
- [go-dep](https://golang.github.io/dep/)
- [git](https://git-scm.com/)
- [mercurial](https://www.mercurial-scm.org/)
Expand Down
2 changes: 1 addition & 1 deletion services/horizon/internal/docs/developing.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ If you are just starting with Horizon and want to try it out, consider the [Quic
Building Horizon requires the following developer tools:

- A [Unix-like](https://en.wikipedia.org/wiki/Unix-like) operating system with the common core commands (cp, tar, mkdir, bash, etc.)
- Golang 1.10 or later
- Golang 1.11 or later
- [git](https://git-scm.com/) (to check out Horizon's source code)
- [go-dep](https://golang.github.io/dep/) (package manager for Go)
- [mercurial](https://www.mercurial-scm.org/) (needed for `go-dep`)
Expand Down
4 changes: 4 additions & 0 deletions services/keystore/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## Unreleased

- Dropped support for Go 1.10.

## [v1.0.0] - 2019-06-18

Initial release of the keystore.
1 change: 1 addition & 0 deletions services/ticker/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## [UNRELEASED]
- Added nested `"issuer_detail"` field to `/assets.json`.
- Dropped support for Go 1.10.


## [v1.1.0] - 2019-07-22
Expand Down
1 change: 1 addition & 0 deletions tools/stellar-archivist/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ bumps. A breaking change will get clearly notified in this log.
## ???

* Fix race condition in `mirror` command
* Dropped support for Go 1.10.

## [v0.1.0] - 2016-08-17

Expand Down
4 changes: 4 additions & 0 deletions tools/stellar-hd-wallet/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ file. This project adheres to [Semantic Versioning](http://semver.org/).
As this project is pre 1.0, breaking changes may happen for minor version
bumps. A breaking change will get clearly notified in this log.

## Unreleased

- Dropped support for Go 1.10.

## [v0.0.1] - 2017-12-28

Initial release.
4 changes: 4 additions & 0 deletions tools/stellar-sign/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ file. This project adheres to [Semantic Versioning](http://semver.org/).
As this project is pre 1.0, breaking changes may happen for minor version
bumps. A breaking change will get clearly notified in this log.

## Unreleased

- Dropped support for Go 1.10.

## [v0.2.0] - 2016-08-19

### Added
Expand Down
4 changes: 4 additions & 0 deletions tools/stellar-vanity-gen/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ file. This project adheres to [Semantic Versioning](http://semver.org/).
As this project is pre 1.0, breaking changes may happen for minor version
bumps. A breaking change will get clearly notified in this log.

## Unreleased

- Dropped support for Go 1.10.

## [v0.1.0] - 2016-08-17

Initial release after import from https://github.com/stellar/go-stellar-base/cmd/stellar-vanity-gen
Expand Down
4 changes: 4 additions & 0 deletions txnbuild/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
All notable changes to this project will be documented in this
file. This project adheres to [Semantic Versioning](http://semver.org/).

## Unreleased

* Dropped support for Go 1.10.

## [v1.4.0](https://github.com/stellar/go/releases/tag/horizonclient-v1.4.0) - 2019-08-09

* Add `BuildChallengeTx` function for building [SEP-10](https://github.com/stellar/stellar-protocol/blob/master/ecosystem/sep-0010.md) challenge transaction([#1466](https://github.com/stellar/go/issues/1466)).
Expand Down
2 changes: 1 addition & 1 deletion txnbuild/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ This library is aimed at developers building Go applications on top of the [Stel
An easy-to-follow demonstration that exercises this SDK on the TestNet with actual accounts is also included! See the [Demo](#demo) section below.

### Prerequisites
* Go 1.10 or greater
* Go 1.11 or greater

### Installing
* Download the Stellar Go monorepo: `git clone [email protected]:stellar/go.git`
Expand Down