Skip to content

1.2.0-beta.7

Pre-release
Pre-release

Choose a tag to compare

@WillTDA WillTDA released this 16 Aug 15:27
· 15 commits to 1.2.0 since this release
9ec22b7

Craftbox | Beta Preview (v1.2.0-beta.7)

Warning

Beta builds are NOT suitable for production use, so do not use this to manage Minecraft servers you care about! Test this build in a fresh container/environment.

This is beta.6's feature set with its test pass finished — the checklist closed at 55/55, and the two things it turned up are settled below.

Fixes

  • Fixed a new file or folder named with a slash being created under a different name than the one you typed. Naming something configs/notes.txt in the New Text File or New Folder dialog, or through the API, quietly created notes.txt in the folder you were already in — the leading part was dropped rather than refused. The same applied to ../notes.txt, and to renaming. All three now answer with a clear "a name cannot contain a slash" instead: create the folder first, then the file inside it. Nothing could ever escape the server directory, and the dialogs already refused a slash before sending — this was the API accepting what the panel would not.
  • Fixed the API docs describing the naming rules incorrectly on two counts that predate this build: a trailing space is trimmed rather than rejected, and uploads deliberately keep reducing a dropped folder's relative path to just the filename, which was never written down. That difference between typed names and uploaded ones is now spelled out.
  • Fixed the published source archive for the previous build carrying a lockfile that a Linux npm ci refuses. The lockfile had been written by an npm version that drops other platforms' optional binaries, so the Docker image built from it could not resolve sharp on linux/amd64. Regenerated with every platform present.

Note

Nothing in beta.6's feature set changed here — if you are already running it, this build is the naming fix and the packaging fix. The text-file detection work, the 5 MB read cap and the ?tail= / ?offset=&limit= byte windows all arrived in beta.6 and are unchanged.

Installation

The easiest way to host Craftbox yourself is by using Docker. Please read this part of the Craftbox docs for the installation guide.
Alternatively, you can also download the source code, install the required node modules and run the server manually. (Learn more)