Skip to content

Releases: sniarchos/iffinity

v0.4.0 (beta)

Choose a tag to compare

@sniarchos sniarchos released this 19 Nov 16:42
878abcf

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 in compile 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)

Choose a tag to compare

@sniarchos sniarchos released this 17 Oct 20:23

Missing dependency html-entities, no changes from v0.3.0.

v0.3.0 (alpha)

Choose a tag to compare

@sniarchos sniarchos released this 17 Oct 20:11

Changelog v0.2.1 -> v0.3.0

  1. 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.
  2. All fields in the configuration file that are intended for file names are now of type string | string[].
  3. 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.

  1. 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

Choose a tag to compare

@sniarchos sniarchos released this 16 Oct 02:11
3a13c4a

minor changes + added license (MIT)

v0.2.0

Choose a tag to compare

@sniarchos sniarchos released this 16 Oct 01:42

First official release of the iffinity engine :)

(in an alpha state, obviously)

Pre-release

Pre-release Pre-release
Pre-release

Choose a tag to compare

@sniarchos sniarchos released this 15 Oct 20:09

bug fixing

Testing pre-release

Testing pre-release Pre-release
Pre-release

Choose a tag to compare

@sniarchos sniarchos released this 15 Oct 19:49

fixed publish workflow

Testing pre-release

Testing pre-release Pre-release
Pre-release

Choose a tag to compare

@sniarchos sniarchos released this 15 Oct 19:29

No definitely (?) fixed it

Testing pre-release

Testing pre-release Pre-release
Pre-release

Choose a tag to compare

@sniarchos sniarchos released this 15 Oct 19:18

Fixed npm publishing

Testing pre-release

Testing pre-release Pre-release
Pre-release

Choose a tag to compare

@sniarchos sniarchos released this 15 Oct 18:37

still trying to make npm package work