v0.1.27
Fix: Throughput API v1 available - Details posted to Irving. POWERBI_KEY was missing from the .ENV file, so was not live. Add: Editor now supports editing a mix's resolved formula directly, with % and kg dual entry on ingredient rows Fix: Mix Editor should bring through correct ingredients. New resolved formula (same logic we use in Mix Calculator). Fix: Security headers on all API responses (hardening) Add: New mix button available on the Mix Editor. Add: New ingredient button available on the Ingredient Editor
This commit is contained in:
@@ -73,5 +73,14 @@ export function changelogFor(version: string): ChangelogEntry | undefined {
|
||||
return changelog.find((entry) => entry.version === version);
|
||||
}
|
||||
|
||||
/** The entry for the version the app is currently running, if documented. */
|
||||
export const currentChangelog: ChangelogEntry | undefined = changelogFor(APP_VERSION);
|
||||
/** The most recent changelog entry, regardless of the running version. */
|
||||
export const latestChangelog: ChangelogEntry | undefined = changelog[0];
|
||||
|
||||
/**
|
||||
* The entry the "What's new" dialog shows. Prefer an exact match for the running
|
||||
* version, but fall back to the latest documented entry so the manual button
|
||||
* always opens something even when the current build's version (e.g. a hotfix
|
||||
* suffix like `0.1.24b`) isn't itself listed in the changelog.
|
||||
*/
|
||||
export const currentChangelog: ChangelogEntry | undefined =
|
||||
changelogFor(APP_VERSION) ?? latestChangelog;
|
||||
|
||||
Reference in New Issue
Block a user