Skip to content

Commit

Permalink
chore: release-plz
Browse files Browse the repository at this point in the history
  • Loading branch information
Kodylow committed Apr 8, 2024
1 parent 76b62d0 commit d25be2b
Show file tree
Hide file tree
Showing 3 changed files with 291 additions and 0 deletions.
175 changes: 175 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,175 @@
# Changelog

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

## [unreleased]

### πŸš€ Features

- First 3 endpoints
- Validate endpoint
- Stubs for remaining cli commands
- Combine
- Lninvoice
- Awaitinvoice
- Stub cashu router methods
- Impl handle_listgateways
- Impl switch_gateway
- Impl deposit address
- Impl handle awaitdeposit
- Impl withdraw
- Impl handle discoverversion
- Impl handle config
- Impl list operations
- Impl backup
- Impl backup
- Add remaining cashu optional nuts
- Impl hacky cashu check, info, and swap
- Cashu mint and melt
- Melt
- Add websocket support for all fedimint commands
- Jsonrpc websocket handling
- Finish adding admin fm commands
- Nix and flakebox
- Add multimint clients to state
- Helper get_client on state for pulling fedimint client out of multimint by id or default
- Multimint support in mint handlers
- Multimint cashu handlers
- Add join endpoint to add new multimint client
- Add /admin/federation-ids endpoint
- Camelcase everything over http
- Status handler route
- Add metrics endpoint
- Mprocs
- Devshell
- Fedimint 0.3
- Typescript wrapper
- Add fedimint-py and fedimint-go
- Add external-ln-receive-pubkey
- Claim external pubkey tweaked
- P2pk and claim methods + refactor module types
- Encode and decode notes to / from json
- Encode and decode notes working clientd and ts
- Add gateway_id requirement for all lightning endpoints
- ActiveGatewayId for lightning
- Update go client to 0.3
- Finish updates to fedimint-go for 0.3
- Continue fedimint-go 0.3 updates
- Python updates continued
- Finish updating python clients

### πŸ› Bug Fixes

- SelectNotesWithExactAmount not backported to v0.2 yet
- Working await lnpay
- Move api versions into nest
- Remove cors
- Bitcoin versioning
- Typo
- Replit files
- Docs
- Missing melt method
- Cashu /info updates
- Create address wrong instruction
- Parse websocket v then use federation_id
- Status code import pattern
- Remove required invite code
- Join returns connected federation_ids
- Get info for all federations
- Update for by federation admin responses
- Deserialize to snake_case
- Post not get for join
- Fmt
- Cors
- Allow auth header in cors policy for preflight
- Allow any headers
- Default port 3333
- Cargo.toml
- Flake
- Fix
- Bugs
- Remove default
- Cashu endpoints for fedimint 0.3
- Path multimint
- Multimint path for 0.3
- Tests
- V0.3 updates
- All tests done for typescript
- Tests for p2pk and claim
- Justfile and docs
- Wscat mprocs
- Add go and bun to devshell for wrappers
- Python updates
- Python tests
- Updates
- Updates

### 🚜 Refactor

- Move out create routers into helpers
- Split out fedimint handlers into separate functions
- Fedimint admin handlers
- Snake_case filenames
- Finish snake_casing
- Cashu split out into files
- Mint and melt modules
- Move types and utils into new refactored structure
- Wallet module
- Move router create into main.rs so docs up front
- Better websocket formatting
- Admin routes with multimint
- Multimint for ln handlers
- State, req for all ws
- Rename to state.multimint
- Rename to onchain

### πŸ“š Documentation

- Rename
- Update readme for cashu mappings
- Readme pic
- Readme add fedimint endpoints
- Readme updates
- Cargo toml description
- Add that it supports multiple federations
- Update documentation in ts wrapper

### βš™οΈ Miscellaneous Tasks

- Bump fedimint to 0.2.1
- Bump version
- Add license
- Bump version
- License in toml
- Bump
- Bump
- Bump versions
- Flakebox
- Polish nix stuff and expose main app output
- Add repository metadata to Cargo.toml
- Rename health check endpoint
- Add trace layer for logging requests
- Remove trace layer middleware from health check route
- Reorganize routes middlewares
- Clientd updates
- Multimint into fedimint-clientd
- Tests script for fedimint-ts
- Bump fedimint rc1
- Bash in dev for linux
- Update to v0.3.0-rc.2
- Bump to fedimint rc.3 and update example.env
- Prep version bump
- Update tests in ts wrapper
- Bump ts wrapper
- Update flake.lock
- Bump fedimint-0.3
- Bump multimint
- Peg fedimint-clientd to multimint version
- Bump flakebox
- Fixes for nix and rust versions, semgrep
- Release 0.3.0
- Dependabot
- Bump flakebox
- Release v0.3.1

<!-- generated by git-cliff -->
89 changes: 89 additions & 0 deletions cliff.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
# git-cliff ~ default configuration file
# https://git-cliff.org/docs/configuration
#
# Lines starting with "#" are comments.
# Configuration options are organized into tables and keys.
# See documentation for more information on available options.

[changelog]
# 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 %}\
{% for group, commits in commits | group_by(attribute="group") %}
### {{ group | striptags | trim | upper_first }}
{% for commit in commits %}
- {% if commit.scope %}*({{ commit.scope }})* {% endif %}\
{% if commit.breaking %}[**breaking**] {% endif %}\
{{ commit.message | upper_first }}\
{% endfor %}
{% endfor %}\n
"""
# template for the changelog footer
footer = """
<!-- generated by git-cliff -->
"""
# remove the leading and trailing s
trim = true
# postprocessors
postprocessors = [
# { pattern = '<REPO>', replace = "https://github.com/orhun/git-cliff" }, # replace repository URL
]

[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 preprocessing the commit messages
commit_preprocessors = [
# Replace issue numbers
#{ pattern = '\((\w+\s)?#([0-9]+)\)', replace = "([#${2}](<REPO>/issues/${2}))"},
# Check spelling of the commit with https://github.com/crate-ci/typos
# If the spelling is incorrect, it will be automatically fixed.
#{ pattern = '.*', replace_command = 'typos --write-changes -' },
]
# regex for parsing and grouping commits
commit_parsers = [
{ message = "^feat", group = "<!-- 0 -->πŸš€ Features" },
{ message = "^fix", group = "<!-- 1 -->πŸ› Bug Fixes" },
{ message = "^doc", group = "<!-- 3 -->πŸ“š Documentation" },
{ message = "^perf", group = "<!-- 4 -->⚑ Performance" },
{ message = "^refactor", group = "<!-- 2 -->🚜 Refactor" },
{ message = "^style", group = "<!-- 5 -->🎨 Styling" },
{ message = "^test", group = "<!-- 6 -->πŸ§ͺ Testing" },
{ message = "^chore\\(release\\): prepare for", skip = true },
{ message = "^chore\\(deps.*\\)", skip = true },
{ message = "^chore\\(pr\\)", skip = true },
{ message = "^chore\\(pull\\)", skip = true },
{ message = "^chore|^ci", group = "<!-- 7 -->βš™οΈ Miscellaneous Tasks" },
{ body = ".*security", group = "<!-- 8 -->πŸ›‘οΈ Security" },
{ message = "^revert", group = "<!-- 9 -->◀️ Revert" },
]
# 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 = ""
# 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"
# limit the number of commits included in the changelog.
# limit_commits = 42
27 changes: 27 additions & 0 deletions release-plz.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
[workspace]
# path of the git-cliff configuration
changelog_config = "cliff.toml"

# enable changelog updates
changelog_update = true

# update dependencies with `cargo update`
dependencies_update = true

# create tags for the releases
git_tag_enable = true

# disable GitHub releases
git_release_enable = false

# labels for the release PR
pr_labels = ["release"]

# disallow updating repositories with uncommitted changes
allow_dirty = false

# disallow packaging with uncommitted changes
publish_allow_dirty = false

# disable running `cargo-semver-checks`
# semver_check = false

0 comments on commit d25be2b

Please sign in to comment.