Skip to content

Commit 638b103

Browse files
committed
chore: update changelog
1 parent 193e77f commit 638b103

File tree

2 files changed

+168
-56
lines changed

2 files changed

+168
-56
lines changed

CHANGELOG.md

Lines changed: 88 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -1,88 +1,120 @@
1-
# [0.10.1](https://github.com/aykxt/crypto/compare/v0.10.0...v0.10.1) (2023-07-15)
1+
# Changelog
22

3-
### Bug Fixes
3+
All notable changes to this project will be documented in this file.
44

5-
- **AES:** fix bug causing wrong output sometimes
6-
([315d4f6](https://github.com/aykxt/crypto/commit/315d4f675f412f56c21950eaade0fb1a12a45632))
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
# [0.10.0](https://github.com/aykxt/crypto/compare/v0.9.1...v0.10.0) (2021-04-05)
8+
## [0.11.0] - 2025-02-14
99

10-
### Features
10+
### Added
11+
- (*block-modes*): Add IGE block mode ([d39bd50](https://github.com/aykxt/crypto/commit/d39bd504b5d6bcb396de759cf639665eb120f9cb))
12+
- (*benchmarks*): Add AES-128-CBC WebCrypto benchmark ([6643132](https://github.com/aykxt/crypto/commit/66431325efc6a1a057230099389c3ef841678be3))
1113

12-
- **block-ciphers:** add 3DES algorithm
13-
([c0877ae](https://github.com/aykxt/crypto/commit/c0877aebe586b3d4047ea69c3d434ea414bcd2c5))
14-
- **block-ciphers:** add DES algorithm
15-
([15d408e](https://github.com/aykxt/crypto/commit/15d408eb7b2c753fecaab48926499af6717af530))
1614

17-
# [0.9.1](https://github.com/aykxt/crypto/compare/v0.9.0...v0.9.1) (2021-04-04)
15+
### Changed
16+
- (*deps*): Migrate to deno.json ([1f0bd45](https://github.com/aykxt/crypto/commit/1f0bd457e27efd3c317ff0d3ed74e79ab3be56f1))
1817

19-
### Bug Fixes
2018

21-
- **pbkdf2:** fix offset out of bounds
22-
([1377a73](https://github.com/aykxt/crypto/commit/1377a739fa80b2b26907616684e65c2bc124d220))
19+
### Fixed
20+
- (*block-ciphers*): Cbc: use array offsets (#5) ([7486524](https://github.com/aykxt/crypto/commit/7486524fa8a42a75693db7826082e66050d48067))
2321

24-
# [0.9.0](https://github.com/aykxt/crypto/compare/v0.8.0...v0.9.0) (2021-04-02)
2522

26-
### Features
23+
### Removed
24+
- (*ci*): Remove codeql-analysis.yml ([b2ecd50](https://github.com/aykxt/crypto/commit/b2ecd50517e5e25766e21aea9a924788c596bab6))
25+
- (*benchmarks*): Remove GodCrypto AES benchmarks ([6eab45f](https://github.com/aykxt/crypto/commit/6eab45fc2f1f927fa836283f08282f6cd891debf))
26+
- (*ci*): Remove canary version from Deno matrix ([193e77f](https://github.com/aykxt/crypto/commit/193e77fde76e4a30591c4477c712e759c24f45db))
2727

28-
- **Block ciphers:** add CAST5 algorithm
29-
([840c419](https://github.com/aykxt/crypto/commit/840c41963dbae0c59aa51f1529dae7720804d49c))
28+
## [0.10.1] - 2023-07-14
3029

31-
# [0.8.0](https://github.com/aykxt/crypto/compare/v0.7.0...v0.8.0) (2021-03-26)
30+
### Changed
31+
- (*benchmark*): Migrate to Deno.bench ([ea25f83](https://github.com/aykxt/crypto/commit/ea25f831f0d3ec380dbcdb82f608e8bb7f1c8bf9))
3232

33-
### Features
3433

35-
- **KDFs:** add HKDF algorithm
36-
([d6260ca](https://github.com/aykxt/crypto/commit/d6260ca8e5aa3d987c05bd8ec36d7611e740128c))
37-
- **KDFs:** add PBKDF2 algorithm
38-
([d3a0d78](https://github.com/aykxt/crypto/commit/d3a0d7873cd031d523f0a7798d249c9c59c4944f))
34+
### Fixed
35+
- (*AES*): Use DataView instead of TypedArray ([935e7f0](https://github.com/aykxt/crypto/commit/935e7f09cc5bd89e045ef1e7e0139ffe1a7f040b))
36+
- (*AES*): Fix bug causing wrong output sometimes ([315d4f6](https://github.com/aykxt/crypto/commit/315d4f675f412f56c21950eaade0fb1a12a45632))
3937

40-
# [0.7.0](https://github.com/aykxt/crypto/compare/v0.6.0...v0.7.0) (2021-03-23)
4138

42-
### Features
39+
### Removed
40+
- Remove unnecessary parentheses ([2584522](https://github.com/aykxt/crypto/commit/25845221f8bbca2fd8c74fafec1cf622ea8f670f))
4341

44-
- **block-modes:** add CTR block mode
45-
([f91253c](https://github.com/aykxt/crypto/commit/f91253cd39b9add21600f1038514732fc1fd2e17))
42+
## [0.10.0] - 2021-04-05
4643

47-
# [0.6.0](https://github.com/aykxt/crypto/compare/v0.5.0...v0.6.0) (2021-03-16)
44+
### Added
45+
- (*block-ciphers*): Add DES algorithm ([15d408e](https://github.com/aykxt/crypto/commit/15d408eb7b2c753fecaab48926499af6717af530))
46+
- (*block-ciphers*): Add 3DES algorithm ([c0877ae](https://github.com/aykxt/crypto/commit/c0877aebe586b3d4047ea69c3d434ea414bcd2c5))
4847

49-
- refactor!: generic block cipher modes
50-
([e0329bf](https://github.com/aykxt/crypto/commit/e0329bfa03ffa179d75b8769e6acadcda6c47d8e))
48+
## [0.9.1] - 2021-04-04
5149

52-
### Performance Improvements
50+
### Fixed
51+
- (*pbkdf2*): Fix offset out of bounds ([1377a73](https://github.com/aykxt/crypto/commit/1377a739fa80b2b26907616684e65c2bc124d220))
5352

54-
- **AES:** use DataView for better performance
55-
([0c20792](https://github.com/aykxt/crypto/commit/0c207923948049e2e8942ada7e31f93aef382803))
53+
## [0.9.0] - 2021-04-02
5654

57-
# [0.5.0](https://github.com/aykxt/crypto/compare/v0.4.1...v0.5.0) (2021-03-14)
55+
### Added
56+
- (*block-ciphers*): Add CAST5 algorithm ([840c419](https://github.com/aykxt/crypto/commit/840c41963dbae0c59aa51f1529dae7720804d49c))
5857

59-
- refactor!: remove root mod.ts
60-
([d74ae74](https://github.com/aykxt/crypto/commit/d74ae7434533dd50c96515e6606c7e04512fa722))
58+
## [0.8.0] - 2021-03-26
6159

62-
### Features
60+
### Added
61+
- (*KDFs*): Add HKDF algorithm ([d6260ca](https://github.com/aykxt/crypto/commit/d6260ca8e5aa3d987c05bd8ec36d7611e740128c))
62+
- (*KDFs*): Add PBKDF2 algorithm ([d3a0d78](https://github.com/aykxt/crypto/commit/d3a0d7873cd031d523f0a7798d249c9c59c4944f))
6363

64-
- **Blowfish:** add CFB and OFB block modes
65-
([1f61da9](https://github.com/aykxt/crypto/commit/1f61da999c691f6d9ff878f8e2bef19e32825e1b))
66-
- add HMAC algorithm
67-
([bd08fa8](https://github.com/aykxt/crypto/commit/bd08fa8706f283314bc1da7bd0c1ee139599afc6))
68-
- **AES:** add CFB block mode
69-
([39bb513](https://github.com/aykxt/crypto/commit/39bb513b7c46ae297f77b9aa0a67542e03c1be0a))
70-
- **AES:** add OFB block mode
71-
([3e54974](https://github.com/aykxt/crypto/commit/3e54974fca3c35704d92bf9655d1c21040bc472b))
64+
## [0.7.0] - 2021-03-23
7265

73-
## [0.4.1](https://github.com/aykxt/crypto/compare/v0.4.0...v0.4.1) (2021-03-12)
66+
### Added
67+
- (*block-modes*): Add CTR block mode ([f91253c](https://github.com/aykxt/crypto/commit/f91253cd39b9add21600f1038514732fc1fd2e17))
7468

75-
### Performance Improvements
69+
## [0.6.0] - 2021-03-16
7670

77-
- **AES:** reduce amount of array copies
78-
([5db6174](https://github.com/aykxt/crypto/commit/5db61740f9ff3b69a877193d83f70971844d8674))
71+
### Changed
72+
- **BREAKING CHANGE**: Generic block cipher modes ([e0329bf](https://github.com/aykxt/crypto/commit/e0329bfa03ffa179d75b8769e6acadcda6c47d8e))
7973

80-
# [0.4.0](https://github.com/aykxt/crypto/compare/v0.3.5...v0.4.0) (2021-03-11)
8174

82-
- refactor!: rewrite AES and Blowfish logic
83-
([5288fa3](https://github.com/aykxt/crypto/commit/5288fa30fdc799c58e4c2c4de81b3eca9cc83e6b))
75+
### Fixed
76+
- (*AES*): Use DataView for better performance ([0c20792](https://github.com/aykxt/crypto/commit/0c207923948049e2e8942ada7e31f93aef382803))
8477

85-
### BREAKING CHANGES
78+
## [0.5.0] - 2021-03-14
8679

87-
- Block modes are now separated from encryption logic and can be instantiated
88-
directly, e.g. AesEcb
80+
### Added
81+
- (*AES*): Add CFB block mode ([39bb513](https://github.com/aykxt/crypto/commit/39bb513b7c46ae297f77b9aa0a67542e03c1be0a))
82+
- (*AES*): Add OFB block mode ([3e54974](https://github.com/aykxt/crypto/commit/3e54974fca3c35704d92bf9655d1c21040bc472b))
83+
- Add HMAC algorithm ([bd08fa8](https://github.com/aykxt/crypto/commit/bd08fa8706f283314bc1da7bd0c1ee139599afc6))
84+
- (*Blowfish*): Add CFB and OFB block modes ([1f61da9](https://github.com/aykxt/crypto/commit/1f61da999c691f6d9ff878f8e2bef19e32825e1b))
85+
86+
87+
### Changed
88+
- (*benchmark*): Parse benchmark args ([ff97e20](https://github.com/aykxt/crypto/commit/ff97e20ff01ed4120a35642e7e28526425202757))
89+
- (*AES*): Compute constants ([cf46ca7](https://github.com/aykxt/crypto/commit/cf46ca721fefa55a16ff382813d7f2ea54ac7c64))
90+
91+
92+
### Removed
93+
- **BREAKING CHANGE**: Remove root mod.ts ([d74ae74](https://github.com/aykxt/crypto/commit/d74ae7434533dd50c96515e6606c7e04512fa722))
94+
95+
## [0.4.1] - 2021-03-12
96+
97+
### Fixed
98+
- (*AES*): Reduce amount of array copies ([5db6174](https://github.com/aykxt/crypto/commit/5db61740f9ff3b69a877193d83f70971844d8674))
99+
100+
## [0.4.0] - 2021-03-11
101+
102+
### Changed
103+
- **BREAKING CHANGE**: Rewrite AES and Blowfish logic ([5288fa3](https://github.com/aykxt/crypto/commit/5288fa30fdc799c58e4c2c4de81b3eca9cc83e6b)):
104+
Block modes are now separated from encryption
105+
logic and can be instantiated directly, e.g. AesEcb
106+
107+
108+
[0.11.0]: https://github.com/aykxt/crypto/compare/v0.10.1..v0.11.0
109+
[0.10.1]: https://github.com/aykxt/crypto/compare/v0.10.0..v0.10.1
110+
[0.10.0]: https://github.com/aykxt/crypto/compare/v0.9.1..v0.10.0
111+
[0.9.1]: https://github.com/aykxt/crypto/compare/v0.9.0..v0.9.1
112+
[0.9.0]: https://github.com/aykxt/crypto/compare/v0.8.0..v0.9.0
113+
[0.8.0]: https://github.com/aykxt/crypto/compare/v0.7.0..v0.8.0
114+
[0.7.0]: https://github.com/aykxt/crypto/compare/v0.6.0..v0.7.0
115+
[0.6.0]: https://github.com/aykxt/crypto/compare/v0.5.0..v0.6.0
116+
[0.5.0]: https://github.com/aykxt/crypto/compare/v0.4.1..v0.5.0
117+
[0.4.1]: https://github.com/aykxt/crypto/compare/v0.4.0..v0.4.1
118+
[0.4.0]: https://github.com/aykxt/crypto/compare/v0.3.5..v0.4.0
119+
120+
<!-- generated by git-cliff -->

cliff.toml

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
# https://git-cliff.org/docs/configuration
2+
3+
[changelog]
4+
trim = true
5+
output = "CHANGELOG.md"
6+
header = """
7+
# Changelog\n
8+
All notable changes to this project will be documented in this file.
9+
10+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
11+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).\n
12+
"""
13+
body = """
14+
{%- macro remote_url() -%}
15+
https://github.com/{{ remote.github.owner }}/{{ remote.github.repo }}
16+
{%- endmacro -%}
17+
18+
{% if version -%}
19+
## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }}
20+
{% else -%}
21+
## [Unreleased]
22+
{% endif -%}
23+
24+
{% for group, commits in commits | group_by(attribute="group") %}
25+
### {{ group | upper_first }}
26+
27+
{%- for commit in commits %}
28+
- {% if commit.breaking %}**BREAKING CHANGE**: {% endif %}\
29+
{% if commit.scope %}(*{{ commit.scope }}*): {% endif %}\
30+
{{ commit.message | split(pat="\n") | first | upper_first | trim }} \
31+
([{{ commit.id | truncate(length=7, end="") }}]({{ self::remote_url() }}/commit/{{ commit.id }}))\
32+
{% set breaking_change = commit.footers | filter(attribute="breaking", value=true) | first %}\
33+
{% if breaking_change %}\
34+
:
35+
{{ breaking_change.value | trim }}
36+
{% endif %}\
37+
{% endfor %}
38+
39+
{% endfor %}
40+
"""
41+
footer = """
42+
{%- macro remote_url() -%}
43+
https://github.com/{{ remote.github.owner }}/{{ remote.github.repo }}
44+
{%- endmacro -%}
45+
46+
{% for release in releases -%}
47+
{% if release.version -%}
48+
{% if release.previous.version -%}
49+
[{{ release.version | trim_start_matches(pat="v") }}]: \
50+
{{ self::remote_url() }}/compare/{{ release.previous.version }}..{{ release.version }}
51+
{% endif -%}
52+
{% else -%}
53+
[unreleased]: {{ self::remote_url() }}/compare/{{ release.previous.version }}..HEAD
54+
{% endif -%}
55+
{% endfor %}
56+
<!-- generated by git-cliff -->
57+
"""
58+
59+
60+
[git]
61+
conventional_commits = true
62+
filter_unconventional = true
63+
split_commits = false
64+
commit_parsers = [
65+
{ message = "^feat", group = "Added" },
66+
{ message = "^fix", group = "Fixed" },
67+
{ message = "^perf", group = "Fixed" },
68+
{ message = "^.*: remove", group = "Removed" },
69+
{ message = "^refactor\\(tests\\)", skip = true },
70+
{ message = "^refactor", group = "Changed" },
71+
{ message = "^revert", group = "Changed" },
72+
{ message = "^style", skip = true },
73+
{ message = "^chore", skip = true },
74+
{ message = "^test", skip = true },
75+
{ body = ".*security", group = "Security" },
76+
]
77+
filter_commits = true
78+
protect_breaking_commits = true
79+
topo_order = false
80+
sort_commits = "oldest"

0 commit comments

Comments
 (0)