summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md2
-rw-r--r--static/classes/UploadedFile.class.php1
2 files changed, 3 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5b1594f..d4c935f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -22,6 +22,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
- Swig banners. Use Swig templates or an alternative. (Juuso Lapinlampi)
- Unused file expiration (`expire`). This feature may be removed in the
next major version. (Juuso Lapinlampi)
+- `get_sha1()` function. This API may be changed or removed in the next
+ major version, switching to SHA-256 hashes. (Juuso Lapinlampi)
## `2.0.2` - Unreleased
diff --git a/static/classes/UploadedFile.class.php b/static/classes/UploadedFile.class.php
index ac39646..99020ce 100644
--- a/static/classes/UploadedFile.class.php
+++ b/static/classes/UploadedFile.class.php
@@ -37,6 +37,7 @@ class UploadedFile
/**
* Generates the SHA1 or returns the cached SHA1 hash for the file.
*
+ * @deprecated 2.1.0 To be replaced with SHA-256 hashing.
* @return string
*/
public function get_sha1()