Releases: iiPythonx/nightwatch
Releases · iiPythonx/nightwatch
v0.11.3
Nightwatch v0.11.3, changes include:
- Fixes in the web UI
- Lower the size of images
- Fix member count maxing instead of being current
- Prevent the message time from permanately hiding
- Improve the handling of leftmark as well as image processing
- Change input font to Fira Mono
- Accurate error handling that more properly reflects protocol errors
- (somewhat) Improve backslashes in leftmark by @DmmDGM in #6 and (soon) #7
- Proper websocket connection close handling on the server side
- Rewritten Python bot framework, with syntax similar to discord.py
- Prevent sending a blank message
- Improvements for the backend image proxying service
- Remove requirement for a support extension (or any extension for that matter)
- Remove proxied
Content-Length
header as it was often inaccurate
- Allow callbacks for sending regular messages
v0.10.4
Nightwatch v0.10.4, changes include:
- Improve performance of the TUI client by properly using
nightwatch.config
. - Migrate the Python bot framework to support
message
,message-log
,join
,leave
, andrics-info
. - Add the
admin
field to users, send users on join as well as message log all as part ofrics-info
. - Reimplement the callback system on the server side for further use and make it optional.
- Ensure usernames don't have whitespace around the edges, and readd restricted usernames (Nightwatch, Admin, Moderator).
- Ensure URIs passed to the image proxy have an allowed extension.
- Bump the image size of the web client to 640px from 300px.
- Allow clicking on images in the web client to open them in a new tab.
New user payload:
{
"name": "Example",
"hex": "ff0000",
"admin": false
}
New RICS payload:
{
"name": "Some Server Name",
"message-log": [
{"user": "see user payload above", "message": "hello", "time": 1234567890}
],
"user-list": [
"see user payload above"
]
}
v0.10.0
Nightwatch v0.10.0, changes include:
- Rewriting the backend with FastAPI, websockets, and uvicorn.
- Removing admin commands for the time being until I find a better way to implement them.
- Brand new web client that replaces the desktop app.
- Implement image proxying through the server itself.
- Swap from
CONFIG_OVERRIDE
toDATA_OVERRIDE
for future file uploads.
This release is not backwards compatible and requires an updated client.
v0.8.5
v0.8.0
Nightwatch v0.8.0, changes include:
- Rewriting the main chat server using python-websockets/websockets.
- Migrate from my custom solution to pydantic for payload validation.
- Add
nightwatch.auth
, a new FastAPI-based authentication server for future use in Nightwatch. - Add
nightwatch.logging
, a uvicorn-inspired logger specific to Nightwatch applications. - Migrate away from socketify and PyPy back to normal CPython.
- Improved the server-side command registration process.
- Remove requirement for my fork of urwid with the unicode PR merged in.
v0.7.2
Nightwatch 0.7.2.
Implement the settings and logout button, also handles websocket failures properly now.
Full Changelog: v0.7.1...v0.7.2
v0.7.1
Nightwatch v0.7.1.
Fixes the CSP on the production build to allow websocket connections.
v0.7.0
Nightwatch v0.7.0, changes include:
- Migrated the backend to a much cleaner implementation utilizing socketify.py.
- Added auto reconnect to the desktop app (to be cleaned up later).
- Experimental client API now available as
nightwatch.bot.Client
, properBot
class coming soon. - Desktop app now respects the server name and has support for (basic) notification sounds.
Full Changelog: v0.6.0...v0.7.0
v0.6.0
Nightwatch v0.6.0, changes include:
- Functional desktop app built with Tauri.
- Clean up non-required patches for the backend.
Future tasks:
- Finish the desktop app.
- Migrate the backend to socketify.py.
Full Changelog: v0.5.1...v0.6.0
v0.5.1
Nightwatch v0.5.1 (full stack release), changes include:
- Migration to iiPythonx/urwid for a unicode patch until the upstream gets it
- Add full support for emojis. Names, messages, doesn't matter: it just works.
- Alert the entire room when somebody joins.
- In progress windows support by forcing UTF-8 on any OS reporting as NT.
- Add support for user-specified colors, full 24-bit HEX support.
- Reimplemented slash commands, autocomplete hasn't be readded due to urwid.
Full Changelog: v0.3.0...v0.5.1