From 9ba3db76177b61e413444d4fe3409db87330c3c8 Mon Sep 17 00:00:00 2001 From: nfebe Date: Tue, 22 Sep 2026 18:35:43 +0100 Subject: [PATCH 1/2] chore: Release 0.2.0 --- CHANGELOG.md | 5 +++-- composer.json | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e3fb89d..57b399e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,8 +2,9 @@ ### Added - Offer providers, so a host's discounts can be listed and created from the console without the package knowing what stores them (`OfferProvider`, `OfferField`, `Offer`) -- `GET offers`, `POST offers/{provider}`, `DELETE offers/{provider}/{id}` -- `admin.offer_providers` configuration +- `GET offers`, `POST offers/{provider}`, `DELETE offers/{provider}/{id}`, all answering to the configured owner the way the mail template endpoints do +- `admin.offer_providers` configuration, refused with a message when it names a class that does not implement the contract or two providers claiming one key +- `admin.requests.create_offer`, so a host can ask for its own fields when a discount is created ## [0.1.0] - 2026-08-29 - Shared administration user directory and configurable automatic email templates diff --git a/composer.json b/composer.json index 9f75957..6cee31c 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "whilesmart/eloquent-admin", "description": "Shared measurements, user directory and automatic email templates for Laravel applications.", "type": "library", - "version": "0.1.0", + "version": "0.2.0", "license": "MIT", "authors": [{ "name": "Whilesmart Team" }], "require": { From bbde29c37a0a0e495745c4c8dd64d802b6375d1b Mon Sep 17 00:00:00 2001 From: nfebe Date: Tue, 22 Sep 2026 18:40:22 +0100 Subject: [PATCH 2/2] docs: Say the offer configuration's two refusals the same way --- CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 57b399e..fbf96d5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,8 +3,8 @@ ### Added - Offer providers, so a host's discounts can be listed and created from the console without the package knowing what stores them (`OfferProvider`, `OfferField`, `Offer`) - `GET offers`, `POST offers/{provider}`, `DELETE offers/{provider}/{id}`, all answering to the configured owner the way the mail template endpoints do -- `admin.offer_providers` configuration, refused with a message when it names a class that does not implement the contract or two providers claiming one key -- `admin.requests.create_offer`, so a host can ask for its own fields when a discount is created +- `admin.offer_providers` configuration, refused when a class does not implement the contract or when two providers claim one key +- `admin.requests.create_offer`, so a host can validate a new discount its own way ## [0.1.0] - 2026-08-29 - Shared administration user directory and configurable automatic email templates