Skip to content

Commit

Permalink
build: add release-it to facilitate builds (#275)
Browse files Browse the repository at this point in the history
Co-authored-by: Chris Barth <[email protected]>
  • Loading branch information
LoneRifle and cjbarth authored Apr 18, 2023
1 parent aa3fcd6 commit 1c1ca44
Show file tree
Hide file tree
Showing 7 changed files with 5,989 additions and 149 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
version: [4, 6, lts/*, latest]
version: [8, lts/*, latest]
steps:
- uses: actions/checkout@HEAD
- uses: actions/setup-node@HEAD
Expand Down
54 changes: 54 additions & 0 deletions .grenrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
module.exports = {
dataSource: "prs",
prefix: "",
onlyMilestones: false,
ignoreTagsWith: [],
ignoreLabels: [],
tags: "all",
groupBy: {
"Major Changes": ["semver-major", "breaking-change"],
"Minor Changes": ["semver-minor", "enhancement", "new-feature"],
Dependencies: ["dependencies"],
"Bug Fixes": ["semver-patch", "bug", "security"],
Documentation: ["documentation"],
"Technical Tasks": ["chore"],
Other: ["..."],
},
changelogFilename: "CHANGELOG.md",
username: "node-saml",
repo: "xml-crypto",
template: {
issue: function (placeholders) {
const parts = [
"-",
placeholders.labels,
placeholders.name,
`[${placeholders.text}](${placeholders.url})`,
];
return parts
.filter((_) => _)
.join(" ")
.replace(" ", " ");
},
release: function (placeholders) {
placeholders.body = placeholders.body.replace(
"*No changelog for this release.*",
"\n_No changelog for this release._"
);
return `## ${placeholders.release} (${placeholders.date})\n${placeholders.body}`;
},
group: function (placeholders) {
const iconMap = {
Enhancements: "🚀",
"Minor Changes": "🚀",
"Bug Fixes": "🐛",
Documentation: "📚",
"Technical Tasks": "⚙️",
"Major Changes": "💣",
Dependencies: "🔗",
};
const icon = iconMap[placeholders.heading] || "🙈";
return "\n### " + icon + " " + placeholders.heading + "\n";
},
},
};
4 changes: 4 additions & 0 deletions .markdownlint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"MD013": false,
"MD024": false
}
9 changes: 9 additions & 0 deletions .release-it.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"github": {
"release": true,
"releaseName": "v${version}"
},
"hooks": {
"after:bump": "npm run changelog"
}
}
280 changes: 280 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,280 @@
# Changelog

## master (2023-04-17)

### 🔗 Dependencies

- [**dependencies**] Bump minimatch from 3.0.4 to 3.1.2 [#276](https://github.com/node-saml/xml-crypto/pull/276)
- [**dependencies**] [**javascript**] Bump qs from 6.5.2 to 6.5.3 [#271](https://github.com/node-saml/xml-crypto/pull/271)

### 🙈 Other

- [**closed**] make FileKeyInfo extensible for compatibility with TypeScript [#273](https://github.com/node-saml/xml-crypto/pull/273)
- [**closed**] Updated getKeyInfo function with actual implementation [#249](https://github.com/node-saml/xml-crypto/pull/249)

---

## v3.0.1 (2022-10-31)

### 🔗 Dependencies

- [**dependencies**] [**javascript**] Bump ajv and har-validator [#266](https://github.com/node-saml/xml-crypto/pull/266)
- [**dependencies**] [**javascript**] Bump yargs-parser and tap [#257](https://github.com/node-saml/xml-crypto/pull/257)
- [**dependencies**] [**javascript**] Bump minimist and tap [#264](https://github.com/node-saml/xml-crypto/pull/264)

---

## v3.0.0 (2022-10-13)

### 🔗 Dependencies

- [**dependencies**] [**javascript**] Bump @xmldom/xmldom from 0.7.0 to 0.8.3 [#261](https://github.com/node-saml/xml-crypto/pull/261)
- [**dependencies**] [**javascript**] Bump handlebars from 4.0.11 to 4.7.7 [#247](https://github.com/node-saml/xml-crypto/pull/247)
- [**dependencies**] [**javascript**] Bump lodash from 4.17.10 to 4.17.21 [#248](https://github.com/node-saml/xml-crypto/pull/248)
- [**dependencies**] [**javascript**] Bump hosted-git-info from 2.6.0 to 2.8.9 [#246](https://github.com/node-saml/xml-crypto/pull/246)
- [**dependencies**] [**javascript**] Bump ejs from 2.6.1 to 3.1.7 [#244](https://github.com/node-saml/xml-crypto/pull/244)
- [**dependencies**] [**javascript**] Bump path-parse from 1.0.5 to 1.0.7 [#245](https://github.com/node-saml/xml-crypto/pull/245)

### 🙈 Other

- [**closed**] build(ci): test on later node versions [#251](https://github.com/node-saml/xml-crypto/pull/251)

---

## v2.1.4 (2022-07-08)

### 🙈 Other

- [**closed**] Correct behavior for XML canonicalization with namespaces and nested elements [#242](https://github.com/node-saml/xml-crypto/pull/242)

---

## v2.1.3 (2021-08-20)

### 🔗 Dependencies

- [**dependencies**] [**java**] Bump commons-io from 2.4 to 2.7 in /test/validators/XmlCryptoJava [#229](https://github.com/node-saml/xml-crypto/pull/229)

### 🙈 Other

- [**closed**] Update xmldom to 0.7.0 [#236](https://github.com/node-saml/xml-crypto/pull/236)

---

## v2.1.2 (2021-04-19)

_No changelog for this release._

---

## v2.1.1 (2021-03-16)

_No changelog for this release._

---

## v2.1.0 (2021-03-15)

### 🔗 Dependencies

- [**dependencies**] [**javascript**] Bump xmldom from 0.1.27 to 0.5.0 [#225](https://github.com/node-saml/xml-crypto/pull/225)
- [**dependencies**] [**java**] Bump junit from 4.12 to 4.13.1 in /test/validators/XmlCryptoJava [#217](https://github.com/node-saml/xml-crypto/pull/217)

### 🙈 Other

- [**closed**] Don't pull the example folder into the module build [#220](https://github.com/node-saml/xml-crypto/pull/220)
- [**closed**] fix for #201 [#218](https://github.com/node-saml/xml-crypto/pull/218)

---

## v2.0.0 (2020-10-05)

_No changelog for this release._

---

## v1.5.3 (2020-04-14)

### 🙈 Other

- [**closed**] Async response for built in algo sign/verify [#209](https://github.com/node-saml/xml-crypto/pull/209)

---

## v1.5.2 (2020-04-13)

_No changelog for this release._

---

## v1.5.1 (2020-04-13)

### 🙈 Other

- [**closed**] Test suites of other projects (mocha) that include v1.5.0 fail [#207](https://github.com/node-saml/xml-crypto/pull/207)

---

## v1.5.0 (2020-04-12)

### 🙈 Other

- [**closed**] Add callback options to sign/verify asynchronously [#206](https://github.com/node-saml/xml-crypto/pull/206)

---

## v1.4.1 (2020-04-03)

### 🔗 Dependencies

- [**dependencies**] Bump js-yaml from 3.12.0 to 3.13.1 [#205](https://github.com/node-saml/xml-crypto/pull/205)

### 🙈 Other

- [**closed**] validation instruction typo [#192](https://github.com/node-saml/xml-crypto/pull/192)
- [**closed**] Fixes line end and white space normalization. [#196](https://github.com/node-saml/xml-crypto/pull/196)

---

## v1.4.0 (2019-04-26)

### 🙈 Other

- [**closed**] Fix canon xml being computed differently when signing, than when verfying [#183](https://github.com/node-saml/xml-crypto/pull/183)

---

## v1.3.0 (2019-03-23)

### 🙈 Other

- [**closed**] Xml enc c14# inclusivenamespace fixes [#179](https://github.com/node-saml/xml-crypto/pull/179)

---

## v1.2.0 (2019-02-26)

### 🙈 Other

- [**closed**] Accept existing xml prefixes to avoid adding to signature [#171](https://github.com/node-saml/xml-crypto/pull/171)

---

## v1.1.4 (2019-02-11)

### 🙈 Other

- [**closed**] fix for enveloped signatures [#174](https://github.com/node-saml/xml-crypto/pull/174)

---

## v1.1.3 (2019-02-10)

### 🙈 Other

- [**closed**] Update signed-xml.js [#172](https://github.com/node-saml/xml-crypto/pull/172)

---

## v1.1.2 (2019-01-28)

_No changelog for this release._

---

## v1.1.1 (2019-01-01)

_No changelog for this release._

---

## v1.1.0 (2019-01-01)

_No changelog for this release._

---

## v1.0.2 (2018-11-08)

### 🙈 Other

- [**closed**] Bugfix: a namespace in the inclusive namespace list should be treated… [#163](https://github.com/node-saml/xml-crypto/pull/163)

---

## v1.0.1 (2018-09-10)

_No changelog for this release._

---

## v1.0.0 (2018-09-10)

### 🙈 Other

- [**closed**] Decode DigestValue for validation [#160](https://github.com/node-saml/xml-crypto/pull/160)
- [**closed**] Addresses issue #235 by upgrading xmldom version to 0.1.27 [#155](https://github.com/node-saml/xml-crypto/pull/155)
- [**closed**] Patch for non exclusive c14n [#157](https://github.com/node-saml/xml-crypto/pull/157)
- [**closed**] Merge changes from datagovsg fork [#161](https://github.com/node-saml/xml-crypto/pull/161)

---

## v0.9.0 (2017-02-26)

_No changelog for this release._

---

## 0.9.0 (2017-02-26)

### 🙈 Other

- [**closed**] Separate namespaces with same prefix but different URI [#117](https://github.com/node-saml/xml-crypto/pull/117)
- [**closed**] Implement transform: 'http://www.w3.org/TR/2001/REC-xml-c14n-20010315' [#116](https://github.com/node-saml/xml-crypto/pull/116)

---

## v0.8.5 (2016-12-08)

### 🙈 Other

- [**closed**] Add possible id attribute 'id' [#121](https://github.com/node-saml/xml-crypto/pull/121)
- [**closed**] Update license field to npm recommendation [#119](https://github.com/node-saml/xml-crypto/pull/119)
- [**closed**] Fix author field format [#120](https://github.com/node-saml/xml-crypto/pull/120)
- [**closed**] Remove namespace-breaking reserialization of signature from example in README [#105](https://github.com/node-saml/xml-crypto/pull/105)

---

## v0.8.4 (2016-03-12)

_No changelog for this release._

---

## v0.8.3 (2016-03-06)

_No changelog for this release._

---

## v0.8.2 (2015-12-13)

_No changelog for this release._

---

## v0.8.1 (2015-10-15)

_No changelog for this release._

---

## v0.8.0 (2015-10-03)

_No changelog for this release._

---

## V1 (2013-07-20)

_No changelog for this release._
Loading

0 comments on commit 1c1ca44

Please sign in to comment.