Skip to content

Tags: shetabit/visitor

Tags

v4.5.6

Toggle v4.5.6's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: align Agent::__call signature with MobileDetect 4.10 (#77)

mobiledetect/mobiledetectlib 4.10.0 added typed parameter and return type declarations to MobileDetect::__call. Agent's untyped override caused a fatal LSP-incompatibility error at class load time on any install resolving 4.10+.

Adopt the typed signature on Agent::__call and bump the mobiledetect/mobiledetectlib constraint to ^4.10 so installs pull a compatible parent.

Fixes #76

v4.5.5

Toggle v4.5.5's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix formatting in composer.json for mobiledetectlib

v4.5.4

Toggle v4.5.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: use explicit nullable type for visit() $model (PHP 8.4) (#75)

PHP 8.4 deprecates implicitly nullable parameters when the type is non-nullable but the default is null (RFC / migration notes).

visit(Model $model = null) triggers: Implicitly marking parameter $model as nullable is deprecated, the explicit nullable type must be used instead.

This changes the signature to visit(?Model $model = null), which is equivalent at runtime and removes the deprecation.

v4.5.3

Toggle v4.5.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix empty GeoIP stubs and missing migration publish in provider (#74)

v4.5.2

Toggle v4.5.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Why empty stub? (#73)

* Why empty stub?

Removed commented-out code for adding geo columns migration and ensured timestamp variable is defined before usage.

* removed empty stub

Removed commented-out code for adding geo columns to visits table.

v4.5.1

Toggle v4.5.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix variable case for resolver assignment (#69)

little typo :-)

v4.5.0

Toggle v4.5.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add optional GeoIP enrichment support (#67)

* Add optional GeoIP enrichment support (geo_raw column, resolvers, config)

* Add optional GeoIP enrichment support (geo_raw column, resolvers, config)

* Remove composer.lock from repository

v4.4.2

Toggle v4.4.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Refactor: use nullsafe operator and getMorphClass for visitor data re…

…trieval (#68)

v4.4.1

Toggle v4.4.1's commit message

Partially verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
Added check $this->request in case of bot (#65)

* Added check $this->request in case of bot

* Updated the logic

* Update src/Drivers/JenssegersAgent.php

Co-authored-by: mahdikhanzadi <6291970+khanzadimahdi@users.noreply.github.com>

* Reverted the string

---------

Co-authored-by: mahdikhanzadi <6291970+khanzadimahdi@users.noreply.github.com>

v4.4.0

Toggle v4.4.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add support for Laravel 12 (#64)