Skip to content

Commit

Permalink
Update Changelog format and add release workflow (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
dougwaldron authored Apr 30, 2024
1 parent 6db3d40 commit 750a4ce
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 21 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/publish-nuget-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ name: Publish App Library NuGet Package

on:
push:
tags: [v*]
workflow_dispatch:
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
workflow_dispatch:

jobs:
publish-app-library-nuget-package:
Expand All @@ -29,3 +30,8 @@ jobs:

- name: NuGet Push
run: dotnet nuget push .artifacts/AppLibrary/bin/Release/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate

- name: Create GitHub Release
uses: docker://ghcr.io/anton-yurchenko/git-release:v6
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
56 changes: 37 additions & 19 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
# Changelog

## [5.2.0]
## [5.2.0] - 2024-04-30

- Added a string `Truncate` function.
- Added a `GetOrderedListAsync` method to the Named Entity Repository.

## [5.1.0]
## [5.1.0] - 2024-01-03

- Updated the included GuardClauses library to v2.0.0.

## [5.0.1]
## [5.0.1] - 2024-01-02

- Updated changelog for v5.0.0 release.

## [5.0.0]
## [5.0.0] - 2024-01-02

- Upgraded to .NET 8.0.

Expand All @@ -27,62 +27,80 @@
- Uses of `EntityNotFoundException` will need to be updated to provide the class type. For example, `EntityNotFoundException(typeof(MyEntity), id)` should be replaced with `EntityNotFoundException<MyEntity>(id)`.
- References to `IEntity<Guid>` may need to be replaced with `IEntity`.

## [4.1.0]
## [4.1.0] - 2023-11-09

- Implement IAsyncDisposable in repositories.

## [4.0.0]
## [4.0.0] - 2023-10-25

- Move GuardClauses to a separate NuGet package.

## [3.5.1]
## [3.5.1] - 2023-09-20

- Derived EF repositories can now specify the DbContext type.

## [3.5.0]
## [3.5.0] - 2023-09-19

- Added an abstract StandardNameEntity along with INamedEntity and IActiveEntity interfaces.
- Added INamedEntityRepository and INamedEntityManager interfaces and implementations.

## [3.4.0]
## [3.4.0] - 2023-09-18

- Included abstract implementations of BaseRepository.

## [3.3.0]
## [3.3.0] - 2023-08-11

- Added a "ConcatWithSeparator" string extension.
- Added "PreviousPageNumber" and "NextPageNumber" properties to the IPaginatedResult interface.
- Made some possible performance improvements to the Enum extensions.
Breaking change: The Enum extensions no longer work with nullable Enum values.

## [3.2.0]
## [3.2.0] - 2023-05-22

- Added a "SetNotDeleted" (undelete) method to the ISoftDelete interface.

## [3.1.0]
## [3.1.0] - 2023-04-25

- Added a "SaveChanges" method to the write repository.

## [3.0.0]
## [3.0.0] - 2023-04-25

- Upgraded the library to .NET 7.

## [2.0.0]
## [2.0.0] - 2023-03-07

- Moved the write repository operations to a separate interface.
- Added "Exists" methods to the read repository interface.
- Renamed the user ID properties on auditable entities.

## [1.1.0]
## [1.1.0] - 2023-03-07

- Added predicate builder and common entity filters.
- Added enum extensions.
- Added the System.Linq.Dynamic.Core package.

## [1.0.1]
## [1.0.1] - 2022-10-14

- Added a Readme file to the package.

## [1.0.0]

- Initial release.
## [1.0.0] - 2022-10-06

_Initial release._

[5.2.0]: https://github.com/gaepdit/app-library/releases/tag/v5.2.0
[5.1.0]: https://github.com/gaepdit/app-library/releases/tag/l%2Fv5.1.0
[5.0.1]: https://github.com/gaepdit/app-library/releases/tag/al%2Fv5.0.1
[5.0.0]: https://github.com/gaepdit/app-library/releases/tag/al%2Fv5.0.0
[4.1.0]: https://github.com/gaepdit/app-library/releases/tag/al%2Fv4.1.0
[4.0.0]: https://github.com/gaepdit/app-library/releases/tag/al%2Fv4.0.0
[3.5.1]: https://github.com/gaepdit/app-library/releases/tag/v3.5.1
[3.5.0]: https://github.com/gaepdit/app-library/releases/tag/v3.5.0
[3.4.0]: https://github.com/gaepdit/app-library/releases/tag/v3.4.0
[3.3.0]: https://github.com/gaepdit/app-library/releases/tag/v3.3.0
[3.2.0]: https://github.com/gaepdit/app-library/releases/tag/v3.2.0
[3.1.0]: https://github.com/gaepdit/app-library/releases/tag/v3.1.0
[3.0.0]: https://github.com/gaepdit/app-library/releases/tag/v3.0.0
[2.0.0]: https://github.com/gaepdit/app-library/releases/tag/v2.0.0
[1.1.0]: https://github.com/gaepdit/app-library/releases/tag/v1.1.0
[1.0.1]: https://github.com/gaepdit/app-library/releases/tag/v1.0.1
[1.0.0]: https://github.com/gaepdit/app-library/releases/tag/v1.0.0

0 comments on commit 750a4ce

Please sign in to comment.