Releases: tmedwards/sugarcube-2
Releases · tmedwards/sugarcube-2
SugarCube v2.33.0
Changelog:
- Fixed macro aliases.
- Fixed
<<numberbox>>
to use a number input. - Added save operation details to
Config.saves.onSave
calls. <<type>>
macro updates:- Added
class
,element
, andid
options. - Added a
macro-type-done
class to finished sections. - Updated to better handle post-main-render usage.
- Changed
:typingstart
and:typingstop
events to be local events on the wrappers.
- Added
SugarCube v2.32.0
Changelog:
- Fixed some versions of Edge tossing when closing dialogs via the default handler.
- Fixed the TwineScript parser to better avoid attempting to desugar property names.
- Fixed the handling of closing macro tags to better flag malformed tags.
- Fixed nonexistent passage errors to better escape passage names.
- Added the
<<numberbox>>
macro, which is a number yielding variant of<<textbox>>
. - Added the
<<type>>
macro, which mimics a teletype/typewriter. Can type most content: links, markup, macros, etc. - Added the Guide: State, Sessions, and Saving to the documentation.
- Updated the
<<checkbox>>
and<<radiobutton>>
macros to add theautocheck
keyword. - Minor internal cleanup.
- Updates to locale files.
- Updates to vendored libraries.
SugarCube v2.31.1
Changelog:
- Fixed an issue that would cause resetting the settings to default to throw an error.
- Updated the audio macros' "play" actions to use the
SimpleAudio
APIs' various.playWhenAllowed()
methods. - Minor internal cleanup.
SugarCube v2.31.0
Changelog:
- Fixed an issue where disabled elements'
aria-disabled
content attribute was given an invalid value. - Fixed a few macro error views.
- Added the
Fullscreen
API. - Added the
StoryDisplayTitle
special passage. - Added the
:storyready
global synthetic event. - Updated watches and debug views to be enabled by default in Test mode. This is an attempt to avoid the confusion experienced by some when in Test mode.
- Updated the
<<cycle>>
macro to add a receiver variable based ID, as similar macros do. - Updated the HTML parser to ignore line-breaks where appropriate. E.g., removes the need to use a line-break control feature within
<table>
tags. - Updated the SVG parser to support both attribute directives and special data attributes.
- Updated the evaluation attribute directive to be illegal on the HTML
data-setter
content attribute. They were never supposed to be combined, so this is simply a sanity check. - Updated the
:passagedisplay
and:passageend
navigation event objects to include thecontent
property, which references the incoming passage element. - Updated the icon font to add a few new glyphs.
- Various updates to the documentation.
- Various internal improvements and minor fixes.
- Added support for fetching SugarCube via the JsDelivr CDN for Twine 2.