Skip to content

6.0.0 Release Candidate 2

Pre-release
Pre-release
Compare
Choose a tag to compare
@LPGhatguy LPGhatguy released this 19 Nov 18:42
· 345 commits to master since this release

This is the second release candidate for Rojo 6!

We've decided that it's time for Rojo to come out of being a 0.x version project, as it is already used in production on many large-scale projects. We also chose to skip over 1.0, like many projects, to avoid needing to call a version of Rojo "1.0".

This release contains bugfixes, an updated reflection database and a few small tweaks.

Major Changes

Glob Ignores

Ever wanted to make Rojo ignore some of the files in your project? The previously-unstable glob ignores feature is now live! One good use case is to create a version of your project that excludes all of your TestEZ test files:

{
  "name": "ignore_glob_spec",
  "tree": {
    "$path": "src"
  },
  "globIgnorePaths": [
    "**/*.spec.lua"
  ]
}

Rojo uses the globset crate for its glob implementation. Check out its documentation for details on what patterns are valid.

More Robust Plugin

As part of this release, Rojo's Studio plugin received a major refactor to make it more robust against failures. When encountering errors, Rojo will no longer disconnect your session, and will instead tell you all the things it failed to do.

This opens the door for us to start using other techniques to sync the fiddly instances that Rojo cannot sync today. This will likely happen after the first stable release of Rojo 6.0, so stay tuned!

Trying the Release Candidate

To install the Roblox Studio plugin, there are a few options now:

  • Run rojo plugin install from the Rojo 6 CLI
  • Download the attached Rojo.rbxm and install it manually
  • Install from the Roblox plugin page

There are now a few ways to download the Rojo CLI.

With Foreman

Add a line to the [tools] section in foreman.toml:

rojo = { source = "rojo-rbx/rojo", version = "6.0.0-rc.2" }

From GitHub Release

Download one of the attached binaries on this release page!

From the VS Code Extension

Change your release channel in the extension's setting page to 6.x:

unknown (11)

From Crates.io

You can use Cargo (1.43.1+) to build the release yourself from crates.io:

cargo install rojo --version 6.0.0-rc.2

All Changes Since 6.0.0-rc.1

  • Fixed crash when malformed CSV files are put into a project. (#310)
  • Fixed incorrect string escaping when producing Lua code from JSON files. (#314)
  • Fixed performance issues introduced in Rojo 6.0.0-rc.1. (#317)
  • Fixed rojo plugin install subcommand failing for everyone except Rojo developers. (#320)
  • Updated default place template to take advantage of #210.
  • Enabled glob ignore patterns by default and removed the unstable_glob_ignore feature.
    • globIgnorePaths can be set on a project to a list of globs to ignore.
  • The Rojo plugin now completes as much as it can from a patch without disconnecting. Warnings are shown in the console.
  • Fixed 6.0.0-rc.1 regression causing instances that changed ClassName to instead... not change ClassName.