Skip to content

Commit

Permalink
Merge pull request #3486 from Phergus/changeLog1.12.0
Browse files Browse the repository at this point in the history
Change log updates for 1.12.0
  • Loading branch information
Phergus authored Jul 12, 2022
2 parents 3e2985e + ce4b749 commit aab9803
Showing 1 changed file with 88 additions and 179 deletions.
267 changes: 88 additions & 179 deletions CHANGE_LOG.md
Original file line number Diff line number Diff line change
@@ -1,186 +1,95 @@
# MapTool 1.11.5

**WebRTC Updates**

Adds additional logging for WebRTC and improved connection handling.

_If you are using WebRTC for your sessions or wish to help with testing please update to this version and report back to the MapTool Discord your experiences when using it, both positive and negative._

- [#3327][i3327] Additional logging and improved connection handling for WebRTC.

[i3327]: https://github.com/RPTools/maptool/issues/3327

# MapTool 1.11.4
**Security Fix Release**

Updated the Log4J libraries for a [security vulnerability](https://www.cisa.gov/uscert/ncas/current-activity/2021/12/10/apache-releases-log4j-version-2150-address-critical-rce).

- [#3266][i3266] Update to log4j-1.2-api v2.15.0
- [#3265][i3265] Update to log4j-core v2.15.0
- [#3264][i3264] Update to log4j-api v2.15.0

[i3266]: https://github.com/RPTools/maptool/issues/3266
[i3265]: https://github.com/RPTools/maptool/issues/3265
[i3264]: https://github.com/RPTools/maptool/issues/3264

# MapTool 1.11.3

**Bug fix release.**
- [#3250][i3250] Calling `playStream()` without a start time could cause exceptions after playback stopped. Fixed.
- [#3245][i3245] `onInitiativeChange` event was not triggering unless `onInitativeChangeRequest` was also on lib:token. Fixed.
- [#3225][i3225] Additional issue with tokens in older campaigns all loading as Medium size. Fixed.

[i3250]: https://github.com/RPTools/maptool/issues/3250
[i3245]: https://github.com/RPTools/maptool/issues/3245

# MapTool 1.11.1/2
**Bug fix release.**

- Fixes for the dreaded red X plus bar and size resets.

## Bug Fixes
- [#3243][i3243] Health bars now stay visible/enabled on both server & player clients.
- [#3239][i3239] Assets from older token files (`.rptok`) were failing to load when dropped on map. Fixed.
- [#3236][i3236] HTML5 cannot pass `{body:...` to fetch. Fixed.
- [#3235][i3235] `XMLHttpRequest()` improperly decodes `lib://` responses as UTF-16 producing gibberish output. Fixed.
- [#3232][i3232] Token images not loading on both player and server clients when dropped. Fixed.
- [#3229][i3229] `getLibProperty()` was failing on properties starting with `[` or `{`. Fixed.
- [#3225][i3225] Token sizes resetting with server stop/start or movement. Fixed.

[i3243]: https://github.com/RPTools/maptool/issues/3243
[i3239]: https://github.com/RPTools/maptool/issues/3239
[i3236]: https://github.com/RPTools/maptool/issues/3236
[i3235]: https://github.com/RPTools/maptool/issues/3235
[i3232]: https://github.com/RPTools/maptool/issues/3232
[i3229]: https://github.com/RPTools/maptool/issues/3229
[i3225]: https://github.com/RPTools/maptool/issues/3225

# MapTool 1.11.0
Feature release using OpenJDK 16
# MapTool 1.12.0
Feature release using OpenJDK 17

## Highlights
- New VBL Modes - new VBL modes Hill and Pit.
- New MapTool Easy Connect™ server mode makes it easier for players to connect using their Public Key for authentication.
- Initial support for "Add-On" Libraries (not lib:tokens).
- See https://rptools-doc.craigs-stuff.net/blog/add-on-libraries/
- And https://github.com/RPTools/maptool/pull/3158
- New and updated macro functions.
- Long-time Java bug causing MapTool to hang when dropping images into Edit Token dialog fixed with new Java release.
- The different VBL types and MBL can now be added to tokens via the Edit Token dialog and a number of macro functions for manipulating VBL/MBL have been added as well.
- More optimizations for lighting and vision.
- Improvements to new Add-On functionality.

## Enhancements & Features
- [#3212][i3212] New GUI for managing Add-Ons accessible through File menu.
- [#3200][i3200] New MapTool Easy Connect™ option for servers to allow players to submit their Public Key information at connection for approval by GM.
- [#3190][i3190] New JavaScript primitive `MTXMLHttpRequest`.
- [#3171][i3171] Extend `@this` behaviour to the data.getStaticData function.
- [#3164][i3164] New macro function `data.getStaticData(namespace, path)` for accessing static data in Add-On libraries.
- [#3103][i3103] Additional properties added to output of `getFrameProperties()`
- `tabtitle`, `html5`, `temporary`, `visible`, `docked`, `floating`, `autohide`, `undocked_x`, `undocked_y`, `undocked_h`, `undocked_w`
- [#3098][i3098] Universal VTT import now uses Terrain VBL for Object LOS Blocking.
- [#3077][i3077] Initial support for "Add-On" libraries that can contain MTScript, JavaScript, HTML, CSS, assets and more in a zip file. New macro functions in support:
- library.listAddOnLibraries() Lists the add on libraries
- library.getInfo(namespace) Gets information about a library (either Add-On or lib:token)
- library.listTokenLibraries(namespace) Lists the Lib:tokens in the campaign
- library.getContents(namespace) Lists the contents of a library
- [#3073][i3073] Macro function `getInfo("server")` now returns additional properties:
- `useWebRTC`, `usePasswordFile`, `server name`, `port number`
- [#3057][i3057] New `getInfo("theme")` option returns the color information for the various UI elements.
- [#2984][i2984] Campaign Panel now part of default layout.
- [#2982][i2982] Use of Direct3D by Java disabled by default to avoid display issues.
- [#2935][i2935] `getInfo("server")` now includes `corner` info for Corner Image types, `grid` for the Grid * types and the `group` name is included in each state entry.
- [#2777][i2777] New server option to disable Map Selection on player clients.
- [#2755][i2755] New VBL types and changes:
- Hill - Can see into but not through areas enclosed in Hill VBL.
- Pit - Tokens outside of Pit VBL can see over but tokens inside can only see within.
- Regular VBL is now called Wall. No changes to functionality.
- [#2431][i2431] New macro functions to show/hide Overlays:
- `[r: setOverlayVisible(OverlayName, {1|0})]`
- `[r: visible = isOverlayVisible(OverlayName)] // returns 1|0`
- [#2001][i2001] New server options to disable Lock Player Movement & Lock Token Editor on Player clients.
- [#1385][i1385] New macro functions to create tokens.
- `createToken(tokenValues)` to create a token from a JsonObject
- `createTokens(arrayofTokenValues)` to create multiple tokens from a JsonArray of JsonObjects.
- [#1104][i1104] New server option to disable Player access to Resource Library.

## Bug Fixes
- [#3216][i3216] Alpha 5 builds failing to load assets from campaign file. Fixed.
- [#3211][i3211] Macro buttons with missing images causing MapTool to hang. Fixed. (Develop only.)
- [#3199][i3199] `getMapDisplayName()` wasn't being handled correctly in untrusted/trusted contexts. Fixed.
- [#3191][i3191] `isNumber()` was returning false (0) for numeric strings with whitespace padding or a `+` sign. Fixed.
- [#3183][i3183] Exporting lib:token as Add-On failing under Windows. Fixed.
- [#3176][i3176] `getLibraryProperty()` not handling numeric values correctly. Fixed.
- [#3175][i3175] Errors thrown when deleting lib:tokens. Fixed.
- [#3174][i3174] `onCampaignLoad` not being called consistently for lib:tokens. Fixed.
- [#3173][i3173] `onFirstInit` event not triggering when AddOn is imported a second time. Fixed.
- [#3159][i3159] Allow URI Access fag was being reset on server start. Fixed.
- [#3140][i3140] Unable to add/edit Bars if Type was localized. Fixed.
- [#3114][i3114] MBL/VBL/TVBL misaligned on imported UVTT maps that were cropped during export. Fixed.
- [#3112][i3112] Possible exceptions when multiple instances of MapTool tried to backup campaigns at the same time. Fixed.
- [#3093][i3093] MapTool hanging when opening a campaign whose assets were not already in assetcache. Not in released code. Fixed.
- [#3088][i3088] Player-editable macros on an unowned token should be treated as trusted. Fixed.
- [#3081][i3081] NPE when using `library.listTokenLibraries()` that were missing/unset properties. Fixed.
- [#3062][i3062] Preferences dialog had a mispelled and pointless tooltip. Removed.
- [#3061][i3061] Bad Universal VTT files causing Null Pointer Exceptions. Code added to catch issue.
- [#3013][i3013] Various macro functions were using case-sensitive function name comparisons. Changed to use case-insensitive comparisons.
- [#2781][i2781] MapTool could freeze when dropping images into Edit Token dialog. Fixed.
- [#233][i233] Users could inadvertently advance initiative with Spacebar or Enter keys. Fixed.

## Other
- [#3204][i3204] Some i18n text strings reworked for new features.
- [#3100][i3100] Builds updated to use Adoptium JDK 16.0.2_7.
- [#3062][i3062] Map -> Import Dungeondraft VTT... changed to Map -> Import Unversal VTT...
- [#1348][i1348] Internal code work to support adding HTML, CSS, JavaScript, Audio, etc. in campaign files.
- [#1347][i1347] Several classes added to facilitate using JFX panels in Maptool.
- [#1346][i1346] Internal code work to extend Asset class to support data other than images.

- [#3464][i3464] New functions to determine if client is hosting or not. Info also available through `getInfo("client")` now.
- [#3459][i3459] Improvements to visibility calculation for large and complex geometry.
- [#3453][i3453] Add-On libraries can now be loaded/updated by dragging and dropping `.mtlib` files on map.
- [#3360][i3360] Handshake cipher change to AES/CBC/PKCS5Padding for improved security.
- [#3346][i3346] Darkness (i.e. lights with negative lumens) now affect vision on maps set to Day or Off.
- [#3342][i3342] Improved performance on maps with many lights.
- [#3254][i3254] Moved from Hessian serialization to Protobuf for enhanced security and improved interoperability.
- [#3052][i3052] Tokens can now have Hill & Pit VBL. Settable via macro or VBL tab.
- [#2730][i2730] Tokens can now have MBL. Settable via macro or VBL tab.

[Change Log for 1.10.4](https://github.com/RPTools/maptool/blob/1.10.4/CHANGE_LOG.md)
## Bug Fixes
- [#3481][i3481] Non-GMs should not be able to drag and drop add-on libs. Fixed.
- [#3477][i3477] MapTool won't start on Apple Silicon Macs. Fixed.
- [#3466][i3466] VBL precision problem could cause vision to break on some maps. Fixed.
- [#3462][i3462] `player.getName()` produces NPE if server not using player database. Fixed.
- [#3440][i3440] Player clients not updated with VBL, MBL or Light tokens on imported UVTT maps if server is already running. Fixed.
- [#3457][i3457] Cleanup for Javascript contexts and overlays occuring in wrong place when loading a new campaign. Fixed.
- [#3436][i3436] Clients unable to connect to server when existing tokens did not have shape type set. Fixed.
- [#3434][i3434] Vision could be broken on clients for imported UVTT maps because of incomplete/missing initialization of tokens. Fixed. See also [#3440][i3440].
- [#3425][i3425] Importing macros with bad asset IDs for macro icon could hang up MapTool. Fixed.
- [#3359][i3359] Player clients unable to connect to a server that had an Add-On loaded without loading the same Add-On locally. Fixed.
- [#3350][i3350] Passing insufficient parameters to some VBL functions returned a translation key instead of the error message. Fixed.
- [#3320][i3320] Starting a server with WebRTC enabled could randomly fail with an NPE. Fixed.
- [#3311][i3311] Missing error message for Player Already Connected error. Fixed.
- [#3298][i3298] WebRTC connections were not reconnecting after temporary disconnect. Fixed.
- [#3293][i3293] AI Pathfinding could send tokens through unexposed areas if a valid path exists potentially exposing those areas. Fixed.
- [#3274][i3274] Drag-n-drop of a HeroLab token from Library not working. Fixed.
- [#3256][i3256] Starting a server could delete existing templates on map. Fixed.
- [#3234][i3234] Edit Token dialog was hanging on to VBL generated for previously edited tokens and adding that to others. Fixed.
- [#3231][i3231] Javascript UDFs receive JSON arguments as empty arguments. Fixed.
- [#3218][i3218] MapTool hangs when launched from (uber)jar. Fixed.
- [#3146][i3146] Code was trying to load "default.xml" for the macro editor theme but file was "Default.xml" which would fail on case-sensitive filesystems. Fixed.
- [#3101][i3101] Map grid color was not preserved over server start. Fixed.
- [#2764][i2764] Clients were unable to toggle tools in full-screen mode. Fixed.
- [#2763][i2763] Attempting to set VBL on token with VBL property retrieved from token produces errors. Fixed.
- [#2348][i2348] --pointermap CSS did not permit whitespace. Fixed (in 1.11.5).
- [#2094][i2094] Default white light is painted over darkness sources with color. Fixed.
- [#1550][i1550] Overlapping colored lights not producing the correct result. Fixed.

## Other Changes
- [#3398][i3398] ImageIO libs updated to 3.8.2.
- [#3331][i3331] Update WebRTC lib to 0.5.0, update Java-WebSocket lib to 1.5.2.
- [#3286][i3286] Builds updated to OpenJDK 17.

[Change Log for 1.11.5](https://github.com/RPTools/maptool/blob/1.11.5/CHANGE_LOG.md)

[i3216]: https://github.com/RPTools/maptool/issues/3216
[i3212]: https://github.com/RPTools/maptool/issues/3212
[i3211]: https://github.com/RPTools/maptool/issues/3211
[i3200]: https://github.com/RPTools/maptool/issues/3200
[i3204]: https://github.com/RPTools/maptool/issues/3204
[i3199]: https://github.com/RPTools/maptool/issues/3199
[i3191]: https://github.com/RPTools/maptool/issues/3191
[i3190]: https://github.com/RPTools/maptool/issues/3190
[i3183]: https://github.com/RPTools/maptool/issues/3183
[i3176]: https://github.com/RPTools/maptool/issues/3176
[i3175]: https://github.com/RPTools/maptool/issues/3175
[i3174]: https://github.com/RPTools/maptool/issues/3174
[i3173]: https://github.com/RPTools/maptool/issues/3173
[i3171]: https://github.com/RPTools/maptool/issues/3171
[i3170]: https://github.com/RPTools/maptool/issues/3170
[i3164]: https://github.com/RPTools/maptool/issues/3164
[i3159]: https://github.com/RPTools/maptool/issues/3159
[i3140]: https://github.com/RPTools/maptool/issues/3140
[i3114]: https://github.com/RPTools/maptool/issues/3114
[i3112]: https://github.com/RPTools/maptool/issues/3112
[i3103]: https://github.com/RPTools/maptool/issues/3103
[i3100]: https://github.com/RPTools/maptool/issues/3100
[i3098]: https://github.com/RPTools/maptool/issues/3098
[i3093]: https://github.com/RPTools/maptool/issues/3093
[i3088]: https://github.com/RPTools/maptool/issues/3088
[i3081]: https://github.com/RPTools/maptool/issues/3081
[i3077]: https://github.com/RPTools/maptool/issues/3077
[i3073]: https://github.com/RPTools/maptool/issues/3073
[i3062]: https://github.com/RPTools/maptool/issues/3062
[i3061]: https://github.com/RPTools/maptool/issues/3061
[i3057]: https://github.com/RPTools/maptool/issues/3057
[i3013]: https://github.com/RPTools/maptool/issues/3013
[i1385]: https://github.com/RPTools/maptool/issues/1385
[i1348]: https://github.com/RPTools/maptool/issues/1348
[i1347]: https://github.com/RPTools/maptool/issues/1347
[i1346]: https://github.com/RPTools/maptool/issues/1346
[i2984]: https://github.com/RPTools/maptool/issues/2984
[i2982]: https://github.com/RPTools/maptool/issues/2982
[i2935]: https://github.com/RPTools/maptool/issues/2935
[i2781]: https://github.com/RPTools/maptool/issues/2781
[i2777]: https://github.com/RPTools/maptool/issues/2777
[i2755]: https://github.com/RPTools/maptool/issues/2755
[i2431]: https://github.com/RPTools/maptool/issues/2431
[i]: https://github.com/RPTools/maptool/issues/
[i2001]: https://github.com/RPTools/maptool/issues/2001
[i1104]: https://github.com/RPTools/maptool/issues/1104
[i233]: https://github.com/RPTools/maptool/issues/233


[i3481]: https://github.com/RPTools/maptool/issues/3481
[i3477]: https://github.com/RPTools/maptool/issues/3477
[i3466]: https://github.com/RPTools/maptool/issues/3466
[i3464]: https://github.com/RPTools/maptool/issues/3464
[i3462]: https://github.com/RPTools/maptool/issues/3462
[i3459]: https://github.com/RPTools/maptool/issues/3459
[i3457]: https://github.com/RPTools/maptool/issues/3457
[i3453]: https://github.com/RPTools/maptool/issues/3453
[i3440]: https://github.com/RPTools/maptool/issues/3440
[i3436]: https://github.com/RPTools/maptool/issues/3436
[i3434]: https://github.com/RPTools/maptool/issues/3434
[i3425]: https://github.com/RPTools/maptool/issues/3425
[i3398]: https://github.com/RPTools/maptool/issues/3398
[i3360]: https://github.com/RPTools/maptool/issues/3360
[i3359]: https://github.com/RPTools/maptool/issues/3359
[i3350]: https://github.com/RPTools/maptool/issues/3350
[i3346]: https://github.com/RPTools/maptool/issues/3346
[i3342]: https://github.com/RPTools/maptool/issues/3342
[i3331]: https://github.com/RPTools/maptool/issues/3331
[i3320]: https://github.com/RPTools/maptool/issues/3320
[i3311]: https://github.com/RPTools/maptool/issues/3311
[i3298]: https://github.com/RPTools/maptool/issues/3298
[i3293]: https://github.com/RPTools/maptool/issues/3293
[i3286]: https://github.com/RPTools/maptool/issues/3286
[i3274]: https://github.com/RPTools/maptool/issues/3274
[i3256]: https://github.com/RPTools/maptool/issues/3256
[i3254]: https://github.com/RPTools/maptool/issues/3254
[i3234]: https://github.com/RPTools/maptool/issues/3234
[i3231]: https://github.com/RPTools/maptool/issues/3231
[i3218]: https://github.com/RPTools/maptool/issues/3218
[i3146]: https://github.com/RPTools/maptool/issues/3146
[i3101]: https://github.com/RPTools/maptool/issues/3101
[i3052]: https://github.com/RPTools/maptool/issues/3052
[i2764]: https://github.com/RPTools/maptool/issues/2764
[i2763]: https://github.com/RPTools/maptool/issues/2763
[i2730]: https://github.com/RPTools/maptool/issues/2730
[i2348]: https://github.com/RPTools/maptool/issues/2348
[i2094]: https://github.com/RPTools/maptool/issues/2094
[i1550]: https://github.com/RPTools/maptool/issues/1550

0 comments on commit aab9803

Please sign in to comment.