diff --git a/CHANGELOG.md b/CHANGELOG.md index 5bf1def7..71271c51 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,13 @@ +## 0.7.0 / 2018-12-07 + +_As preparation for the 1.0.0 release, this release removes the long deprecated +legacy HTTP push endpoint (which uses `/jobs/` rather than `/job/` in the URL)._ + +* [CHANGE] Remove legacy push API. #227 +* [ENHANCEMENT] Update dependencies. #230 +* [ENHANCEMENT] Support Go modules. #221 +* [BUGFIX] Avoid crash when started with v0.4 storage. #223 + ## 0.6.0 / 2018-10-17 _Persistence storage prior to 0.5.0 is unsupported. Upgrade to 0.5.2 first for diff --git a/Makefile.common b/Makefile.common index 741579e6..ca4e01dd 100644 --- a/Makefile.common +++ b/Makefile.common @@ -115,7 +115,7 @@ common-test: .PHONY: common-format common-format: @echo ">> formatting code" - GO111MODULE=$(GO111MODULE) $(GO) fmt $(GOOPTS) $(pkgs) + GO111MODULE=$(GO111MODULE) $(GO) fmt $(pkgs) .PHONY: common-vet common-vet: @@ -140,8 +140,9 @@ else ifdef GO111MODULE @echo ">> running check for unused/missing packages in go.mod" GO111MODULE=$(GO111MODULE) $(GO) mod tidy +ifeq (,$(wildcard vendor)) @git diff --exit-code -- go.sum go.mod -ifneq (,$(wildcard vendor)) +else @echo ">> running check for unused packages in vendor/" GO111MODULE=$(GO111MODULE) $(GO) mod vendor @git diff --exit-code -- go.sum go.mod vendor/ @@ -175,9 +176,11 @@ common-docker-tag-latest: promu: $(PROMU) $(PROMU): - curl -s -L $(PROMU_URL) | tar -xvz -C /tmp - mkdir -v -p $(FIRST_GOPATH)/bin - cp -v /tmp/promu-$(PROMU_VERSION).$(GO_BUILD_PLATFORM)/promu $(PROMU) + $(eval PROMU_TMP := $(shell mktemp -d)) + curl -s -L $(PROMU_URL) | tar -xvzf - -C $(PROMU_TMP) + mkdir -p $(FIRST_GOPATH)/bin + cp $(PROMU_TMP)/promu-$(PROMU_VERSION).$(GO_BUILD_PLATFORM)/promu $(FIRST_GOPATH)/bin/promu + rm -r $(PROMU_TMP) .PHONY: proto proto: diff --git a/VERSION b/VERSION index a918a2aa..faef31a4 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.6.0 +0.7.0