github ngshiheng/michelin-my-maps v1.7.0

latest releases: v3.3.2, v3.3.1, v3.3.0...
2 years ago

1.7.0 (2023-04-29)

Feature

  • add gmaps query link to address (020ff12)
  • show search count and time elapsed (ec885a5)
  • handle unique cases for columns (c543ebe)
  • run search on page load (eb457f8)
  • use lyrasearch (45f3fb9)
  • add simple html search (8e9e4c0)
  • get facilities and services data (915f4a4)
  • log url for phone number warning (32f00d4)
  • add structured logging with logrus (da94908)
  • add ExtractPrice to extract pricing info from string (03c6aa9)
  • split price into min, max; add currency (32d0717)
  • add a util function to validate coordinates (94c4e47)
  • pass context from c to detailCollector (12e8987)
  • add location (42cbbb6)
  • write restaurant to csv (1c4d6b9)
  • add basic csv writer (f045edb)
  • update start urls & scrape next page (2e1f4e1)
  • scrape restaurant coordinates (d48a356)
  • add ExtractCoordinates util function to extract longitude and latitude gmaps url (854625a)
  • extract restaurant details (67b43e3)
  • add restaurant model (8b83773)
  • add util parser functions (cd9082c)
  • scrape restaurant name (d5c6615)
  • add TimeTrack to time function calls (f9bbfa7)
  • add colly (3a95afe)

Bug Fixes

  • import does not work on certain browsers (e0189fd)
  • deps: update module github.com/stretchr/testify to v1.8.2 (0bcc699)
  • deps: update module github.com/nyaruka/phonenumbers to v1.1.6 (fafe48e)
  • deps: update module github.com/nyaruka/phonenumbers to v1.1.5 (033aa13)
  • pin lyrasearch version (9e83b64)
  • deps: update module github.com/gocolly/colly to v2 (c33e5ad)
  • replace linebreak in address with whitespace (f433da4)
  • deps: update module github.com/nyaruka/phonenumbers to v1.1.4 (2e7484d)
  • deps: update module github.com/nyaruka/phonenumbers to v1.1.2 (b095d6e)
  • deps: update module github.com/stretchr/testify to v1.8.1 (f4685d5)
  • deps: update module github.com/nyaruka/phonenumbers to v1.1.1 (a1dc09d)
  • ci: update golang.org/x/sys (f4ebda4)
  • deps: update module github.com/sirupsen/logrus to v1.9.0 (e390210)
  • deps: update module github.com/stretchr/testify to v1.8.0 (1b2c120)
  • deps: update module github.com/stretchr/testify to v1.7.5 (18e5363)
  • deps: update module github.com/nyaruka/phonenumbers to v1.1.0 (f7c22be)
  • deps: update module github.com/stretchr/testify to v1.7.4 (93a52d3)
  • deps: update module github.com/stretchr/testify to v1.7.3 (ee1f33d)
  • deps: update module github.com/stretchr/testify to v1.7.2 (95e076d)
  • deps: update module github.com/nyaruka/phonenumbers to v1.0.75 (da9d1c3)
  • deps: update module github.com/stretchr/testify to v1.7.1 (c7e6a50)
  • renovate config (f5304c8)
  • invert long lat (eec3b57)
  • remove async (3575150)

Documentation

Tests

  • add new test case for SplitUnpack (f15adab)
  • add test case for GenerateFieldNameSlice (b0e62da)
  • add case where long lat data is unavailable (8aa6923)
  • add location (0968ae2)
  • add test case (b614489)
  • add TestExtractCoordinates (ca39075)
  • add TestTrimWhiteSpaces (498395c)
  • add TestSplitUnpack (40813f8)

