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
10 changes: 8 additions & 2 deletions .github/workflows/release-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ jobs:
- name: Test
run: dotnet test --no-build -c Release --verbosity normal
- name: pack
run: dotnet pack --no-build -c Release PdfSharpDslCore/PdfSharpDslCore.csproj -p:Version=${{ steps.version.outputs.version }}
run: |
dotnet pack --no-build -c Release PdfSharpDsl.Language/PdfSharpDsl.Language.csproj -p:Version=${{ steps.version.outputs.version }}
dotnet pack --no-build -c Release PdfSharpDslCore.Generator/PdfSharpDslCore.Generator.csproj -p:Version=${{ steps.version.outputs.version }}
dotnet pack --no-build -c Release PdfSharpDslCore/PdfSharpDslCore.csproj -p:Version=${{ steps.version.outputs.version }}
# - name: add publish
# run: dotnet nuget add source --username pgourlain --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/pgourlain/index.json"
# - name: publish package
Expand All @@ -47,4 +50,7 @@ jobs:
with:
user: ${{ secrets.NUGET_USER }}
- name: Publish to NuGet
run: dotnet nuget push "PdfSharpDslCore/bin/Release/*.nupkg" --api-key ${{steps.login.outputs.NUGET_API_KEY}} --source https://api.nuget.org/v3/index.json --skip-duplicate
run: |
dotnet nuget push "PdfSharpDsl.Language/bin/Release/*.nupkg" -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET_KEY }} --skip-duplicate
dotnet nuget push "PdfSharpDslCore.Generator/bin/Release/*.nupkg" -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET_KEY }} --skip-duplicate
dotnet nuget push "PdfSharpDslCore/bin/Release/*.nupkg" -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET_KEY }} --skip-duplicate
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@

# Change log

## Version 2.0.0 (unreleased)
## Version 2.0.1 (September 21, 2026)

* Fix missing DslLanguage dependency

## Version 2.0.0 (September 19, 2026)

* Migrated PDF generation from PdfSharpCore and its image/font/archive dependencies to TerraPDF 2.2.0.
* Added engine-independent drawing primitives and `PdfSharpDsl.Language` for the netstandard2.0 source generator.
* Added `PublishPdf(Stream)`, `PublishPdf(string)` and `PublishPdf()` to `PdfDocumentDrawer`.
Expand All @@ -12,6 +17,7 @@
* Updated `Microsoft.Extensions.Logging.Abstractions` and `Microsoft.Extensions.Logging.Console` to 10.0.12.

## Version 1.0.6 (September 20, 2026)

* Migrated console and test projects to .NET 10 while retaining reusable projects on .NET Standard 2.0.
* Added reproducible core-only coverage enforcement at 90% line coverage.
* Added Roslyn source-generator compilation and clean NuGet consumer validation.
Expand Down
19 changes: 15 additions & 4 deletions PdfSharpDsl.Language/PdfSharpDsl.Language.csproj
Original file line number Diff line number Diff line change
@@ -1,9 +1,20 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>$(NetStandardTfm)</TargetFramework>
<LangVersion>10.0</LangVersion>
<Nullable>enable</Nullable>
<IsPackable>true</IsPackable>
<PackageId>PdfSharpDsl.Language</PackageId>
<Version>2.0.0</Version>
<Authors>Pierrick Gourlain</Authors>
<Description>Language and drawing primitives used by PdfSharpDsl.</Description>
<RepositoryUrl>https://github.com/pgourlain/bnf_and_pdf</RepositoryUrl>
<PackageLicenseFile>LICENSE.md</PackageLicenseFile>
</PropertyGroup>

<PropertyGroup>
<TargetFramework>$(NetStandardTfm)</TargetFramework>
<IsPackable>false</IsPackable>
</PropertyGroup>
<ItemGroup>
<None Include="..\LICENSE.md" Pack="true" PackagePath="\" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Irony" />
Expand Down
Loading