Repository navigation
Releases
Novis 0.0.6
Novis 0.0.6
The debug viewer on your computer can now show the records of a production server, and it has a new design with many new pages. Core\Mail can parse, receive and send complete messages, with attachments, and Core\FileTransfer works with SFTP, FTPS and FTP servers. Many Core methods have new names that say what they do, so most programs need small edits.
Security fixes
Core\Config::setchanges only the settings on one list, and the page ofCore\Config::setshows that list. Before, a request could change more settings than it needs. A setting name that is not on the list is errorE0667, and code in a package may change only[limits]settings.- More values are
tainted, so they must be checked before they reach a path, a query or a command. This covers the output of a child process, error messages and image or PDF bytes. It also covers text from aCoremethod that does not say where the text comes from. A class thatCore\Request::jsonAsreads must declare each string propertytainted string, at any depth. Before, unchecked input could reach these places. - Before, a web page in your browser could reach your development server through a local proxy, under another host name. The server now checks the
Hostheader of every request from this machine. The421response names the host to add to[server] development_hosts. - Every use of a revoked object throws
RevokedObjectError. Before, some uses still worked, such as.=on a property, a comparison and aforeach.Core\Serialize::decodecannot add a revocable object to a collection any more. - Each task that
Core\Task::allruns has the same capabilities and memory limit as the code that calls it. Before, a task could use more than its caller was allowed. - A
[[restrict]]rule now covers every use of a class or method, such as a union type, a default value and a route link. A package can restrict only its own code and the code inCore. Core\Uri::encodeComponentthrows aLogicErrorfor.and... In a path, such a segment changes which resource the URI names.- A
ParseErrorfromCore\Json::decodeAslists at most 64 issues. Before, a large invalid document could make a very long error.
Update to this version. More security fixes are in the commit list.
Breaking changes
-
Many
Coremethods have new names. A method that sends, starts, sets or checks something now says so. For example,Core\Response::jsonis nowsendJson,Core\Request::queryis nowqueryParameterandCore\Request::postis nowformField. The reference page of each class lists the new names. An old name is now an unknown name.<?nvs // Before: echo Core\Path::basename('/srv/app/main.nvs'); // `fileName` returns the last part of a path. This prints `main.nvs`. echo Core\Path::fileName('/srv/app/main.nvs'), "\n"; // Before: echo Core\Math::intDiv(7, 2); // `quotient` divides two whole numbers. This prints `3`. echo Core\Math::quotient(7, 2), "\n"; -
The
[http.client.tls]block is now[tls.client]. It sets the trusted certificates and the lowest TLS version of every outbound connection, not only of HTTP. Its keys are the same.# Before: [http.client.tls] [tls.client] min_version = "1.2"
-
Core\Mail::sendtakes one body. Astringis sent as plain text. ACore\Html\Markupvalue is sent as HTML, and Novis makes the plain text from it. Thehtmloption is removed.<?nvs // Before: Core\Mail::send('shop', $to, 'Your order', $text, html: $html); // An `html` body is sent as HTML, with a plain text made from it. Core\Mail::send('shop', ['anna@example.com'], 'Your order', html`<p>Thank you!</p>`); // A `string` body is sent as plain text. Core\Mail::send('shop', ['anna@example.com'], 'Your order', "Thank you!\n"); -
A class that implements
Parsesmust also declareformat(). It returns the text thatparsereads.Core\Router::urluses it to write a link.<?nvs final class Sku implements Parses { public function constructor(public tainted string $code) {} public static function parse(tainted string $s): static { return new static(Core\Str::upper($s)); } // `format` is new. It returns the text that `parse` reads. public function format(): tainted string { return $this->code; } } // This prints `AB-12`. echo Sku::parse('ab-12')->format(), "\n"; -
Core\Str::startsWith,endsWith,replaceAllandtrimwork on whole characters. A match that splits a character does not count."\r\n"is one character, so a replacement for it must come first.<?nvs // The accent belongs to the `e`, so this prints `false`. echo Core\Str::startsWith("e\u{301}", "e") ? "true\n" : "false\n"; // Before: ["\r" => "", "\n" => "\n"] // `"\r\n"` is one character, so it goes first. This prints `a|b|c`. string $text = Core\Str::replaceAll("a\r\nb\rc", ["\r\n" => "\n", "\r" => "\n"]); echo Core\Str::replaceAll($text, ["\n" => "|"]), "\n"; -
Core\Time\Instant::fromIsoreads only the strict ISO 8601 syntax. An offset needs a colon, andTandZmust be upper case.toEpochSecondsand the other epoch methods round down before 1970.<?nvs // Before: Core\Time\Instant::fromIso('2026-01-05T08:30:00+0100'); // An offset needs a colon. This prints `2026-01-05T07:30:00Z`. echo Core\Time\Instant::fromIso('2026-01-05T08:30:00+01:00')->toIso(), "\n"; -
Core\Arr::appenduses the same key as$a[] = $v. Afterunsetremoves the largest number key, the next value gets the key after the removed one.<?nvs array<string> $names = ['Ada', 'Bob', 'Cy']; unset($names[2]); // The next key is `3`, as with `$names[] = 'Dan'`. This prints `3`. $names = Core\Arr::append($names, 'Dan'); echo Core\Arr::lastKey($names), "\n"; // `Core\Arr::values` numbers the keys again from `0`. This prints `2`. echo Core\Arr::lastKey(Core\Arr::values($names)), "\n";
More breaking changes are in the commit list. They include the removal of Core\Db::Tls and the named parameters of Core\Time\Date::at.
New
-
The debug viewer can show the records of a server, such as a production server.
[debug.remote]lists the public key of each developer who may connect. The viewer also has a new design and new pages for debug output, mail, runs, outbound calls, code and schedules.# Print your public key. The server's [debug.remote] block lists it. nvs debug key # On the server, print the line for the viewer's [[debug.server]] entry. nvs debug fingerprint
-
Core\FileTransfer::openconnects to an SFTP, FTPS or FTP server that a[file_transfer.<name>]block innvs.tomlnames. Adirectoryblock uses a folder instead, so the same code runs in tests.<?nvs var $server = Core\FileTransfer::open('partner'); $server->makeDirectory('outbox'); // `write` returns the number of bytes it wrote. This prints `14`. echo $server->write('outbox/report.csv', "id,total\n1,30\n" as bytes), "\n"; // This prints `report.csv`. foreach ($server->list('outbox') as var $entry) { echo $entry->name(), "\n"; } -
Core\Mail\Message::parsereads a raw email, an Outlook.msgfile or awinmail.datattachment.Core\Imapreads a mailbox on a server.Core\Mail::sendnow adds attachments, copies CSS into each element and signs with DKIM.<?nvs use Core\Mail\Message; bytes $raw = "From: Ada <ada@example.com>\r\nSubject: Invoice 1042\r\n\r\nPlease find it attached.\r\n" as bytes; Message $mail = Message::parse($raw); // This prints `ada@example.com` and `Invoice 1042`. echo $mail->from()?->address() ?? 'unknown', "\n"; echo $mail->subject(), "\n"; -
Core\Html::attributeswrites a map of attributes into a tag. Every value is escaped, and ajavascript:URL is left out.<?nvs // `true` writes the name alone, and `false` leaves the attribute out. var $attrs = Core\Html::attributes(['name' => 'email', 'required' => true, 'disabled' => false]); // This prints `<input name="email" required>`. echo html`<input{$attrs}>`, "\n"; -
Core\Timehas more calendar methods, such asstartOf,endOf,difference,rangeandDuration::fromClock.==compares two time values by their value.<?nvs use Core\Unit; var $date = Core\Time\Date::at(2026, 5, 20); // This prints `2026-04-01`, the first day of the quarter. echo $date->startOf(Unit::Quarter)->toIso(), "\n"; // This prints `225`, the days until the end of the year. echo $date->difference($date->endOf(Unit::Year), Unit::Day), "\n"; -
array<Status, string>is an array whose keys are the cases of an enum. Amatchover an enum must handle every case, or the program does not compile. An enum can also declare methods and constants.<?nvs enum Priority { Low, Urgent } class Ticket { // The keys of this table are the cases of `Priority`. public const array<Priority, string> LABELS = [Priority::Low => 'can wait', Priority::Urgent => 'today']; } // The case is the key. This prints `today`. echo Ticket::LABELS[Priority::Urgent], "\n"; -
extendadds methods to a class fromCoreor from another package. A file that has auseline for the block can call them.<?nvs namespace Shop; use Core\Time\Date; use Core\Time\Weekday; use Shop\Weekend; extend Date as Weekend { public function isWeekend(): bool { return $this->weekday() == Weekday::Saturday || $this->weekday() == Weekday::Sunday; } } // 19 September 2026 ...
Novis 0.0.5
[0.0.5] - 2026-11-21
You can now declare your own attributes and say where each one may be used. nvs reload makes a running server use your new code at once, and it tells you when a file has an error. Most Core\Arr and Core\Str functions now change an array or a string in place, so programs run faster.
Breaking changes
-
Each session value has a lifetime now.
Core\Session::setShortLivedreplacesCore\Session::set, andCore\Session::setLongLivedsaves a value that stays after the browser closes.Core\Session::startis removed, because the firstCore\Sessioncall opens the session.<?nvs // Before: Core\Session::start(); // Before: Core\Session::set('user', 'ada'); // A short-lived value is deleted when the browser closes. Core\Session::setShortLived('user', 'ada'); // A long-lived value stays after the browser closes. Core\Session::setLongLived('language', 'de'); -
In
nvs.toml,[session] ttlis replaced byshort_livedandlong_lived. A server withttlin its configuration does not start.[session] # Before: ttl = "2h" short_lived = "2h" long_lived = "180d"
-
Core\Session::setSecretis replaced byCore\Session::setShortLivedSecretandCore\Session::setLongLivedSecret.Core\Session::clearandCore\Session::destroyare replaced byclearShortLived,clearLongLivedandclearAll.<?nvs // Before: Core\Session::destroy(); // This deletes the whole session and both session cookies. Core\Session::clearAll(); -
Core\Session::removeinsideCore\Html::laterorCore\Task::afterResponsedoes not compile. Call it in the main part of the request, before the response is sent.<?nvs // Remove the value before the response is sent. Core\Session::remove('cart'); Core\Task::afterResponse(fn(): void => { // Before: Core\Session::remove('cart'); Core\Log::write(Core\Log::Level::Info, 'cart removed', []); }); -
Core\Time::fromIso,Core\Time::fromEpoch,Core\Time::parseandCore\Time::atare removed. Each time class now builds its own values, such asCore\Time\Instant::fromIsoandCore\Time\DateTime::fromIso. The enum of weekdays is nowCore\Time\Weekday. The compiler error names the new method and offers a fix that writes it.<?nvs // Before: var $start = Core\Time::fromIso('2024-03-01T12:00:00Z'); var $start = Core\Time\Instant::fromIso('2024-03-01T12:00:00Z'); // Before: Core\Time::at(2024, 3, 1, 'Europe/Berlin', { hour: 9, minute: 30 }) var $meeting = Core\Time\DateTime::fromIso('2024-03-01 09:30', 'Europe/Berlin'); // Before: Core\Time\DateTime::Weekday::Friday. This prints `Friday`. if ($meeting->weekday() == Core\Time\Weekday::Friday) { echo "Friday\n"; } -
An attribute without a name, such as
#[{ name: 'users' }], is removed. Atypealias does not work as an attribute either. Declare the attribute withattribute, and name the declaration inCore\Attributes::get. The compiler error offers a fix that writes the declaration.<?nvs // Before: #[{ name: 'users' }] attribute Table on class { name: string } #[Table(name: 'users')] final class User {} // Before: Core\Attributes::get<{name: string}>(User::constructor) // This prints `users`. echo Core\Attributes::get<Table>(User::constructor)?->name ?? '(none)', "\n";
New
-
nvs reloadmakes a runningnvs serveuse the code and the configuration on disk now. It waits until the server has compiled each changed program, and it prints each error with its file and line. The exit code is0when the server uses every new file,1when a file has an error and2when no server runs.nvs reload
-
An attribute is declared with
attribute, and the words afteronsay where it may be written.repeatableallows more than one use on the same declaration. A///comment above a field describes it, and the editor shows that comment.<?nvs // `on method` allows the attribute only on methods. // `repeatable` allows it more than once on the same method. repeatable attribute Route on method { path: string } final class Pages { #[Route(path: '/')] #[Route(path: '/home')] public static function home(): string { return 'home'; } } // This prints `2`. echo Core\Arr::count(Core\Attributes::all<Route>(Pages::home)), "\n"; -
A class can implement
Revocable. After$object->revoke(), everyCore\ObjectMap,Core\ObjectSetandCore\Heapremoves the object at once. Any other use of the object throwsRevokedObjectError, and the message names the line of therevoke()call.<?nvs final class User implements Revocable { public function constructor(public string $name) {} } var $bob = new User('bob'); var $online = new Core\ObjectSet<User>(); $online->add(new User('ada')); $online->add($bob); // `revoke()` removes `$bob` from the set. This prints `1`. $bob->revoke(); echo $online->count(), "\n"; -
nvs testruns fewer tests while you work.nvs test CartTest.nvs:42runs the test that contains line 42.--since mainruns only the tests that reach code you changed since the git branchmain.--mutate=Shop\Cartmakes mutants only in the code you name, and#[NoMutate]keeps a class or a method out.nvs test tests/CartTest.nvs:42 nvs test --since main nvs test --mutate='Shop\Cart' --since main
-
Tests can check more of a program.
Core\Test::runruns your program as a command and returns its exit code and output.Core\Test::logsreturns the log records of the test, andCore\Test::sentMailreturns the mail it sent.Core\Test::requesttakesclientIp,cookies,json,formandmultipart.#[Test(env: [...])]sets environment variables for one test.<?nvs use Core\Test; class SignupTest { #[Test] public function itWritesALogRecord(): void { Core\Log::write(Core\Log::Level::Warn, 'signup failed', []); // `Test::logs` returns the log records of this test. This check passes. Test::assertEquals(Test::logs()[0]->message(), 'signup failed'); } } -
Core\Time\Date,Core\Time\DateTimeandCore\Time\TimeOfDayreturn their parts as numbers, such asyear(),month()andhour().Core\Time\Date::fromIsoandCore\Time\TimeOfDay::fromIsoread a date or a time. A method that takes a zone accepts it as text, and a wrong zone name does not compile.<?nvs var $date = Core\Time\Date::fromIso('2024-12-25'); // This prints `2024 12 25 360`. echo $date->year(), ' ', $date->month(), ' ', $date->day(), ' ', $date->dayOfYear(), "\n"; // This prints `17:30`. echo Core\Time\Instant::fromIso('2024-03-01T12:00:00Z')->in('Asia/Kolkata')->format('HH:mm'), "\n"; -
foreachgives the key and the value of aCore\ObjectMap. A class of your own can do the same when it implementsKeyedIterable<K, V>.<?nvs final class Tag { public function constructor(public string $name) {} } var $stock = new Core\ObjectMap<Tag, int>(); $stock->set(new Tag('shirts'), 14); // This prints `shirts: 14`. foreach ($stock as var $tag => var $count) { echo $tag->name, ': ', $count, "\n"; } -
A
[[restrict]]table inpackage.tomlsays that a class, a method or a namespace may be used only in some places. A use outside those places does not compile.# Only code in `Framework\Core\Signing` and below may call `Core\Router::urlSigned`. [[restrict]] use = 'Core\Router::urlSigned' allow = ['Framework\Core\Signing\*'] note = "Use `Framework\\Core\\Signing\\Url::signed`."
More new features are in the commit list. They include Core\Session::openWithIdentifier, Core\Reflect\ClassInfo::parent, @key and @value in property paths, and #[Core\Router\Target].
Faster
Core\ObjectMapandCore\ObjectSetare faster. A lookup with astring,intor object key costs about the same as a lookup in an array. Aforeachover either one does not copy it.- Most
Core\Arrfunctions change an array in place when no other variable uses it. This includessort,map,filter,unique,appendandslice. Core\Strfunctions such asreplace,upper,padStartandrepeatchange a string in place when no other variable uses it.- Each request does less fixed work and allocates less memory. The server sends on every TCP connection without a delay. A
304response for a static file opens no file. - Programs start faster, because a small program does not load the parts it does not use.
Core\Json::decodeAsdoes less work for each key, andCore\Json::isValidbuilds no values.Core\Db\Connection::queryandstreambuild the column names once for each result.Core\IO\File::readLinereads ahead into a buffer, andCore\Http\Clientsends a small body together with its headers.- The editor uses less memory on a large project. It checks each file once, and
nvs codeanalyses only the files that changed.
Fixes
- A compile that fails, or that crashes the compiler, frees all the memory it used. A file that crashes the compiler is compiled again only after you change it. A server keeps its memory steady through many reloads.
- Two requests that change different session keys at the same time both keep their change.
Core\Session::regeneratekeeps a value that another request saved while it ran. Core\Session::getinsideCore\Html::laterreturns the value saved in the session of the request. This also works when the main part of the request did not use the session.- In development, a request f...
Novis 0.0.4
[0.0.4] - 2026-11-15
Features
- autoload: autoload links and a prefixed discover build the map (
cf4f6ccc) - codegen: a class reference builds only a class new could make (
d6b0e1f8) - config: a publish moves a generation and fills its snapshots' limits (
63ac930f) - config: a schedule entry's on key is checked at boot (
dc7f12bc) - config: config dump lists every default in force, and serve says where log records go (
811a4c90) - config: every [http] key a request may set reaches its response, and set refuses the rest (
e2dd3a7c) - config: nvs config check resolves each link to another module, and --mounts prints the table (
7f8fb3ab) - db: SQLite allows a PRAGMA by name, and the reset clears the generated id (
532b481a) - db: a MySQL row keeps its packet, and a text cell is copied once (
e5490ccb) - db: a database error's message holds no text the server chose (
47fd4cc1) - db: a failed connect logs the server's text and throws without it (
85c7cd68) - db: a statement call that binds no secret keeps the server's text (
be50013a) - db: a table names each kind of session state per driver, and the MySQL and MariaDB reset restores the login roles (
fbfe1223) - db: the MySQL and MariaDB reset selects the configured database and charset again (
e098037e) - db: the PostgreSQL reset discards sequence state, and startup pins standard_conforming_strings (
4dbc9032) - docs: every reader shows
@param,@returnand@throwsas a Core card does (f3d3e0a0) - ext: a request's end is bounded, and a guest call stops at the wall deadline (
6fee169b) - graph: every crossing lands in one receiving side, its program's classes then Core (
a0b8df11) - hir: the checker holds
@param,@returnand@throwsto the method they document (594c784c) - host: a connection's isolate is watched, and cpu_time holds for each turn (
cd95e751) - host: a stream whose reads never park meets its bound every sixteenth read (
47e41b6a) - host: a wait that outlives wall_time names its reason (
79c07bcf) - host: the blocking pool skips a job its task abandoned in the queue (
9c96bd6b) - host: the park funnel ends every parked wait at its tree's wall bound (
9116135d) - instance: every Core class with instances says what its slots hold (
a09f5d40) - json: Core\Json has its own pull reader, which agrees with serde_json on every saved input (
a36b94ef) - json: Core\Json writes every byte itself, escaping each string in one pass (
2ab1371f) - json: decode, isValid and Request::json build values from Core\Json's own reader (
ce60cd45) - json: decodeAs fills classes in a loop over Core\Json's own reader, on the task's own stack (
a59aca99) - json: decodeEach reads through Core\Json's own reader, and the spare stack is gone (
6c01b4bf) - json: secret_spans finds secret values in one read of the reader's events (
d9a98268) - links: a link to an autoload links root is read, checked and lowered (
2c0e2f3e) - lsp: a doc tag is offered only where its declaration takes it (
4591bb30) - lsp: a local variable answers its declaration and every site (
eeb615d8) - lsp: a method's parameter is renamed with its
@paramname and its named arguments (77b5a911) - lsp: go to definition and hover reach a route of another module (
6f3bc4e1) - lsp: hover on a method's parameter shows its
@paramsentence (08a22855) - lsp: the $name after
@paramis coloured as a parameter (924a7175) - meta: a derived class carries its JSON schema in nvs meta --json (
6db3f44c) - mounts: a mount block takes canonical, and one function picks the row a link to another module goes through (
e5140bc6) - nv: bun nv ci --green says whether main's tip is pushed and green (
e25c5d7b) - pkg: every command but a locked fetch refuses a signed file older than seven days (
e071882b) - registry: a retraction's log entry waits until the time it shows (
9144046d) - registry: a token of a lapsed account or one with no verified channel does nothing (
3c5c5af5) - registry: an owner sees and cancels a waiting retraction or advisory on the package page (
49c58478) - registry: an owner with a passkey cancels a waiting retraction or advisory (
d42f87a2) - runtime: a call by name checks each argument against its declared type (
a2784d94) - runtime: a failed conversion never shows a text operand (
2beb6bfd) - runtime: a hooked property write and a bare callable call check the declared type (
54c03db6) - runtime: a slot check tests what an is test tests (
3d073952) - runtime: an erased read or call never returns a secret (
8bd7bc3a) - runtime: construct and forClass ask the one question the copy doors ask (
00c81fc5) - schedule: reload and failed entries run from one process-wide Events (
7b6cb3cb) - schedule: start and stop entries run, and every run reads one map (
8823ff30) - security: a package sets only limits and restores only what a package set (
f3965187) - *security...
Novis 0.0.3
[0.0.3] - 2026-11-10
Features
- apps: apps/chat shows WebSockets and apps/poll shows server-sent events, each with its website page (
13159de2) - apps: chat deploys with nvs.toml and one production.toml, as poll does (
c9797093) - apps: poll's security policy is set in nvs.toml, for every response (
082b8053) - ci: a real release needs a green full CI run of main's tip, not a dry run (
9c43636c) - cli: NOVIS_PARSE_ONLY makes nvs check its command line and exit 0, running nothing (
8f8f4da5) - cli: a request file's body after --BODY-- may hold any bytes (
41677edd) - config: an owner in Administrators passes the ownership check on Windows (
13c4cc74) - config: nvs init sets up the data folder and the project file, and offers to restrict its folder (
bfff166e) - config: the folder above a checked folder fails only when another account can replace it (
d6752d1a) - csv: Core\Csv::rows decodes a charset one chunk at a time (
3db03f8a) - csv: Csv::rows reads any byte source, and its cells follow the source's taint (
3e227c34) - deep: bun nv deep runs the build legs and the release's version step (
74105c5c) - diagnostics: nvs check --count and the editor index count the file-system work they did (
0ee67eeb) - ext: Core\Pdf and Core\Image read every byte source (
03b9889a) - format: a literal Core\Str::format writes each integer placeholder into the result (
a55599c0) - fuzz: each fuzz target's check is a function cargo test replays over its seeds (
2398bf57) - html: sanitize keeps the five value-checked attributes Markdown writes (
fc0a1813) - ide: a file with routes shows R in the Explorer, and its tooltip names each route (
ff916f38) - io: Core\IO and Core\IO\File read bytes, and write and append take bytes (
21640d81) - io: Core\IO::stdinStream gives standard input as tainted bytes chunks (
b67c68ad) - ir: interpolated strings and html templates join int and escaped holes as typed parts (
ec835148) - json: encodeEach's pieces carry encode's taint, and a response streams clean ones (
745de7b7) - json: every JSON string Novis writes escapes the characters that end HTML markup or a script line (
93d8f777) - kit: a usage wall holds only the login that met it (
82162fdd) - lsp: a Core alias has a stub, a hover card and a completion row (
78e67e9b) - lsp: bun nv lsp-start times the editor's start and prints its index's work (
e8969ddb) - lsp: nvs.inlayHints.parameterNames turns the parameter-name hints off without a restart (
64250f15) - lsp: nvs/redactions answers a docComment range per /// line to a client that declared the kind (
110f8e3e) - lsp: the index build at start shows as work-done progress (
74e43801) - markdown: Core\Markdown::fromHtml writes Markdown from HTML (
37789209) - markdown: Core\Markdown::toHtml renders CommonMark and GFM through the sanitizer's list (
6463e25a) - markdown: Core\Markdown::toHtmlEach walks a source one block group per advance (
da2bcdd5) - markdown: Core\Markdown\Live renders text that arrives in pieces (
e1dc9472) - markdown: a document is rendered in segments, and each reads the whole document's definitions (
08bbe0a7) - markdown: a document renders one block group at a time, and the groups join to the whole HTML (
1999047f) - markdown: fromHtml holds the whole tree, and a parse fed in pieces gives the same Markdown (
40a8df38) - markdown: toHtml's link, image, heading and code callbacks change what a document renders (
23e26c5a) - nv:
bun nv ci --checkruns CI'srustdoc linksstep before it pushes (ac8243fd) - nv:
bun nv deepruns every CI job this machine can run, andbun nv fuzz --allgoes on after a crash (a2773216) - nv: bun nv walkthrough takes pictures of a website walkthrough (
bb31414d) - nv: every WSL step runs in its own test distro, which bun nv wsl makes and checks (
cf18d84b) - nv: proxy-validate checks nginx, Caddyfile and Dockerfile files in their pinned images (
1d84fbaa) - nv: the WSL copy's HEAD is the checkout's HEAD, and deep leaves the db services up (
661a58af) - pdf: an img and an inline svg are inline boxes in their line (
3dacbb53) - proofs: a member is named in its class's introduction when the class has one (
c711b8a2) - proofs: a member that reads through byte_source.rs has its perf staled by it (
b72f4595) - proofs: a time stop is judged by the sweeps its run measured, not by a fixed slack (
f7028f34) - queue: a Core\Queue\Id has toString, parse and tryParse (
d4122775) - queue: a job row carries a random token, and status, cancel and delete match it (
5f82a493) - queue: every hand-made queue table has the token column (
7a0a2df3) - registry: the package page shows each version's readme rendered once from Markdown (
59536c04) - release: publishing a release lists the VS Code extension on Open VSX too (
d76a075a) - request: Core\Request\BodyStream::peek gives the start of the body and consumes nothing (
18af9b19) - request: an upload part and a body stream give their start without being consumed ([
1aaad843](1aaad84...
Novis 0.0.2
[0.0.2] - 2026-11-03
Features
- lsp: a body-only edit of an open file re-queues no reader (
84172184) - lsp: a file is parsed again only when its text changed (
207a0cd4) - lsp: the editor checks only the bodies whose inputs changed, against one session interner (
4e0674e8) - lsp: the symbol index is kept on disk, and a start analyses only its stale entries (
59eb4b7f) - site: the website counts page views with a cookieless Matomo on stats.novis-lang.org (
da19c63e) - tools: NVS_PROOF_TIMES writes each proof program's wall time, slowest first (
f62d0639) - types: a check walks the bodies of a chosen set of files and folds every other file's cached output (
297f9356) - vscode: the nvs.path setting links the download and the release page (
1e6737b7)
Fixes
- cli: nvs run's stop cancels a queue worker still opening its connection (
63a6861d) - cli: nvs run's stop cancels a queue worker still opening its connection again (
45e4ac4c) - cli: nvs run's stop no longer cancels a queue worker still opening its connection (
cb931f1e) - goals: incremental-index's named checks run the tests they name (
fa8b07a3) - host: a cancelled task unwinds without a crash in Windows' optimized builds (
6b0bc591) - host: the slice clock wakes on time on macOS, so a group's deadline is read before the CPU stop (
48879136) - lsp: the editor types a program against the built-in components (
35d3753f) - nv: a release judge reads build.yml's legs at the run's commit (
60bf5449) - nv: embedded text runs no platform matrix (
0d9eda6a) - nv: the code lane covers every input the binary is built from (
b5a12569) - release: a release binary names the commit it was built from, without -dirty (
4ce8a689) - release: publish fetches the committed lock before --apply bumps the version (
53c7b504) - runtime: a Serialize payload refused partway frees every object decode built (
4b8503ca) - site: the front page names the site Novis-Lang to search engines (
1684a158) - site: the front page's search questions are stamped against its new head (
383af5ab) - site: the hero slogan says SQL injection does not compile (
d5294d15) - site: the hero slogan says SQL injection is blocked, so it never reads as NoSQL injection (
72b8c974) - spreadsheet: the tests read back through calamine 0.38, clear of RUSTSEC-2026-0436 (
56f215bb) - types: a per-file table part inherits the provenance switch and never turns it on (
a35771e7) - website: the sidebar opens with the current page's entry in view (
2dfacf60)
Performance
- lsp: an answer waits for the open document, never for the index (
e5b77942)
Internal
55 further commits: docs (24), build (10), test (10), chore (8), wip (2), refactor (1).
Full changes — 84 commits.
Novis 0.0.1
[0.0.1] - 2026-11-02
This is the first release of Novis.
Novis is the programming language for web applications and the command line. You can build a
business app, a website, an API or any other web service with it. The tools that a modern web
application needs are built in.
- Input is tainted. Text from a request must be checked or escaped before it reaches a
database, a shell or a page. - Every request on its own. Each request has its own memory. When one request crashes, the
others keep running. - One program.
nvsruns your code, serves web requests, runs your tests and formats your files. - Compiled to machine code. Each file is compiled the first time it is needed. You never run a
build step.
Pre-Alpha
Novis is Pre-Alpha. Any release can change the language, and Novis is not ready for production use.
Install
Download the archive for your system from the files below. Each archive contains the nvs program.
Put nvs on your PATH, then run nvs --version to check it. SHA256SUMS lists the checksum of
every file.
You can also use the Docker image:
docker pull ghcr.io/novis-lang/novis:0.0.1The editor extension for VS Code is nvs-0.0.1.vsix, in the files below. In VS Code, open the
Extensions view and choose Install from VSIX....
Read more
- Install Novis
- The roadmap: the work that is planned next.
- What changed: what is new in Novis.