From 003f63b7f4cff3fc95357005358af2de0f5fe152 Mon Sep 17 00:00:00 2001 From: Onsi Fakhouri Date: Fri, 5 Jan 2018 15:13:10 -0700 Subject: [PATCH] v1.3.0 --- CHANGELOG.md | 14 ++++++++++++++ CONTRIBUTING.md | 2 ++ RELEASING.md | 6 ++++++ gomega_dsl.go | 2 +- 4 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 RELEASING.md diff --git a/CHANGELOG.md b/CHANGELOG.md index a3e8ee444..06fe7ad08 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ ## HEAD +## 1.3.0 + +Improvements: + +- The `Equal` matcher matches byte slices more performantly. +- Improved how `MatchError` matches error strings. +- `MatchXML` ignores the order of xml node attributes. +- Improve support for XUnit style golang tests. ([#254](https://github.com/onsi/gomega/issues/254)) + +Bug Fixes: + +- Diff generation now handles multi-byte sequences correctly. +- Multiple goroutines can now call `gexec.Build` concurrently. + ## 1.2.0 Improvements: diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 8c3342ba0..0d7a09928 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -9,4 +9,6 @@ Your contributions to Gomega are essential for its long-term maintenance and imp - Please run following linter locally `go vet ./...` and make sure output does not contain any warnings - Update the documentation. In addition to standard `godoc` comments Gomega has extensive documentation on the `gh-pages` branch. If relevant, please submit a docs PR to that branch alongside your code PR. +If you're a committer, check out RELEASING.md to learn how to cut a release. + Thanks for supporting Gomega! diff --git a/RELEASING.md b/RELEASING.md new file mode 100644 index 000000000..537050a9a --- /dev/null +++ b/RELEASING.md @@ -0,0 +1,6 @@ +A Gomega release is a tagged sha and a GitHub release. To cut a release: + +1. Ensure CHANGELOG.md is uptodate. +2. Update GOMEGA_VERSION in `gomega_dsl.go` +3. Push a commit with the version number as the commit message (e.g. `v1.3.0`) +4. Create a new [GitHub release](https://help.github.com/articles/creating-releases/) with the version number as the tag (e.g. `v1.3.0`). List the key changes in the release notes. \ No newline at end of file diff --git a/gomega_dsl.go b/gomega_dsl.go index 0296fc472..175bef5e5 100644 --- a/gomega_dsl.go +++ b/gomega_dsl.go @@ -24,7 +24,7 @@ import ( "github.com/onsi/gomega/types" ) -const GOMEGA_VERSION = "1.2.0" +const GOMEGA_VERSION = "1.3.0" const nilFailHandlerPanic = `You are trying to make an assertion, but Gomega's fail handler is nil. If you're using Ginkgo then you probably forgot to put your assertion in an It().