- Updated for compatibilty with Foundry 12 (thanks Clemente!)
- Verified compatibility with Foundry 11
- Foundry 10 will no longer show a deprecation warning when modules or systems register in socketlib
- Updated for compatibility with Foundry 10
- Verified compatibility with Foundry 9
- Verified compatibility with Foundry 0.8.9
- Verified compatibility with Foundry 0.8.8
- Verified compatibility with Foundry 0.8.7
- Verified compatibility with Foundry 0.8.5
- Add support for Foundry 0.8.2
- The
this
value of functions now contains the id of the user that triggered the function execution. - Some network packets are now more efficient.
- When an invalid user id is specified socketlib will now throw the correct error message.
- When a player disconnects the moment an execution has been scheduled for their client the execution function will now throw an exception, as it would if the player hadn't been connected in the first place. Previously the execution would just silently fail and the promise never resolve in such cases.
executeFor
functions will no longer fail with an exception if a function scheduled to be called by the local user throws.
- Added
executeForOthers
andexecuteForOtherGMs
that execute for all users/all GMs except the local client.
executeAsUser
andexecuteForUsers
didn't execute locally if the id of the current user was passed in as recipient.executeForEveryone
andexecuteForAllGMs
now execute locally as well, as they should
- Added support for game systems
- Add support for Foundry 0.8.1