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
167 changes: 4 additions & 163 deletions csharp_extension/CSharp Extension/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,168 +1,9 @@
# CSM Foundation Core CHANGELOG

## [4.0.0] - 19.05-2026
## [1.2.5] - 02.10-2025

### Remved
### **Patched**

- Removed [GenericUtils] class cause i only had a method for object clonation, replaced and moved to [ObjectUtils] with the method [Clone].
Fixes for bugs or problems detected.

- Added new Error concepts and better error handling for some features that weren´t being handled correclty.

- Added a simplified [ObjectBase] abstraction for non used generic methods.

- Removed [ObjectBase{TEntity}] cause an utility method was created.

#### Dependencies

| Package | Previous Version | New Version |
|:----------------------------------------|:----------------:|:---------------:|
| | | |

## [3.0.0] - 25.12-2025

### Remved

- Removed from errors model [ErrorInfo] since it was only needed when internal errors are exposed to connected services with critical information.

#### Dependencies

| Package | Previous Version | New Version |
|:----------------------------------------|:----------------:|:---------------:|
| | | |

## [2.1.1] - 24.12-2025

### Changed

- Changed a SystemUtils method [SetVar] to allow env context target.

### Added

- Added a new method to [SystemUtils] named [GetGlobalVar] that maps all available environment variables target contexts to get the value.

#### Dependencies

| Package | Previous Version | New Version |
|:----------------------------------------|:----------------:|:---------------:|
| | | |

## [2.1.0] - 22.12-2025

### Changed

- Changed a SystemUtils method [GetVar] to allow env context target.

#### Dependencies

| Package | Previous Version | New Version |
|:----------------------------------------|:----------------:|:---------------:|
| | | |

## [2.0.0] - 24.11-2025

### Changed

- Renamed and reorganized the project structure to CSM Foundation Core to better reflect its purpose as a foundational library for CSM systems.
- Changed concept from [Exception] to [Error].

#### Dependencies

| Package | Previous Version | New Version |
|:----------------------------------------|:----------------:|:---------------:|
| | | |

### Removed

## [1.3.0] - 27.08-2025

### Added

- Added a new [IDIsposer] interface used for disposition managers implementations at CSM systems.

### Fixed

### Changed

#### Dependencies

| Package | Previous Version | New Version |
|:----------------------------------------|:----------------:|:---------------:|
| | | |

### Removed

## [1.2.3] - 27.08-2025

### Added

#### [SystemUtils]

- Added a new method (GetEnv) that gets and returns the current system runtime environment scope.

### Fixed

### Changed

#### Dependencies

| Package | Previous Version | New Version |
|:----------------------------------------|:----------------:|:---------------:|
| | | |

### Removed

## [1.2.2] - 13.08-2025

### Added

- [XSystem] a generic base CSM framework exception for the integrated exception management.

### Fixed

### Changed

#### Dependencies

| Package | Previous Version | New Version |
|:----------------------------------------|:----------------:|:---------------:|
| | | |

### Removed

- [IException] interface "subject" property got removed to use native .Net Excetion class Message property.

## [1.2.1] - 13.08-2025

### Added

- [SystemUtils] class that handles easier the way that env vars can be handled.

### Fixed

### Changed

#### Dependencies

| Package | Previous Version | New Version |
|:----------------------------------------|:----------------:|:---------------:|
| | | |

### Removed

## [1.1.1] - 06.08-2025

### Added

- [ConsoleUtils] class was added to handle better console printing information.

### Fixed

### Changed

#### Dependencies

| Package | Previous Version | New Version |
|:----------------------------------------|:----------------:|:---------------:|
| | | |

### Removed
- An error was found with unsynced namespaces when the package got renamed.
4 changes: 2 additions & 2 deletions csharp_extension/CSharp Extension/CSharp Extension.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<RootNamespace>CSharp_Extension</RootNamespace>
<PackageId>csm.extension</PackageId>
<Version>1.2.4</Version>
<PackageId>CSharp.Extension</PackageId>
<Version>1.2.5</Version>
<Authors>Renato Urrea</Authors>
<Company>Cosmos (CSM)</Company>
<RepositoryUrl>https://github.com/Cosmos-CSM/fe_csharp</RepositoryUrl>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using System.Text.Json;
using System.Text.Json.Serialization;

namespace CSM_Foundation_Core.Common.Abstractions.Bases;
namespace CSharp_Extension.Common.Abstractions.Bases;

/// <summary>
/// Represents an inheritance link between datasource objects
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace CSM_Foundation_Core.Common.Abstractions.Interfaces;
namespace CSharp_Extension.Common.Abstractions.Interfaces;

/// <summary>
/// Represents a disposition manager wich stores objects in their context to be disposed at the end of a process.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace CSM_Foundation_Core.Common.Enums;
namespace CSharp_Extension.Common.Enums;


/// <summary>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace CSM_Foundation_Core.Core.Extensions;
namespace CSharp_Extension.Common.Extensions;


/// <summary>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace CSM_Foundation_Core.Core.Extensions;
namespace CSharp_Extension.Common.Extensions;


/// <summary>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
using System.Text.Json;

using CSM_Foundation_Core.Errors.Abstractions.Interfaces;
using CSharp_Extension.Errors.Abstractions.Interfaces;

