Releases: zehanort/iffinity
v0.4.0 (beta)
This is the first BETA release of iffinity
. It is now considered to be in a relatively mature state, where changes from now on will occur either as a result of bug finding or by feature requests, including by myself (feel free to open issues or pm me directly!).
Note to users of older versions
Due to a funky bug, the compiler took into account the output HTML as well as the source HTML files. Therefore, you are strongly advised to delete the output HTML of your project and recompile it from scratch after you download the latest iffinity
version.
CHANGELOG
Breaking changes
- Multiple snippet-specific scripts/styles are now separated by semicolons (
;
) instead of spaces. More info here. - Introduced the html-validate package to validate source HTML. The rules are customizable via the project's config file. More info here.
Non-breaking changes
- added an awesome logo with a whole bunch of different flavors! Many many thanks to HAL9000 from the intfiction.org forum for these!
- added option
--testFrom/-t
incompile
command to change the starting snippet at compile time, for testing purposes. More info here. - inspired by Twine/Snowman, shorthands for HTML element IDs (
#
) and classes (.
) are now supported. More info here. - added the
<iff-link>
HTML tag to explicitly state snippet transitions that happen in code instead of snippet links. More info here. - disallowing unnamed snippets.
- better output HTML file names.
- general code reorganizing/cleanup.
v0.3.1 (alpha)
Missing dependency html-entities
, no changes from v0.3.0.
v0.3.0 (alpha)
Changelog v0.2.1 -> v0.3.0
- Restructuring of the output HTML. Before:
<body>
-><div id="iff-snippet">
. Now:<body>
-><div id="iff-story">
-><div id="iff-snippet">
. So, a "wrapper" around#iff-snippet
is introduced, to facilitate author customization (#iff-snippet
contents are discarded every time the snippet changes) and for future use by the engine. - All fields in the configuration file that are intended for file names are now of type
string | string[]
. - Multiple story/global/tag-specific/snippet-specific scripts run inside the same EJS scope. Say you have a snippet
<snippet name="A Snippet" scripts="script1.js script2.js">
. That now translates to:
<%
... contents of script1.js ...
... contents of script2.js ...
%>
while before it was translated to:
<% ... contents of script1.js ... %>
<% ... contents of script2.js ... %>
That aims to further facilitate the author to break their logic into as many files as they like, and not be forced to use the story's state s
variable to communicate inside the same snippet.
- Several bug fixes (mainly now all user scripts are properly HTML-escaped).
Many thanks to @kadw108 for their feedback and suggestions for this release!
First licensed release
minor changes + added license (MIT)
v0.2.0
Pre-release
bug fixing
Testing pre-release
fixed publish workflow
Testing pre-release
No definitely (?) fixed it
Testing pre-release
Fixed npm publishing
Testing pre-release
still trying to make npm package work