Skip to content

Releases: Foundry-Workshop/Item-Macro

Release v3.0.1

10 Jul 10:14
035ade6
Compare
Choose a tag to compare
fix element search for AppV1 and AppV2 sheets, prevent event propagat…

Release v3.0.0

03 Jun 02:07
e706630
Compare
Choose a tag to compare
update swade support, closes #22

Release v2.2.0

28 Feb 13:55
4b84617
Compare
Choose a tag to compare
scope and system migration

Release v2.1.0

27 Feb 12:18
2885823
Compare
Choose a tag to compare
update item use hook for dnd5e 4.0

Release v2.0.1

21 Feb 08:06
0a3ef27
Compare
Choose a tag to compare
fix item macro permission for players

Release v2.0.0

19 Feb 16:14
b2147ce
Compare
Choose a tag to compare
README.md

Release v1.11.1

07 Feb 08:43
6b8381e
Compare
Choose a tag to compare
fixed macro lacking context

Release v1.11.0

07 Feb 08:30
4477a3b
Compare
Choose a tag to compare

Starting from v1.11.0, Item Macro changes how it's supporting DnD 5e (3.0.0+).

Here is the breakdown of the changes:

General

  • Changed item.executeMacro() method to be async
  • Updated how Item Macro is built and called to allow retrieving its value

DnD5e

  • Switched DnD 5e's support to dnd5e.preUseItem Hook
    • Because of that, there no longer is distinction between using item from sheet, macro or any other way
    • Because of that, using plain item.use() in Item Macro is now disabled as it can lead to uncontrolled infinite loops
    • Since good practice dictates that all 3rd party modules, including custom sheets, should make use of item.use(), this means that all of them should now be supported by default
  • Character Sheet Hook and Right Click Override settings for dnd5e are now removed in favor of single Override default macro execution
  • Item Macros that you wish to still execute "standard" item.use() must now do it in one of two ways:
    • Return true from macro, or
    • Call item.use({}, {skipItemMacro: true}) instead (passing skipItemMacro = true in options argument)

Item Macro v1.11.0 onwards will not work with DnD 5e 2.4.
If you do not use the newest version of the DnD 5e system, please do not update Item Macro and/or install v1.10.5 instead using this manifest link.

Release v1.10.5

17 Dec 14:36
c14a15f
Compare
Choose a tag to compare
fixed tidy 5e sheet compability stacking. Closes #6

Release v1.10.4

16 Dec 23:19
3f9d395
Compare
Choose a tag to compare
added tidy5e sheet compatibility