Skip to content

Qore 2.2.0

Latest

Choose a tag to compare

@davidnich davidnich released this 10 Oct 14:25
· 2235 commits to develop since this release

Release Summary

Minor new features and minor bugfixes; see below for more information

New Features in Qore

Bug Fixes in Qore

  • ConnectionProvider module
    • make the original connection status available when pings are made so that status changes can be detected (issue 4957)
  • DataProvider module
    • fixed setting the mandatory flag for hashes with dynamic fields (issue 4992)
    • fixed returning dynamic options for data-dependent action options (issue 4985)
    • default values are no longer generated for optional hash types based on their fields (issue 4972)
    • fixed typos in DataProviderActionCatalog::getTypeForActionOptions() (issue 4971)
  • DiscordWebSocketClient module
    • fixed a bug handling HELLO messages (issue 4986)
    • allow for a clean shutdown of background threads when disconnecting (issue 4965)
  • HttpServer module
    • mark the context as handling file data in the authentication method to enable authentication errors to be redirected for handlers handling UI file data (issue 4970)
  • HttpServerUtil module
    • mark the context as handling file data in the authentication method to enable authentication errors to be redirected for handlers handling UI file data (issue 4970)
  • RestClient module
    • fixed acqquiring OAuth2 tokens when the oauth2_token_use_basic_auth option is set (issue 4991)
    • fixed an infinite loop bug handling token request errors with the client_credentials grant (issue 4990)
    • fixed support for PKCE (issue 4820)
  • RestClientDataProvider module
  • RestHandler module
    • fixed handling multiple Accept headers in requests (issue 4969)
  • ServerSentEventHandler module
    • added supoprt for customizable heartbeat messages to support JSON-RPC requests as heartbeat message in MCP server handlers (issue 4958)
  • SqlUtil module
    • fixed support for orderby with a matching unique index (issue 4977)
    • added support for complex expressions and field reference in update operations (issue 4959)
  • WebSocketClient module
    fixed bugs handling UTF-8 data (issue 4984)
  • WebSocketHandler module
    fixed bugs handling UTF-8 data (issue 4984)
  • WebUtil module
    • mark the context as handling file data in the authentication method to enable authentication errors to be redirected for handlers handling UI file data (issue 4970)
    • always encode double quotes in URL strings (issue 4989)
    • do not send "Content-Length: 0" in HTTP requests for methods that cannot have a message body (GET, HEAD, and TRACE) (issue 4983)
  • fixed a descriptor leak in non-blocking Socket connect operations (issue 4981)
  • fixed a crash when creating a LoggerEvent with a missing categoryName in the logger_bin module (issue 4979)
  • fixed parse_url() logic for paths with @ chars (issue 4978)
  • fixed a memory error handling typed hash data exported from deleted containers (issue 4976)
  • check functional domains of method calls on constant objects in sandboxed containers at parse time to ensure that errors related to accessing restricted functionality are raised immediately (issue 4975)
  • ensure that methods of classes tagged with functional domains also reflect the restrictions of the class (issue 4974)
  • fixed a memory leak in static class variable declarations when the class is deleted (issue 4973)
  • fixed a bug calling static method references with arguments that are normal method references (issue 4964)
  • fixed overly-aggressive constant initialization that resulted in spurious recursive constant definition errors (issue 4967)
  • fixed a deadlock in a complex condition in the logger_bin module related to logging in one thread while dynamically loading a - module using the same appender in another thread; note that that fix also improves logging performance (issue 4963)
  • fixed sending headers assigned list values as multiple header lines in HTTP and REST clients (issue 4962)
  • fixed a bug setting the implicit argument type when parsing on_error Statements (issue 4961)