All notable changes to Laravel-Analytics will be documented in this file
- Bump aglipanci/laravel-pint-action from 0.1.0 to 2.2.0 by @dependabot in spatie#477
- Bump dependabot/fetch-metadata from 1.4.0 to 1.5.0 by @dependabot in spatie#488
- Bump dependabot/fetch-metadata from 1.5.0 to 1.5.1 by @dependabot in spatie#489
- Bump aglipanci/laravel-pint-action from 2.2.0 to 2.3.0 by @dependabot in spatie#490
- Extend Analytics::get with dimensionFilter parameter by @gmbenedek in spatie#487
- @gmbenedek made their first contribution in spatie#487
Full Changelog: https://github.com/spatie/laravel-analytics/compare/5.0.1...5.0.2
- Adds an
$offset
paramter to the get method and all methods that already accepted a$limit
paramter.
- Analytics API v4 by @timvandijck in spatie#475
- @timvandijck made their first contribution in spatie#475
Full Changelog: https://github.com/spatie/laravel-analytics/compare/4.1.1...5.0.0
- Updated instructions by @CaddyDz in spatie#446
- Feature: Convert PHPUnit tests to PestPHP by @mansoorkhan96 in spatie#456
- Feature: Betterify Tests by @mansoorkhan96 in spatie#457
- Add PHP 8.2 Tests Support by @patinthehat in spatie#465
- Enable Dependabot Automation by @patinthehat in spatie#464
- Bump dependabot/fetch-metadata from 1.3.5 to 1.3.6 by @dependabot in spatie#471
- Bump actions/checkout from 2 to 3 by @dependabot in spatie#468
- Laravel 10.x Compatibility by @laravel-shift in spatie#472
- @dependabot made their first contribution in spatie#471
Full Changelog: https://github.com/spatie/laravel-analytics/compare/4.1.0...4.1.1
Allow Laravel 9
- allow "Google_Service_Analytics_GaData" return type for performQuery methods (#402)
- support PHP 8+
- drop support for PHP 7.x
- use PHP 8 syntax where possible
- widened DateTime to DateTimeInterface to allow immutables usage (#390)
- add support for PHP 8
- Add support for Laravel 8
- Create getter for $viewId in Analytics Class
- add support for Laravel 7
- allow symfony 5 components
- add support for Laravel 6
- use Symfony's PSR-16 cache adapter
- fix cache lifetime
- drop support for Laravel 5.7 and lower
- drop support for PHP 7.1 and lower
- add support for Laravel 5.8
- add support for Laravel 5.7
- fix infinite loop
- add pagination to
performQuery
service_account_credentials_json
now also accepts an array
- add compatibility with Laravel 5.6
- allow dynamic modification of config
- add
months
andyears
methods toPeriod
- add
fetchUserTypes
- add compatibility with Laravel 5.5
- make publishing the config file optional
- add support for
v2
of the Google API - renamed config file from
laravel-analytics.php
toanalytics.php
- dropped support for anything lower than Laravel 5.4
- add support for Laravel 5.4
- dropped support for anything lower than Laravel 5.3
- improve exception message
- added
fetchTotalVisitorsAndPageViews
- added L5.3 compatibility
- added a fallback for the cache path setting
- added config setting to specify cache path
- added
pageTitle
tofetchVisitorsAndPageViews
andfetchMostVisitedPages
- fixed
credentialsJsonDoesNotExist
exception
- refactored all methods
- introduced
Spatie\Analytics\Period
to specify date ranges - the package now uses json credentials instead of .p12 file
- the
Spatie\Analytics\Analtyics
class is much easier to extend
- fixes a bug introduced in 1.4.0 where the check whether a p12 certificate is present was broken
This version does not work, please upgrade to 1.4.0
- removing the use of facades
- make
calculateNumberOfDays
-function protected
- Added method getSiteId()
- Fix PHP 5.4 compatibility
- An injected
Spatie\LaravelAnalytics\LaravelAnalytics
-object will now be properly configured
- Removed a var_dump-call that was not supposed to be there
###Do not use this version as it contains a var_dump that will mess up your output
- Added a method to set the siteId at runtime
- Store Google Api's cache in Laravel's storage directory
- Handled a breaking change caused by Laravel 5.1
- Moved the repo
- Corrected a bug that caused an error when using the realtime-cache
- Corrected a bug that caused the realtime-cache to be stored for too long
- Added support for the Real Time Reporting API
- Lowered minimum required Carbon version from 1.17 to ~1.0
- Fix the breaking error in the Api Helper.
- Lowered minimum required PHP version to 5.4
- This version is not working due to a bug in the Api Helper.
- Use Laraval 5 contracts to typehint cache
- Add DateTime type hints
- Stable first release
- Experimental initial release