v4.3.0 Release: Slimmer and Smarter

2024-09-05

We're thrilled to announce the release of SuCoS v4.3.0! This update brings significant improvements in terms of efficiency and performance, making your experience even better.

Trimmed Executable: Smaller Footprint

One of the most exciting changes in this release is the significant reduction in the size of the SuCoS executable. We've managed to trim it down from about 80 MB to just 40 MB - that's a 50% reduction!

Method Size
Before ~80 MB
After ~40 MB
Trimming Full ~30 MB
Native AOT ~25 MB

This impressive size reduction was achieved using dotnet publish trimming in partial mode. We opted for partial mode to keep some dependencies that can't work with full trimming untouched, which is why Native AOT is currently not possible for SuCoS. Interestingly, full trimming mode or Native AOT would have reduced the even more, but neither option was viable due to compatibility issues.

The smaller executable brings several benefits: faster downloads, quicker startup times, more efficient memory usage, and faster CI/CD executions. This optimization ensures you get all the power of SuCoS in a more compact and efficient package.

Updated Dependencies: Staying Current

To ensure that SuCoS continues to leverage the latest improvements and security updates from its underlying technologies, we've updated all dependencies to their latest versions as of August 2, 2024. Here's a quick overview of some key updates:

  • Fluid.Core: 2.10.0 → 2.11.1
  • FolkerKinzel.MimeTypes: 5.2.1 → 5.3.0
  • Microsoft.NET.Build.Containers: 8.0.302 → 8.0.401
  • Microsoft.NET.Test.Sdk: 17.10.0 → 17.11.0
  • Serilog: 4.0.0 → 4.0.1
  • Vecc.YamlDotNet.Analyzers.StaticGenerator: 15.1.2 → 16.0.0
  • xunit.runner.visualstudio: 2.8.1 → 2.8.2
  • YamlDotNet: 15.3.0 → 16.1.0

These updates include the latest .NET runtime improvements, an updated Liquid templating engine, and other third-party libraries used in SuCoS. By keeping our dependencies current, we ensure that SuCoS remains secure, efficient, and compatible with the broader ecosystem.

Happy site generating!

Download It Now

View Changelog