Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 5 #105

Merged
merged 129 commits into from
Sep 4, 2024
Merged

Version 5 #105

merged 129 commits into from
Sep 4, 2024

Conversation

Orkuncakilkaya
Copy link
Contributor

No description provided.

BREAKING CHANGE: Request logic is rewritten, Upgraded minimum php version to 8.1
BREAKING CHANGE: API Methods returns tuple instead of models
BREAKING CHANGE: API Methods removed other than `getModel`
BREAKING CHANGE: API Methods now throws `SerializationException`
Copy link
Contributor

github-actions bot commented Sep 3, 2024

🟢 Coverage increased by 35.29%

Code Coverage Report

Coverage Report

St. Category Percentage Covered / Total
🔴 Statements 35.29% 1507 / 4270
🔴 Functions 35.71% 692 / 1938
Files Coverage
St. File Methods Statements Total Coverage
🟡 src/Api/FingerprintApi.php 6.67% 51.56% 50.42%
🟢 src/ApiException.php 100.00% 100.00% 100.00%
🔴 src/Configuration.php 23.08% 14.93% 17.20%
🔴 src/Model/ASN.php 35.00% 32.43% 33.33%
🔴 src/Model/BotdDetectionResult.php 31.58% 28.57% 29.41%
🔴 src/Model/BotdResult.php 42.86% 39.34% 40.45%
🔴 src/Model/BrowserDetails.php 40.00% 40.30% 40.21%
🔴 src/Model/ClonedAppResult.php 37.50% 25.93% 30.23%
🔴 src/Model/Common403ErrorResponse.php 36.84% 33.96% 34.72%
🔴 src/Model/Confidence.php 33.33% 29.03% 30.61%
🔴 src/Model/DataCenter.php 33.33% 29.03% 30.61%
🔴 src/Model/DeprecatedIPLocation.php 40.62% 53.57% 48.86%
🔴 src/Model/DeprecatedIPLocationCity.php 31.25% 25.00% 27.50%
🔴 src/Model/DeveloperToolsResult.php 31.25% 22.22% 25.58%
🔴 src/Model/EmulatorResult.php 31.25% 22.22% 25.58%
🔴 src/Model/ErrorCommon403Response.php 37.50% 29.17% 32.50%
🔴 src/Model/ErrorCommon429Response.php 31.25% 25.00% 27.50%
🔴 src/Model/ErrorCommon429ResponseError.php 21.05% 10.20% 13.24%
🔴 src/Model/ErrorEvent404Response.php 37.50% 29.17% 32.50%
🔴 src/Model/ErrorEvent404ResponseError.php 42.11% 30.61% 33.82%
🔴 src/Model/ErrorUpdateEvent400Response.php 37.50% 29.17% 32.50%
🔴 src/Model/ErrorUpdateEvent400ResponseError.php 36.84% 30.00% 31.88%
🔴 src/Model/ErrorUpdateEvent409Response.php 37.50% 29.17% 32.50%
🔴 src/Model/ErrorUpdateEvent409ResponseError.php 36.84% 28.57% 30.88%
🔴 src/Model/ErrorVisitor400Response.php 37.50% 29.17% 32.50%
🔴 src/Model/ErrorVisitor400ResponseError.php 42.11% 30.61% 33.82%
🔴 src/Model/ErrorVisitor404Response.php 37.50% 29.17% 32.50%
🔴 src/Model/ErrorVisitor404ResponseError.php 36.84% 28.57% 30.88%
🔴 src/Model/ErrorVisits403.php 31.25% 22.22% 25.58%
🔴 src/Model/EventResponse.php 33.33% 25.81% 28.57%
🔴 src/Model/EventUpdateRequest.php 5.00% 9.38% 7.69%
🔴 src/Model/FactoryResetResult.php 38.89% 30.30% 33.33%
🔴 src/Model/FridaResult.php 37.50% 25.93% 30.23%
🔴 src/Model/HighActivityResult.php 33.33% 25.81% 28.57%
🔴 src/Model/IPLocation.php 40.62% 53.57% 48.86%
🔴 src/Model/IPLocationCity.php 31.25% 25.00% 27.50%
🔴 src/Model/IdentificationError.php 36.84% 30.00% 31.88%
🔴 src/Model/IncognitoResult.php 37.50% 25.93% 30.23%
🔴 src/Model/IpBlockListResult.php 33.33% 27.27% 29.41%
🔴 src/Model/IpBlockListResultDetails.php 33.33% 27.27% 29.41%
🔴 src/Model/IpInfoResult.php 38.89% 35.71% 36.96%
🔴 src/Model/IpInfoResultV4.php 40.91% 39.02% 39.68%
🔴 src/Model/IpInfoResultV6.php 36.36% 36.59% 36.51%
🔴 src/Model/JailbrokenResult.php 37.50% 25.93% 30.23%
🔴 src/Model/Location.php 33.33% 27.27% 29.41%
🔴 src/Model/LocationSpoofingResult.php 37.50% 25.93% 30.23%
🔴 src/Model/ModelInterface.php 0.00% 0.00% 0.00%
🔴 src/Model/PrivacySettingsResult.php 37.50% 25.93% 30.23%
🔴 src/Model/ProductError.php 36.84% 30.00% 31.88%
🟢 src/Model/ProductsResponse.php 77.42% 81.90% 80.34%
🔴 src/Model/ProductsResponseBotd.php 44.44% 39.29% 41.30%
🔴 src/Model/ProductsResponseIdentification.php 44.44% 39.29% 41.30%
🟡 src/Model/ProductsResponseIdentificationData.php 54.55% 50.48% 51.68%
🔴 src/Model/ProxyResult.php 31.25% 22.22% 25.58%
🔴 src/Model/RawDeviceAttributesResult.php 0.00% 0.00% 0.00%
🔴 src/Model/RemoteControlResult.php 31.25% 22.22% 25.58%
🔴 src/Model/Response.php 36.36% 31.71% 33.33%
🔴 src/Model/ResponseVisits.php 42.86% 44.44% 43.97%
🔴 src/Model/RootAppsResult.php 31.25% 22.22% 25.58%
🔴 src/Model/SeenAt.php 33.33% 27.27% 29.41%
🔴 src/Model/SignalResponseClonedApp.php 44.44% 39.29% 41.30%
🔴 src/Model/SignalResponseDeveloperTools.php 33.33% 32.14% 32.61%
🔴 src/Model/SignalResponseEmulator.php 38.89% 35.71% 36.96%
🔴 src/Model/SignalResponseFactoryReset.php 44.44% 39.29% 41.30%
🔴 src/Model/SignalResponseFrida.php 44.44% 39.29% 41.30%
🔴 src/Model/SignalResponseHighActivity.php 38.89% 35.71% 36.96%
🔴 src/Model/SignalResponseIncognito.php 44.44% 39.29% 41.30%
🔴 src/Model/SignalResponseIpBlocklist.php 38.89% 35.71% 36.96%
🔴 src/Model/SignalResponseIpInfo.php 44.44% 39.29% 41.30%
🔴 src/Model/SignalResponseJailbroken.php 44.44% 39.29% 41.30%
🔴 src/Model/SignalResponseLocationSpoofing.php 38.89% 35.71% 36.96%
🔴 src/Model/SignalResponsePrivacySettings.php 44.44% 39.29% 41.30%
🔴 src/Model/SignalResponseProxy.php 38.89% 35.71% 36.96%
🔴 src/Model/SignalResponseRawDeviceAttributes.php 33.33% 28.57% 30.43%
🔴 src/Model/SignalResponseRemoteControl.php 33.33% 32.14% 32.61%
🔴 src/Model/SignalResponseRootApps.php 38.89% 35.71% 36.96%
🔴 src/Model/SignalResponseSuspectScore.php 27.78% 25.00% 26.09%
🔴 src/Model/SignalResponseTampering.php 38.89% 35.71% 36.96%
🔴 src/Model/SignalResponseTor.php 38.89% 35.71% 36.96%
🔴 src/Model/SignalResponseVelocity.php 33.33% 32.14% 32.61%
🔴 src/Model/SignalResponseVirtualMachine.php 44.44% 39.29% 41.30%
🔴 src/Model/SignalResponseVpn.php 44.44% 39.29% 41.30%
🔴 src/Model/Subdivision.php 33.33% 32.14% 32.61%
🔴 src/Model/SuspectScoreResult.php 0.00% 0.00% 0.00%
🔴 src/Model/TamperingResult.php 33.33% 27.27% 29.41%
🔴 src/Model/TooManyRequestsResponse.php 31.25% 22.22% 25.58%
🔴 src/Model/TorResult.php 31.25% 22.22% 25.58%
🔴 src/Model/VelocityIntervalResult.php 35.00% 32.43% 33.33%
🔴 src/Model/VelocityIntervals.php 31.25% 25.00% 27.50%
🔴 src/Model/VelocityResult.php 36.36% 33.33% 34.33%
🔴 src/Model/VirtualMachineResult.php 37.50% 25.93% 30.23%
🔴 src/Model/Visit.php 0.00% 0.00% 0.00%
🔴 src/Model/VpnResult.php 40.91% 37.21% 38.46%
🔴 src/Model/VpnResultMethods.php 40.91% 35.56% 37.31%
🔴 src/Model/WebhookVisit.php 0.00% 0.00% 0.00%
🟡 src/ObjectSerializer.php 42.86% 61.46% 60.19%
🟢 src/Sealed/DecompressionException.php 100.00% 100.00% 100.00%
🔴 src/Sealed/DecryptionAlgorithm.php 0.00% 0.00% 0.00%
🟢 src/Sealed/DecryptionKey.php 100.00% 100.00% 100.00%
🟢 src/Sealed/InvalidSealedDataException.php 100.00% 100.00% 100.00%
🟢 src/Sealed/InvalidSealedDataHeaderException.php 100.00% 100.00% 100.00%
🟢 src/Sealed/Sealed.php 50.00% 94.44% 90.00%
🟢 src/Sealed/UnsealAggregateException.php 100.00% 100.00% 100.00%
🔴 src/Sealed/UnsealException.php 50.00% 28.57% 33.33%
🟡 src/SerializationException.php 66.67% 75.00% 71.43%
🟢 src/Webhook/WebhookVerifier.php 100.00% 100.00% 100.00%

