Skip to content

v0.3.0-beta - #10

Merged
FRACerqueira merged 1 commit into
mainfrom
v.0.3.0
Mar 17, 2025
Merged

v0.3.0-beta#10
FRACerqueira merged 1 commit into
mainfrom
v.0.3.0

Conversation

@FRACerqueira

Copy link
Copy Markdown
Owner
- 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<string>> inputParam) command to the execution context.
    - Moved the AfterPDF(Func<byte[]?, TIn?, CancellationToken, Task<TOut>> 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)

    - 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<string>> inputParam) command to the execution context.
        - Moved the AfterPDF(Func<byte[]?, TIn?, CancellationToken, Task<TOut>> 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)
@FRACerqueira
FRACerqueira merged commit 7cf701d into main Mar 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant