Skip to content

Releases

Nexus 1.0.0

Choose a tag to compare

@RoodFruit RoodFruit released this 25 Nov 16:09
Immutable release. Only release title and notes can be modified.
ae5909c

Nexus 1.0: move from Herd or Valet, and signed packages

🚚 Move from Herd or Valet

Nexus finds Laravel Herd or Laravel Valet on your Mac. Click "Move from Herd…" or "Move from Valet…" on the Overview. The sheet shows each item first, and you choose what moves.

  • Sites. Parked folders, linked sites with their aliases, proxies and the PHP version of each site. An old PHP gets PHP 8.2. Your own nginx lines move too.
  • Databases and Redis. Nexus copies each database from the server in the .env or wp-config.php of the site, for example DBngin, Homebrew or Herd Pro. The copy runs while Herd or Valet still runs. The Redis keys move too.
  • Settings. Your php.ini lines, the .env of each Laravel site, the lines of Herd in ~/.zshrc and project files with the PHP of Herd, such as .mcp.json. Nexus keeps a copy of each file that it changes.
  • One step for you. Quit Herd with one click, or run valet stop. Then Nexus takes over ports 80 and 443 and the domain .test, and it opens each site once.
  • Nothing in Herd or Valet changes. The report tells you what moved and how to go back.
  • The command line. nexus import herd and nexus import valet do the same.

🔏 Signed packages

  • Only packages that the maintainer signed. Each list of packages on GitHub now has a signature that the maintainer makes outside GitHub. Nexus installs and updates nothing from a list without a valid signature, and it refuses a list that is older than the last one it read. Your installed packages keep working.
  • Checked sources. The build of each package checks its sources against the checksum or the PGP signature of the publisher.

🛠 Fixes

  • A second try. A download of a package tries once more after a connection that stopped.

Nexus 0.9.0

Choose a tag to compare

@RoodFruit RoodFruit released this 23 Nov 20:34
Immutable release. Only release title and notes can be modified.
8b36610

Nexus 0.9.0: the logs of your apps

📜 A log viewer

The new Logs screen under Tools shows the log files of the app of each site and workspace. Choose "Show logs" in the menu of a site, or open the screen and choose a site.

  • All logs of a site. storage/logs of Laravel with the daily files, the debug.log of WordPress, the PHP errors of the site, the output of a Node.js app and the requests. Craft CMS, Statamic and Symfony work too.
  • Live. A new entry shows at once.
  • Easy to read. Each level has its color, each day has its line, and each time is the time of your Mac. An exception shows the line of your app first, and the frames in vendor/ fold into one row. A click on a file opens your editor at the line.
  • Find it. Filter by level, search all files at once, or find all entries with the same trace_id. Equal entries show as one row with a count. "Hide entries like this" hides the noise.
  • Test runs stay hidden. A test run writes into the same laravel.log. Nexus hides those entries until you want them.
  • Large logs too. A log of 281 MB opens in a moment.
  • Copy as Markdown. Give an entry with its exception and its context to a coding agent.
  • Clear log… empties a file.

🌐 In the browser, the terminal and your agent

  • A web page. The web page of the dumps has a Logs page now. A switch at the top goes from Dumps to Logs.
  • nexus logs shows the newest entries of the site in the current folder. --level error, --search, --file and --follow work.
  • Agents. The MCP tool read_log reads the log files of each app, for example only the errors.

🛠 Fixes

  • PHP errors with their time. PHP-FPM wrote the errors of a site without a time. Each PHP version now writes its errors with their time to php-<version>-errors.log. The debug.log of WordPress still works.

Nexus 0.8.0

Choose a tag to compare

@RoodFruit RoodFruit released this 23 Nov 13:05
Immutable release. Only release title and notes can be modified.
fc5f560

Nexus 0.8.0: MongoDB

🍃 MongoDB as a service

