Repository navigation
Releases
v1.0.5
A maintenance release; the package API and the programs are unchanged. Go 1.27.4 is the minimum version. release.bash and release.ps1 resume an interrupted draft release (workspace DR-0013): run the script again and it uploads only the files the draft does not already hold. CHANGES.html is the rendered changelog. TODO.md records four parser bugs found through osf's txt2osf (transitions read as Action, INT/EXT prefix matching ordinary words, a leading .. read as a forced scene heading, forcing markers and title page whitespace left in values); none is fixed in this release.
Full Changelog: v1.0.4...v1.0.5
v1.0.4
Licence: the GNU Affero General Public License, version 3 or (at your option) any later version, throughout. LICENSE and codemeta.json have said so since v1.0.2, but the source file headers still carried the BSD 2-Clause text of v1.0.1 and earlier; they now carry the AGPL notice, and v1.0.1 and earlier stay available under BSD 2-Clause. The three programs follow the workspace command line conventions. Exit codes follow DR-0003 (2 bad command line, 65 not a Fountain document, 66 missing input, 73 output cannot be created, 74 I/O failure, 77 permission); errors are one line on standard error prefixed with the program name, and -quiet drops the message but not the code. -h, -l and -v join -help, -license and -version, with -input, -output and -nl as long spellings; the input and output may be given as the first and second argument; help answers before any file is opened. Help text is Markdown in the man page structure with an EXIT STATUS section, kept in internal/cli/helptext.go. Fixed: fountain2html -o created an empty file and wrote the HTML to standard output. The parser is unchanged. Go 1.27.3 is the minimum version, and the build and release tooling follows the workspace standard (a release is built from a clean, pushed commit).
Full Changelog: v1.0.3...v1.0.4
v1.0.3
Boneyards (/* ... */, one line or several) are parsed as Boneyard elements, where a one-line boneyard used to read as Action and the lines of a multi-line one as Character, Dialogue and Action. Scene headings carry their number (INT. KITCHEN - DAY #12A#) in the new Element.SceneNumber, and the JSON output has scene_number. New BoneyardText returns the text between the delimiters. Added for the knowledge module's story support.
Full Changelog: v1.0.2...v1.0.3
License update
I have changed the license to AGPL 3 or later
Maintenance release
This release updates the Go version to 1.22. It included an added ToYAML() func for Fountain docs.
Full Changelog: v1.0.0...v1.0.1
Stable maintenance release
This release has been built using Golang 1.20 and Pandoc 3. More brinary formats are included as well as curl installer for macOS and Linux
curl https://rsdoiel.github.io/fountain/installer.sh
Fix name collision in docs
This release is fixes a name case issue for INSTALL.html on macOS allowing go get and go mod tidy to work properly on macOS where the file system is the default case insensitive.
Bug fix
stable, inactive release
This is a stable inactive release of the fountain Go package. It include three demo programs -- fountoun2html, fountain2json, fountainfmt. I use this from time to time but haven't found a need to change them in years.
go1.16 support
This release updates fountain package to support go1.16 compiler as well as experimental binary support for Apple M1 machines.