mirror of
https://github.com/tonytins/cstdotnet.git
synced 2025-03-22 08:22:18 +00:00
Switched back to "CST.NET" name
- Switched back to original CST.NET name because everyone was using that more. - Retroactively switched back to v1.1.100
This commit is contained in:
parent
dc62584b7c
commit
3de1fc5eca
13 changed files with 41 additions and 49 deletions
42
.github/workflows/pkgrelease.yml
vendored
42
.github/workflows/pkgrelease.yml
vendored
|
@ -1,24 +1,24 @@
|
||||||
name: Publish Nuget Package
|
name: Publish Nuget Package
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- "releases/**"
|
- "releases/**"
|
||||||
jobs:
|
jobs:
|
||||||
publish:
|
publish:
|
||||||
name: Package Release
|
name: Package Release
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Setup dotnet
|
- name: Setup dotnet
|
||||||
uses: actions/setup-dotnet@v1
|
uses: actions/setup-dotnet@v1
|
||||||
with:
|
with:
|
||||||
dotnet-version: "6.0.x"
|
dotnet-version: "6.0.x"
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: dotnet restore
|
run: dotnet restore
|
||||||
- name: Package
|
- name: Package
|
||||||
run: dotnet pack --no-restore -o .
|
run: dotnet pack --no-restore -o .
|
||||||
- name: Publish to Nuget
|
- name: Publish to Nuget
|
||||||
env:
|
env:
|
||||||
NUGET_KEY: ${{ secrets.NUGET_KEY }}
|
NUGET_KEY: ${{ secrets.NUGET_KEY }}
|
||||||
NUGET_API: https://api.nuget.org/v3/index.json
|
NUGET_API: https://api.nuget.org/v3/index.json
|
||||||
run: dotnet nuget push Sixam.CST.*.nupkg -k $NUGET_KEY -s $NUGET_API
|
run: dotnet nuget push CSTNet.*.nupkg -k $NUGET_KEY -s $NUGET_API
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
<IsPackable>false</IsPackable>
|
<IsPackable>false</IsPackable>
|
||||||
|
<RootNamespace>Sixam.CST.Tests</RootNamespace>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
@ -21,7 +22,7 @@
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\Sixam.CST\Sixam.CST.csproj" />
|
<ProjectReference Include="..\CSTNet\CSTNet.csproj" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
|
@ -1,3 +1,3 @@
|
||||||
// This project is licensed under the MIT license.
|
// This project is licensed under the BSD 3-Clause license.
|
||||||
// See the LICENSE file in the project root for more information.
|
// See the LICENSE file in the project root for more information.
|
||||||
global using Xunit;
|
global using Xunit;
|
|
@ -1,7 +1,7 @@
|
||||||
// This project is licensed under the MIT license.
|
// This project is licensed under the BSD 3-Clause license.
|
||||||
// See the LICENSE file in the project root for more information.
|
// See the LICENSE file in the project root for more information.
|
||||||
|
|
||||||
namespace Sixam.CST.Tests;
|
namespace CSTNet.Tests;
|
||||||
|
|
||||||
public class MultilineTests
|
public class MultilineTests
|
||||||
{
|
{
|
|
@ -1,7 +1,7 @@
|
||||||
// This project is licensed under the MIT license.
|
// This project is licensed under the BSD 3-Clause license.
|
||||||
// See the LICENSE file in the project root for more information.
|
// See the LICENSE file in the project root for more information.
|
||||||
|
|
||||||
namespace Sixam.CST.Tests;
|
namespace CSTNet.Tests;
|
||||||
|
|
||||||
public class SingleLineTests
|
public class SingleLineTests
|
||||||
{
|
{
|
|
@ -8,13 +8,13 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
|
||||||
.editorconfig = .editorconfig
|
.editorconfig = .editorconfig
|
||||||
changelog.md = changelog.md
|
changelog.md = changelog.md
|
||||||
README.md = README.md
|
README.md = README.md
|
||||||
Sixam.CST.sln.licenseheader = Sixam.CST.sln.licenseheader
|
CSTNet.sln.licenseheader = CSTNet.sln.licenseheader
|
||||||
usage.md = usage.md
|
usage.md = usage.md
|
||||||
EndProjectSection
|
EndProjectSection
|
||||||
EndProject
|
EndProject
|
||||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Sixam.CST", "Sixam.CST\Sixam.CST.csproj", "{C5372E74-D1DF-4D15-B597-D1F517ECD0D8}"
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CSTNet", "CSTNet\CSTNet.csproj", "{C5372E74-D1DF-4D15-B597-D1F517ECD0D8}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Sixam.CST.Tests", "Sixam.CST.Tests\Sixam.CST.Tests.csproj", "{01A1A8E9-D83E-4877-8AEB-2FD0A298F049}"
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CSTNet.Tests", "CSTNet.Tests\CSTNet.Tests.csproj", "{01A1A8E9-D83E-4877-8AEB-2FD0A298F049}"
|
||||||
EndProject
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
|
@ -13,6 +13,7 @@
|
||||||
</PackageDescription>
|
</PackageDescription>
|
||||||
<RepositoryUrl>https://github.com/sixamsoft/cst-dotnet</RepositoryUrl>
|
<RepositoryUrl>https://github.com/sixamsoft/cst-dotnet</RepositoryUrl>
|
||||||
<PackageLicenseExpression>MIT</PackageLicenseExpression>
|
<PackageLicenseExpression>MIT</PackageLicenseExpression>
|
||||||
|
<RootNamespace>Sixam.CST</RootNamespace>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
|
@ -1,7 +1,7 @@
|
||||||
// This project is licensed under the MIT license.
|
// This project is licensed under the BSD 3-Clause license.
|
||||||
// See the LICENSE file in the project root for more information.
|
// See the LICENSE file in the project root for more information.
|
||||||
|
|
||||||
namespace Sixam.CST;
|
namespace CSTNet;
|
||||||
|
|
||||||
public class CaretSeparatedText
|
public class CaretSeparatedText
|
||||||
{
|
{
|
|
@ -1,7 +1,7 @@
|
||||||
// This project is licensed under the MIT license.
|
// This project is licensed under the BSD 3-Clause license.
|
||||||
// See the LICENSE file in the project root for more information.
|
// See the LICENSE file in the project root for more information.
|
||||||
|
|
||||||
namespace Sixam.CST;
|
namespace CSTNet;
|
||||||
|
|
||||||
public class UIText
|
public class UIText
|
||||||
{
|
{
|
20
changelog.md
20
changelog.md
|
@ -1,10 +1,10 @@
|
||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
## 1.2.100
|
## 1.1.100
|
||||||
|
|
||||||
This version removes support for .NET Standard 2.0 in favor of .NET 6 and brings with it (much needed) quality of life changes to the project. Apart from the removal of the ``CSTNet`` namespace, nothing has changed to the API itself and you can continue to use to 1.1.100 on all platforms where .NET Standard 2.0 is [supported](https://dotnet.microsoft.com/platform/dotnet-standard).
|
This version removes support for .NET Standard 2.0 in favor of .NET 6 and brings with it (much needed) quality of life changes to the project. Apart from that, nothing has changed to the API itself and you can continue to use to 1.1.100 on all platforms where .NET Standard 2.0 is [supported](https://dotnet.microsoft.com/platform/dotnet-standard).
|
||||||
|
|
||||||
From 1.2 onward, Sixam.CST will only target LTS releases. This is why .NET 5 was skipped, despite the initial platform unification.
|
From 1.1 onward, CSTNet will only target LTS releases. This is why .NET 5 was skipped, despite the initial platform unification.
|
||||||
|
|
||||||
### Project Changes
|
### Project Changes
|
||||||
|
|
||||||
|
@ -12,13 +12,7 @@ With the move to .NET 6.0, this version brings with it a lot of quality of life
|
||||||
|
|
||||||
### Nullable Reference Types
|
### Nullable Reference Types
|
||||||
|
|
||||||
The only significant architectural change that was finally enabled with this release is [nullable reference types](https://docs.microsoft.com/en-us/dotnet/csharp/whats-new/tutorials/nullable-reference-types). This feature was introduced in .NET Core 3.0 and .NET Standard 2.1, respectfully, but not the .NET Framework. Nullable values are already taken care of by the library. The reason why I never switched to 2.1 before was because the Sims community has historically targeted the .NET Framework, and that doesn't support 2.1.
|
The only significant architectural change that was finally enabled with this release is [nullable reference types](https://docs.microsoft.com/en-us/dotnet/csharp/whats-new/tutorials/nullable-reference-types). This feature was introduced in .NET Core 3.0 and .NET Standard 2.1, respectfully, but not the .NET Framework. Nullable values are already taken care of by the library but this ensures that it will be enforced. The reason why I never switched to 2.1 before was because the Sims community has historically targeted the .NET Framework, and that doesn't support anything after 3.0.
|
||||||
|
|
||||||
## 1.1.100
|
|
||||||
|
|
||||||
- Switched to Sixam.CST namespace and marked CSTNet namespace as obsolete.
|
|
||||||
- Performance improvements.
|
|
||||||
- Patch numbers are now in the triple digits.
|
|
||||||
|
|
||||||
### UIText class
|
### UIText class
|
||||||
|
|
||||||
|
@ -26,7 +20,7 @@ The UIText class allows for travseing in ``/<directory>/<language>.dir`` directo
|
||||||
|
|
||||||
## 1.0.3
|
## 1.0.3
|
||||||
|
|
||||||
- Backport switch to Sixam.CST namespace
|
- Backport switch to CSTNet namespace
|
||||||
- Internal improvements.
|
- Internal improvements.
|
||||||
|
|
||||||
## 1.0.2
|
## 1.0.2
|
||||||
|
@ -42,10 +36,6 @@ Despite only being a point release, this includes a major refinement to the norm
|
||||||
|
|
||||||
The normalizing algorithm has been rewritten to be more efficient and hopefully more reliable. The new algorithm de-constructs each line after converting it to the system's native line ending. Then it searches for the key and returns value. The rewrite also normalizes line endings to match the system's within the entry itself before returning the final output. This should make things more stable and predictable.
|
The normalizing algorithm has been rewritten to be more efficient and hopefully more reliable. The new algorithm de-constructs each line after converting it to the system's native line ending. Then it searches for the key and returns value. The rewrite also normalizes line endings to match the system's within the entry itself before returning the final output. This should make things more stable and predictable.
|
||||||
|
|
||||||
### CSTNet compatibility
|
|
||||||
|
|
||||||
For point releases (such as this), Sixam.CST will remain under the CSTNet namespace for compatibility reasons. CSTNet will be moved to Sixam.CST namespace starting with 1.1.
|
|
||||||
|
|
||||||
### Known issues
|
### Known issues
|
||||||
|
|
||||||
- Skipping comments is still a little buggy.
|
- Skipping comments is still a little buggy.
|
||||||
|
|
Loading…
Add table
Reference in a new issue