Skip to content

Cmdr v1.12.0

Latest
Compare
Choose a tag to compare
@autonordev autonordev released this 09 Jul 22:17
· 38 commits to master since this release

Warning: This update includes a critical security fix

Your attention is drawn to this this security advisory.


  • Add convertTimestamp default command, outputs a human-readable timestamp from epoch seconds
  • Add positiveInteger, nonNegativeInteger, byte (0-255), digit (0-9) built-in types (including respective plural types)
  • Add json built-in type, takes in a Json string and provides a Luau table
  • Add internal IsServer assertions for RegisterDefaultCommands and commandServerScript
  • Add 'tips' to the help command output
  • Make window scroll to bottom on input
  • Make fuzzy finders search the entire string, rather than looking at the start
  • Make autocomplete menu scrollable
  • Fix window not resizing on clear
  • Remove global initialization scripts feature for security reasons

If you relied on the global initialization scripts feature (for instance - to register aliases) you should use CmdrClient.Dispatcher:Run("insert command string").

User-specific initialization scripts have not been removed and will continue to run.

More on global initialization scripts

You can get closer to the previous global initialization scripts feature by running these three commands as part of your CmdrClient:

  1. alias \"init-edit-global|Edit the global initialization script for all users\" edit ${var $init} \\\\\n && var= $init ||
  2. alias \"init-run-global|Re-runs the global initialization script manually.\" run-lines ${var $init}
  3. init-run-global

Your existing global initialization scripts will continue to work, so long as run-lines ${var $init} continues to be executed.

We recommend avoiding this behaviour, as described in the security advisory linked above, this could lead to a security incident.

Pull Requests

  • Implement auto scroll to the bottom of the canvas on user text input by @anyastrophic in #263
  • Fix Window Resizing by @wilyt1 in #265
  • Add Command to Convert Timestamp by @wilyt1 in #266
  • Delay Updating the Window Height by @wilyt1 in #273
  • Add More Number Types by @wilyt1 in #275
  • Improve FuzzyFind/AutoComplete by @Sxribe in #269
  • Fix AutoComplete Menu Max Size by @wilyt1 in #268
  • init-edit and init-edit-global permission fix by @noatblok in #279
  • Add JSON Type by @wilyt1 in #274
  • Implement Errors for commandServerScript and RegisterDefaultCommands by @wilyt1 in #277
  • Add Tips To Help Command by @wilyt1 in #278

New Contributors

  • @anyastrophic made their first contribution in #263
  • @Sxribe made their first contribution in #269
  • @noatblok made their first contribution in #279

Full Changelog: v1.11.0...v1.12.0