diff --git a/.release-notes/0.6.1.md b/.release-notes/0.6.1.md new file mode 100644 index 0000000..7b4a1a9 --- /dev/null +++ b/.release-notes/0.6.1.md @@ -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. + diff --git a/.release-notes/next-release.md b/.release-notes/next-release.md index 7b4a1a9..e69de29 100644 --- a/.release-notes/next-release.md +++ b/.release-notes/next-release.md @@ -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. -