From 7d13d45cca983f227438a4e4627ae59852ae1a81 Mon Sep 17 00:00:00 2001 From: Dominik Schwind Date: Sat, 17 Dec 2022 16:28:29 +0100 Subject: [PATCH 1/2] Updated after the rename of php-weather/common to php-weather/core --- .github/workflows/php.yml | 4 ++-- README.md | 6 +++--- composer.json | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 9416473..ad426bd 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -2,9 +2,9 @@ name: PHP Composer on: push: - branches: [ "main" ] + branches: [ "main", "develop" ] pull_request: - branches: [ "main" ] + branches: [ "main", "develop" ] permissions: contents: read diff --git a/README.md b/README.md index 0bcda8f..b646923 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,12 @@ # PHP Weather Provider for Open Meteo ![Packagist Version](https://img.shields.io/packagist/v/php-weather/open-meteo) -![PHP Weather Common Version](https://img.shields.io/badge/phpweather--common-0.3.*-brightgreen) -![PHP Weather HTTP Provider Version](https://img.shields.io/badge/phpweather--http--provider-0.4.*-brightgreen) +![PHP Weather Common Version](https://img.shields.io/badge/phpweather--core-0.4.*-brightgreen) +![PHP Weather HTTP Provider Version](https://img.shields.io/badge/phpweather--http--provider-0.5.*-brightgreen) ![GitHub Release Date](https://img.shields.io/github/release-date/php-weather/open-meteo) ![GitHub commits since tagged version](https://img.shields.io/github/commits-since/php-weather/open-meteo/0.2.0) ![GitHub last commit](https://img.shields.io/github/last-commit/php-weather/open-meteo) -![GitHub Workflow Status](https://img.shields.io/github/workflow/status/php-weather/open-meteo/PHP%20Composer) +![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/php-weather/open-meteo/php.yml?branch=main) ![GitHub](https://img.shields.io/github/license/php-weather/open-meteo) ![Packagist PHP Version Support](https://img.shields.io/packagist/php-v/php-weather/open-meteo) diff --git a/composer.json b/composer.json index fa1f8fe..05f18de 100644 --- a/composer.json +++ b/composer.json @@ -14,10 +14,10 @@ } ], "require": { - "php": "8.0.*|8.1.*", + "php": "^8", "ext-json": "*", - "php-weather/http-provider": "0.4.*", - "php-weather/common": "0.3.*" + "php-weather/http-provider": "0.5.*", + "php-weather/core": "0.4.*" }, "require-dev": { "jetbrains/phpstorm-attributes": "^1.0", From 64dd0d6fcc3aabae74563bb72de9d435f073167c Mon Sep 17 00:00:00 2001 From: Dominik Schwind Date: Sat, 17 Dec 2022 16:29:48 +0100 Subject: [PATCH 2/2] Changelog / Readme --- CHANGELOG.md | 13 +++++++++++++ README.md | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..39d281c --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,13 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [0.3.0] - 2022-12-17 + +### Changed + +* Switched from `php-weather/common` to `php-weather/core` +* Changed the required PHP version \ No newline at end of file diff --git a/README.md b/README.md index b646923..b33b885 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ ![PHP Weather Common Version](https://img.shields.io/badge/phpweather--core-0.4.*-brightgreen) ![PHP Weather HTTP Provider Version](https://img.shields.io/badge/phpweather--http--provider-0.5.*-brightgreen) ![GitHub Release Date](https://img.shields.io/github/release-date/php-weather/open-meteo) -![GitHub commits since tagged version](https://img.shields.io/github/commits-since/php-weather/open-meteo/0.2.0) +![GitHub commits since tagged version](https://img.shields.io/github/commits-since/php-weather/open-meteo/0.3.0) ![GitHub last commit](https://img.shields.io/github/last-commit/php-weather/open-meteo) ![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/php-weather/open-meteo/php.yml?branch=main) ![GitHub](https://img.shields.io/github/license/php-weather/open-meteo)