Skip to content
This repository has been archived by the owner on Sep 7, 2024. It is now read-only.

Commit

Permalink
chore: add CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
roushou committed Aug 16, 2024
1 parent 36ddb59 commit a0b6765
Show file tree
Hide file tree
Showing 2 changed files with 118 additions and 0 deletions.
41 changes: 41 additions & 0 deletions anthropic/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Changelog

All notable changes to this project will be documented in this file.

## [anthropic-rs-v0.1.4] - 2024-08-16

[e465d19](e465d195cfb2a1417f280238b4cbd54ee88c1de2)...[36ddb59](36ddb59d40c3e6182b70ea6cc7e1938508e70afe)

### Documentation

- Update README files ([615182b](615182b5270bba73d25dfab2f65ef4f013177b8b))

### Miscellaneous Tasks

- Release ([36ddb59](36ddb59d40c3e6182b70ea6cc7e1938508e70afe))

## [anthropic-rs-v0.1.3] - 2024-08-16

### Documentation

- Update README ([bdaa3e8](bdaa3e8cbe352b420585a9e2e1e6f050e186d824))

### Features

- Add streaming support ([9475a08](9475a087068cc625ac0ef2ebeb2ba2f6ca4cb82e))
- Re-organize repository into crates ([177e564](177e564960347512aa905085f651547800819752))
- Add examples ([9b9a3a2](9b9a3a2db93608dbfabfeab9ee8720a6b8d2cf40))
- Make `stream_message` actually stream messages ([750d036](750d03673fe2432db26432c3c2751accfd69411d))

### Miscellaneous Tasks

- Add Licenses ([d02b6dd](d02b6dd473121bc83ec1a4e10d788d09ceb73c0c))
- Specify crate metadata ([e5d7bcf](e5d7bcfad109bea4571e4340a03ebaa92c72f0bd))
- Add missing fields to message request + add fields documentation ([028fd3b](028fd3bbab11427e52461f0435271ee5c432f0e8))
- Update README files ([c12ae02](c12ae02e33e9c2f0342f951c8364a3726dd309cf))
- Bump anthropic crate version ([65b25e9](65b25e992aecfbd7e0a39ce7913ab1083c97b7de))
- Bump `anthropic` verison ([5e154e6](5e154e6f7756fb0d7c71afc0f5eee1a929234282))
- Update stream example ([95429f2](95429f2b8f0a80b26191c375334f7036dc8c1765))
- Release ([e465d19](e465d195cfb2a1417f280238b4cbd54ee88c1de2))

<!-- generated by git-cliff -->
77 changes: 77 additions & 0 deletions cliff.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
# git-cliff ~ configuration file
# https://git-cliff.org/docs/configuration

[changelog]
# template for the changelog header
header = """
# Changelog\n
All notable changes to this project will be documented in this file.\n
"""
# template for the changelog body
# https://keats.github.io/tera/docs/#introduction
body = """
{% if version %}\
## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }}
{% else %}\
## [unreleased]
{% endif %}\
{% if previous %}\
{% if previous.commit_id %}
[{{ previous.commit_id | truncate(length=7, end="") }}]({{ previous.commit_id }})...\
[{{ commit_id | truncate(length=7, end="") }}]({{ commit_id }})
{% endif %}\
{% endif %}\
{% for group, commits in commits | group_by(attribute="group") %}
### {{ group | upper_first }}
{% for commit in commits %}
- {{ commit.message | upper_first }} ([{{ commit.id | truncate(length=7, end="") }}]({{ commit.id }}))\
{% for footer in commit.footers -%}
, {{ footer.token }}{{ footer.separator }}{{ footer.value }}\
{% endfor %}\
{% endfor %}
{% endfor %}\n
"""
# template for the changelog footer
footer = """
<!-- generated by git-cliff -->
"""
# remove the leading and trailing whitespace from the templates
trim = true

[git]
# parse the commits based on https://www.conventionalcommits.org
conventional_commits = true
# filter out the commits that are not conventional
filter_unconventional = true
# process each line of a commit as an individual commit
split_commits = false
# regex for parsing and grouping commits
commit_parsers = [
{ message = "^feat", group = "Features" },
{ message = "^fix", group = "Bug Fixes" },
{ message = "^doc", group = "Documentation" },
{ message = "^perf", group = "Performance" },
{ message = "^refactor", group = "Refactor" },
{ message = "^style", group = "Styling" },
{ message = "^test", group = "Testing" },
{ message = "^chore\\(deps.*\\)", skip = true },
{ message = "^chore\\(pr\\)", skip = true },
{ message = "^chore\\(pull\\)", skip = true },
{ message = "^chore\\(release\\): prepare for", skip = true },
{ message = "^chore|^ci", group = "Miscellaneous Tasks" },
{ body = ".*security", group = "Security" },
]
# protect breaking changes from being skipped due to matching a skipping commit_parser
protect_breaking_commits = false
# filter out the commits that are not matched by commit parsers
filter_commits = false
# regex for matching git tags
tag_pattern = "v[0-9].*"
# regex for skipping tags
skip_tags = "v0.1.0-beta.1"
# regex for ignoring tags
ignore_tags = ""
# sort the tags topologically
topo_order = false
# sort the commits inside sections by oldest/newest order
sort_commits = "oldest"

0 comments on commit a0b6765

Please sign in to comment.