Repository navigation
New
- Detect Tor. Settings → Network has a new "Detect Tor" box, off by default. While it is on and Tor runs on this computer (port 9050), ynotbit connects through it, shows "Tor" in the status bar and accepts no incoming connections. While Tor is not there it connects directly. The SOCKS5 proxy field is not used while the box is on.
- Connected peers. The bottom of Settings → Network lists the connected peers: address, client, direction, TLS, time connected and objects received.
- Long chats. The 8192-byte limit on a chat is gone: a chat can be as long as the text of a letter. ynotbit 0.8.3 and older drop a chat over 8192 bytes without showing it, so a long chat reaches only newer versions.
- Tables in chats. A chat is read as GitHub Markdown, so a table is shown as a table.
- Bot answers. A bot's reply can end in a line
id: {json}for programs. ynotbit hides that line and puts a{ }button on the bubble, which copies the JSON with indents. - Flathub. ynotbit is on Flathub: search for "ynotbit" in your software center, or run
flatpak install flathub io.github.yshurik.ynotbit.
Changed
- macOS 14 is no longer supported. The packaged macOS app needs macOS 15 or newer.
- New mailbox next to the vault. The Create mailbox dialog opens in the vault's folder, with a name made from the vault's name. New vault starts in the folder of the current vault.
- Errors stand out. The error line under the header has an amber background in both themes.
Faster
- Short messages go first. Proof of work is done first for the queued message that needs the least of it, so a short one no longer waits behind a long one.
Fixes
- Network settings apply at once. Since 0.8.0 a changed SOCKS5 proxy, additional peer, incoming connections box or storage limit reached the node only when ynotbit was started again.
- A new installation behind a proxy finds peers. With a SOCKS5 proxy the node asked no bootstrap host, so a new installation behind Tor stayed without peers. The proxy now looks the bootstrap hosts up.
- Mailbox on another drive on Windows. Creating or opening a mailbox on a drive other than C: stopped the node with "Error creating directory C:: Permission denied". Drive prefixes are no longer created as folders, and "Permission denied" is accepted where the folder already exists (#5).
- Drives without file locking. On a network share or a VM's shared folder, creating a mailbox said "database is locked". It now says that the location does not support the file locking a mailbox needs, and to choose a folder on a local drive. Opening an existing mailbox there still shows the raw error.
- A new vault without a Documents folder. In a sandbox that has no Documents folder, the New vault dialog suggested a path in it, and creating the vault said "Cannot write". The suggested folder is now one that exists, and the missing folders of a new vault are made. Unlocking a vault makes no folders.
Also
- For people who run bots: the Go code a bot builds on is the module
github.com/yshurik/ynotbit/bmbot/go. The imageghcr.io/yshurik/ynotbit-sdk:0.8.4haslibbmbot, its header,bmnodeand a Python client. docs/bot-trailer.md states the rule for theid: {json}line. In a container with a CPU limit, proof of work now runs as many threads as the limit allows; before, it took nearly every core of the host and ran far slower. - For people who build ynotbit: on an OpenSSL that cannot do the node's TLS (OpenSSL 4.1, for one), the build now stops at configure time and says why; use OpenSSL 3. A node that runs without TLS says why in its log.
scripts/build-windows.ps1builds ynotbit on Windows in one step (MSVC, Ninja, vcpkg, Qt), optionally packaging a zip.- The Flatpak is built with the project's own CMake install rules, and secp256k1 and miniupnp are git submodules of the repository.
- The new interface strings are translated into all six languages by hand and not yet proofread by a native speaker.
What's Changed
- fix(windows): mailbox creation off the C drive, build script, mailbox dialog defaults (#5) by @yshurik in #6
Full Changelog: v0.8.2...v0.8.4