From c17c0c6bd296736cb4557328483f5fc02ee9010c Mon Sep 17 00:00:00 2001 From: Dean Karn Date: Thu, 28 Dec 2023 21:44:08 -0800 Subject: [PATCH] update deps + release 1.0.0 (#17) --- .github/workflows/workflow.yml | 15 +++++++++------ CHANGELOG.md | 8 +++++++- README.md | 2 +- go.mod | 7 ++++--- go.sum | 7 +++++++ 5 files changed, 28 insertions(+), 11 deletions(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 923ee09..5650e2b 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -1,14 +1,17 @@ +name: Lint & Test on: - push: - branches: - - master pull_request: -name: Test + types: [opened, edited, reopened, synchronize] + +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: test: strategy: matrix: - go-version: [1.20.x,1.19.x] + go-version: [1.21.x,1.20.x] os: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.os }} steps: @@ -32,7 +35,7 @@ jobs: run: go test -race -covermode=atomic -coverprofile="profile.cov" ./... - name: Send Coverage - if: matrix.os == 'ubuntu-latest' && matrix.go-version == '1.20.x' + if: matrix.os == 'ubuntu-latest' && matrix.go-version == '1.21.x' uses: shogo82148/actions-goveralls@v1 with: path-to-profile: profile.cov diff --git a/CHANGELOG.md b/CHANGELOG.md index 29c290a..80797c1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [1.0.0] - 2023-12-29 +### Changed +- Updated deps. +- Releasing 1.0.0. + ## [0.9.0] - 2023-06-17 ### Changed - Function signature of custom coercions to allow parsing more complex coercions types such as substr. @@ -77,7 +82,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Initial conversion from https://github.com/rust-playground/ksql. -[Unreleased]: https://github.com/go-playground/ksql/compare/v0.9.0...HEAD +[Unreleased]: https://github.com/go-playground/ksql/compare/v1.0.0...HEAD +[1.0.0]: https://github.com/go-playground/ksql/compare/v0.9.0...v1.0.0 [0.9.0]: https://github.com/go-playground/ksql/compare/v0.8.0...v0.9.0 [0.8.0]: https://github.com/go-playground/ksql/compare/v0.7.0...v0.8.0 [0.7.0]: https://github.com/go-playground/ksql/compare/v0.6.1...v0.7.0 diff --git a/README.md b/README.md index 9c7920a..8fcb05a 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ ksql ===== -![Project status](https://img.shields.io/badge/version-0.9.0-green.svg) +![Project status](https://img.shields.io/badge/version-1.0.0-green.svg) [![GoDoc](https://godoc.org/github.com/go-playground/ksql?status.svg)](https://pkg.go.dev/github.com/go-playground/ksql) ![License](https://img.shields.io/dub/l/vibe-d.svg) diff --git a/go.mod b/go.mod index 819e0fc..04ef7dd 100644 --- a/go.mod +++ b/go.mod @@ -5,14 +5,15 @@ go 1.18 require ( github.com/araddon/dateparse v0.0.0-20210429162001-6b43995a97de github.com/go-playground/itertools v0.1.0 - github.com/go-playground/pkg/v5 v5.20.0 - github.com/stretchr/testify v1.8.1 - github.com/tidwall/gjson v1.14.4 + github.com/go-playground/pkg/v5 v5.22.0 + github.com/stretchr/testify v1.8.4 + github.com/tidwall/gjson v1.17.0 ) require ( github.com/davecgh/go-spew v1.1.1 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect + github.com/stretchr/objx v0.5.0 // indirect github.com/tidwall/match v1.1.1 // indirect github.com/tidwall/pretty v1.2.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect diff --git a/go.sum b/go.sum index a2b816c..c898644 100644 --- a/go.sum +++ b/go.sum @@ -10,6 +10,8 @@ github.com/go-playground/pkg/v5 v5.18.0 h1:qnYuhWhwLdWj6ut9jagFjaiUI6PZTo3SafR5U github.com/go-playground/pkg/v5 v5.18.0/go.mod h1:eT8XZeFHnqZkfkpkbI8ayjfCw9GohV2/j8STbVmoR6s= github.com/go-playground/pkg/v5 v5.20.0 h1:cSiC5f8KAvWHCV2vmYyNFgIZE6Fvx3WJO5Uw+pXOdxw= github.com/go-playground/pkg/v5 v5.20.0/go.mod h1:eT8XZeFHnqZkfkpkbI8ayjfCw9GohV2/j8STbVmoR6s= +github.com/go-playground/pkg/v5 v5.22.0 h1:PN1gpVrBwzQdshzDVoRs6VTPzlFS+/VihPGyDkyI7uw= +github.com/go-playground/pkg/v5 v5.22.0/go.mod h1:UgHNntEQnMJSygw2O2RQ3LAB0tprx81K90c/pOKh7cU= github.com/mattn/go-runewidth v0.0.10/go.mod h1:RAqKPSqVFrSLVXbA8x7dzmKdmGzieGRCM46jaSJTDAk= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= @@ -17,14 +19,19 @@ github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJ github.com/scylladb/termtables v0.0.0-20191203121021-c4c0b6d42ff4/go.mod h1:C1a7PQSMz9NShzorzCiG2fk9+xuCgLkPeCvMHYR2OWg= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= +github.com/stretchr/objx v0.5.0 h1:1zr/of2m5FGMsad5YfcqgdqdWrIhu+EBEJRhR1U7z/c= github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= github.com/stretchr/testify v1.8.1 h1:w7B6lhMri9wdJUVmEZPGGhZzrYTPvgJArz7wNPgYKsk= github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= +github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= +github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= github.com/tidwall/gjson v1.14.4 h1:uo0p8EbA09J7RQaflQ1aBRffTR7xedD2bcIVSYxLnkM= github.com/tidwall/gjson v1.14.4/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk= +github.com/tidwall/gjson v1.17.0 h1:/Jocvlh98kcTfpN2+JzGQWQcqrPQwDrVEMApx/M5ZwM= +github.com/tidwall/gjson v1.17.0/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk= github.com/tidwall/match v1.1.1 h1:+Ho715JplO36QYgwN9PGYNhgZvoUSc9X2c80KVTi+GA= github.com/tidwall/match v1.1.1/go.mod h1:eRSPERbgtNPcGhD8UCthc6PmLEQXEWd3PRB5JTxsfmM= github.com/tidwall/pretty v1.2.0 h1:RWIZEg2iJ8/g6fDDYzMpobmaoGh5OLl4AXtGUGPcqCs=