Altinn.Authorization.ABAC
0.1.1
dotnet add package Altinn.Authorization.ABAC --version 0.1.1
NuGet\Install-Package Altinn.Authorization.ABAC -Version 0.1.1
<PackageReference Include="Altinn.Authorization.ABAC" Version="0.1.1" />
<PackageVersion Include="Altinn.Authorization.ABAC" Version="0.1.1" />
<PackageReference Include="Altinn.Authorization.ABAC" />
paket add Altinn.Authorization.ABAC --version 0.1.1
#r "nuget: Altinn.Authorization.ABAC, 0.1.1"
#:package Altinn.Authorization.ABAC@0.1.1
#addin nuget:?package=Altinn.Authorization.ABAC&version=0.1.1
#tool nuget:?package=Altinn.Authorization.ABAC&version=0.1.1
Publishing NuGet Packages with Release Please
Overview
This guide outlines the release strategy for Altinn Authorization C# packages using Release Please. We adhere to Semantic Versioning (SemVer) to manage versions consistently.
Release Process
Releases are automatically generated based on commit messages that follow the Conventional Commits specification. When a pull request (PR) is merged into the main branch, Release Please will:
- Detect changes in the repository.
- Update or generate the
CHANGELOG.md. - Update the version in
*.csprojorversion.json. - Create a GitHub Release if necessary.
Commit Message Conventions
Each commit message must follow a structured format to ensure correct versioning:
| Change Type | Prefix |
|---|---|
| Patch | fix: |
| Minor | feat: |
| Major | fix!: |
| Major | feat!: |
| Major | refactor!: |
Example
Removing support for .NET 8 in the PEP package:
git add .
git commit -m "feat!: remove support for .NET 8"
Then, create a PR with the following title format:
release(<scope>): <component> <version>
For example:
release(main): Altinn.Authorization.PEP 5.0.0
Since we introduced a breaking change, we must bump the major version.
When this PR is merged, Release Please will create another PR with the updated changelog, including:
feat!: remove support for .NET 8
Once the Release Please PR is merged, the package can be safely deployed.
Specification
This guide follows the key terms defined in RFC 2119:
- MUST: A requirement that must be followed.
- MAY: An optional action.
- SHOULD: A recommendation.
Commit Message Structure
- A commit MUST be prefixed with a type (
feat,fix, etc.), followed by an optional scope, an optional!for breaking changes, and a required colon and space. featMUST be used for new features.fixMUST be used for bug fixes.- An optional scope MAY be provided in parentheses, e.g.,
fix(parser):. - The description MUST immediately follow the colon and space.
- A longer commit body MAY be included, starting one blank line after the description.
- A commit body MAY include multiple paragraphs.
- Footers MAY be included after one blank line.
- Footers MUST follow the format
<token>: <value>, e.g.,BREAKING CHANGE: environment variables now take precedence over config files. - Breaking changes MUST be indicated in either the type prefix (
!) or the footer. BREAKING CHANGEin the footer MAY be omitted if!is used in the prefix.- Other commit types MAY be used, such as
docs: update API documentation. - Commit messages MUST NOT be case-sensitive, except
BREAKING CHANGEwhich MUST be uppercase.
Automation
- GitHub Actions runs Release Please when PRs are merged into
main. - The version bump is determined automatically based on commit history.
- A new release is created only when a version change is required.
Semantic Versioning Rules
| Condition | Version Change | Example (1.2.3 →) |
|---|---|---|
| 🚀 Breaking changes (require code modifications by consumers) | Major (X.0.0) |
2.0.0 |
| ➖ Removing or renaming public APIs | Major (X.0.0) |
2.0.0 |
| 🔄 Changing method signatures | Major (X.0.0) |
2.0.0 |
| ⚠ Changing default behavior in a non-backward-compatible way | Major (X.0.0) |
2.0.0 |
| 🔄 Removing support for a .NET version | Major (X.0.0) |
2.0.0 |
| 🔄 Upgrading to a new .NET version (breaking compatibility) | Major (X.0.0) |
2.0.0 |
| 🔄 Upgrading to a new .NET version (fully backward-compatible) | Minor (X.Y.0) |
1.3.0 |
| ✨ Adding new features (backward-compatible) | Minor (X.Y.0) |
1.3.0 |
| ➕ Adding a new public API | Minor (X.Y.0) |
1.3.0 |
| 📦 Internal performance improvements (no API changes) | Minor (X.Y.0) |
1.3.0 |
| 🔧 Deprecating an API (but still available for now) | Minor (X.Y.0) |
1.3.0 |
| 🐛 Bug fixes (no breaking changes) | Patch (X.Y.Z) |
1.2.4 |
| 📌 Fixing security vulnerabilities (no breaking changes) | Patch (X.Y.Z) |
1.2.4 |
| 📈 Performance optimizations (no API change) | Patch (X.Y.Z) |
1.2.4 |
| 📝 Documentation updates only (no code changes) | No version bump | - |
By following this guide, you ensure that releases are structured, predictable, and automated correctly.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net8.0
- No dependencies.
-
net9.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Altinn.Authorization.ABAC:
| Package | Downloads |
|---|---|
|
Altinn.Common.PEP
Policy Enforcement Point for Attribute-based authorization using Altinn.Authorization.ABAC in ASP.Net apps. See our repository for the full documentation. |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on Altinn.Authorization.ABAC:
| Repository | Stars |
|---|---|
|
Altinn/altinn-studio
Next generation open source Altinn platform and applications.
|
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.1 | 62,011 | 11/4/2025 |
| 0.1.0 | 19,447 | 9/18/2025 |
| 0.0.9-alpha.8 | 195 | 4/19/2024 |
| 0.0.9-alpha.6 | 146 | 4/19/2024 |
| 0.0.9-alpha.5 | 153 | 4/19/2024 |
| 0.0.9-alpha.4 | 153 | 4/18/2024 |
| 0.0.9-alpha.3 | 161 | 4/18/2024 |
| 0.0.9-alpha.2 | 130 | 4/18/2024 |
| 0.0.9-alpha.1 | 139 | 4/18/2024 |
| 0.0.9-alpha | 224 | 4/16/2024 |
| 0.0.8 | 305,129 | 2/16/2024 |
| 0.0.8-alpha | 539 | 1/22/2024 |
| 0.0.7 | 29,334 | 10/13/2023 |
| 0.0.6 | 1,037 | 9/29/2023 |
| 0.0.5 | 103,139 | 1/13/2022 |
| 0.0.5-alpha | 1,394 | 10/1/2021 |
| 0.0.4-alpha | 61,832 | 4/16/2021 |
| 0.0.3-alpha | 79,294 | 11/27/2019 |
| 0.0.2-alpha | 2,834 | 11/7/2019 |
| 0.0.1-alpha | 873 | 11/4/2019 |
changelog.md