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.

487 lines
21 KiB

1 year ago
  1. ## 1.13.2
  2. ### Bugfixes
  3. - Fixed a bug that prevented pathfinding on hex to work when the hex size support module is not installed
  4. ## 1.13.1
  5. ### Bugfixes
  6. - Fixed a bug that caused large hex tokens to not snap correctly
  7. - Fixed a bug that prevented Drag Ruler from working on hex grids at all if the Hex Size Support module is enabled
  8. - Fixed a bug that prevented Enhanced Terrain Layer from determining dragged moving token
  9. - Fixed several deprecation warnings
  10. ### Translations
  11. - Updated the english text for several UI items
  12. - Updated the german translation
  13. - Updated the french translation (thanks rectulo!)
  14. ## 1.13.0
  15. ### Breaking changes
  16. - 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.
  17. - 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.
  18. ### New features
  19. - 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.
  20. - Drag Ruler's pathfinding will now take difficult terrain into account on griddes scenes
  21. ### Bug fixes
  22. - Fixed a bug that would cause gridless snapping to snap slightly below the allowed range
  23. ### Compatibility
  24. - Drag Ruler is now compatible with Foundry VTT v10
  25. - Drag Ruler's compatibility with the Wall Height module is restored
  26. ## 1.12.8
  27. ### Bugfixes
  28. - Fixed a bug that could cause grid cells to be highlighted in the wrong color
  29. ### Compatibility
  30. - Fixed an interaction with the Wall Height module that could allow players to walk through walls
  31. ## 1.12.7
  32. ### Bugfixes
  33. - 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)
  34. ## 1.12.6
  35. ### Bugfixes
  36. - Measured templates no longer snap to a virtual grid on gridless scenes (this was a regression introduced in 1.12.5)
  37. ## 1.12.5
  38. ### Compatibility
  39. - Drag Ruler is now compatible with DF Template Enhancements
  40. ## 1.12.4
  41. ### Bugfixes
  42. - Fixed a bug that could cause Drag Ruler to override the default ruler color on other player's clients
  43. ## 1.12.3
  44. ### Bugfixes
  45. - Fixed a bug that could cause foundry to freeze indefinitely when trying to pathfind to an unreachalbe location (thanks to JDCalvert)
  46. - Fixed a bug that caused the pathfinder to route through one-directional walls from the wrong direction (thanks to JDCalvert)
  47. - Fixed a bug that could cause Drag Ruler to write errors into the JS console during regular usage
  48. ### Compatibility
  49. - Drag Ruler's generic speed provider is now aware of good defaults for DnD 4th Edition
  50. - Drag Ruler's pathfinder should now be compatible with the Wall Height and Levels modules (thanks to JDCalvert)
  51. ## 1.12.2
  52. ### Bugfixes
  53. - Fixed a bug where the pathfinder on gridless scenes sometimes wasn't able to find a way around corners with specific angles
  54. - 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
  55. ## 1.12.1
  56. ### Hotfix
  57. - Version 1.12.0 was incorrectly packaged, which caused it to fail to load
  58. ## 1.12.0
  59. ### New features
  60. - Pathfinding is now supported on gridless scenes
  61. ## 1.11.5
  62. ### Bugfixes
  63. - Fixed a bug that was causing Drag Ruler to spam useless warnings into the console (this was a regression introduced in 1.11.4)
  64. ## 1.11.4
  65. ### Bugfixes
  66. - When changing the measurement mode via a keybinding (toggle snaping or toggle pathfinding) the updated ruler will now be sent to other players immediately
  67. - Fixed a bug that incorrectly showed a ruler to be snapped to other players despite the ruler not being snapped
  68. - Fixed a bug that could cause a token to move to an incorrect location if the token was being dragged and dropped very rapidly
  69. - Drag Ruler's token movement animations can now be properly waited for (this improves the interaction with modules like sequencer)
  70. ### Translation
  71. - Updated Spanish translation (thanks to Viriato139ac#342)
  72. ## 1.11.3
  73. ### Bugfixes
  74. - The setting to automatically start pathfinding is now visible to players again (this was a regression introduced in 1.11.2)
  75. - 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.
  76. ## 1.11.2
  77. ### Bugfixes
  78. - Fixed a memory leak that could cause the rule to slow down after using the pathfinding functionality for a while
  79. ### Misc
  80. - GMs are now always allowed to use the pathfinding tool. The setting now only prevents players from using it.
  81. ### Compatibility
  82. - Drag Ruler's generic speed provider is now aware of good defaults for Dungeonslayers 4
  83. ## 1.11.1
  84. ### Bugfixes
  85. - Fixed a bug that would cause the pathfinding algorithm to make tokens of size 2 and 4 to take an unnecessary step
  86. ## 1.11.0
  87. ### New features
  88. - 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.
  89. - This feature is only available for gridded maps
  90. - This feature can only be used if it's enabled by the GM in the module settings
  91. - The routing algorithm *does not* take difficult terrain into account
  92. ## 1.10.3
  93. ### Compatibility
  94. - This release contains changes required to be compatible with Foundry 9.245
  95. ## 1.10.2
  96. ### Bugfixes
  97. - Fixed a bug that could cause squares to be highlighted in the wrong color when using waypoints on a 5/10/5 gird
  98. - 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)
  99. ## 1.10.1
  100. ### Bugfixes
  101. - Fixed a bug that caused keybindings to break if no scene is active
  102. ### Translation
  103. - Updated Spanish translation (thanks to Viriato139ac#342)
  104. ## 1.10.0
  105. **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.
  106. ### New features
  107. - Drag Ruler's key bindings can now be assigned to custom keys by the user
  108. - 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)
  109. ### Compatibility
  110. - Drag Ruler now supports Foundry v9
  111. - Drag Ruler now utilizes libwrapper to increase interoperability with other modules
  112. ### Translation
  113. - Added french translation (thanks to Elfenduli)
  114. - Updated japanese translation (thanks to touge)
  115. ## 1.9.1
  116. ### Bugfixes
  117. - 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)
  118. ### Translation
  119. - Updated the spaish translation (thanks to Viriato139ac#342)
  120. ## 1.9.0
  121. ### New features
  122. - 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.
  123. ### Bugfixes
  124. - Non-square tokens (e.g. 2x1) now work correctly on square grids
  125. - 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)
  126. - Fixed a bug that prevented pausing/unpausing the game when no scene was active
  127. ### API
  128. - Added `dragRuler.getColorForDistanceAndToken` API endpoint that allows other modules to receive the highlight color for a specified distance with a given token.
  129. ## 1.8.2
  130. ### Compatibility
  131. - The generic speed provider defaults have been updated for lance 1.0 (thanks to BoltsJ!)
  132. - Eliminated a deprecation warning when both Drag Ruler and Hex Size Support are enabled (thanks Argonius-Angelus!)
  133. ## 1.8.1
  134. ### Bugfixes
  135. - 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
  136. ### Translation
  137. - Updated Spanish translation (thanks to Viriato139ac#342)
  138. ## 1.8.0
  139. ### New features
  140. - Pressing escape during a drag now cancels the drag
  141. - Undoing a movement via Ctrl+Z will now also remove that movement from Drag Ruler's movement history
  142. - 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.
  143. ### Bugfixes
  144. - 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!)
  145. - Fixed a bug that could leave behind a single waypoint on the canvas when canceling a dragging operation while moving the mouse
  146. ### Compatibility
  147. - Drag Ruler is now compatible with the "Toggle Snap To Grid" module (thanks to Michael Clavell!)
  148. ## 1.7.7
  149. ### Compatibility
  150. - Updated the default settings for the swade game system. The new default speed attribute points to a speed value that gets adjusted for wounds.
  151. ## 1.7.6
  152. ### Translation
  153. - Added Korean translation (thanks to KLO#1490)
  154. - Added Spanish translation (thanks to Viriato139ac#342)
  155. ### Compatibility
  156. - Drag Ruler's Generic Speed Provider is now awar of good default values for the "Call of Cthulhu 7th edition (Unofficial)" game system
  157. - Drag Ruler is now compatible with Foundry 0.8.8
  158. ## 1.7.5
  159. ### Bugfixes
  160. - Decimal speeds (as often used in metric game systems) are no longer being rounded down (thanks to DarKDinDoN for diagnosing this bug)
  161. ## 1.7.4
  162. ### Bugfixes
  163. - Fixed a bug where the ruler would wrongly snap to the grid center for other players when dragging a measurement template
  164. ### Compatibility
  165. - Drag Ruler is now compatiblie with the "Monk's Active Tile Triggers" module
  166. - Drag Ruler's Generic Speed Provider is now aware of good default values for the D&D 3.5 game system
  167. - Drag Ruler is now compatible with Foundry 0.8.7
  168. ## 1.7.3
  169. ### Compatibility
  170. - Drag Ruler is now compatible with Foundry 0.8.5
  171. ## 1.7.2
  172. ### Bugfixes
  173. - 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)
  174. - 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)
  175. ## 1.7.1
  176. ### Bugfixes
  177. - Fixed a bug that prevented players from moving their tokens ([#74](https://github.com/manuelVo/foundryvtt-drag-ruler/issues/74))
  178. ## 1.7.0
  179. **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.
  180. ### New features
  181. - A ruler will now be shown when dragging measurement templates over the map ([#13](https://github.com/manuelVo/foundryvtt-drag-ruler/issues/13))
  182. - Drag Ruler can now measure difficult terrain on gridless maps (if the Terrain Ruler module is installed and enabled)
  183. - Improved the positioning of the labels around the ruler. The labels should now never overlap with the waypoint.
  184. ### Bugfixes
  185. - Fixed a bug that sometimes measured diagonals incorrectly with the 5/10/5 grid rule
  186. - 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
  187. ### Compatibility
  188. - Drag Ruler's Generic Speed Provider is now aware of good default values for the Starfinder game system
  189. ### Translation
  190. - Corrected typos in the german translation (thanks to CarnVanBeck!)
  191. ### API
  192. - 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.
  193. ## 1.6.5
  194. ### Bugfixes
  195. - Drag Ruler no longer gets stuck if the user presses ESC during drag ([#70](https://github.com/manuelVo/foundryvtt-drag-ruler/issues/70))
  196. ## 1.6.4
  197. ### Bugfixes
  198. - Fixed a bug where a bug in a Speed Provider could lead to the ruler getting stuck, leaving the token immovable
  199. ## 1.6.3
  200. ### Bugfixes
  201. - 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.
  202. ### Compatibility
  203. - Drag Ruler's Generic SpeedProvider is now aware of good default values for the Savage Worlds Adventure Edition game system
  204. ## 1.6.2
  205. ### Bugfixes
  206. - The reset movement history button now resets the movement history for all players, not just for the GM
  207. ## 1.6.1
  208. ### API
  209. - Added `onMovementHistoryUpdate` callback to Speed Providers, that allows them to perform game systems specific improvements to the movement history
  210. - Added `dragRuler.resetMovementHistory` that clears the stored movement history for a token.
  211. ## 1.6.0
  212. ### Performance
  213. - Greatly increased the performance when playing on huge maps and when moving many tokens at once.
  214. - Huge performance improvements for speed providers. (Technical details: `getRanges` is now being called way less frequently)
  215. ### New features
  216. - GMs now have an option to reset the movement history for individual tokens in the right click menu of the combat tracker
  217. - 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))
  218. ### Bugfixes
  219. - 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.
  220. ## 1.5.4
  221. ### Bugfixes
  222. - 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))
  223. ## 1.5.3
  224. ### Compatiblilty
  225. - 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))
  226. - The Generic Speed Provider now has good default settings for the Dungeon Crawl Classics (dcc) game system.
  227. ## 1.5.2
  228. ### Bugfixes
  229. - 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))
  230. - Grid highlighting now also works for tokens that don't have an actor.
  231. ## 1.5.1
  232. ### Bugfixes
  233. - 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.
  234. ## 1.5.0
  235. ### New features
  236. - 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.
  237. ### Module compatibility
  238. - Drag Ruler is now fully compatible with the `Enhanced Terrain Layer` module. ([#50](https://github.com/manuelVo/foundryvtt-drag-ruler/issues/50))
  239. ## 1.4.6
  240. ### Bugfixes
  241. - 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!
  242. ## 1.4.5
  243. ### Bugfixes
  244. - 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))
  245. - Fixed a bug that could cause a meausred distance to be wrong when disabling token snapping using the shift key
  246. - Fixed a bug where the highlighted path could have gaps when disabling token snapping using the shift key
  247. ## 1.4.4
  248. ### Bugfixes
  249. - Fix snapping for tokens that are smaller than 1x1
  250. ## 1.4.3
  251. ### System compatibility
  252. - Drag Ruler's Generic SpeedProvider is now aware of good default values for the Savage Worlds Adventure Edition game system
  253. ### Translation
  254. - Added german translation
  255. - Updated japanese translation (thanks to touge)
  256. ## 1.4.2
  257. ### Bugfixes
  258. - Drag Ruler now works again on gridless maps
  259. ## 1.4.1
  260. ### Bugfixes
  261. - Fixed a bug where Drag Ruler wouldn't work at all on hex grids when the Hex Token Size Support isn't installed
  262. ### Translation
  263. - Added chinese translation (thanks to zeteticl)
  264. ## 1.4.0
  265. ### New features
  266. - 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.
  267. - 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).
  268. - 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)
  269. - The GM's Drag Ruler can now be hidden from non GM players via a setting.
  270. - 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.
  271. ### API
  272. - 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`.
  273. ## 1.3.5
  274. ### Bugfixes
  275. - Fixed a regression where spaces could suddenly change their color during measurement
  276. ## 1.3.4
  277. ### Module compatibility
  278. - Increased compatiblility with other modules (namely Drag Ruler and Terrain Ruler are no longer incompatible)
  279. ## 1.3.3
  280. ### Bugfixes
  281. - Speed Provider Settings are now being saved for non GM players
  282. ## 1.3.2
  283. ### Translation
  284. - Updated japanese translation (thanks to touge)
  285. ## 1.3.1
  286. ### Bugfixes
  287. - Fixed a bug where the coloring of ranges wouldn't work with the generic speed provider if the Dash Multiplier was set to 0
  288. ## 1.3.0
  289. ### New features
  290. - The color used to indicate speed ranges is now configurable
  291. - The settings dialog has been reworked
  292. ### System compatibility
  293. - Drag Ruler's Generic SpeedProvider is now aware of good default values for the lancer game system (thanks to Grygon)
  294. ### API changes
  295. 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.
  296. The following things have changed with the new API:
  297. - Colors used by speed providers can now be changed by the user via configuration
  298. - Speed Providers can now offer settings to the user that will be integrated into Drag Ruler's settings menu
  299. - Speed Providers can now conditionally disable Drag Ruler for some tokens
  300. ## 1.2.2
  301. ### Translation
  302. - Added japanese translation (thanks to touge)
  303. ## 1.2.1
  304. ### Compatiblity
  305. - 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.
  306. ## 1.2.0
  307. ### New features
  308. - Right click and spacebar can now be swapped, allowing to place waypoints with right click and removing them with spacebar
  309. - The module can now be configured use a fixed color instead of the player color for the first speed range
  310. - On gridless maps the ruler will now change it's color to indicate the different speed ranges
  311. - 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
  312. ### Bugfixes
  313. - Disabling snap to grid with shift now works as expected
  314. - Fixed a bug where the ruler would sometimes jump to a different target location when deleting a waypoint
  315. ## 1.1.1
  316. ### Bugfixes
  317. - Fixed a bug where tokens wouldn't be moved to the corect end position on gridless maps
  318. - Ruler now appears immediately when the token is being dragged
  319. - On gridless maps the ruler will always start measuring at the center of the token
  320. - This change has no impact on the distance that is being measured
  321. - In addition to the cosmetical aspect this also fixes a bug that allowed players to glitch through walls
  322. ## 1.1.0
  323. ### New features
  324. - 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)
  325. - The drag ruler won't be shown to other players if they cannot see the dragged token
  326. ### Bugfixes
  327. - Fixed a bug where Drag Ruler wouldn't work at all on some windows installations (specificially where the `foundry.js` has `CRLF` line endings)
  328. ## 1.0.1
  329. ### Bugfixes
  330. - The GM can now move tokens through walls
  331. - It is now possible to move multiple tokens with Drag Ruler enabled