Skip to content

Commit 3546547

Browse files
committed
Prepare for version 2.1.0
1 parent 05ed503 commit 3546547

File tree

8 files changed

+20
-25
lines changed

8 files changed

+20
-25
lines changed

Demo-ASP.NET-Core/Demo-ASP.NET-Core.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
</PropertyGroup>
77

88
<ItemGroup>
9-
<PackageReference Include="Net.Codecrete.QrCodeGenerator" Version="2.0.7" />
9+
<PackageReference Include="Net.Codecrete.QrCodeGenerator" Version="2.1.0" />
1010
<PackageReference Include="SkiaSharp" Version="2.88.6" />
1111
</ItemGroup>
1212

Demo-ImageMagick/Demo-ImageMagick.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
<ItemGroup>
1212
<PackageReference Include="Magick.NET-Q16-AnyCPU" Version="14.10.0" />
13-
<PackageReference Include="Net.Codecrete.QrCodeGenerator" Version="2.0.7" />
13+
<PackageReference Include="Net.Codecrete.QrCodeGenerator" Version="2.1.0" />
1414
</ItemGroup>
1515

1616
</Project>

Demo-ImageSharp/Demo-ImageSharp.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<TargetFramework>net8.0</TargetFramework>
66
<RootNamespace>Net.Codecrete.QrCodeGenerator.Demo</RootNamespace>
77
<PackageId>Net.Codecrete.QrCodeGenerator.Demo</PackageId>
8-
<Version>2.0.7</Version>
8+
<Version>2.1.0</Version>
99
<Authors>Manuel Bleichenbacher, Project Nayuki</Authors>
1010
<Product>QR Code Generator for .NET</Product>
1111
<Description>Demo application for QR Code Generation</Description>
@@ -28,7 +28,7 @@
2828

2929
<ItemGroup>
3030
<PackageReference Include="Net.Codecrete.QrCodeGenerator" Version="2.*" />
31-
<PackageReference Include="SixLabors.ImageSharp.Drawing" Version="2.0.0" />
31+
<PackageReference Include="SixLabors.ImageSharp.Drawing" Version="2.1.7" />
3232
</ItemGroup>
3333

3434
</Project>

Demo-SkiaSharp/Demo-SkiaSharp.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<TargetFramework>net8.0</TargetFramework>
66
<RootNamespace>Net.Codecrete.QrCodeGenerator.Demo</RootNamespace>
77
<PackageId>Net.Codecrete.QrCodeGenerator.Demo</PackageId>
8-
<Version>2.0.7</Version>
8+
<Version>2.1.0</Version>
99
<Authors>Manuel Bleichenbacher, Project Nayuki</Authors>
1010
<Product>QR Code Generator for .NET</Product>
1111
<Description>Demo application for QR Code Generation</Description>

Demo-System-Drawing/Demo-System-Drawing.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<TargetFramework>net8.0</TargetFramework>
66
<RootNamespace>Net.Codecrete.QrCodeGenerator.Demo</RootNamespace>
77
<PackageId>Net.Codecrete.QrCodeGenerator.Demo</PackageId>
8-
<Version>2.0.7</Version>
8+
<Version>2.1.0</Version>
99
<Authors>Manuel Bleichenbacher, Project Nayuki</Authors>
1010
<Product>QR Code Generator for .NET</Product>
1111
<Description>Demo application for QR Code Generation</Description>

Demo-WinUI/Demo-WinUI/Demo-WinUI.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
</PackageReference>
4242
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.6.241114003" />
4343
<PackageReference Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.26100.1742" />
44-
<PackageReference Include="Net.Codecrete.QrCodeGenerator" Version="2.0.7" />
44+
<PackageReference Include="Net.Codecrete.QrCodeGenerator" Version="2.1.0" />
4545
<Manifest Include="$(ApplicationManifest)" />
4646
</ItemGroup>
4747

QrCodeGenerator/QrCodeGenerator.csproj

Lines changed: 12 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@
55
<IsTrimmable Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net6.0'))">true</IsTrimmable>
66
<RootNamespace>Net.Codecrete.QrCodeGenerator</RootNamespace>
77
<PackageId>Net.Codecrete.QrCodeGenerator</PackageId>
8-
<Version>2.0.7</Version>
8+
<Version>2.1.0</Version>
99
<Authors>Manuel Bleichenbacher, Project Nayuki</Authors>
1010
<Product>QR Code Generator for .NET</Product>
1111
<Description>QR Code Generator for .NET – simple, compact and with many examples.
1212

1313
Core features:
1414
- Supports encoding all 40 versions (sizes) and all 4 error correction levels, as per the QR Code Model 2 standard
15-
- Output formats: Raw modules/pixels of the QR symbol, SVG and XAML path (for raster bitmap / PNG see project home page), BMP bitmap
15+
- Output formats: Raw modules/pixels of the QR symbol, SVG, XAML path, PNG and BMP files. For other raster bitmap formats, see project home page.
1616
- Encodes numeric and special-alphanumeric text in less space than general text
1717
- Open source code under the permissive MIT License
18-
- Significantly shorter code but more documentation compared to competing libraries
18+
- Significantly smaller code but more documentation compared to competing libraries
1919
- Built for .NET Standard 2.0 and therefore runs on most modern .NET platforms (.NET Core, .NET Framework, Mono etc.).
2020
- Derived from tried and tested implementation by project Nayuki
2121

@@ -26,36 +26,30 @@ Manual parameters:
2626
- You can create a list of data segments manually and add ECI segments.
2727

2828
Optional advanced features:
29+
- Long text can be split into multiple linked QR codes (aka Structured Append)
2930
- Encodes Japanese Unicode text in Kanji mode to save a lot of space compared to UTF-8 bytes
30-
- Computes optimal segment mode switching for text with mixed numeric/alphanumeric/general/kanji parts</Description>
31+
- Computes optimal segment mode switching for text with mixed numeric/alphanumeric/general/kanji parts
32+
</Description>
3133
<Copyright>Copyright (c) Manuel Bleichenbacher and Project Nayuki (MIT License)</Copyright>
3234
<RepositoryUrl>https://github.com/manuelbl/QrCodeGenerator</RepositoryUrl>
3335
<PackageProjectUrl>https://github.com/manuelbl/QrCodeGenerator</PackageProjectUrl>
3436
<PackageLicenseUrl></PackageLicenseUrl>
3537
<PackageReadmeFile>README.md</PackageReadmeFile>
3638
<PackageIcon>logo.png</PackageIcon>
3739
<PackageTags>qr code, qrcode, kanji, qrcode generator, svg</PackageTags>
38-
<PackageReleaseNotes>New in releases 2.0.x:
39-
- Fully compatible with .NET 6 (no longer depends on System.Drawing)
40-
- Separate ToBitmap() implementations for System.Drawing, SkiaSharp and ImageSharp
41-
- Documentation included into NuGet package
42-
- QR code as geometric path suitable for SVG and XAML
43-
- Very compact SVGs
44-
- BMP bitmap generation
45-
- Fix for SVG generation with Norwegian locale
46-
- Enable trimming for .NET 6
47-
- Fix for `IndexOutOfRangeException`
48-
- Fix for mask penalty algorithm
40+
<PackageReleaseNotes>New in releases 2.1.x:
41+
- PNG support
42+
- Structured append / Linked QR mode
4943
</PackageReleaseNotes>
5044
<Company>Codecrete</Company>
5145
<SignAssembly>true</SignAssembly>
5246
<AssemblyOriginatorKeyFile>Key.snk</AssemblyOriginatorKeyFile>
5347
<AssemblyVersion>1.6.0.0</AssemblyVersion>
54-
<FileVersion>2.0.7.0</FileVersion>
48+
<FileVersion>2.0.1.0</FileVersion>
5549
<PackageLicenseExpression>MIT</PackageLicenseExpression>
5650
<GenerateDocumentationFile>True</GenerateDocumentationFile>
5751
<EnablePackageValidation>true</EnablePackageValidation>
58-
<PackageVersion>2.0.7</PackageVersion>
52+
<PackageVersion>2.1.0</PackageVersion>
5953
<PackageValidationBaselineVersion>2.0.0</PackageValidationBaselineVersion>
6054
<Deterministic>True</Deterministic>
6155
</PropertyGroup>
@@ -81,6 +75,7 @@ Optional advanced features:
8175
</ItemGroup>
8276

8377
<Target Name="ValidateNuGetPackage" AfterTargets="Pack">
78+
<Exec Command="dotnet tool restore" />
8479
<Exec Command="dotnet validate package local $([MSBuild]::EnsureTrailingSlash($(PackageOutputPath)))$(PackageId).$(PackageVersion).nupkg" />
8580
</Target>
8681

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Optional advanced features:
4444
Or by running a command in the Package Manager Console
4545

4646
```
47-
Install-Package Net.Codecrete.QrCodeGenerator -Version 2.0.7
47+
Install-Package Net.Codecrete.QrCodeGenerator -Version 2.1.0
4848
```
4949
3. Add the code from the example below
5050

0 commit comments

Comments
 (0)