Repository navigation
Releases
0.8.2
Meal plan entries show the unit they were written with, and the shopping list factor no longer mixes servings with loaves.
Fixed
- Meal plan: an entry like
· 8 servingsfor a recipe that yields1 loafshowed "8 loaf". The unit written in the entry now wins ("8 servings"); the recipe's unit is used only for a bare number (· 2shows "2 loaves") or an entry without servings. "Week to the shopping list" uses the same rule for its factor: the entry's number divided by the recipe's amount, except where the entry and the recipe clearly count different things (servings or people against a concrete unit such as loaf, Zopf or Stück, or the other way round); then the recipe is added as written (factor 1) instead of eight times, and the plan page says so under the number ("Shopping list: 1 loaf"). Units of a yield with a known plural (loaf, roll, slice, cake, tray, muffin, cookie, Zopf, Brot, Blech, Kuchen) are shown in the plural for a number other than 1 on the plan, the recipe page and in new plan entries; other units stay as written. The ingredient parser is unchanged (#109).
0.8.1
A calm palette to try under Settings → Colors.
Added
- A calmer palette: setting "Colors" has the new choice "Calm" (muted sage and off-white in light mode, anthracite with a soft sage in dark mode, text contrast at least 4.5:1). "Kitchen" stays the default (#14).
0.8.0
Timers that alert with sound and survive a restart, the amount per recipe on the shopping list, and the groundwork for the Community Directory (safer timeline graphics and page keys, license notices, English command IDs).
Added
- Shopping list: a tap on a line shared by several recipes shows how much each recipe needs ("Brötchen 200 g, Hefezopf 300 g"), and removing a recipe's ingredients takes exactly its amount off a shared line instead of leaving the full amount. For lines that were added before, changed by hand or whose recipe was edited, no amount is shown or only the name is removed, as before. How a recipe was added (servings factor, left out ingredients) is remembered in the plugin data, not in the note (#68).
- Timers with an alert (#58): they belong to the plugin now, so they keep running when the view is closed and survive a restart (kept per device in Obsidian's local storage, nothing is written into the vault). One timeout per timer, a check every second while timers exist, and a check when the window is visible or in focus again, so a timer rings within a second of the device waking up. When a timer ends: a notice with a Stop button (clicking it away stops the timer), a gong that repeats until Stop (two minutes at most; setting "Timer volume": off, quiet, normal, loud, kept per device), vibration where the device has it, and on the desktop a system notification (asked once when a timer starts; a click opens the recipe) plus a status bar entry with the next timer. A timer found more than 15 minutes late only gets a notice, no gong. The timer bar has "+1 min" and "Stop". The audio context is woken in the tap that starts a timer and on later taps (iOS). On a phone the screen stays on while a timer runs and while the gong plays, and is requested again when Obsidian returns to the foreground (the browser released it before and the screen went dark); the desktop keeps it on only in cooking mode. On a phone the timer still rings only while Obsidian is open; a hint says so once and in the settings.
Changed
- Command IDs are English now:
oeffnenisopen-recipesandholenisimport-recipe. The command names in the palette are unchanged. A hotkey set on one of these two commands, and every reference to them in the mobile toolbar, Commander, QuickAdd or a button, must be set again (#94). - The license notices of the bundled libraries (Preact, MiniSearch, Lucide icon paths) are kept in
main.jsagain (about 6.5 KB more, mostly the full license texts) (#94).
Security
- Keys that come from page content (microdata
itempropnames, JSON-LD keys, entity names) can no longer reach the prototype of a local object or pick up inherited values:__proto__,constructorandprototypeare dropped, reads use own properties only. A page with&constructor;used to put the source ofObjectinto the text (#101). - The timeline graphic of an import is inserted as DOM nodes, and its sanitizer keeps only an allow-list of SVG elements and attributes (no
style, no references to other files); only the palette classes are kept, ids get a prefix, and input with DOCTYPE or ENTITY is rejected (#94).
0.7.0
Social media posts without a processor or AI vendor, captions read by rules, faster arrival of processor imports, settings that follow other devices, and fewer double lines on the shopping list.
Added
- Social media posts are imported without a processor: Better Cooking reads the public page of an Instagram, TikTok or YouTube link (caption or description, cover image, author) or the recipe link of a Pinterest pin, handles the caption like pasted text (offline rules or your own AI), or, if the caption holds no recipe, follows up to three links in the post to a recipe website with schema.org data (never short links or platform links; an already saved page stops the import). With "Automatic" a set up processor still takes over if nothing readable or no recipe comes back; "Claude" or "GitHub" chosen on purpose work as before. Facebook says to paste the text. This is a single request you start, without login (see SECURITY.md) (#87).
- Pasted text and social media captions: a caption that only points to the recipe ("recipe in bio", "link in bio", "full recipe on my blog", "comment RECIPE") now gives a clear message instead of an empty note, also instead of a request to the own AI (#88).
- While an import by Claude or GitHub waits for its note, the plugin runs the pull of Obsidian Git on the device that started it (not in the first 90 s, then every 30 to 60 s, at most about 23 times, never faster than every 25 s; also when Obsidian returns to the foreground), so the recipe no longer waits for the Git plugin's interval. New setting "Sync during an import" (on by default) and a "Sync now" button on the card of a running import (#82).
Changed
- The offline text rules read pasted social media captions: the Instagram prefix ("1,234 likes, 56 comments - user on …"), lines of only hashtags or mentions, number and bullet emoji, emoji headings ("🛒 Ingredients"), headings inside a line ("Ingredients: 200 g flour, 1 egg Method: …"), one-line captions with the ingredients separated by commas, and a yield in a heading ("Ingredients for 4 people") or in brackets after the title ("(for 4)"). Headings inside a line and one-line captions are split only for texts that are clearly captions (Instagram prefix, hashtags, number emoji); other pasted texts are not rewritten.
- For every pasted text: headings like "## Ingredients:", "Ingredients:" and "#Ingredients" count as headings; "Servings: 4", "For 2 people" and "Serves 4" are read as the yield (a line with a time or a measure such as "For 20 min." is not), without the lead word; "Yield 12" is read as a yield when scaling (#88).
- Shopping list: kitchen work in front of onions, garlic, parsley, chives, carrots, celery, leek, peppers, zucchini, potatoes and apples no longer makes a line of its own. "gehackte Zwiebeln" and "Zwiebeln" or "fein gehackte Petersilie" and "Petersilie" are one line now, and "frisch"/"fresh" is ignored for these. Spices that are also sold dried or ground (ginger, coriander, thyme, basil and the like) are left out on purpose. Varieties and products stay apart ("rote Zwiebeln", "getrocknete Petersilie", "gehackte Tomaten"). An old line like "2 gehackte Zwiebeln" is renamed to "Zwiebeln" when merged. The list is in docs/shopping-identity.md (#69).
Fixed
- Settings and import jobs that another device changes in
data.json(Obsidian Sync, Git, iCloud) are picked up while Obsidian runs and merged with this device's state instead of being overwritten by the next save: a job started on the phone stays when the PC saves afterwards, and removals on one device carry over to the other. Open views and the settings tab update. Only the device that started an import closes it and shows "Recipe arrived"; other devices leave it for the starter. Limit: if two devices change the file at the same time while offline and the sync replaces the whole file, the file wins, and a closed job can show up again (it is closed again without a notice). All devices need this version; older versions still overwrite the file (#90).
0.6.2
Taps instead of swipes: cooking mode turns pages with a tap on the left or right, and no gesture of the plugin collides with Obsidian's sidebars any more.
Fixed
- Cooking mode on a phone: a tap on the left or right of the step area changes the step again. The tap is decided when the finger lifts instead of on the click that Obsidian mobile does not always deliver. The outermost strip no longer ignores taps, and the ingredient boxes no longer block the area beside them; only buttons, links, fields and timer chips keep their own tap. The click that follows a turn is swallowed, so it cannot hit a button that appears at that spot (for example "Note attempt" after the last step) (#81).
Changed
- Swiping is removed from cooking mode (steps) and the meal plan (weeks), because the same gesture opens Obsidian's sidebars. Cooking mode uses taps; the meal plan keeps its arrows for the previous and next week. The recipe page no longer goes back by swiping from the left edge (it collided with Obsidian's left sidebar); the back button and Esc stay (#81).
0.6.1
Fixes from the owner's test of 0.6.0:
- One language setting: Settings → Better Cooking → Language (Automatic, Deutsch, English). Everything shown follows it; new notes follow "Language of new notes". Switching keeps open recipes, cooking mode and timers.
- Shopping list and meal plan keep their notes when a language changes. If both a German and an English list note have entries, the page asks which one to use.
Update: BRAT updates the plugin when Obsidian starts. All changes: CHANGELOG.md.
What's Changed
- fix(lists): list notes keep their file when the language changes by @JakobBolenbach in #78
- feat(i18n): one language setting, the whole plugin in one language by @JakobBolenbach in #79
- chore(release): 0.6.1 by @JakobBolenbach in #80
Full Changelog: 0.6.0...0.6.1
0.6.0
New in this beta: the shopping list and the meal plan live inside Better Cooking (sidebar "Einkaufen & Planen"), the same ingredient from several recipes becomes one line (different products like Dinkel- and Weizenmehl stay apart), imported recipes come as cooking steps with short titles and durations, and an imported recipe can be fetched again without losing your notes.
Update: BRAT updates the plugin when Obsidian starts. All changes: CHANGELOG.md.
What's Changed
- feat(shopping): merge the same ingredient across recipes, never different products by @JakobBolenbach in #70
- feat(ui): shopping list as a page inside the view by @JakobBolenbach in #71
- feat(ui): meal plan as a week view inside the view by @JakobBolenbach in #72
- feat(import): steps made for cooking mode by @JakobBolenbach in #73
- feat(recipe): fetch a saved recipe again, retry imports at any time by @JakobBolenbach in #74
- chore(release): 0.6.0 by @JakobBolenbach in #75
Full Changelog: 0.5.0...0.6.0
0.5.0
First beta for testers: English and German interface and notes, recipe websites without AI, own AI for imports (optional), shopping list with stores, meal plan with calendar export, sharing and printing, translations, and a cooking mode that works well on phones (tap left or right to change steps, nothing hidden under Obsidian's bars).
Install as a beta tester: install the community plugin BRAT, choose "Add beta plugin" and enter JakobBolenbach/better-cooking. Details in docs/beta-testing.md. All changes: CHANGELOG.md.
What's Changed
- refactor: English identifiers, file names and comments (ADR 0004) by @JakobBolenbach in #18
- feat(i18n): interface in English and German by @JakobBolenbach in #19
- feat: note format setting and own field names by @JakobBolenbach in #20
- feat(settings): declare the settings tab for Obsidian settings search by @JakobBolenbach in #21
- feat(security): neutralize more page text and check imported notes by @JakobBolenbach in #22
- feat(import): own AI for pasted text and pages without recipe data by @JakobBolenbach in #23
- fix(import): yield words follow the note format by @JakobBolenbach in #25
- feat(shopping): shopping list as a Markdown checklist note by @JakobBolenbach in #26
- feat(appearance): Obsidian theme colors and Style Settings for the palette by @JakobBolenbach in #27
- fix(cooking): English units and durations by @JakobBolenbach in #29
- docs: English example recipes and README screenshots by @JakobBolenbach in #30
- fix(cooking): English kitchen words do not count as ingredients in steps by @JakobBolenbach in #31
- feat(import): structure pasted recipe text without AI by @JakobBolenbach in #32
- fix(ui): attempt dialog keeps what was typed by @JakobBolenbach in #33
- feat(share): copy, print or share a recipe for people without Obsidian by @JakobBolenbach in #34
- feat(plan): weekly meal plan with shopping list and calendar export by @JakobBolenbach in #35
- feat(translate): translations of recipes with the own AI by @JakobBolenbach in #36
- feat(shopping): sections per store on the shopping list by @JakobBolenbach in #37
- chore(release): 0.5.0 by @JakobBolenbach in #38
- feat(import): read schema.org microdata on recipe websites by @JakobBolenbach in #39
- fix(quantities): litre and kilogram amounts on the shopping list and when scaling by @JakobBolenbach in #48
- fix(ui): servings control buttons stay in place by @JakobBolenbach in #49
- fix(theme): Obsidian palette also in dark mode by @JakobBolenbach in #50
- fix(shopping): merging, unit plurals, measure words and stores by @JakobBolenbach in #51
- fix(ui): recipe page and cooking mode details from the beta test by @JakobBolenbach in #52
- fix(view): Esc closes the top layer instead of switching tabs by @JakobBolenbach in #53
- fix(overview): import cards, translated errors, missing folder hint by @JakobBolenbach in #54
- feat(import): processor None and clearer processor hints by @JakobBolenbach in #55
- feat(cooking): tap left or right to change steps, working swipe by @JakobBolenbach in #59
- fix(mobile): keep the view clear of Obsidian's bars, safe areas and keyboard by @JakobBolenbach in #60
- chore(release): fold the test fixes into 0.5.0 by @JakobBolenbach in #61
New Contributors
- @JakobBolenbach made their first contribution in #18
Full Changelog: 0.2.1...0.5.0
0.2.1
First beta of Better Cooking: recipe overview with photos, instant offline search, recipe page with servings calculator and timers, cooking mode, and import of recipe websites without AI (schema.org).
Install for testing with BRAT: see docs/beta-testing.md. Changes: CHANGELOG.md.