Skip to content

Commit 76aa16c

Browse files
authored
Merge pull request #110 from toupeira/feat/conventional-changelog
chore: Add conventional changelog generator
2 parents 64c874e + b0e3d54 commit 76aa16c

File tree

4 files changed

+37
-20
lines changed

4 files changed

+37
-20
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ coverage/
33
spec/support/example_private_key.pem
44
/gemfiles/*.lock
55
.idea/
6+
.bundle/

CHANGELOG.md

Lines changed: 26 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
1-
# OmniAuth SAML Version History
2-
3-
A generic SAML strategy for OmniAuth.
4-
5-
https://github.com/omniauth/omniauth-saml
6-
7-
## 1.6.0 (2016-06-27)
1+
<a name="v1.6.0"></a>
2+
### v1.6.0 (2016-06-27)
83
* Ensure that subclasses of `OmniAuth::Stategies::SAML` are registered with OmniAuth as strategies (https://github.com/omniauth/omniauth-saml/pull/95)
94
* Update ruby-saml to 1.3 to address [CVE-2016-5697](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-5697) (Signature wrapping attacks)
105

11-
## 1.5.0 (2016-02-25)
6+
<a name="v1.5.0"></a>
7+
### v1.5.0 (2016-02-25)
128

139
* Initialize OneLogin::RubySaml::Response instance with settings
1410
* Adding "settings" to Response Class at initialization to handle signing verification
@@ -18,56 +14,67 @@ https://github.com/omniauth/omniauth-saml
1814
* Call validation earlier to get real error instead of 'response missing name_id'
1915
* Avoid mutation of the options hash during requests and callbacks
2016

21-
## 1.4.2 (2016-02-09)
17+
<a name="v1.4.2"></a>
18+
### v1.4.2 (2016-02-09)
2219

2320
* update ruby-saml to 1.1
2421

25-
## 1.4.1 (2015-08-09)
22+
<a name="v1.4.1"></a>
23+
### v1.4.1 (2015-08-09)
2624

2725
* Configurable attribute_consuming_service
2826

29-
## 1.4.0 (2015-07-23)
27+
<a name="v1.4.0"></a>
28+
### v1.4.0 (2015-07-23)
3029

3130
* update ruby-saml to 1.0.0
3231

33-
## 1.3.1 (2015-02-26)
32+
<a name="v1.3.1"></a>
33+
### v1.3.1 (2015-02-26)
3434

3535
* Added missing fingerprint key check
3636
* Expose fingerprint on the auth_hash
3737

38-
## 1.3.0 (2015-01-23)
38+
<a name="v1.3.0"></a>
39+
### v1.3.0 (2015-01-23)
3940

4041
* add `idp_cert_fingerprint_validator` option
4142

42-
## 1.2.0 (2014-03-19)
43+
<a name="v1.2.0"></a>
44+
### v1.2.0 (2014-03-19)
4345

4446
* provide SP metadata at `/auth/saml/metadata`
4547

46-
## 1.1.0 (2013-11-07)
48+
<a name="v1.1.0"></a>
49+
### v1.1.0 (2013-11-07)
4750

4851
* no longer set a default `name_identifier_format`
4952
* pass strategy options to the underlying ruby-saml library
5053
* fallback to omniauth callback url if `assertion_consumer_service_url` is not set
5154
* add `idp_sso_target_url_runtime_params` option
5255

53-
## 1.0.0 (2012-11-12)
56+
<a name="v1.0.0"></a>
57+
### v1.0.0 (2012-11-12)
5458

5559
* remove SAML code and port to ruby-saml gem
5660
* fix incompatibility with OmniAuth 1.1
5761

58-
## 0.9.2 (2012-03-30)
62+
<a name="v0.9.2"></a>
63+
### v0.9.2 (2012-03-30)
5964

6065
* validate the SAML response
6166
* 100% test coverage
6267
* now requires ruby 1.9.2+
6368

64-
## 0.9.1 (2012-02-23)
69+
<a name="v0.9.1"></a>
70+
### v0.9.1 (2012-02-23)
6571

6672
* return first and last name in the info hash
6773
* no longer use LDAP OIDs for name and email selection
6874
* return SAML attributes as the omniauth raw_info hash
6975

70-
## 0.9.0 (2012-02-14)
76+
<a name="v0.9.0"></a>
77+
### v0.9.0 (2012-02-14)
7178

7279
* initial release
7380
* extracts commits from omniauth 0-3-stable branch

CONTRIBUTING.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,12 @@ feat: create initial CONTRIBUTING.md
6666
This closes #73
6767
```
6868

69-
> **NOTE:** [CHANGELOG.md](CHANGELOG.md) is generated based on the commits.
69+
## Release process
70+
71+
Example for version `v1.7.0`
72+
73+
1. Bump the version in `lib/omniauth-saml/version.rb`
74+
1. Update [CHANGELOG.md](CHANGELOG.md) with `bundle exec conventional-changelog version=v1.7.0 since_version=v1.6.0`
75+
1. Commit all your changes
76+
1. Tag the latest commit with `git tag v1.7.0`
77+
1. Contact the maintainers

omniauth-saml.gemspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Gem::Specification.new do |gem|
1818
gem.add_development_dependency 'rspec', '~>3.4'
1919
gem.add_development_dependency 'simplecov', '~> 0.11'
2020
gem.add_development_dependency 'rack-test', '~> 0.6', '>= 0.6.3'
21+
gem.add_development_dependency 'conventional-changelog', '~> 1.2'
2122

2223
gem.files = ['README.md', 'CHANGELOG.md', 'LICENSE.md'] + Dir['lib/**/*.rb']
2324
gem.test_files = Dir['spec/**/*.rb']

0 commit comments

Comments
 (0)