release_notes library

Classes

A symlink where the locale's file would be, pointing at nothing.
DefaultFile
The locale has no file, so it takes the changelog's — the ordinary case, and the one that makes a listing gaining a language cost nothing.
NoSection
The changelog has no section for that version at all, which means somebody forgot rather than decided. The only outcome worth failing on: every other case is a deliberate answer, including an empty section.
Notes
What looking a version up in the changelog produced.
NotesSource
Which file a locale's notes come from.
NotesText
Notes to publish.
OwnFile
The locale has a file of its own, and its notes are that file's.

Constants

appStoreReleaseNotesLimit → const int
The App Store's cap on an appStoreVersionLocalizations whatsNew, and on a betaBuildLocalizations whatsNew ("What to Test").
noUserVisibleChanges → const String
What ships when neither the version being released nor anything before it has a word to say about this platform.
playReleaseNotesLimit → const int
Play's cap on release notes.

Functions

changelogNotes(String markdown, String version, {required String platform}) → Notes
The release notes to publish for version on platform.
changelogNotesOf(String path, String version, {required String platform}) → Notes
changelogNotes against a file on disk.
checkPlatformNames(String markdown, {String name = 'CHANGELOG.md'}) → List<ReleaseProblem>
Entries that would reach an Apple store naming Android.
localeChangelogPath(String changelog, String locale) → String
Where locale's own notes live, beside changelog.
localeChangelogsBeside(String changelog) → Map<String, String>
Every locale file beside changelog, by the locale its name carries.
localeNotesSource(String changelog, String locale) → NotesSource
Where locale's notes come from, given changelog as the default.
otherStoreNamed(String text) → ({String line, String name})?
The line of text that names another store, and the name, or null.
versionFromReleaseName(String name) → String
The version name out of a release name this tool wrote, which is <versionName> (<versionCode>).