Releases: y-lohse/inkjs
Releases · y-lohse/inkjs
v2.3.0
What's Changed
Match all relevant updates from ink 1.2
https://github.com/inkle/ink/releases/tag/v.1.2.0
Full Changelog: v2.2.5...v2.3.0
v2.2.5
What's Changed
All imports should now work nominally 🎉
- use
from 'inkjs'
orrequire('inkjs')
to import only Story and Inklist (pure-player) - use
from 'inkjs/full'
orrequire('inkjs/full')
: same as above + Compiler and associated utils in javascript - use
from 'inkjs/types'
in typescript to have everything correctly typed - if you need a specific class, you can
import {Thing} from 'inkjs/compiler/Deeply/Nested/Thing'
Also :
- Updated documentation
inkjs-compiler
is now declared as a bin script allowingnpx inkjs
to work- New templates for typescript project and updated ink.js file in browser templates
- Fixed arguments error reporting by @floriancargoet in #1066
- Update README.md with imports by @smwhr in #1071
- Upgrade TypeScript to v5 by @maetl in #1053
Full Changelog: v2.2.4...v2.2.5
v2.2.4
v2.2.3
What's Changed
- Fixed: correctly handle empty INCLUDEs by @floriancargoet in #1030
- Fixed maxInt type check in RANDOM by @floriancargoet in #1036
- Fixed typo by @floriancargoet in #1037
- Remove export assignment from ink.d.ts by @maetl in #1049
- Allow playing a json file by @smwhr in #1059
- Put dynamic tags in choice in correct order by @smwhr in #1060
Full Changelog: v2.2.2...v2.2.3
v2.2.2
This minor release delivers some minor bugfixes and improvements
- Bug detected on LIST_RANGE by @Meorge in C# source was fixed in inkjs (tests added)
- Merged fix to save tags on choice from @Shepard (+ tests)
- Merged new docs to disambiguate usage with typescript by @bemisguided
- Fix non-ascii identifiers in compiler by @technix
- Migrate to typescript 4.9.5
- Provides missing typeNames and accessor to more classes in the compiler export
What to download
- inkjs-2.2.2-dist files contain ink.js (runtime only), ink-full.js (runtime + compiler) and inkjs-compiler (formerly inklecate : the command line compiler) : this is the prefered download.
- Source code files contain the full project as released and has to be build.
v2.2.1
This minor release delivers some minor bugfixes in the compiler and in the inkjs-js integration.
What to download
- inkjs-2.2.1-dist files contain ink.js (runtime only), ink-full.js (runtime + compiler) and inkjs-compiler (formerly inklecate : the command line compiler) : this is the prefered download.
- Source code files contain the full project as released and has to be build.
v2.2.0
This release matches ink v1.1.1.
What to download
inkjs-2.2.0-dist
files containink.js
(runtime only),ink-full.js
(runtime + compiler) andinkjs-compiler
(formerlyinklecate
: the command line compiler) : this is the prefered download.Source code
files contain the full project as released and has to be build.
v2.1.0
With this version, inkjs comes with a port of the Ink compiler to javascript! This means you can now compile and play ink files directly in from anything that runs javascript 🎉
Congratulations to @smwhr, @ephread and @furkle for this release 😍
What to download
inkjs-2.1.0-dist
files only containink.js
(runtime only) andink-full.js
(runtime + compiler) : this is the prefered download.Source code
files contain the full project as released and has to be build.