diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000000..eb6db7779f --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,1046 @@ +## 0.70.0 (2024-05-17) + +### Feat + +- #708 Dev Container +- Dev Container +- #708 Dev Container +- #708 Dev Container +- #708 Dev Container +- #708 Dev Container +- #708 Dev Container +- #708 Dev Container +- #708 Dev Container +- #708 Dev Container +- #708 Dev Container +- #708 Dev Container +- #708 simplifying Selenium integration tests +- #708 simplifying Selenium integration tests +- #708 Test GH action seenium +- #708 Test GH action seenium +- #708 Test GH action seenium +- #708 Test GH action seenium +- #708 Test GH action seenium +- #708 Test GH action seenium +- #708 Test GH action seenium +- #708 Test GH action seenium +- #708 Test GH action seenium +- #708 Test GH action seenium +- #708 Dev Container testing +- #708 - dev container changes +- #706 Adding Dev Container +- #706 Adding initial Dev Container + +## 0.69.7 (2024-05-17) + +### Fix + +- #713 BarnsleyMBCouncil.py + +## 0.69.6 (2024-05-16) + +### Fix + +- #709 Update DoverDistrictCouncil.py + +## 0.69.5 (2024-05-14) + +### Fix + +- #696 Small issue and Black formatting +- #696 Small issue and Black formatting +- #696 Small issue and Black formatting +- #696 Small issue and Black formatting +- #696 Small issue and Black formatting +- #696 Small issue and Black formatting +- #696 Small issue and Black formatting +- #696 Small issue and Black formatting +- #696 test coverage back to 100% + +## 0.69.4 (2024-05-09) + +### Fix + +- pass in required parameter into `create_webdriver` +- test runners for `MiltonKeynesCityCouncil` and `NorthEastLincs`. + +## 0.69.3 (2024-05-09) + +### Fix + +- fix AttributeError when no garden waste collection is available for properties using Huntingdon District Council +- add support for parsing "Today" / "Tomorrow" as date text for `BarnsleyMBCouncil` +- add support for parsing "Tomorrow" as date text for `LiverpoolCityCouncil` + +## 0.69.1 (2024-05-01) + +### Fix + +- Handling the "Website cookies enhance your user experience." button +- Handling the "Website cookies enhance your user experience." button + +## 0.69.0 (2024-04-28) + +### Feat + +- Adding Renfrewshire Council +- Adding Renfrewshire Council + +## 0.68.2 (2024-04-28) + +### Fix + +- Remove 'import Dumper' + +## 0.68.1 (2024-04-27) + +### Fix + +- input.json Bradford missing comma + +## 0.68.0 (2024-04-27) + +### Feat + +- Add support for West Berkshire Council +- add support for Knowsley Metropolitan Borough Council +- add support for Cheshire West and Chester Council +- add support for Cheshire West and Chester Council + +## 0.66.2 (2024-04-18) + +### Fix + +- Update HaringeyCouncil.py issue #670 + +## 0.66.1 (2024-04-15) + +### Fix + +- parse datetimes correctly and round to midnight + +## 0.66.0 (2024-04-15) + +## 0.65.2 (2024-04-15) + +### Fix + +- change address selection to fix errors selecting the user's PAON + +## 0.65.1 (2024-04-15) + +### Fix + +- add check for parsed string length to stop datetime parsing error + +## 0.65.0 (2024-04-13) + +### Feat + +- add Arun council +- add support for Sunderland City Council +- add support for Sunderland City Council + +## 0.64.3 (2024-03-25) + +### Fix + +- sort data and correct dictionary name (#609) + +## 0.64.2 (2024-03-24) + +## 0.64.1 (2024-03-24) + +### Fix + +- fix Kirklees address search (switch to house & postcode) +- fixes json + +## 0.64.0 (2024-03-23) + +### Feat + +- add Kirklees council + +### Fix + +- fixes json + +## 0.63.0 (2024-03-23) + +### Feat + +- Add Solihull Council (#513) +- Add Adur and Worthing Councils (#544) +- Add Dover District Council (#614) +- Add Rochford Council (#620) +- Add Tandridge District Council (#621) +- Add West Northamptonshire Council (#567) +- Add Hull City Council (#622) +- Add Wyre Council (#625) +- Add Telford and Wrekin Co-operative Council (#632) +- Add Mansfield District Council (#560) +- Add Bedford Borough Council (#552) + +### Fix + +- spacing on input.json +- realign input.json +- capitalize bin type text +- formatting on input.json +- incorrect collections +- update testing URL for Merton +- attempt to resolve invisible banner hiding postcode box +- resolve JSON schema exception for date formatting +- resolve JSON schema exception for date formatting +- accept cookies banner + +## 0.62.0 (2024-03-03) + +### Fix + +- Added missing .feature file entry to the test config for NewhamCouncil + +## 0.61.1 (2024-02-16) + +### Fix + +- code optimisations +- Fix date parsing in WestLindseyDistrictCouncil.py + +## 0.61.0 (2024-02-11) + +### Feat + +- Add Mole Valley District Council + +## 0.60.1 (2024-02-03) + +### Fix + +- Update input.json Closes #599 + +## 0.60.0 (2024-01-28) + +### Feat + +- Add Scraper for St Albans City and District Council + +## 0.59.1 (2024-01-25) + +### Fix + +- add wiki note for castlepoint +- update test data for castlepoint +- remove single line causing issues + +## 0.59.0 (2024-01-20) + +### Feat + +- Add NorthYorkshire to test feature file +- Add north yorkshire to test input +- Add Support for north yorkshire council + +### Fix + +- remove unused code + +## 0.58.8 (2024-01-19) + +### Fix + +- barnet no overrides + +## 0.58.7 (2024-01-18) + +### Fix + +- accidentally returned strings when needed date objects, refactor to handle this +- checking for future/past dates + +## 0.58.6 (2024-01-18) + +### Fix + +- correct date handling for North West Leicestershire + +## 0.58.5 (2024-01-15) + +### Fix + +- Don't call driver.quit where already handled by finally block + +## 0.58.4 (2024-01-15) + +### Fix + +- remove extra driver.quit to prevent errors + +## 0.58.3 (2024-01-15) + +### Feat + +- Added support for Newham Council's bin collections + +### Fix + +- Add a default value for user_agent to fix all councils using selenium and not specifying agent + +## 0.58.2 (2024-01-11) + +### Fix + +- use static values for bin types + +## 0.58.1 (2024-01-10) + +### Fix + +- Eastleigh Borough Council doesnt cope with "You haven't yet signed up for ..." +- Eastleigh Borough Council doesnt cope when Garden Waste service hasn't been signed up for, which gets the value "You haven't yet signed up for our garden waste collections. Find out more about our\xa0garden waste collection service" which results in ValueError: time data + +## 0.58.0 (2024-01-10) + +### Feat + +- Add Test Valley Borough Council + +## 0.57.0 (2024-01-09) + +### Feat + +- Add support for Chorley Council + +## 0.56.13 (2024-01-09) + +### Fix + +- update logic to account for council website change + +## 0.56.12 (2024-01-09) + +### Fix + +- duplicate driver.quit() calls causes error + +## 0.56.11 (2024-01-08) + +### Fix + +- Headless now working on custom comp Update sensor.py + +## 0.56.10 (2024-01-08) + +### Fix + +- headless mode in custom component + +## 0.56.9 (2024-01-08) + +### Fix + +- headless mode + +## 0.56.8 (2024-01-08) + +### Fix + +- headless in custom comp + +## 0.56.7 (2024-01-08) + +### Fix + +- headless options + +## 0.56.6 (2024-01-07) + +### Fix + +- modified Kingston-upon-Thames driver for greater reliability. + +## 0.56.5 (2024-01-07) + +### Fix + +- Update KingstonUponThamesCouncil.py + +## 0.56.4 (2024-01-07) + +### Fix + +- Update KingstonUponThamesCouncil.py + +## 0.56.3 (2024-01-07) + +### Fix + +- headless options +- #542 - Selenium Grid Sessions must be terminated cleanly +- #542 - Selenium Grid Sessions must be terminated cleanly + +## 0.56.2 (2024-01-07) + +### Fix + +- Update strings.json +- Update en.json +- Update config_flow.py + +## 0.56.1 (2024-01-07) + +### Fix + +- Update common.py + +## 0.56.0 (2024-01-07) + +### Feat + +- Update strings.json +- Update en.json +- Update config_flow.py +- adding headless control +- adding headless control +- adding headless control + +## 0.55.3 (2024-01-05) + +### Fix + +- Update lint.yml + +## 0.55.2 (2024-01-05) + +### Fix + +- Chelmsford + +## 0.55.1 (2024-01-05) + +### Fix + +- Update ChelmsfordCityCouncil.py +- Update ChelmsfordCityCouncil.py +- Update ChelmsfordCityCouncil.py + +## 0.55.0 (2024-01-05) + +### Feat + +- Update codeql-analysis.yml +- Update behave.yml +- Update CONTRIBUTING.md +- Update behave.yml +- Update behave.yml +- Update ConwyCountyBorough.py +- Update behave.yml +- Update CheshireEastCouncil.py +- Update behave.yml +- Update behave.yml +- Update behave.yml +- Update Makefile +- Update Makefile +- Update behave.yml +- Update Makefile +- Update validate_council_outputs.feature + +## 0.54.0 (2024-01-04) + +### Feat + +- Barnet seasonal overrides + +## 0.53.2 (2024-01-04) + +### Fix + +- barnet (again) + +## 0.53.1 (2024-01-04) + +### Fix + +- barnet + +## 0.53.0 (2024-01-04) + +### Feat + +- barnet council + +## 0.52.0 (2024-01-04) + +### Feat + +- #525 Adding API Server and Docker build +- #525 Adding API Server and Docker build + +## 0.51.0 (2024-01-04) + +### Feat + +- #522 Adding Nottingham City Council + +## 0.50.1 (2024-01-03) + +### Fix + +- don't ask for URL for Vale of White Horse Council + +## 0.50.0 (2024-01-03) + +### Feat + +- add Vale of White Horse District Council + +### Fix + +- account for additional string on exceptional schedule + +## 0.49.1 (2024-01-01) + +### Fix + +- Torbay + +## 0.49.0 (2024-01-01) + +### Feat + +- add South Gloucestershire Council + +## 0.48.3 (2024-01-01) + +### Fix + +- manifest.json + +## 0.48.2 (2024-01-01) + +### Fix + +- manifest.json to remove depricated attribute + +## 0.48.1 (2024-01-01) + +### Fix + +- Hacs Validation Pipeline + +## 0.48.0 (2024-01-01) + +### Feat + +- Adding HACS Validation + +## 0.47.0 (2024-01-01) + +### Feat + +- Add hassfest validation.yml + +## 0.46.1 (2023-12-31) + +### Fix + +- Black formatting +- Fix GuildfordCouncil + +## 0.46.0 (2023-12-31) + +### Feat + +- Adding Brighton and Hove City Council +- Adding Brighton and Hove City Council +- Adding Brighton and Hove City Council +- Adding Brighton and Hove City Council +- Adding London Borough Redbridge +- London Borough Redbridge +- Adding LondonBoroughRedbridge 431 + +### Fix + +- chelmsford #407 + +## 0.45.0 (2023-12-29) + +### Feat + +- Add Haringey Council. + +## 0.44.2 (2023-12-29) + +### Fix + +- #509 Wiltshire Update input.json + +## 0.44.1 (2023-12-28) + +### Fix + +- Bexley +- CharnwoodBoroughCouncil + +## 0.44.0 (2023-12-27) + +### Feat + +- Adding support for Gedling Borough Council + +## 0.43.0 (2023-12-25) + +### Feat + +- add Newport City Council + +## 0.42.1 (2023-12-24) + +### Feat + +- Initial Test Commit for Gedling Borough Council + +### Fix + +- CastlepointDistrictCouncil +- 191_fixingbroken_councils +- 191_fixingbroken_councils +- 191_fixingbroken_councils + +## 0.42.0 (2023-12-19) + +### Feat + +- Adding West Lindsey District Council +- Adding West Lindsey District Council + +## 0.41.5 (2023-12-18) + +### Fix + +- #191 Preston City Council + +## 0.41.4 (2023-12-17) + +### Fix + +- #493 Update input.json + +## 0.41.3 (2023-12-17) + +### Fix + +- #27 East Riding + +## 0.41.2 (2023-12-17) + +### Fix + +- #493 Leeds issues + +## 0.41.1 (2023-12-17) + +### Fix + +- Add in URL override for wiki +- Update RushmoorCouncil.py to use new URL + +## 0.41.0 (2023-12-16) + +### Feat + +- #264 Adding Oldham +- #250 Adding Halton Borough Council +- #244 Adding Portsmouth City Council + +### Fix + +- #141 Leeds speed up +- #174 / #244 / #204 + +## 0.40.1 (2023-12-16) + +### Fix + +- 488_blackburnfixes + +## 0.40.0 (2023-12-15) + +### Feat + +- adding #204 Forest_of_Dean_District +- adding #204 Forest_of_Dean_District + +## 0.39.0 (2023-12-13) + +### Feat + +- Adding support for Reading Borough Council + +## 0.38.0 (2023-12-12) + +### Feat + +- Add Shropshire Council + +## 0.37.2 (2023-12-08) + +### Fix + +- Issue 394 - change coordinator data from numerical indexed list to dictionary + +## 0.37.1 (2023-12-08) + +### Fix + +- add postcode and uprn for Bedfordshire Council + +## 0.37.0 (2023-12-07) + +### Feat + +- Add BefordshireCouncil scraper + +## 0.36.0 (2023-12-07) + +### Feat + +- adding NorthEastDerbyshireDistrictCouncil + +## 0.35.1 (2023-12-06) + +### Fix + +- move logging config to collect_data script + +## 0.35.0 (2023-12-06) + +### Feat + +- Adding North_West_Leicestershire +- Adding North_West_Leicestershire + +## 0.34.0 (2023-12-05) + +### Feat + +- Add Sevenoaks District Council +- Add Barnsley Metropolitan Borough Council to the feature file +- Add Barnsley Metropolitan Borough Council to input.json +- Add support for Barnsley Council (#444) +- Add Dorset Council to feature file +- Add Dorset Council to input.json +- Add support for Dorset Council +- Add Rugby Borough Council to feature file +- Add Rugby Borough Council to input.json +- Add parser for Rugby Borough Council (#456) + +## 0.32.1 (2023-12-04) + +### Fix + +- Move LiverpoolCityCouncil.py to correct folder + +## 0.32.0 (2023-12-01) + +### Feat + +- Add extra files for Stoke-on-Trent support +- Add support for Stoke-on-Trent (re: #440) + +## 0.31.1 (2023-12-01) + +### Fix + +- change logic to add correct years and support 'Tomorrow' results + +## 0.31.0 (2023-12-01) + +### Feat + +- Add support for Environment First collections (re: #433) +- Add support for Environment First collections (re: #433) +- change parameter name of 'x' to 'step' in get_dates_every_x_days() + +## 0.30.1 (2023-12-01) + +### Fix + +- Increase data update timeout for slower selenium based tests + +## 0.30.0 (2023-11-30) + +### Feat + +- Added WestSuffolkCouncil + +## 0.29.1 (2023-11-29) + +### Fix + +- Fix scraper for Bolton + +## 0.29.0 (2023-11-26) + +### Feat + +- Add Mid and East Antrim +- Add Mid and East Antrim +- Add Mid and East Antrim + +## 0.28.1 (2023-11-22) + +### Fix + +- basingstoke adapt to basingstoke site changes + +## 0.28.0 (2023-11-08) + +### Feat + +- Add support files for Liverpool City Council +- Add additional comments +- Add Liverpool City Council parser + +### Fix + +- change dateutil name + +## 0.27.2 (2023-11-08) + +### Fix + +- Custom component web driver field label + +## 0.27.1 (2023-11-05) + +### Fix + +- 419-fix-selenium-behave-tests + +## 0.27.0 (2023-11-04) + +### Feat + +- Update EastSuffolkCouncil.py +- Change bin_type's to be title() so it reads better +- Driver quit needs to be after last use of driver + +## 0.26.0 (2023-11-03) + +### Feat + +- Add remote Selenium web driver support + +## 0.25.0 (2023-11-03) + +### Feat + +- Update dev mode & remove JSON outputs +- Update dev mode & remove JSON outputs +- Update dev mode & remove JSON outputs + +## 0.24.3 (2023-11-01) + +### Feat + +- Add remote Selenium web driver support +- Add remote Selenium web driver support +- Add remote Selenium web driver support +- Add remote Selenium web driver support + +### Fix + +- Holidays subdivision error + +## 0.24.2 (2023-11-01) + +### Fix + +- #378 update East Northamptionshire to North Northamptonshire + +## 0.24.1 (2023-11-01) + +### Fix + +- 410 Adding more behave logging and hamcrest assertations + +## 0.24.0 (2023-10-31) + +### Feat + +- Replace individual council schema's with a single common one + +## 0.23.2 (2023-10-30) + +### Fix + +- #399 - DeprecationWarning: Python Package holidays + +## 0.23.1 (2023-10-30) + +### Fix + +- unit test coverage + +## 0.23.0 (2023-10-30) + +### Feat + +- Add support for Conwy council + +## 0.22.0 (2023-10-30) + +## 0.21.3 (2023-10-29) + +### Feat + +- Add support for Calderdale Council + +### Fix + +- Home Assistant custom component fix for Selenium based councils +- Home Assistant custom component fix for Selenium based councils +- Fix Chelmsford City Council +- Fix input.json order + +## 0.21.1 (2023-10-24) + +### Fix + +- Fix the incorrect key collectionTime in json output of Salford Council + +## 0.21.0 (2023-10-23) + +### Feat + +- Add support for West Lothian Council +- Add support for East Lindsey District Council +- Add support for Gateshead Council +- Add support for Staffordshire Moorlands District Council + +## 0.20.0 (2023-10-20) + +### Feat + +- Add support for Cannock Chase District Council + +## 0.19.0 (2023-10-19) + +### Feat + +- fix missing comma in test input for eastsuffolkcouncil + +## 0.18.0 (2023-10-19) + +### Feat + +- Add EastSuffolkCouncil support + +## 0.17.0 (2023-10-19) + +### Feat + +- Add support for Bury Council (#265) +- Add support for Bury Council (#265) + +### Fix + +- correctly align input.json + +## 0.16.0 (2023-10-18) + +### Feat + +- Add support for Neath Port Talbot Council + +## 0.15.0 (2023-10-18) + +### Feat + +- StratfordUponAvonCouncil Addition + +## 0.14.0 (2023-10-18) + +### Feat + +- Rename Chilterns to Buckinghamshire Council + +## 0.13.4 (2023-10-16) + +### Fix + +- Update poetry.lock to allow any urllib3 version + +## 0.13.3 (2023-10-15) + +### Fix + +- Remove options flow from home assistant custom component + +## 0.13.2 (2023-10-15) + +### Fix + +- Update poetry.lock + +## 0.13.1 (2023-10-15) + +### Fix + +- Remove first BS4 call to stop page read +- fix ValueError and add in correct year data +- swap Crawley's USRN for house number +- fix date parsing and change BS4 logic + +## 0.13.0 (2023-10-11) + +### Feat + +- Add supporting files for Rhondda Cynon Taff Council + +## 0.12.1 (2023-09-28) + +### Feat + +- Add support for Reigate and Banstead Borough Council + +### Fix + +- Fix for Wakefield City Council custom component support +- Fix for Wakefield City Council custom component support + +## 0.11.0 (2023-09-27) + +### Feat + +- Add support for Bath and North East Somerset Council +- Add support for multiple instances of the custom component + +### Fix + +- Fix Python Semantic Release version +- Fix Wakefield City Council + +## 0.10.1 (2023-09-16) + +## 0.10.0 (2023-09-16) + +## 0.9.0 (2023-07-28) + +## 0.8.0 (2023-07-23) + +## 0.7.0 (2023-07-23) + +## 0.6.0 (2023-07-22) + +## 0.5.0 (2023-07-21) + +## 0.4.0 (2023-07-20) + +## 0.3.0 (2023-07-18) + +## 0.2.0 (2023-07-16) + +## 0.1.0 (2023-07-16) diff --git a/custom_components/uk_bin_collection/config_flow.py b/custom_components/uk_bin_collection/config_flow.py index 36412ac2c1..49b8c71f6c 100644 --- a/custom_components/uk_bin_collection/config_flow.py +++ b/custom_components/uk_bin_collection/config_flow.py @@ -18,7 +18,7 @@ def __init__(self): async def get_councils_json(self) -> object: """Returns an object of supported council's and their required fields.""" # Fetch the JSON data from the provided URL - url = "https://raw.githubusercontent.com/robbrad/UKBinCollectionData/0.69.7/uk_bin_collection/tests/input.json" + url = "https://raw.githubusercontent.com/robbrad/UKBinCollectionData/0.70.0/uk_bin_collection/tests/input.json" async with aiohttp.ClientSession() as session: async with session.get(url) as response: data_text = await response.text() diff --git a/custom_components/uk_bin_collection/manifest.json b/custom_components/uk_bin_collection/manifest.json index 4264b01fca..dc9c13794f 100644 --- a/custom_components/uk_bin_collection/manifest.json +++ b/custom_components/uk_bin_collection/manifest.json @@ -9,7 +9,7 @@ "integration_type": "service", "iot_class": "cloud_polling", "issue_tracker": "https://github.com/robbrad/UKBinCollectionData/issues", - "requirements": ["uk-bin-collection>=0.69.7"], - "version": "0.69.7", + "requirements": ["uk-bin-collection>=0.70.0"], + "version": "0.70.0", "zeroconf": [] } diff --git a/pyproject.toml b/pyproject.toml index 34ecce2591..c15650c93b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "uk_bin_collection" -version = "0.69.7" +version = "0.70.0" description = "Python Lib to collect UK Bin Data" readme = "README.md" authors = ["Robert Bradley "]