Skip to content

1.7.0

Choose a tag to compare

@leplatrem leplatrem released this 24 Nov 16:33
· 5 commits to main since this release
89f1380
  • Show the progress of picture processing
  • Split tests by module
  • Rename the site module to website
  • Merge the rendering module into the site module
  • Move translations to a JSON file and their helpers to utils
  • Share the layout values of all pages
  • Pass translations to templates as t
  • Move meta tags and the sitemap to templates
  • Move the home page cards and tags to templates
  • Move the recipe page markup to templates
  • Render pages with Jinja2 templates sharing a base layout
  • Configure Dependabot for Python dependencies and GitHub Actions
  • Move the CI helpers to utils
  • Move the error helpers to utils
  • Rename the text module to utils
  • Check types with ty
  • Show the Recettes version in the footer
  • Require Python 3.11 or later
  • Run linters with pre-commit, to define tool versions once
  • Pin all GitHub Actions to commit hashes of their latest release
  • Install Python with uv instead of setup-python
  • Lint and test before publishing a release, only for version tags
  • Enable more Ruff rules
  • Add a version option and support python -m recettes
  • Read package data with importlib.resources
  • Move development tools to a dependency group
  • Declare the license as an SPDX expression
  • Leave example recipes and CI workflows out of the source distribution
  • Ship the Open Font License with the bundled fonts
  • Wrap ingredient controls on narrow screens
  • Remove duplicated and redundant style rules
  • Generate a sitemap when the website URL is known
  • Add canonical URL, Open Graph locale, Twitter card and home page description
  • Translate the interface and add a site language option
  • Offer half-width pictures to screens without high density
  • Set picture dimensions to avoid layout shifts
  • Describe gallery pictures with their file name
  • Enlarge navigation and servings buttons for touch screens
  • Keep the Simple switch working when storage is blocked
  • Cut long excerpts between words, with an ellipsis
  • Tell that the edit link opens in a new tab
  • Label the search field and the tag filters for screen readers
  • Keep search query and tag filter in the URL
  • Make search accent insensitive and announce the number of results
  • Prefetch recipe pages on hover instead of all on load
  • Render home page recipe cards and tags on the server
  • Fill templates in a single pass and share head and footer partials
  • Group build settings in a BuildOptions dataclass
  • Share recipe loading between build and lint
  • Process ingredients, links and headings on Markdown tokens instead of HTML
  • Model recipes and ingredients as dataclasses
  • Split the command line module into focused modules
  • Share accent removal and define unit aliases once
  • Remove unreachable unique filename check
  • Print picture warnings on stderr
  • Report recipe errors without option usage help
  • Read cc as cubic centimeters in English recipes
  • Reject pictures that would be published under the same name
  • Remove outputs of deleted recipes on build
  • Index recipe plain text for search, without HTML markup
  • Update edit link test for new tab target
  • Lint the examples folder in CI