using Detail = System.Collections.Generic.KeyValuePair<string, object?>;
using Details = System.Collections.Generic.Dictionary<string, object?>;

namespace CSM_Foundation_Core.Core.Utils;
namespace CSharp_Extension.Common.Utils;

/// <summary>
/// Provides utils methods related with the .Net Console integration.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Text.Json;

namespace CSM_Foundation_Core.Core.Utils;
namespace CSharp_Extension.Common.Utils;


/// <summary>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Reflection;

namespace CSM_Foundation_Core.Core.Utils;
namespace CSharp_Extension.Common.Utils;


/// <summary>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace CSM_Foundation_Core.Core.Utils;
namespace CSharp_Extension.Common.Utils;

/// <summary>
/// Provide randomization utility methods.
Expand Down
5 changes: 3 additions & 2 deletions csharp_extension/CSharp Extension/Common/Utils/SystemUtils.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using CSM_Foundation_Core.Errors.Abstractions.Bases;
using CSharp_Extension;
using CSharp_Extension.Errors.Abstractions.Bases;

namespace CSM_Foundation_Core.Core.Utils;
namespace CSharp_Extension.Common.Utils;


/// <summary>
Expand Down
2 changes: 1 addition & 1 deletion csharp_extension/CSharp Extension/Constants.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace CSM_Foundation_Core;
namespace CSharp_Extension;

/// <summary>
/// Stores common use constants.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
using System.Text.Json;
using System.Text.Json.Serialization;

using CSM_Foundation_Core.Convertion.Abstractions.Interfaces;
using CSharp_Extension.Convertion.Abstractions.Interfaces;

namespace CSM_Foundation_Core.Convertion.Abstractions.Bases;
namespace CSharp_Extension.Convertion.Abstractions.Bases;

/// <inheritdoc cref="IConverter{TBase}"/>
/// <typeparam name="TBase">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using CSM_Foundation_Core.Convertion.Abstractions.Interfaces;
using CSM_Foundation_Core.Errors.Abstractions.Bases;
using CSharp_Extension.Convertion.Abstractions.Interfaces;
using CSharp_Extension.Errors.Abstractions.Bases;

namespace CSM_Foundation_Core.Convertion.Abstractions.Bases;
namespace CSharp_Extension.Convertion.Abstractions.Bases;

/// <summary>
/// <see cref="ConverterBaseError"/> Exception situations enumerator.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using CSM_Foundation_Core.Convertion.Abstractions.Interfaces;
using CSharp_Extension.Convertion.Abstractions.Interfaces;

namespace CSM_Foundation_Core.Convertion.Abstractions.Bases;
namespace CSharp_Extension.Convertion.Abstractions.Bases;

/// <inheritdoc cref="IConverterVariant"/>
public abstract class ConverterVariantBase
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace CSM_Foundation_Core.Convertion.Abstractions.Interfaces;
namespace CSharp_Extension.Convertion.Abstractions.Interfaces;

/// <summary>
/// Represents a JSON converter.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System.ComponentModel.DataAnnotations.Schema;
using System.Text.Json.Serialization;

namespace CSM_Foundation_Core.Convertion.Abstractions.Interfaces;
namespace CSharp_Extension.Convertion.Abstractions.Interfaces;

/// <summary>
/// Represents a <see cref="IConverter{TBase}"/> handled variant.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
using CSM_Foundation_Core.Errors.Abstractions.Interfaces;
using CSM_Foundation_Core.Errors.Models;
using CSharp_Extension;
using CSharp_Extension.Errors.Abstractions.Interfaces;
using CSharp_Extension.Errors.Models;

namespace CSM_Foundation_Core.Errors.Abstractions.Bases;
namespace CSharp_Extension.Errors.Abstractions.Bases;

/// <summary>
/// Represents a CSM Exception thrown by the system.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using System.Text.Json.Serialization;

using CSM_Foundation_Core.Errors.Models;
using CSharp_Extension.Errors.Models;

namespace CSM_Foundation_Core.Errors.Abstractions.Interfaces;
namespace CSharp_Extension.Errors.Abstractions.Interfaces;

/// <summary>
/// Represents a CSM Exception thrown by the system.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace CSM_Foundation_Core.Errors.Models;
namespace CSharp_Extension.Errors.Models;

/// <summary>
/// Enumerates the severity of the exception feedback.
Expand Down
6 changes: 3 additions & 3 deletions csharp_extension/CSharp Extension/Errors/SystemError.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using CSM_Foundation_Core.Errors.Abstractions.Bases;
using CSM_Foundation_Core.Errors.Models;
using CSharp_Extension.Errors.Abstractions.Bases;
using CSharp_Extension.Errors.Models;

namespace CSM_Foundation_Core.Errors;
namespace CSharp_Extension.Errors;


/// <summary>
Expand Down
4 changes: 2 additions & 2 deletions csharp_extension/Unit Tests/Utils/SystemUtils_UnitTests.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using CSM_Foundation_Core;
using CSM_Foundation_Core.Core.Utils;
using CSharp_Extension;
using CSharp_Extension.Common.Utils;

namespace Unit_Tests.Utils;

Expand Down
Loading