semantic-release-bot and others added 3 commits September 4, 2024 09:28
## [5.0.0-develop.1](v4.1.0...v5.0.0-develop.1) (2024-09-04)

### ⚠ BREAKING CHANGES

* Renamed Error Response Model Names
`ErrorEvent403ResponseError` → `Common403ErrorResponse`
`ManyRequestsResponse` → `TooManyRequestsResponse`
* Webhook `tag` field is now optional
* API Methods now throws `SerializationException`
* API Methods returns tuple instead of models
* API Methods removed other than `getModel`
* Upgraded minimum php version to 8.1
* Request logic is rewritten, Upgraded minimum php version to 8.1

### Features

* add `remoteControl`, `velocity` and `developerTools` signals ([5bf9368](5bf9368))
* add delete visitor data endpoint ([a00f325](a00f325))
* add retry after policy to api exception ([64e0510](64e0510))
* add support for validating webhook signatures inter-768 ([6a4cbd6](6a4cbd6))
* add update event endpoint (PUT) ([cb21d0b](cb21d0b))
* change api to return tuple instead of serialized model ([62e4ad3](62e4ad3))
* introduce rawResponse for getVisits and getEvent methods ([9b01ba6](9b01ba6))
* introduce serialization exception ([bfea23a](bfea23a))
* only generate models and docs from swagger codegen ([26e984f](26e984f))
* remove raw response and introduce with http info ([ce2fedf](ce2fedf))
* rewrite request logic ([0016822](0016822))
* upgrade min php version to 8 ([5698871](5698871))

