diff --git a/gradle.properties b/gradle.properties index e180e723d..468058536 100644 --- a/gradle.properties +++ b/gradle.properties @@ -5,7 +5,7 @@ kotlin.stdlib.default.dependency=false kotlin.jvm.target.validation.mode=error # Mod properties -modVersion=1.100.10 +modVersion=1.101.0 # Minecraft properties: We want to configure this here so we can read it in settings.gradle mcVersion=1.16.5 diff --git a/src/main/java/dan200/computercraft/shared/command/CommandComputerCraft.java b/src/main/java/dan200/computercraft/shared/command/CommandComputerCraft.java index a71235e74..fb68d06b3 100644 --- a/src/main/java/dan200/computercraft/shared/command/CommandComputerCraft.java +++ b/src/main/java/dan200/computercraft/shared/command/CommandComputerCraft.java @@ -372,8 +372,7 @@ private static BasicComputerMetricsObserver getMetricsInstance( CommandSource so private static final List DEFAULT_FIELDS = Arrays.asList( new AggregatedMetric( Metrics.COMPUTER_TASKS, Aggregate.COUNT ), new AggregatedMetric( Metrics.COMPUTER_TASKS, Aggregate.NONE ), - new AggregatedMetric( Metrics.COMPUTER_TASKS, Aggregate.AVG ), - new AggregatedMetric( Metrics.COMPUTER_TASKS, Aggregate.MAX ) + new AggregatedMetric( Metrics.COMPUTER_TASKS, Aggregate.AVG ) ); private static int displayTimings( CommandSource source, AggregatedMetric sortField, List fields ) throws CommandSyntaxException diff --git a/src/main/resources/data/computercraft/lua/rom/help/changelog.md b/src/main/resources/data/computercraft/lua/rom/help/changelog.md index 87881bae4..adf11b1c9 100644 --- a/src/main/resources/data/computercraft/lua/rom/help/changelog.md +++ b/src/main/resources/data/computercraft/lua/rom/help/changelog.md @@ -1,10 +1,28 @@ +# New features in CC: Tweaked 1.101.0 + +* Improvee Dutch translation (Quezler) +* Better reporting of fatal computer timeouts in the server log. +* Convert detail providers into a registry, allowing peripheral mods to read item/block details. +* Redesign the metrics system. `/computercraft track` now allows computing aggregates (total, max, avg) on any metric, not just computer time. +* File drag-and-drop now queues a `file_transfer` event on the computer. The + built-in shell or the `import` program must now be running to upload files. +* The `peripheral` now searches for remote peripherals using any peripheral with the `peripheral_hub` type, not just wired modems. +* Add `include_hidden` option to `fs.complete`, which can be used to prevent hidden files showing up in autocomplete results. (IvoLeal72) +* Add `shell.autocomplete_hidden` setting. (IvoLeal72) + +Several bug fixes: +* Prevent `edit`'s "Run" command scrolling the terminal output on smaller + screens. +* Remove some non-determinism in computing item's `nbt` hash. +* Don't set the `Origin` header on outgoing websocket requests. + # New features in CC: Tweaked 1.100.10 * Mention WAV support in speaker help (MCJack123). * Add http programs to the path, even when http is not enabled. Several bug fixes: -* Fix example in textutils.pagedTabulate docs (IvoLeal72). +* Fix example in `textutils.pagedTabulate` docs (IvoLeal72). * Fix help program treating the terminal one line longer than it was. * Send block updates to client when turtle moves (roland-a). diff --git a/src/main/resources/data/computercraft/lua/rom/help/whatsnew.md b/src/main/resources/data/computercraft/lua/rom/help/whatsnew.md index 19c5d921f..874b04d8a 100644 --- a/src/main/resources/data/computercraft/lua/rom/help/whatsnew.md +++ b/src/main/resources/data/computercraft/lua/rom/help/whatsnew.md @@ -1,11 +1,19 @@ -New features in CC: Tweaked 1.100.10 +New features in CC: Tweaked 1.101.0 -* Mention WAV support in speaker help (MCJack123). -* Add http programs to the path, even when http is not enabled. +* Improvee Dutch translation (Quezler) +* Better reporting of fatal computer timeouts in the server log. +* Convert detail providers into a registry, allowing peripheral mods to read item/block details. +* Redesign the metrics system. `/computercraft track` now allows computing aggregates (total, max, avg) on any metric, not just computer time. +* File drag-and-drop now queues a `file_transfer` event on the computer. The + built-in shell or the `import` program must now be running to upload files. +* The `peripheral` now searches for remote peripherals using any peripheral with the `peripheral_hub` type, not just wired modems. +* Add `include_hidden` option to `fs.complete`, which can be used to prevent hidden files showing up in autocomplete results. (IvoLeal72) +* Add `shell.autocomplete_hidden` setting. (IvoLeal72) Several bug fixes: -* Fix example in textutils.pagedTabulate docs (IvoLeal72). -* Fix help program treating the terminal one line longer than it was. -* Send block updates to client when turtle moves (roland-a). +* Prevent `edit`'s "Run" command scrolling the terminal output on smaller + screens. +* Remove some non-determinism in computing item's `nbt` hash. +* Don't set the `Origin` header on outgoing websocket requests. Type "help changelog" to see the full version history.