Releases: lildude/phpSmug
Releases · lildude/phpSmug
4.1.0
Release date: 9 Sep '18
Added
- Support for "non-inline" expansions.
Changed
- The minimum required and tested version of PHP is now 5.6.
- The
_config
option, if provided as an array, is JSON encoded for ease of use.
Fixes
- Empty arguments are stripped from the URL before calling the API. Fixes #43.
4.0.0
Release Date: 31 Dec '15
Added
- Support for SmugMug's v2 API.
Changed
- Complete rewrite of phpSmug.
- Introduction of proper semantic versioning.
- Switched to using Guzzle for requests to the API. This means more reliable and predictable behaviour and allows for easier future improvements in phpSmug without having to worry about maintaining a library that submits requests.
- All tests are now public and run on Travis CI with every push.
- phpSmug is now licensed under the MIT license.
- PSR-1, PSR-2, and PSR-4 coding standards are implemented and enforced by unit testing.
- phpSmug 4.0.0 is not backwardly compatible with phpSmug 3.5 and earlier.
Removed
- Caching has been removed from this release.
- Support for SmugMug's 1.3.0 and earlier API.
3.5
Release Date: 2 Mar '13
- Added ability to sign an image URL with OAuth authentication parameters to allow embedding of "non-external" images within external sites. Fixes Ticket #16.
- Added example-external-links.php example to demonstrate the above.
- Switched to using Markdown for the README file.
- Misc other little coding changes and improvements.
3.4
3.3
3.2
Release Date: 30 May '11
- Improved support for the 1.3.0 API endpoint (Ticket #10)
- Implemented the ability to force all API communication to occur securely over HTTPS. OAuth Only. (Ticket #9)
- phpSmug now uses the documented secure.smugmug.com API endpoints (Ticket #8)
- Updated OAuth example to use new Album URL and to remove its use of the deprecated session_unregister() PHP function.
3.1
Release Date: 28 Mar '11
- phpSmug now defaults to using the 1.2.2 API endpoint. All earlier endpoints are still available, but technically deprecated by SmugMug.
- Removed erroneous re-instantiation of processor when setting adapter.
- Corrected check for safe_dir OR open_basedir so fails over to socket connection correctly
- Improved connection settings
3.0
Release Date: 13 Nov '10
- The setProxy() method now allows you to set a proxy username and password.
- OAuth token setting now works correctly again (Ticket #7).
- phpSmug no longer depends on PEAR so no longer ships any PEAR modules.
- phpSmug is now 100% PHP 5 E_STRICT compliant (Ticket #2).
- phpSmug is now licensed under the GPLv3 license.
2.2
Release Date: 21 Jul '10
- https is forced for all calls that use OAuth with the PLAINTEXT signature method. WARNING: Uploads are however rejected by the API if you use PLAINTEXT (which is NOT the default).
- Failed upload responses and smugmug.auth.* method responses are no longer cached.
- Upload filenames are now encoded to ensure spaces and non-ascii characters are correctly handled.
images_upload()
now honours any earliersetProxy()
calls so uploads can occur through that proxy.clearCache()
now takes a boolean argument to state whether you want the cache location to be removed when the cache is cleared. Default is FALSE, ie the cache location will NOT be removed- Added methods to handle calling of the various login.* methods offered by the API when using these instead of the single
login()
method offered by phpSmug. (Ticket #6) - For my own benefit, I've now implemented a full PHPUnit test suite that checks all functionality of phpSmug.
2.1
Release Date: 27 Sep '09
- Changed image_upload method to upload to upload.smugmug.com instead of api.smugmug.com. SmugMug made changes to enforce the use of upload.smugmug.com as uploading to api.smugmug.com was causing problems. (Ticket #5)
- Resolved issue with recaching of cached data (Ticket #4).
- SmugMug's mode (ie read-only etc) is now stored in $obj->mode for easy checking of SmugMug's status.
- Corrected "login with hash" example in the README file.