Code-Server v4.1.0 Release Notes

Release Date: 2022-03-03 // about 2 years ago
  • Code v1.63.0

    โž• Added

    • ๐Ÿ‘Œ Support for injecting GitHub token into Code so extensions can make use of it. This can be done with the GITHUB_TOKEN environment variable or github-auth in the config file.
    • ๐Ÿ†• New flag --socket-mode allows setting the mode (file permissions) of the socket created when using --socket.
    • The version of Code bundled with code-server now appears when using the --version flag. For example: 4.0.2 5cdfe74686aa73e023f8354a9a6014eb30caa7dd with Code 1.63.0. If you have been parsing this flag for the version you might want to use --version --json instead as doing that will be more stable.

    ๐Ÿ”„ Changed

    • The workspace or folder passed on the CLI will now use the same redirect method that the last opened workspace or folder uses. This means if you use something like code-server /path/to/dir you will now get a query parameter added (like so: my-domain.tld?folder=/path/to/dir), making it easier to edit by hand and making it consistent with the last opened and menu open behaviors.
    • The folder/workspace query parameter no longer has encoded slashes, making them more readable and editable by hand. This was only affecting the last opened behavior, not opens from the menu.

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fix web sockets not connecting when using --cert.
    • Prevent workspace state collisions when opening a workspace that shares the same file path with another workspace on a different machine that shares the same domain. This was causing files opened in one workspace to be "re-"opened in the other workspace when the other workspace is opened.
    • ๐Ÿ“Œ Pin the Express version which should make installing from npm work again.
    • ๐Ÿšฆ Propagate signals to code-server in the Docker image which means it should stop more quickly and gracefully.
    • ๐Ÿ›  Fix missing argon binaries in the standalone releases on arm machines.