MongoDB 7.0, 8.0 and 9.0 are services in Nexus now, next to MySQL, MariaDB and PostgreSQL. Install a version on the Packages screen. Nexus downloads the server from MongoDB.

  • Transactions work. Each MongoDB runs as a replica set of one server. So DB::transaction of Laravel and the nested writes of Prisma work.
  • No password by default, as for MySQL. The screen of the service sets a user and a password.
  • Your own mongod.conf, as for my.cnf and redis.conf.
  • MongoDB Tools. Nexus installs mongodump and mongorestore with the first MongoDB. They go with the last one.
  • Open in Compass. Settings > Databases > Open with chooses the app for a MongoDB database.

📥 Bring your data

  • Import an archive of mongodump --archive, with or without --gzip. The import sheet shows the databases and the collections of the file.
  • Copy from another server, for example from Docker or MongoDB Atlas. Give the URL in the import sheet, or use nexus db copy shop --from-url "<url>" --to mongodb-8.0.
  • The site sees its database. The Site screen shows the MongoDB connection of a Laravel site. "Use Nexus…" changes its URL to the MongoDB of Nexus.

🌳 Workspaces with MongoDB

Each workspace of a site with MongoDB gets its own MongoDB server, on a copy of your data. Nexus locks MongoDB for less than a second for the copy. A write waits and then continues.

  • Laravel: the URL in MONGODB_URI or DB_URI gets the port of the workspace. A host and a port in two keys work too.
  • Node.js: a MongoDB URL in the env files gets the server of the workspace, for example MONGODB_URI of mongoose.
  • A stopped workspace starts again at the first MongoDB connection, as for the other databases.
  • A removed workspace keeps a dump of its MongoDB databases in the trash. nexus db restore loads it again.
  • MongoDB Atlas (mongodb+srv) stays as it is. So such a workspace shares the Atlas database with the main site. A Laravel site shows Not isolated, and a Node.js app gets a warning.

🛠 Fixes

  • A failed download tries again. Each download of a package tries a second time before it fails.

Nexus 0.7.3

Choose a tag to compare

@RoodFruit RoodFruit released this 22 Nov 22:57
Immutable release. Only release title and notes can be modified.
73ccfb5

Nexus 0.7.3: PostGIS, pgRouting and the mongodb extension

🗺 PostGIS and pgRouting

PostgreSQL 15 to 19 have PostGIS 3.7 and pgRouting 4.0. PostGIS has topology and vector tiles, and no raster. The package update comes by itself. Then run CREATE EXTENSION postgis or CREATE EXTENSION pgrouting CASCADE in your database.

🧩 mongodb for PHP

PHP 8.2 to 8.5 get the extension mongodb with their next package update. mongodb/laravel-mongodb needs it. It connects to your own MongoDB server or to MongoDB Atlas. It is off until you turn it on. A MongoDB server in Nexus comes later.

🛠 Fixes

  • A workspace that shares MongoDB now says so. Nexus cannot copy a MongoDB database yet. A Laravel site with a MongoDB connection gets a workspace that is not isolated, unless a workspace key of the site gives that connection its own server or database. Before, this happened only for the default connection. A Node.js app with MongoDB gets a warning on its workspace.

Nexus 0.7.2

Choose a tag to compare

@RoodFruit RoodFruit released this 22 Nov 18:41
Immutable release. Only release title and notes can be modified.
008bce1

Nexus 0.7.2: pgvector, gmp and memcached

🐘 pgvector

PostgreSQL 15 to 19 have pgvector 0.8.7, for the search in embeddings. The package update comes by itself. Then run CREATE EXTENSION vector in your database.

🧩 gmp and memcached

PHP 8.2 to 8.5 get two more extensions with their next package update.

  • gmp calculates with whole numbers of any size. It is on, unless you changed a switch of that PHP version before.
  • memcached connects to a memcached server. It is off until you turn it on, and it needs igbinary.

🛠 Fixes

  • "Replace only the tables" with a file of pg_dump -Fc. A foreign key or a view of another table kept an old table in place, and the rows of the dump came next to the old rows. Nexus now checks the dump first. When something else uses a table of the dump, the import stops and changes nothing. The message names what uses the table.
  • No false error for a shared extension or type. Such an import also ended with "The dump did not load completely" when another table used an extension, a type or a function of the dump. These objects now stay as they were, and the import is a success. The import sheet then stays open and names them.
  • The right number of tables in the import sheet. For a file of pg_dump -Fc the sheet counted each table of the database as a table that stays.

Nexus 0.7.1

Choose a tag to compare

@RoodFruit RoodFruit released this 22 Nov 08:24
Immutable release. Only release title and notes can be modified.
9b817f5

Nexus 0.7.1: PostgreSQL 19 and fixes for Next.js and crashes

🐘 PostgreSQL 19

PostgreSQL 19 is on the Packages screen.

🛠 Fixes

  • Next.js Server Actions work. A form with a Server Action failed with "Invalid Server Actions request". Nexus now gives the origin of the app only to the dev files of Next.js. The pages keep the origin of the browser.
  • Apache shows no PHP source. A request for a PHP file with capitals in its extension, such as info.PHP, showed the source of the file. It now gets the same refusal as on nginx.
  • A crash of a service is no longer a crash of Nexus. When MariaDB or PHP crashed, Nexus sent a crash report under its own name and then stopped its crash reports. A later crash of such a service could also hang. Each service now crashes as a normal program.
  • Sentry 9.35.0 for the crash reports and Swift Crypto 5.1.2.

Nexus 0.7.0

Choose a tag to compare

@RoodFruit RoodFruit released this 21 Nov 11:12
Immutable release. Only release title and notes can be modified.
5810624

Nexus 0.7.0: share a site through a public link

🔗 Share a site with one click

The new Share button on the Site screen opens a public link to the site or to a workspace. Send the address to a client, a colleague or your phone. The link goes through Cloudflare and needs no account.

  • A check first. A window shows the options of the link before it opens: when the link ends (after 1, 4 or 8 hours, or when you stop it), a password for visitors, hidden error details and the list of requests. Settings > Sharing has the defaults.
  • In the terminal. nexus share opens a link to the site of the current folder and prints its address with a QR code. nexus share stop stops it, and nexus share list shows the open links.
  • You see each link. The menu bar panel, the Overview and the Site screen show the open links. The Share panel shows the number of visitors and the last visit. "Stop all" in the menu bar panel or the Overview stops each link in one step.
  • cloudflared, the program that makes the public links, comes from the downloads of Nexus. Nexus installs it at the first share.

🛡 Visitors see only the site

  • Hidden errors. Visitors see a plain error page. They do not see your code, your settings or tools such as Telescope, Horizon and Ignition. You still see each error in Nexus.
  • A password. Visitors type the password before they see a page. Webhooks and other requests that send data do not need it.
  • No search engines. Each answer of a link tells search engines not to index it.

🌐 The site works through the link

  • Laravel sees the public address. So its links, redirects and signed URLs use that address.
  • WordPress and other sites keep their local address. Nexus changes the addresses in the pages and the redirects for the visitor.
  • Vite. Visitors get the styles and scripts from the dev server, and your hot reload stays on. A site with an older Vite version gets a build.

📬 The requests of a link in the dump viewer

Turn on "Keep a list of the requests" to see each request through a link with its headers, its body and its dumps. This helps you check a webhook. The filter "Public link" shows only these requests. The list stays on your Mac, and Nexus deletes it when the link ends. A coding agent reads the list with the new MCP tool read_link_requests.

🏷 Your own domain

A link gets a new random address each time. With your own domain at Cloudflare, a link keeps a fixed address such as shop.example.com, also after a sleep of your Mac.

  • Settings > Sharing > "Set Up…" connects the domain in 3 steps. You log in at Cloudflare and click Authorize.
  • Nexus adds a DNS record for each site. It never changes a record that it did not make.
  • "Disconnect…" stops the links and removes the tunnel and the records of Nexus.

🛠 And more

  • A random address stops when your Mac sleeps. A notification then tells you to share the site again.

Nexus 0.6.5

Choose a tag to compare

@RoodFruit RoodFruit released this 20 Nov 11:26
Immutable release. Only release title and notes can be modified.
ff7d6cc

