Repository navigation
0.11.0-beta.2
Pre-releaseVersion 0.11.0-beta.2
Compatible with: Foundry VTT v14 only (minimum 14, verified on 14.365).
Manifest: https://github.com/Nimble-Co/FoundryVTT-Nimble/releases/download/0.11.0-beta.2/system.json
This is a beta. Expect more changes, and maybe more migrations, before the stable 0.11.0. Please report anything odd on the issue tracker, with a Support Report attached.
Back up your world. A world on 0.10.0 moves from schema 67 to schema 90, as in beta.1. A world on beta.1 is already at schema 90, and nothing runs.
This beta adds two windows and fixes a few things found in beta.1. Everything in 0.11.0-beta.1 is in it too. Read those notes first if you come from 0.10.0.
Until now, a migration ran the moment a GM loaded the world, and it changed every compendium copy in the world, including the spells and monsters you edited by hand. Now, when an update would change such a copy, the World Migration window opens first. It shows each copy that would change and where it lives, and you can keep a copy as it is before you start. When the migration ends, the window shows a report of what changed.
When something goes wrong, anyone at the table can now make a Support Report. It collects the errors and warnings since the world loaded, your versions, your active modules and the Nimble settings you changed, so a bug report has what we need to find the problem.
Additions / Changes
World Migration window
- [#1117] When an update would change a copy you made from a compendium, such as a spell on a character or a monster on a scene, the World Migration window opens for the GM before anything runs. An update that changes no copy still runs by itself and shows a short note. @Fronix
- [#1117] The left pane groups the copies By Item or By Actor. Click a group, and the right pane shows its copies, where each one lives, and what changes. Copies of one actor on tokens in one scene count as one row. @Fronix
- [#1117] Tick Choose Copies to keep a copy as it is. Untick it, and it keeps its old rules, effects and text. A ban icon marks a group where you kept some copies out. Changes with a lock icon still run, because they fix how the data is stored and the copy breaks without them. Untick Choose Copies again to put every copy back. @Fronix
- [#1117] Start Migration runs it. A progress bar fills, and each group gets a check when it is done. Later closes the window until the next GM login. @Fronix
- [#1117] Players who log in first see a note that the world waits for the GM. @Fronix
- [#1117] When the run ends, the window shows the Migration Report. It lists each migration that ran, how many documents it changed and the copies it changed, the copies you kept out, any errors, and the popups that showed during the run, each one once with a count. Copy Report copies the text. @Fronix
- [#1117] Older reports are under World Migration in the Nimble settings, newest first. @Fronix
- [#1117] If Foundry closes or an error stops the run, the window comes back at the next GM login with Continue Migration. The copies you kept out stay out, and the report says that the run picked up where an earlier one stopped. @Fronix
Support Report
- [#1118] Every user, players too, can open the Support Report from Game Settings, Configure Settings, Nimble, Open Support Report. @Fronix
- [#1118] From the moment the world loads, the report records Nimble console errors and warnings, uncaught errors from any module, and red or yellow popups. Each different message is kept once with a count, up to 200. The window lists the errors first. @Fronix
- [#1118] The report text adds your Foundry and Nimble versions, the active modules, the Nimble settings you changed and the last Migration Report. Select a token and tick Add the selected token's actor to add that creature too. @Fronix
- [#1118] The window links to a new GitHub issue, with the versions filled in, and to Discord. Save Report downloads the report as a text file, and Copy puts it on the clipboard. @Fronix
Documentation
- [#1117] Installation and First Steps explains the World Migration window, what to do if a migration stops, and how updates work. @Fronix
- [#1118] The docs say how to attach a Support Report to a problem report. @Fronix
For developers
- [#1115] Vitest 4.1.12. The unit tests run in worker threads, and Svelte style preprocessing is skipped under Vitest. The full suite takes 80 s in place of 319 s on a 32-core machine. The build and Storybook keep the full preprocess. @Fronix
- [#1117] Each migration has a plain-words
titleand akind: a structure change always runs, and a GM can keep a Compendium Copy out of a content change. Checklist migrations are content. @Fronix - [#1117] The runner plans first. A dry run applies the pending migrations to raw copies of actors, items, unlinked tokens, chat messages and world compendiums, writes nothing, and returns the changed documents, the copies each migration changes and the errors. Then the runner writes the plan. @Fronix
- [#1117]
migrate()is gone. Each migration that used it now works through hooks (updateActor,updateEffect,alwaysUpdateItem,alwaysUpdateEffect, the newupdateMessage), so the dry run sees every change. Migrations 004, 074, 085 to 089 moved. The unused journal, macro, table, token, scene and user hooks,requiresFlushandrunMigration()are gone. @Fronix - [#1117] The runner writes only what an unlinked token's delta holds, deletes the effects a migration removes from an embedded copy, and writes each document of a failed batch alone, so one bad document no longer stops its batch. @Fronix
- [#1118]
formatShortDatemoved to utils. The system version in the report issystemVersion, so the system id guard test passes. @Fronix - [#1120] The Rules Builder test renders through a harness, so tsc resolves the component and not its state file. @Fronix
Fixes
Rules Builder
- [#1120] A rule dropped on an item with no rules, or below the last rule of a list, was lost, because the list had no drop target then. Now the list always shows and fills the panel, with the empty message as a row, on the item's Rules tab and in the Rules Builder. @Fronix
Attacks
- [#1120] A Dagger with a quantity of 2 gave no Dual wield tick, because the check looked only for a second weapon item. Now an equipped weapon with a quantity of 2 or more counts as its own second weapon. A separate equipped weapon is still found first. @Fronix
Windows
- [#1120] In the dark theme, a click on the image or the name of an item or effect window did nothing, because Foundry's header took the click. Now you can change both in either theme. @Fronix
- [#1120] In the light theme, a drag on the head of an item window did not move the window. Now it does, and only the image and the name sit over the header. @Fronix
- [#1118] Brand icons, such as the GitHub and Discord logos, lost their font inside Nimble windows. @Fronix
Behaviour changes
- [#1117] A migration that changes a compendium copy in your world no longer runs the moment the GM loads the world. The World Migration window opens first, and nothing changes until the GM clicks Start Migration. A world coming from 0.10.0 sees the window, because beta.1's migrations change many copies. @Fronix
- [#1117] Later leaves the world unmigrated until the next GM login. @Fronix
Migrations
No new migrations. The schema stays at 90. Migrations 004, 074 and 085 to 089 now make their changes through the migration hooks, so the World Migration window can show them first.
Contributors: @Fronix
If you want to support further system development, please consider joining or tipping one of the contributors on their Patreon or Ko-fi page.