-
Notifications
You must be signed in to change notification settings - Fork 5
Feature/add net9 net10 support #21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
ghaith100994
wants to merge
13
commits into
Black-Cockpit:master
Choose a base branch
from
ghaith100994:feature/add_net9_net10_support
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Feature/add net9 net10 support #21
ghaith100994
wants to merge
13
commits into
Black-Cockpit:master
from
ghaith100994:feature/add_net9_net10_support
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Introduced a new `IKcOrganizations` interface and its implementation in `KcOrganizations` to enable CRUD operations, listing, and filtering of organizations in Keycloak. Updated the `IKeycloakClient` and `KeycloakClient` classes to expose the `Organizations` client. Added supporting models: - `KcOrganization` to represent organization resources. - `KcOrganizationDomain` to represent domain information. - `KcOrganizationFilter` to enable filtering options for queries. Updated `NETCore.Keycloak.Client.csproj` to clean up formatting and remove unnecessary metadata files.
Updated XML documentation for `KcOrganization`, `KcOrganizationDomain`, and `KcOrganizationFilter` to improve clarity and align with Keycloak API references. Added `<value>` tags for property descriptions. Refactored `KcOrganizationFilter`: - Replaced multiple filtering properties with a generic `Q` property. - Updated `Exact` property to indicate exact match behavior. - Switched from `System.Text.Json` to `Newtonsoft.Json` for serialization. - Rewrote `BuildQuery` for cleaner and more maintainable query string construction. Improved consistency in naming conventions and descriptions across classes. Removed redundant properties and comments. Aligned code structure with Keycloak API standards.
Updated `IKcOrganizations` interface and `KcOrganizations` implementation to enhance XML documentation, align with the latest Keycloak REST API, and improve maintainability. - Added `using` directives for required dependencies in `IKcOrganizations.cs`. - Updated XML documentation for all methods in `IKcOrganizations` to include detailed return type descriptions and exception handling details. - Replaced outdated Keycloak API links in `KcOrganization` and `KcOrganizationDomain` with updated references. - Used `<inheritdoc>` tags in `KcOrganizations` to ensure consistency with the interface and reduce redundancy. - Implemented methods in `KcOrganizations` with improved documentation and alignment with the updated interface.
Updated `TargetFrameworks` in both `NETCore.Keycloak.Client.Tests.csproj` and `NETCore.Keycloak.Client.csproj` to include `net9.0` and `net10.0`. Introduced framework-specific dependency management using conditional `ItemGroup` sections to ensure proper versioning for each target framework. Updated several dependencies, including `Newtonsoft.Json` (13.0.3 → 13.0.4) and `System.IdentityModel.Tokens.Jwt` (8.3.0 → 8.15.0). Removed redundant dependencies and adjusted formatting for consistency. Removed the `Cake` package reference from the test project.
Updated string manipulation logic to use the range operator for trailing slash removal in `KeycloakClient` and `KcHttpClientBase`. Refactored `NETCore.Keycloak.Client.Tests.csproj` to adjust formatting and added `PasswordGenerator` dependency. Enhanced `NETCore.Keycloak.Client.csproj` by reorganizing package references for target frameworks, adding `Newtonsoft.Json`, and including metadata files in the package. Updated `NoWarn` settings to suppress additional warnings. These changes improve code consistency, dependency management, and project configuration.
Author
|
I think we should remove support for .NET 6 and .NET 7 to simplify the codebase and align with currently supported .NET versions. |
Removed .NET 6/7 support from projects and related package refs. Updated Bogus to 35.6.5 in tests. requirements.txt now requires newer Ansible (>=13.2.0), ansible-core (>=2.17.0), and python-keycloak (7.0.2). Minor formatting fix for coverlet.collector.
Added `PrivateAssets="all"` to all `<PackageReference>` elements in `NETCore.Keycloak.Client.Tests.csproj` to prevent transitive dependencies from leaking into referencing projects. This ensures cleaner dependency management and avoids unintended propagation of test-only packages.
Updated `requirements.txt` to include or modify dependencies: - ansible>=13.2.0-ansible-core>=2.17.0+ansible-core>=2.17.7 - certifi==2024.12.14 - cffi==1.17.1 - charset-normalizer==3.4.1 - cryptography==44.0.0 - deprecation==2.1.0 Added a new section to `LICENSING.md` to document the flagged `Microsoft.NET.Test.Sdk` package and its `MS-NET` license. Provided details on why the dependency is safe for consumers and recommended actions for auditors to handle the flagged license appropriately.
Upgraded the following packages in requirements.txt: cryptography (44.0.0 → 44.0.1), pyasn1 (0.6.1 → 0.6.2), python-jose (3.3.0 → 3.4.0), requests (2.32.3 → 2.32.4), and urllib3 (2.3.0 → 2.6.3). Removed the older versions and replaced them with the latest ones.
Upgraded Microsoft.NET.Test.Sdk to 18.0.1 and coverlet.collector to 6.0.4 in test project. Removed System.Text.Json package references for all target frameworks in main project.
Removed detailed licensing documentation for `Microsoft.NET.Test.Sdk` from `LICENSING.md` and replaced it with a `.fossa.yml` configuration file. The `.fossa.yml` file excludes the `NETCore.Keycloak.Client.Tests/**` directory and specific flagged packages (`nuget+Microsoft.NET.Test.Sdk$17.6.0`, `pip+ansible$13.2.0`, `pip+ansible-core$2.17.7`) from FOSSA license/security analysis. Added notes to guide users on triggering a new FOSSA scan and managing settings centrally if required. This change reduces manual intervention while ensuring compliance with organizational policies.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.