Nexus 0.6.5: a clear log of each stop, and coding agents that keep working after an update

📋 The activity log tells what happened

The activity log of Nexus now has a line for each start and stop of a service. Each stop names its cause, for example an update or a click in the app.

  • A stop from outside Nexus. When a service ends without a request from Nexus, the log says so. It also says how the service ended, for example with a crash or a stop signal of another program.
  • Workspaces. The log shows when Nexus adds a workspace, sets it up, starts or stops its database server and removes it.
  • Plain words. A service that stops too often now tells you in plain words how it ended the last time, for example "The last time it crashed (signal 11)."

🤖 Coding agents keep working after an update

An MCP server of Nexus that ran before an update said "Nexus does not run now" after the update. Nexus ran, but the old MCP server could not reach it.

  • The MCP server starts the new version itself. Your coding agent sees no break and needs no restart.
  • The nexus command tells you. A command that ran during an update now says that Nexus was updated, and asks you to run it again.
  • This works from the update after 0.6.5, because the running version decides.

🛠 Fixes

  • The "Port in use" window could stop the wrong program when you clicked Stop much later. Now Nexus checks the program again just before the stop.
  • After a crash of the background service, Nexus also checks each old program again just before it stops it.

Nexus 0.6.4

Choose a tag to compare

@RoodFruit RoodFruit released this 16 Nov 21:17
Immutable release. Only release title and notes can be modified.
7b5a46b

Nexus 0.6.4: a faster switch to each new version, and safer removals

🔄 A new version starts sooner

After an update the background service of Nexus first ends its current work. Then it starts the new version. From now on it does not wait for the setup of a workspace. The setup goes on after the switch.

  • Only the commands wait. The switch waits while a setup runs the commands of your site, for example php artisan migrate. A migration that stops halfway can break the database of the workspace.
  • From the next update on. The running version decides when it switches. So you see the change at the update after 0.6.4.

💬 A clear message after an update

A newer nexus command or a coding agent can send an option that the older background service does not know. Before 0.6.4 the older service ignored that option without a message.

  • The request stops. The background service now refuses a request with an option that it does not know.
  • You know what to do. The nexus command and the MCP server tell you to run the command again in a minute.
  • This also works from the update after 0.6.4.

🛠 Fixes

  • A workspace removal that stopped halfway wrote the dumps of its databases a second time. An example is a removal during a logout. Now each database gets one dump.
  • A stop during the delete of the database files of a workspace could leave a part of them. The removal then failed each hour. Now the next start deletes the rest.

Nexus 0.6.3

Choose a tag to compare

@RoodFruit RoodFruit released this 16 Nov 19:37
Immutable release. Only release title and notes can be modified.
1eaf9ed

Nexus 0.6.3: next to Local, Herd and Valet, and .local as a domain

🤝 Other apps that need ports 80 and 443

Only one app can use ports 80 and 443 at a time. Nexus uses them by default. While Nexus has them, the sites of Local, Herd, Valet, DevKinsta, ServBay, XAMPP or MAMP PRO do not open. Their HTTPS names also show a certificate warning.

  • A notice on the Overview. When Nexus finds one of these apps on your Mac, the Overview names it and explains the conflict.
  • "Use 8080 and 8443" gives Nexus other ports in one step. Your sites then open with port 8443 in the URL. The other app can use ports 80 and 443 again.
  • "Stop all services" frees the ports while you work in the other app.
  • The close button hides the notice until Nexus finds another of these apps.

🌐 .local as the domain of your sites

Settings > Network > "Domain for sites" now also offers .local. Projects that you move from Local by Flywheel keep their names.

  • macOS uses .local for Bonjour. So with .local, Nexus writes each site, alias and workspace into /etc/hosts.
  • Subdomains do not work by themselves. Add each one as an alias of its site, for example blog.shop.local.
  • Settings, the change alert and the first run explain this before you choose it.

🛠 Fixes

  • When a port change failed, for example because the new port was in use, the Overview stopped showing why the service did not run. The message now stays until a change works.