diff --git a/CHANGELOG.md b/CHANGELOG.md index bdd9c0f..51d432c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +## 4.1.2 - 2024-04-21 +## Changed +- Updated composer.json to allow use with Craft v5 (tested on 5.0.4) + ## 4.1.1 - 2023-03-27 ## Changed - Use Content-Dispositon inline for pdfs, images and videos to open the respective diff --git a/LICENSE.md b/LICENSE.md index 335738d..90f126d 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2023 Ramon Saccilotto +Copyright (c) 2024 Ramon Saccilotto 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: diff --git a/composer.json b/composer.json index bf1a2eb..e339be1 100644 --- a/composer.json +++ b/composer.json @@ -2,14 +2,14 @@ "name": "saccilottoconsulting/craft-internal-assets", "description": "A simple plugin to restrict access to assets for permitted users only. Access to a given asset is only granted if the user has view-permissions for the given source (this can be set in the user- or group-settings). The asset source folder should be moved out of the web root folder so the files are never accessible without this plugin.", "type": "craft-plugin", - "version": "4.1.1", + "version": "4.1.2", "keywords": [ "craft", "cms", "craftcms", "craft-plugin", "assets", - "access restriction" + "access restriction" ], "support": { "docs": "https://github.com/tikiatua/internal-assets/blob/master/README.md", @@ -24,12 +24,12 @@ } ], "require": { - "craftcms/cms": "^4.0", + "craftcms/cms": "^4.0|^5.0", "php": "^8.0" }, "autoload": { "psr-4": { - "saccilottoconsulting\\internalassets\\": "src/" + "saccilottoconsulting\\internalassets\\": "src/" } }, "extra": { @@ -39,4 +39,4 @@ "hasCpSection": false, "changelogUrl": "https://raw.githubusercontent.com/tikiatua/internal-assets/master/CHANGELOG.md" } -} +} \ No newline at end of file