Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 46 additions & 0 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: update-changelog
on:
push:
branches:
- main
permissions:
contents: write
jobs:
changelog:
name: Update CHANGELOG
runs-on: ubuntu-latest
timeout-minutes: 15
if: |
!startsWith(github.event.head_commit.message, '[Release]') &&
!startsWith(github.event.head_commit.message, 'chore(changelog): update CHANGELOG.md') &&
github.event.head_commit.author.name != 'github-actions[bot]'
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- uses: jdx/mise-action@v3
with:
experimental: true
- name: Generate CHANGELOG.md
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: git cliff --config ./cliff.toml -o ./CHANGELOG.md
- name: Check for CHANGELOG changes
id: changelog-changes
run: |
if git diff --quiet CHANGELOG.md; then
echo "No changes in CHANGELOG.md"
echo "has-changes=false" >> $GITHUB_OUTPUT
else
echo "CHANGELOG.md has changes"
echo "has-changes=true" >> $GITHUB_OUTPUT
fi
- name: Commit CHANGELOG
uses: stefanzweifel/git-auto-commit-action@v7
if: steps.changelog-changes.outputs.has-changes == 'true'
with:
commit_message: "chore(changelog): update CHANGELOG.md"
commit_options: '--no-verify'
file_pattern: CHANGELOG.md
commit_user_name: github-actions[bot]
commit_user_email: github-actions[bot]@users.noreply.github.com
71 changes: 53 additions & 18 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,33 +1,68 @@
# Change Log
# Changelog

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

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

#### 1.x Releases
- `1.2.x` Releases - [1.2.0](#120)
- `1.1.x` Releases - [1.1.0](#110)
- `1.0.x` Releases - [1.0.0](#100)

---
## [Unreleased]

### Miscellaneous Tasks
- Update workflow to run tests and build project
- Contributed by [@ns-vasilev](https://github.com/ns-vasilev) in Pull Request [#20](https://github.com/space-code/log/pull/20).
- Automate code formatting and linting with git hooks
- Contributed by [@ns-vasilev](https://github.com/ns-vasilev) in Pull Request [#24](https://github.com/space-code/log/pull/24).
- Update danger
- Contributed by [@ns-vasilev](https://github.com/ns-vasilev) in Pull Request [#23](https://github.com/space-code/log/pull/23).
- Update config
- Contributed by [@ns-vasilev](https://github.com/ns-vasilev) in Pull Request [#16](https://github.com/space-code/log/pull/16).

### Uncategorized Changes
- Add renovate.json
- Contributed by [@renovate[bot]](https://github.com/renovate[bot]) in Pull Request [#12](https://github.com/space-code/log/pull/12).
- Update `Gemfile.lock`
- Contributed by [@ns-vasilev](https://github.com/ns-vasilev) in Pull Request [#11](https://github.com/space-code/log/pull/11).

### New Contributors
* @renovate[bot] made their first contribution in [#14](https://github.com/space-code/log/pull/14)

## [1.2.0](https://github.com/space-code/log/releases/tag/1.2.0)
Released on 2024-12-25.

#### Added
- Bump the Swift version to 6.0.
- Added in Pull Request [#5](https://github.com/space-code/log/pull/6).
Released on 2024-12-25. All issues associated with this milestone can be found using this [filter](https://github.com/space-code/log/milestones?state=closed&q=1.2.0).

### Uncategorized Changes
- Release `1.2.0`
- Contributed by [@ns-vasilev](https://github.com/ns-vasilev) in Pull Request [#10](https://github.com/space-code/log/pull/10).
- Bump the Swift version to 6.0
- Contributed by [@ns-vasilev](https://github.com/ns-vasilev) in Pull Request [#8](https://github.com/space-code/log/pull/8).
- Update `Gemfile`
- Contributed by [@ns-vasilev](https://github.com/ns-vasilev) in Pull Request [#9](https://github.com/space-code/log/pull/9).

## [1.1.0](https://github.com/space-code/log/releases/tag/1.1.0)

#### Added
- Make the `logLevel` property changeable
- Added in Pull Request [#5](https://github.com/space-code/log/pull/5).
- Add files to comply with community standards
- Added in Pull Request [#4](https://github.com/space-code/log/pull/4).
- Update GitHub Actions workflow
- Added in Pull Request [#3](https://github.com/space-code/log/pull/3).
- Hide `IOSWriter` & `IConsoleWriter` from the public interface
- Added in Pull Request [#2](https://github.com/space-code/log/pull/2).
Released on 2024-01-19. All issues associated with this milestone can be found using this [filter](https://github.com/space-code/log/milestones?state=closed&q=1.1.0).

### Uncategorized Changes
- Release `1.1.0`
- Contributed by [@ns-vasilev](https://github.com/ns-vasilev) in Pull Request [#7](https://github.com/space-code/log/pull/7).
- Update `CHANGELOG.md`
- Contributed by [@ns-vasilev](https://github.com/ns-vasilev) in Pull Request [#6](https://github.com/space-code/log/pull/6).

## [1.0.0](https://github.com/space-code/log/releases/tag/1.0.0)
Released on 2023-10-18.

#### Added
- Initial release of log.
- Added by [Nikita Vasilev](https://github.com/nik3212).
Released on 2023-10-18. All issues associated with this milestone can be found using this [filter](https://github.com/space-code/log/milestones?state=closed&q=1.0.0).

### Uncategorized Changes
- Release `1.0.0`
- Contributed by [@ns-vasilev](https://github.com/ns-vasilev) in Pull Request [#1](https://github.com/space-code/log/pull/1).

[unreleased]: https://github.com/space-code/log/compare/1.2.0..HEAD
[1.2.0]: https://github.com/space-code/log/compare/1.1.0..1.2.0
[1.1.0]: https://github.com/space-code/log/compare/1.0.0..1.1.0

Loading
Loading