Code Refactoring

  • read data with import (17123fb)
  • decrease batchSize (99efffd)
  • make all fields string type (a6c84c9)
  • move script into another file (45942a1)
  • move code into functions & add favicon (4ab6469)
  • delete scrape.yml and bin (e2be173)
  • update with dummy data (dfda9f1)
  • project layout (d52e3a0)
  • rename generated/ to data/ (9a318c4)
  • app: update XPath for phone number and website url (49c1636)
  • associate award with startUrls (c5d887f)
  • parse longitude and latitude data directly from XML (3136423)
  • add parser.ParsePhoneNumber (a0f9c12)
  • move more xpaths to const (d7958b8)
  • move app constants to const.go (1ec9183)
  • move crawler to app (8edaba1)
  • update build (a363c1c)
  • update phone number format to E164 (cacb99a)
  • change Type to Cuisine (80720fb)
  • add error handling for csv writer (e72ddaa)
  • decouple csv writer (e637101)
  • rename classification to award (c52bfd8)
  • update classification field via context from request url (7bf36e8)
  • handle edge cases where len(str) != 2 (a5d04ab)
  • reorder (ab5b846)

Styles

Chores

  • data: update csv and json data (2073fa6)
  • data: update csv and json data (c12eec0)
  • data: update csv and json data (2e48572)
  • data: update csv and json data (37aa71d)
  • data: update csv and json data (83ad26a)
  • update makefile to add cmd to serve simple http server (745268c)
  • add umami (e5fefba)
  • setup custom domain (4718430)
  • use mlr to convert csv to json (e1334ce)
  • data: update generated csv automatically (ec7929d)
  • bin: update bin automatically (540df80)
  • update polymer search view link (85c9fa7)
  • bin: update app bin after breaking change update to the site (0d12c27)
  • data: update generated csv (09987d2)
  • bin: update bin automatically (addb07a)
  • bin: update bin automatically (449449a)
  • data: update generated csv automatically (7ba85fc)
  • add help message to Makefile (a8ea754)
  • bin: update bin automatically (4f5dcd3)
  • add FUNDING.yml (d4ab4c9)
  • bin: update bin automatically (81edd80)
  • deps: update module go to 1.18 (dcf493d)
  • bin: update bin automatically (75b29c9)
  • data: add facilities and services column (a4e05c0)
  • bin: update bin automatically (7a0694f)
  • bin: update bin automatically (95d8a05)
  • generated: update generated csv automatically (81d1f2c)
  • bin: update bin automatically (4a02638)
  • generated: update generated csv automatically (ea28f75)
  • generated: update generated csv automatically (96d9de6)
  • bin: update bin automatically (15bd7d5)
  • cache folder pattern (55dbf65)
  • generate new michelin guide restaurant (079302c)
  • update build (c485de6)
  • run go mod tidy (c2f796b)
  • run go mod tidy post update (ecc945c)
  • add build (b31e078)
  • update build bin (747fc4b)
  • add Makefile (e327961)
  • update example csv (738c792)
  • add example csv (2eb5ae7)
  • add semantic commit preset & timezone (fce90b9)
  • deps: add renovate.json (11ee460)
  • add cache to .gitignore (0275c73)

CI

  • fix 403 resource not accessible by integration (b354e8d)
  • add 1.19.x to matrix (d3af97d)
  • remove build step (973b879)
  • add 1.18.x to matrix (7cdcbea)
  • add autostash flag to automatically stash and pop pending changes (4ddf64d)
  • run scraper binary directly (b98bbc7)
  • refactor to use default_author (560af4d)
  • add missing env (5ce22f5)
  • add step to build and commit go binary (e6baef3)
  • add upload artifact step (e06bbb8)
  • fix invalid arithmetic operator due to float (8d2155f)
  • only run ci on Go related changes (f149c3c)
  • add workflow_dispatch to job (182c590)
  • add scheduled job to scrape data quarterly (c44bbca)
  • add verbose flag to test (e2a79b4)
  • remove duplicate test job on main branch (c0c1b70)
  • add more default presets (d41cd1c)
  • add semantic release job (1a67779)
  • add test job (4859415)

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

NewReleases is sending notifications on new releases.