### Bug Fixes

* serializaiton problem on sealed results ([29cb26c](29cb26c))
chore: regenerate from template for v5
Copy link
Contributor

github-actions bot commented Sep 4, 2024

This PR will create a major release 🚀

5.0.0 (2024-09-04)

⚠ BREAKING CHANGES

  • Renamed Error Response Model Names
    ErrorEvent403ResponseErrorCommon403ErrorResponse
    ManyRequestsResponseTooManyRequestsResponse
  • Webhook tag field is now optional
  • API Methods now throws SerializationException
  • API Methods returns tuple instead of models
  • API Methods removed other than getModel
  • Upgraded minimum php version to 8.1
  • Request logic is rewritten, Upgraded minimum php version to 8.1

Features

  • add remoteControl, velocity and developerTools signals (5bf9368)
  • add delete visitor data endpoint (a00f325)
  • add retry after policy to api exception (64e0510)
  • add support for validating webhook signatures inter-768 (6a4cbd6)
  • add update event endpoint (PUT) (cb21d0b)
  • change api to return tuple instead of serialized model (62e4ad3)
  • introduce rawResponse for getVisits and getEvent methods (9b01ba6)
  • introduce serialization exception (bfea23a)
  • only generate models and docs from swagger codegen (26e984f)
  • remove raw response and introduce with http info (ce2fedf)
  • rewrite request logic (0016822)
  • upgrade min php version to 8 (5698871)

Bug Fixes

  • serializaiton problem on sealed results (29cb26c)

@Orkuncakilkaya Orkuncakilkaya merged commit b078f1b into main Sep 4, 2024
10 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants