From 3f9a9ed4e06c2bf29173aa1f7796cfa9554078a7 Mon Sep 17 00:00:00 2001 From: micschk Date: Thu, 24 Sep 2026 23:19:23 +0200 Subject: [PATCH] License under MIT --- CHANGELOG.md | 7 +++++++ LICENSE | 21 +++++++++++++++++++++ README.md | 2 +- composer.json | 1 + 4 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 LICENSE diff --git a/CHANGELOG.md b/CHANGELOG.md index c17bf42..7adfc3c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## 3.0.1 (2026-09-25) + +### Licence + +- Licensed under MIT: adds a `LICENSE` file and the `license` key in `composer.json`. Earlier + releases declared no licence. + ## 3.0.0 (2026-09-25) Silverstripe 5 and 6. Silverstripe 4 is dropped, which is why this is a major release. See diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..ff8b80c --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2021-2026 Restruct and contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md index e094592..4329ce1 100755 --- a/README.md +++ b/README.md @@ -151,4 +151,4 @@ Cox, which the 2.0 README credited. License ------- -No licence is declared, as in every `2.x` release. +MIT, see [LICENSE](LICENSE). Releases before 3.0.1 declared no licence. diff --git a/composer.json b/composer.json index 9c50b55..9ba7cf0 100755 --- a/composer.json +++ b/composer.json @@ -1,6 +1,7 @@ { "name": "restruct/silverstripe-inline-infofield", "description": "CMS form fields for help text: InfoField (a styled info box) and InlineInfoField (an info icon next to another field's label that shows its text on hover or tap)", + "license": "MIT", "type": "silverstripe-vendormodule", "homepage": "https://github.com/restruct/silverstripe-inline-infofield", "keywords": [