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
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Altinn.Authorization.ABAC" Version="0.1.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Altinn.Authorization.ABAC" Version="0.1.1" />
                    
Directory.Packages.props
<PackageReference Include="Altinn.Authorization.ABAC" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Altinn.Authorization.ABAC --version 0.1.1
                    
#r "nuget: Altinn.Authorization.ABAC, 0.1.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Altinn.Authorization.ABAC@0.1.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Altinn.Authorization.ABAC&version=0.1.1
                    
Install as a Cake Addin
#tool nuget:?package=Altinn.Authorization.ABAC&version=0.1.1
                    
Install as a Cake Tool

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:

  1. Detect changes in the repository.
  2. Update or generate the CHANGELOG.md.
  3. Update the version in *.csproj or version.json.
  4. 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

  1. 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.
  2. feat MUST be used for new features.
  3. fix MUST be used for bug fixes.
  4. An optional scope MAY be provided in parentheses, e.g., fix(parser):.
  5. The description MUST immediately follow the colon and space.
  6. A longer commit body MAY be included, starting one blank line after the description.
  7. A commit body MAY include multiple paragraphs.
  8. Footers MAY be included after one blank line.
  9. Footers MUST follow the format <token>: <value>, e.g., BREAKING CHANGE: environment variables now take precedence over config files.
  10. Breaking changes MUST be indicated in either the type prefix (!) or the footer.
  11. BREAKING CHANGE in the footer MAY be omitted if ! is used in the prefix.
  12. Other commit types MAY be used, such as docs: update API documentation.
  13. Commit messages MUST NOT be case-sensitive, except BREAKING CHANGE which 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • 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