All Notable changes to atomescrochus/laravel-gracenote
will be documented in this file following SemVer.
- This PR from @katsuren helps into getting return multiple from Gracenote.
- This PR from @katsuren tries to make setting the language working better on more recent version of PHP.
- Package autodiscovery for Laravel >=5.5
- Can now pass search mode as lower case
- Optimizing cache usage vs API request
- Named object is md5-ed
- Cache names are now hashed
- Results now include a
status
field containing the status text returned by Gracenote Web API.
A.K.A the I have not life, so I'm not hungover release.
- Possibility to search by ID with
getTrackById()
;
- Possibility to set the search mode;
- Results now includes artists origin, type (sex) and era, when available and if search mode is set;
- Results now includes images (artist image and covertart), when available and if search mode is set;
- Moved tests outside the
src
folder to the root of the package.
- Support for PHP >
7.0
.
- Note in comments for the artisan command to get user_id;
- Added exception for missing search terms before searching the API;
- Added exception for usage errors (wrong search type) while setting correspondent value;
- Added some tests.
- Method to format the results of a search by track title.
- Method to format the results of a search by album title.
- Method to format the results of a search by artist.
- Results returned by a search includes raw results and a collection formatted results.
- Artisan command to get the Gracenote user id for the app.
- The cache key for a search item now includes the search type so same search terms on multiple type don't conflicts.
- Results now gets cached for a default time of 60 minutes, but time can be changed via
cache()
method.
- Added facade.
- Layed the base of the package, we can now search for results in Gracenote via their WebAPI, see readme for the how to.
- Publishing to packagist for testing purpose.
- Nothing
- Nothing
- Nothing
- Nothing
- Nothing