feat(file): Added functionality to retrieve magic bytes from files and detect file types using magic bytes.

This commit is contained in:
2024-11-18 15:07:46 +01:00
parent c7f0c97341
commit 383a5204f4
7 changed files with 6027 additions and 4273 deletions

View File

@@ -1,5 +1,12 @@
# Changelog
## 2024-11-18 - 3.1.0 - feat(file)
Added functionality to retrieve magic bytes from files and detect file types using magic bytes.
- Introduced method `getMagicBytes` in `File` and `Bucket` classes to retrieve a specific number of bytes from a file.
- Enhanced file type detection by utilizing magic bytes in `MetaData` class.
- Updated dependencies for better performance and compatibility.
## 2024-11-18 - 3.0.24 - fix(metadata)
Fix metadata handling to address type assertion and data retrieval.