Skip to content

v0.4.0-rc

Choose a tag to compare

@FRACerqueira FRACerqueira released this 20 Mar 21:55
· 110 commits to main since this release
884de8f

What's Changed

Full Changelog: v0.3.0-beta...v0.4.0-rc

  • v0.4.0-rc

    • Relaxation of Package Reference for .net8 to .net9
    • Renamed the 'Source' command to 'Scope'
    • Renamed the 'Request' command to 'ScopeRequest'
    • Changed parameter in funcion SubmitHtmlToPdf to byte[] instead of string
    • Changed parameter for command Run to byte[] instead of string
    • Changed parameter for command ScopeRequest to byte[] instead of string
    • Removed DecompressBytes() method to class HtmlPdfResult
    • Added DecompressOutputData() method to class HtmlPdfResult for custom scenarios
    • Improvements in the compression/decompression process to use asynchronous methods
    • Small code reviews
    • Updated documentation
    • Preparation for GA version
  • v0.3.0-beta

    • Added FromUrl(Uri value) command to client-side mode
    • Fixed bug in server mode for multi thread safe when there is parameter customization and/or no client mode sending.
      • Moved the BeforePDF(Func<string, TIn?, CancellationToken, Task> inputParam) command to the execution context.
      • Moved the AfterPDF(Func<byte[]?, TIn?, CancellationToken, Task> outputParam) command to the execution context.
      • Added command Source(TIn? inputparam = default) to transfer input parameter for server execution context and custom actions and html source.
      • Added Request(string request Client) command to pass the request client data to the server execution context for custom actions and HTML source.
      • Simplified execution commands for server side with execution context with fluid interface comands :
        • Removed static class RequestHtmlPdf
        • Added command FromHtml(string html, int converttimeout = 30000, bool minify = true)
        • Added command FromUrl(Uri value, int converttimeout = 30000)
        • Added command FromRazor<T>(string template, T model, int converttimeout = 30000, bool minify = true)
  • v0.2.0-beta

    • Initial version