Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v2.11.1 #1442

Merged
merged 71 commits into from
Nov 3, 2024
Merged

v2.11.1 #1442

merged 71 commits into from
Nov 3, 2024

Conversation

Badgerati
Copy link
Owner

Enhancements

Bugs

Security

Packaging

mdaneri and others added 30 commits September 30, 2024 17:23
Added a new sample for the `Use-PodeAuth` function
- Remove Alias. 
- Fix Test-PodeCacheStorage function calls to use 'Name' parameter.
Fixes Test-PodeCacheStorage being called with incorrect -Key parameter
Adds new/missing CSP parmeters in security headers
fix #1422
fix ConvertTo-PodeOpenApiRoutePath
Move ConvertTo-PodeOpenApiARoutePath to OpenAPI file and renamed it to ConvertTo-PodeOARoutePath

Add test
 ### Summary of Changes:

1. **Removed `ConvertFrom-PodeValueToByteArray`**:
    - The function `ConvertFrom-PodeValueToByteArray` has been removed as it's no longer needed.

2. **Updated Encoding Logic in `Response.ps1`**:
    - In `Public/Response.ps1`, line 219, the following change was made:
      - Replaced:
        ```powershell
        $Bytes = ConvertFrom-PodeValueToByteArray -Value $Value
        ```
      - With:
        ```powershell
        $Bytes = [System.Text.Encoding]::UTF8.GetBytes($Value)
        ```

3. **Removed Duplicated `Get-PodeTaskProcess`**:
    - The function `Get-PodeTaskProcess` had a duplicate definition, which has been removed.

4. **Renamed `ConvertFrom-PodeValueToByteArray` to `ConvertFrom-PodeStreamToByteArray`**:
    - The remaining instances of `ConvertFrom-PodeValueToByteArray` were renamed to `ConvertFrom-PodeStreamToByteArray` to reflect its actual functionality and improve clarity.
Refactor Byte Conversion Functions and Remove Duplicate Task Process Definitions
Fix OpenAPI Route Path Conversion for Placeholder Unescaping and Relocate Function (#1422)
mdaneri and others added 26 commits October 22, 2024 19:36
Migrates Stream functions into the .NET Listener
Fix OpenAPI Route parameters so they respect the DefinitionTag; Order Routes in OpenAPI specification by creation, and HTTP methods in a more conventional order; Add-PodeOAComponentRequestBody now supports hashtable/ordered input; More appropriately order responses, parameters, and request bodies in OpenAPI
Fixes the clean-up of old log files
Add -AllowNonStandardBody Parameter to Enable Request Bodies for Non-Standard HTTP Methods (Address #1432)
Fixes the unnecessary Error Logging on HTTP Request Timeouts
Don't setup the Caching Housekeeper Timer in a Serverless context
Fixes error message appearing when using self-signed certificates on localhost
@Badgerati Badgerati added this to the 2.11.1 milestone Nov 2, 2024
@Badgerati Badgerati self-assigned this Nov 2, 2024
@Badgerati Badgerati merged commit e6b58a4 into master Nov 3, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants