Skip to content

Commit

Permalink
feat(dev): add just changelog (#162)
Browse files Browse the repository at this point in the history
resolves #134
  • Loading branch information
shivaraj-bh authored Mar 31, 2024
1 parent 423b854 commit 8bbdc91
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 2 deletions.
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
# Changelog for services-flake

## Unreleased

### Feat

- **postgres**: add connectionURI option (#143)
- add pre-commit-hooks.nix, enforcing conventional commits

### Fix

- **postgres**: empty `socketDir` by default (#160)
- **mysql**: look for `*.sql` files in the top-level schema directory (#154)
- **template**: Was broken in previous PR merge

### Refactor

- **deprecation**: replace types.string with types.str
- writeShellScriptBin -> writeShellApplication (#155)
- **postgres**: replace string argument with attrset for `connectionURI` (#146)
- **example**: remove unused pg2 service (#142)
- overlays for packages in test flake (#120)

## 0.1.0 (Mar 6, 2024)

- Initial release
4 changes: 2 additions & 2 deletions dev/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@
};
};
devShells.default = pkgs.mkShell {
nativeBuildInputs = [
packages = [
pkgs.just
config.pre-commit.settings.tools.commitizen
];
# cf. https://flakular.in/haskell-flake/devshell#composing-devshells
inputsFrom = [
config.treefmt.build.devShell
config.pre-commit.devShell
Expand Down
4 changes: 4 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
default:
@just --list

# Generate CHANGELOG under `Unreleased`, starting from the previous release
changelog:
cz ch --start-rev $(git describe --tags --abbrev=0 HEAD^) --incremental

# Run example/simple
ex-simple:
cd ./example/simple && nix run . --override-input services-flake ../..
Expand Down

0 comments on commit 8bbdc91

Please sign in to comment.