github ngshiheng/michelin-my-maps v3.3.0

latest releases: v3.3.2, v3.3.1
one month ago

3.3.0 (2025-07-26)

Breaking Changes

  • remove parser in favour of extraction package (ae575f1)

Feature

  • enhance command handling to support single restaurant scraping and backfilling (37145de)
  • enhance SaveAward method with provenance protection (3da193d)

Bug Fixes

  • update SaveAward method to use Updates for modifying existing awards (e3a31f9)
  • enhance SaveAward method to handle conflicts with authoritative Wayback data and allow specific overrides (1c547a3)
  • preserve existing award ID when overwriting with authoritative Wayback data (3d06cc3)
  • invalid value, should be pointer to struct error (9e1c8c8)
  • update SaveAward method to improve provenance protection and logging for award overwrites (f6f2a51)
  • correct regex for currency symbols and add whitespace for clarity (10e0383)
  • update currency regex to include riyal (e9ebf40)

Tests

  • refactor TestParsePublishedYear to use table-driven tests (af23423)
  • add unit tests for extraction functions including price, date, context, and text handling (e8af234)

Code Refactoring

  • refine logging in SaveAward method to only log updates when distinction changes (96cbb61)
  • unify data extraction methods and streamline restaurant award saving process (82ec070)
  • streamline published date extraction logic and remove unused JSON parsing function (4a21263)
  • enhance SaveAward method to log detailed differences on attempted overwrites (7ac82b5)
  • change PublishedDate type from string to int for consistency in date handling (d3fa293)
  • simplify ParsePublishedYear (80db70f)
  • consolidate regex patterns and constants for price and date extraction (bbe345c)
  • replace string literals with constants for command handling and improve error messages (1e42988)
  • improve command handling and usage message formatting (3dc9eab)
  • streamline award data extraction and update XPath constants for consistency (0ae28b4)
  • migrate to colly for XML parsing and add XPath constants for award data extraction (90b9ec5)

Styles

  • improve logging messages for clarity in scraper and backfill processes (80082f4)
  • standardize Makefile target descriptions and formatting (ab0bb70)

Chores

  • datasette: select cuisine col too (85e0526)
  • data: update generated csv (a9381a9)
  • improve logging messages in SaveAward method for clarity on award updates and conflicts (57d652e)
  • data: update generated csv (5e752e6)
  • change logging level from error to warn in run_mym function (d2a3068)
  • datasette: update titles and descriptions for consistency in metadata.json (b68345a)
  • docker: install necessary plugins in Dockerfile and update metadata.json (ff020ef)
  • start datasette in immutable mode (e3ba635)

What's Changed

  • feat: major refactoring and update SaveAward method with provenance protection by @ngshiheng in #122

Full Changelog: v3.2.2...v3.3.0

Don't miss a new michelin-my-maps release

NewReleases is sending notifications on new releases.