All user data for FoundryVTT. Includes worlds, systems, modules, and any asset in the "foundryuserdata" directory. Does NOT include the FoundryVTT installation itself.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

523 lines
22 KiB

1 year ago
  1. ## 1.13.8
  2. ### Bugfixes
  3. - `getMovedDistanceFromToken` no longer returns incorrect values on gridless maps
  4. ## 1.13.7
  5. ### Compatibility
  6. - Drag Ruler's generic speed provider is now aware of good defaults for the Crucible game system
  7. ## 1.13.6
  8. ### Bugfixes
  9. - Fixed a bug that caused no measurements to be shown next to the ruler
  10. - Fixed a bug where diagonal paths would sometimes highlight squares that don't blong to the path on square maps
  11. ## 1.13.5
  12. ### Compatibility
  13. - Drag Ruler is now compatible with Foundry VTT v11 (thanks to pkonshik for doing much of the porting work!)
  14. - Drag Ruler's generic speed provider is now aware of good defaults for Warhammer Fantasy Roleplay 4th Edition
  15. ### Translations
  16. - Updated Portugese (Brazil) translation (thanks eunaumtenhoid!)
  17. ## 1.13.4
  18. ### Translations
  19. - New translation: Portuguese (Brazil) (thanks eunaumtenhoid!)
  20. - Foundry should now be able to detect the Simplified Chenese translation properly
  21. ## 1.13.3
  22. ### Translations
  23. - New translation: Chinese (Simplified) (thanks bnp800!)
  24. ## 1.13.2
  25. ### Bugfixes
  26. - Fixed a bug that prevented pathfinding on hex to work when the hex size support module is not installed
  27. ## 1.13.1
  28. ### Bugfixes
  29. - Fixed a bug that caused large hex tokens to not snap correctly
  30. - Fixed a bug that prevented Drag Ruler from working on hex grids at all if the Hex Size Support module is enabled
  31. - Fixed a bug that prevented Enhanced Terrain Layer from determining dragged moving token
  32. - Fixed several deprecation warnings
  33. ### Translations
  34. - Updated the english text for several UI items
  35. - Updated the german translation
  36. - Updated the french translation (thanks rectulo!)
  37. ## 1.13.0
  38. ### Breaking changes
  39. - Drag Ruler's pathfinder has been extracted into a dedicated library module. If you'd like to continue to use Drag Ruler's pathfinding feature, please install [routinglib](https://foundryvtt.com/packages/routinglib) alongside Drag Ruler.
  40. - Drag Ruler's API no longer supports the function `getCostForStep`. Instead, module authors are asked to use [Enhanced Terrain Layer's game system integration API](https://github.com/ironmonk88/enhanced-terrain-layer/blob/main/README.md#integrating-game-system-rules) to introduce game system specific terrain rules.
  41. ### New features
  42. - Drag Ruler's pathfinding will now be running as a background task. This means that Foundry will no longer freeze while Drag Ruler is calculating a path.
  43. - Drag Ruler's pathfinding will now take difficult terrain into account on griddes scenes
  44. ### Bug fixes
  45. - Fixed a bug that would cause gridless snapping to snap slightly below the allowed range
  46. ### Compatibility
  47. - Drag Ruler is now compatible with Foundry VTT v10
  48. - Drag Ruler's compatibility with the Wall Height module is restored
  49. ## 1.12.8
  50. ### Bugfixes
  51. - Fixed a bug that could cause grid cells to be highlighted in the wrong color
  52. ### Compatibility
  53. - Fixed an interaction with the Wall Height module that could allow players to walk through walls
  54. ## 1.12.7
  55. ### Bugfixes
  56. - Fixed a bug that caused measurement templates to only snap to the corners of the grid (this was a regression introduced in 1.12.5)
  57. ## 1.12.6
  58. ### Bugfixes
  59. - Measured templates no longer snap to a virtual grid on gridless scenes (this was a regression introduced in 1.12.5)
  60. ## 1.12.5
  61. ### Compatibility
  62. - Drag Ruler is now compatible with DF Template Enhancements
  63. ## 1.12.4
  64. ### Bugfixes
  65. - Fixed a bug that could cause Drag Ruler to override the default ruler color on other player's clients
  66. ## 1.12.3
  67. ### Bugfixes
  68. - Fixed a bug that could cause foundry to freeze indefinitely when trying to pathfind to an unreachalbe location (thanks to JDCalvert)
  69. - Fixed a bug that caused the pathfinder to route through one-directional walls from the wrong direction (thanks to JDCalvert)
  70. - Fixed a bug that could cause Drag Ruler to write errors into the JS console during regular usage
  71. ### Compatibility
  72. - Drag Ruler's generic speed provider is now aware of good defaults for DnD 4th Edition
  73. - Drag Ruler's pathfinder should now be compatible with the Wall Height and Levels modules (thanks to JDCalvert)
  74. ## 1.12.2
  75. ### Bugfixes
  76. - Fixed a bug where the pathfinder on gridless scenes sometimes wasn't able to find a way around corners with specific angles
  77. - Pathfinding will now be disabled when the hotkey to move tokens without animation is being pressed, to allow GMs to move their tokens through walls
  78. ## 1.12.1
  79. ### Hotfix
  80. - Version 1.12.0 was incorrectly packaged, which caused it to fail to load
  81. ## 1.12.0
  82. ### New features
  83. - Pathfinding is now supported on gridless scenes
  84. ## 1.11.5
  85. ### Bugfixes
  86. - Fixed a bug that was causing Drag Ruler to spam useless warnings into the console (this was a regression introduced in 1.11.4)
  87. ## 1.11.4
  88. ### Bugfixes
  89. - When changing the measurement mode via a keybinding (toggle snaping or toggle pathfinding) the updated ruler will now be sent to other players immediately
  90. - Fixed a bug that incorrectly showed a ruler to be snapped to other players despite the ruler not being snapped
  91. - Fixed a bug that could cause a token to move to an incorrect location if the token was being dragged and dropped very rapidly
  92. - Drag Ruler's token movement animations can now be properly waited for (this improves the interaction with modules like sequencer)
  93. ### Translation
  94. - Updated Spanish translation (thanks to Viriato139ac#342)
  95. ## 1.11.3
  96. ### Bugfixes
  97. - The setting to automatically start pathfinding is now visible to players again (this was a regression introduced in 1.11.2)
  98. - Fixed a bug that would show the measurements of other players as if they were using the pathfinder, even if they were not using it.
  99. ## 1.11.2
  100. ### Bugfixes
  101. - Fixed a memory leak that could cause the rule to slow down after using the pathfinding functionality for a while
  102. ### Misc
  103. - GMs are now always allowed to use the pathfinding tool. The setting now only prevents players from using it.
  104. ### Compatibility
  105. - Drag Ruler's generic speed provider is now aware of good defaults for Dungeonslayers 4
  106. ## 1.11.1
  107. ### Bugfixes
  108. - Fixed a bug that would cause the pathfinding algorithm to make tokens of size 2 and 4 to take an unnecessary step
  109. ## 1.11.0
  110. ### New features
  111. - Drag Ruler now supports pathfinding. Pressing the assigned button will automatically calculate the shortest route to the point you're dragging your token to and add the necessary waypoints to the ruler.
  112. - This feature is only available for gridded maps
  113. - This feature can only be used if it's enabled by the GM in the module settings
  114. - The routing algorithm *does not* take difficult terrain into account
  115. ## 1.10.3
  116. ### Compatibility
  117. - This release contains changes required to be compatible with Foundry 9.245
  118. ## 1.10.2
  119. ### Bugfixes
  120. - Fixed a bug that could cause squares to be highlighted in the wrong color when using waypoints on a 5/10/5 gird
  121. - When using Token Drag Vision, the temporary vision is now correctly cleaned up when dropping the token (resolves a conflict with the "Perfect Vision" module)
  122. ## 1.10.1
  123. ### Bugfixes
  124. - Fixed a bug that caused keybindings to break if no scene is active
  125. ### Translation
  126. - Updated Spanish translation (thanks to Viriato139ac#342)
  127. ## 1.10.0
  128. **BREAKING** Drag Ruler 1.10.0 and onward cannot update directly from Drag Ruler versions older than 1.3.0. If you've been using Drag Ruler 1.2.2 or earlier in your world make sure to update to any Version between (inclusive) Drag Ruler 1.3.0 and 1.9.1, launch your world and log in as GM at least once. After doing so you can safely update to v1.10.0 or newer versions. Updating directly from 1.2.2 or older to 1.10.0 or newer will cause Drag Ruler to forget your Speed Prover Settings.
  129. ### New features
  130. - Drag Ruler's key bindings can now be assigned to custom keys by the user
  131. - Measuring difficult terrain on gridded maps with euclidean grid rule is now supported (for this to work the `Terrain Ruler` module needs to be enabled)
  132. ### Compatibility
  133. - Drag Ruler now supports Foundry v9
  134. - Drag Ruler now utilizes libwrapper to increase interoperability with other modules
  135. ### Translation
  136. - Added french translation (thanks to Elfenduli)
  137. - Updated japanese translation (thanks to touge)
  138. ## 1.9.1
  139. ### Bugfixes
  140. - Fixed a bug that caused the ruler to misbehave or not show up at all if the speed provider isn't configured (this was a regression introduced in 1.9.0)
  141. ### Translation
  142. - Updated the spaish translation (thanks to Viriato139ac#342)
  143. ## 1.9.0
  144. ### New features
  145. - On Gridless scenes, tokens can now snap to their speed limits, to make full usage of a token's movement speed easier. This feature can be temporarily disabled by pressing Shift during drag and can be disabled completely in the settings.
  146. ### Bugfixes
  147. - Non-square tokens (e.g. 2x1) now work correctly on square grids
  148. - When modifying difficult terrain that a token has already moved over, this the movement history of the token won't change anymore (this was a regression introduced in 1.8.0)
  149. - Fixed a bug that prevented pausing/unpausing the game when no scene was active
  150. ### API
  151. - Added `dragRuler.getColorForDistanceAndToken` API endpoint that allows other modules to receive the highlight color for a specified distance with a given token.
  152. ## 1.8.2
  153. ### Compatibility
  154. - The generic speed provider defaults have been updated for lance 1.0 (thanks to BoltsJ!)
  155. - Eliminated a deprecation warning when both Drag Ruler and Hex Size Support are enabled (thanks Argonius-Angelus!)
  156. ## 1.8.1
  157. ### Bugfixes
  158. - Fixed a bug where the function that was bound to the spacebar key wouldn't work correctly when the "Toggle Snap To Grid" module was enabled
  159. ### Translation
  160. - Updated Spanish translation (thanks to Viriato139ac#342)
  161. ## 1.8.0
  162. ### New features
  163. - Pressing escape during a drag now cancels the drag
  164. - Undoing a movement via Ctrl+Z will now also remove that movement from Drag Ruler's movement history
  165. - Drag Ruler can now configured to stay disabled by default when a Token/Template is being dragged. In that case it will activate once the button to place a waypoint is being pressed.
  166. ### Bugfixes
  167. - Fixed a bug that caused the ruler to snap to grid when a waypoint was deleted while shift was being pressed (thanks to Michael Clavell!)
  168. - Fixed a bug that could leave behind a single waypoint on the canvas when canceling a dragging operation while moving the mouse
  169. ### Compatibility
  170. - Drag Ruler is now compatible with the "Toggle Snap To Grid" module (thanks to Michael Clavell!)
  171. ## 1.7.7
  172. ### Compatibility
  173. - Updated the default settings for the swade game system. The new default speed attribute points to a speed value that gets adjusted for wounds.
  174. ## 1.7.6
  175. ### Translation
  176. - Added Korean translation (thanks to KLO#1490)
  177. - Added Spanish translation (thanks to Viriato139ac#342)
  178. ### Compatibility
  179. - Drag Ruler's Generic Speed Provider is now awar of good default values for the "Call of Cthulhu 7th edition (Unofficial)" game system
  180. - Drag Ruler is now compatible with Foundry 0.8.8
  181. ## 1.7.5
  182. ### Bugfixes
  183. - Decimal speeds (as often used in metric game systems) are no longer being rounded down (thanks to DarKDinDoN for diagnosing this bug)
  184. ## 1.7.4
  185. ### Bugfixes
  186. - Fixed a bug where the ruler would wrongly snap to the grid center for other players when dragging a measurement template
  187. ### Compatibility
  188. - Drag Ruler is now compatiblie with the "Monk's Active Tile Triggers" module
  189. - Drag Ruler's Generic Speed Provider is now aware of good default values for the D&D 3.5 game system
  190. - Drag Ruler is now compatible with Foundry 0.8.7
  191. ## 1.7.3
  192. ### Compatibility
  193. - Drag Ruler is now compatible with Foundry 0.8.5
  194. ## 1.7.2
  195. ### Bugfixes
  196. - Fixed a bug that prevented waypoints for measurement templates from snapping to any other point than a grid cell corner (or grid cell center on hex)
  197. - Fixed a bug that could cause the ruler to not end up at the token's center (especially if the token is being moved very quickly and then stopped abruptly)
  198. ## 1.7.1
  199. ### Bugfixes
  200. - Fixed a bug that prevented players from moving their tokens ([#74](https://github.com/manuelVo/foundryvtt-drag-ruler/issues/74))
  201. ## 1.7.0
  202. **BREAKING** This update is incompatible with previous Terrain Ruler versions. If you're using Terrain Ruler, make sure you update Terrain Ruler to at least version 1.3.0.
  203. ### New features
  204. - A ruler will now be shown when dragging measurement templates over the map ([#13](https://github.com/manuelVo/foundryvtt-drag-ruler/issues/13))
  205. - Drag Ruler can now measure difficult terrain on gridless maps (if the Terrain Ruler module is installed and enabled)
  206. - Improved the positioning of the labels around the ruler. The labels should now never overlap with the waypoint.
  207. ### Bugfixes
  208. - Fixed a bug that sometimes measured diagonals incorrectly with the 5/10/5 grid rule
  209. - Fixed a bug that would cause the ruler to re-measure when the shift key is being pressed or released while a token is moving
  210. ### Compatibility
  211. - Drag Ruler's Generic Speed Provider is now aware of good default values for the Starfinder game system
  212. ### Translation
  213. - Corrected typos in the german translation (thanks to CarnVanBeck!)
  214. ### API
  215. - The old API that Drag Ruler offered prior to version 1.3.0 is now deprecated. Speed Providers that still use this API will continue to work for now, but will generate a warning in the console about the deprecation. All modules and game systems offered on the FoundryVTT website have already updated to the new API. If you see the deprecation warning, please consider updating to the current version of the respective system/module you're using.
  216. ## 1.6.5
  217. ### Bugfixes
  218. - Drag Ruler no longer gets stuck if the user presses ESC during drag ([#70](https://github.com/manuelVo/foundryvtt-drag-ruler/issues/70))
  219. ## 1.6.4
  220. ### Bugfixes
  221. - Fixed a bug where a bug in a Speed Provider could lead to the ruler getting stuck, leaving the token immovable
  222. ## 1.6.3
  223. ### Bugfixes
  224. - If the movement history for a token is being updated (for example by a history reset by the gm) while a player is currently measuring a distance for that token the history change is now being reflected in the active measurement.
  225. ### Compatibility
  226. - Drag Ruler's Generic SpeedProvider is now aware of good default values for the Savage Worlds Adventure Edition game system
  227. ## 1.6.2
  228. ### Bugfixes
  229. - The reset movement history button now resets the movement history for all players, not just for the GM
  230. ## 1.6.1
  231. ### API
  232. - Added `onMovementHistoryUpdate` callback to Speed Providers, that allows them to perform game systems specific improvements to the movement history
  233. - Added `dragRuler.resetMovementHistory` that clears the stored movement history for a token.
  234. ## 1.6.0
  235. ### Performance
  236. - Greatly increased the performance when playing on huge maps and when moving many tokens at once.
  237. - Huge performance improvements for speed providers. (Technical details: `getRanges` is now being called way less frequently)
  238. ### New features
  239. - GMs now have an option to reset the movement history for individual tokens in the right click menu of the combat tracker
  240. - When releasing a dragged token while pressing Alt the token will be moved to the target location without an animation ([#3](https://github.com/manuelVo/foundryvtt-drag-ruler/issues/3))
  241. ### Bugfixes
  242. - When starting to drag a new token while the previous one is still moving the ruler won't dissappear anymore when the previous token arrives at it's destination.
  243. ## 1.5.4
  244. ### Bugfixes
  245. - Fixed a bug that prevented tokens from being moved when their movement history collides with a wall. ([#61](https://github.com/manuelVo/foundryvtt-drag-ruler/issues/61))
  246. ## 1.5.3
  247. ### Compatiblilty
  248. - Drag Ruler's Generic Speed Provider is now able to work with game systems that put non-number characters behind the tokens movement speed (like `30ft.`). One example for such a game system is Dungeon Crawl Classics. ([#60](https://github.com/manuelVo/foundryvtt-drag-ruler/issues/60))
  249. - The Generic Speed Provider now has good default settings for the Dungeon Crawl Classics (dcc) game system.
  250. ## 1.5.2
  251. ### Bugfixes
  252. - Drag Ruler no longer prevents tokens that don't have an actor from being moved. ([#58](https://github.com/manuelVo/foundryvtt-drag-ruler/issues/58))
  253. - Grid highlighting now also works for tokens that don't have an actor.
  254. ## 1.5.1
  255. ### Bugfixes
  256. - The hint that tells users how to enable difficult terrain measurement in Drag Ruler is no longer shown if no terrain layer module is installed.
  257. ## 1.5.0
  258. ### New features
  259. - In combat Drag Ruler will now remember the path that was taken by a token during the turn. Picking the token up during the same turn will continue the previous measurement, taking steps that are already taken into account.
  260. ### Module compatibility
  261. - Drag Ruler is now fully compatible with the `Enhanced Terrain Layer` module. ([#50](https://github.com/manuelVo/foundryvtt-drag-ruler/issues/50))
  262. ## 1.4.6
  263. ### Bugfixes
  264. - Fixed a bug where a token would move to the incorrect location if it is was dragged and released very quickly ([#51](https://github.com/manuelVo/foundryvtt-drag-ruler/issues/51)) - thanks to Silver Raven for helping me track down this bug!
  265. ## 1.4.5
  266. ### Bugfixes
  267. - Tiny tokens (0.5x0.5 or smaller) now snap to the coners of a square like they do in vanilla foundry ([#49](https://github.com/manuelVo/foundryvtt-drag-ruler/issues/49))
  268. - Fixed a bug that could cause a meausred distance to be wrong when disabling token snapping using the shift key
  269. - Fixed a bug where the highlighted path could have gaps when disabling token snapping using the shift key
  270. ## 1.4.4
  271. ### Bugfixes
  272. - Fix snapping for tokens that are smaller than 1x1
  273. ## 1.4.3
  274. ### System compatibility
  275. - Drag Ruler's Generic SpeedProvider is now aware of good default values for the Savage Worlds Adventure Edition game system
  276. ### Translation
  277. - Added german translation
  278. - Updated japanese translation (thanks to touge)
  279. ## 1.4.2
  280. ### Bugfixes
  281. - Drag Ruler now works again on gridless maps
  282. ## 1.4.1
  283. ### Bugfixes
  284. - Fixed a bug where Drag Ruler wouldn't work at all on hex grids when the Hex Token Size Support isn't installed
  285. ### Translation
  286. - Added chinese translation (thanks to zeteticl)
  287. ## 1.4.0
  288. ### New features
  289. - If the [Terrain Ruler module](https://foundryvtt.com/packages/terrain-ruler/) is installed and activated, Drag Ruler will now take difficult terrain that was placed with the [TerrainLayer module](https://foundryvtt.com/packages/TerrainLayer/) into account.
  290. - The ruler will now always be drawn from the tokens center (even for tokens larger than 1x1) on all grid types (on Hex Grids this requires the Hex Token Size Support module).
  291. - For tokens larger than 1x1 the highlighted path will now reflect the tokens size (on Hex Grids this requires the Hex Token Size Support module)
  292. - The GM's Drag Ruler can now be hidden from non GM players via a setting.
  293. - When multiple different colors apply to a single grid space because the path crosses itself the color representing ranges further away will take priortiy over colors representing closer ranges.
  294. ### API
  295. - Speed providers can now selectively ignore difficult terrain and even implement their own cost functions, if the default Drag Ruler behavior doesn't fit the game system. This can be achieved by overriding the new, optional `SpeedProvider` function `getCostForStep`.
  296. ## 1.3.5
  297. ### Bugfixes
  298. - Fixed a regression where spaces could suddenly change their color during measurement
  299. ## 1.3.4
  300. ### Module compatibility
  301. - Increased compatiblility with other modules (namely Drag Ruler and Terrain Ruler are no longer incompatible)
  302. ## 1.3.3
  303. ### Bugfixes
  304. - Speed Provider Settings are now being saved for non GM players
  305. ## 1.3.2
  306. ### Translation
  307. - Updated japanese translation (thanks to touge)
  308. ## 1.3.1
  309. ### Bugfixes
  310. - Fixed a bug where the coloring of ranges wouldn't work with the generic speed provider if the Dash Multiplier was set to 0
  311. ## 1.3.0
  312. ### New features
  313. - The color used to indicate speed ranges is now configurable
  314. - The settings dialog has been reworked
  315. ### System compatibility
  316. - Drag Ruler's Generic SpeedProvider is now aware of good default values for the lancer game system (thanks to Grygon)
  317. ### API changes
  318. This release introduces a new API that is incompatible with the old API. The new API offers more flexibility for users and Speed Providers alike and allows to add new features in the future without breaking compatibility again. The old API will continue to function, but to profit from any of the features below Speed Providers need to switch to the new API. For more details check out the API documentation.
  319. The following things have changed with the new API:
  320. - Colors used by speed providers can now be changed by the user via configuration
  321. - Speed Providers can now offer settings to the user that will be integrated into Drag Ruler's settings menu
  322. - Speed Providers can now conditionally disable Drag Ruler for some tokens
  323. ## 1.2.2
  324. ### Translation
  325. - Added japanese translation (thanks to touge)
  326. ## 1.2.1
  327. ### Compatiblity
  328. - Drag Ruler is now compatible with Hex Token Size Support. For compatibility Hex Token Size Support Version 0.5.4 or higher is required. Thanks to Ourobor for helping making this possible.
  329. ## 1.2.0
  330. ### New features
  331. - Right click and spacebar can now be swapped, allowing to place waypoints with right click and removing them with spacebar
  332. - The module can now be configured use a fixed color instead of the player color for the first speed range
  333. - On gridless maps the ruler will now change it's color to indicate the different speed ranges
  334. - As an alternative to right click (or spacebar, if you have swapped right and spacebar behavior) waypoints can now also be deleted with the `X` key
  335. ### Bugfixes
  336. - Disabling snap to grid with shift now works as expected
  337. - Fixed a bug where the ruler would sometimes jump to a different target location when deleting a waypoint
  338. ## 1.1.1
  339. ### Bugfixes
  340. - Fixed a bug where tokens wouldn't be moved to the corect end position on gridless maps
  341. - Ruler now appears immediately when the token is being dragged
  342. - On gridless maps the ruler will always start measuring at the center of the token
  343. - This change has no impact on the distance that is being measured
  344. - In addition to the cosmetical aspect this also fixes a bug that allowed players to glitch through walls
  345. ## 1.1.0
  346. ### New features
  347. - The drag ruler will now be colored for other players than the dragging player as well (only if they have at least observer permissions for that token)
  348. - The drag ruler won't be shown to other players if they cannot see the dragged token
  349. ### Bugfixes
  350. - Fixed a bug where Drag Ruler wouldn't work at all on some windows installations (specificially where the `foundry.js` has `CRLF` line endings)
  351. ## 1.0.1
  352. ### Bugfixes
  353. - The GM can now move tokens through walls
  354. - It is now possible to move multiple tokens with Drag Ruler enabled