Skip to content

Commit

Permalink
Rotate release notes as part of the 0.6.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
ponylang-main committed Apr 2, 2024
1 parent 5b16e95 commit ace2e1d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 4 additions & 0 deletions .release-notes/0.6.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
## Rename upgrade to upgrade_protocol

To allow changing the TCP handler of a running HTTP connection, `Session` specifies a method `upgrade_protocol`, which should be implemented by the concrete classes. The implementation used by the actual HTTP server had an implementation for this feature, but the method was called `upgrade`. As `Session` provides a default implementation for `upgrade_protocol`, this wasn't caught. By renaming the implementation it's now possible to use the new feature to change the handler to a custom handler to handle for example WebSocket connections.

4 changes: 0 additions & 4 deletions .release-notes/next-release.md
Original file line number Diff line number Diff line change
@@ -1,4 +0,0 @@
## Rename upgrade to upgrade_protocol

To allow changing the TCP handler of a running HTTP connection, `Session` specifies a method `upgrade_protocol`, which should be implemented by the concrete classes. The implementation used by the actual HTTP server had an implementation for this feature, but the method was called `upgrade`. As `Session` provides a default implementation for `upgrade_protocol`, this wasn't caught. By renaming the implementation it's now possible to use the new feature to change the handler to a custom handler to handle for example WebSocket connections.

0 comments on commit ace2e1d

Please sign in to comment.