Skip to content

Releases: tvup/laravel-fejlvarp

v11.1.8

01 Feb 07:34
c951937
Compare
Choose a tag to compare

What's Changed

  • Add country flag emoji to geoip display by @tvup in #54

Full Changelog: v11.1.7...v11.1.8

v11.1.7

01 Feb 07:16
af19fa0
Compare
Choose a tag to compare

What's Changed

  • Ensure correct content-type for useragent-lookip by @tvup in #53

Full Changelog: v11.1.6...v11.1.7

v11.1.6

01 Feb 06:38
9f573d0
Compare
Choose a tag to compare

What's Changed

  • update phpstan and check tests by @tvup in #50
  • Update dependency larastan/larastan to v3.0.2 by @renovate in #51
  • Update larastan to include version 3.0.2 by @tvup in #52

Full Changelog: v11.1.5...v11.1.6

v11.1.5

01 Feb 03:58
a440b86
Compare
Choose a tag to compare

Description:

This version introduces support for PHP 8.4 and improves test coverage for Laravel Fejlvarp. It includes:

  • Support for PHP 8.4 in the GitHub Actions workflow.
  • Refactoring of the GeoIP lookup function to use Http::get() instead of file_get_contents(), ensuring better error handling and maintainability.
  • Content-Type fix for the GeoIP response, explicitly setting it to application/javascript.
  • Addition of new feature tests for API endpoints, increasing overall test coverage.
  • Fixture-based testing for incidents, improving consistency in tests.
  • Database configuration updates for SQLite in-memory testing.
  • Dependency updates, including guzzlehttp/guzzle and orchestra/testbench.
  • Allowing auto-merge for patch dependencies in renovate.json.

Key Changes:

Additional Notes:

This version ensures forward compatibility with PHP 8.4 and strengthens test reliability by introducing fixtures and additional test cases. 🚀

What's Changed

Full Changelog: v11.1.4...v11.1.5

v11.1.4

27 Jul 15:19
cc39bea
Compare
Choose a tag to compare

What's Changed

  • Update actions/checkout action to v4 by @renovate in #19
  • Update stefanzweifel/git-auto-commit-action action to v5 by @renovate in #18
  • Refactoring, Dependency Management, and Enhanced Logging Features (#42) by @tvup in #43
  • Add user data to incident reports (#44) by @tvup in #45

Enhancements and Updates

  1. GitHub Actions Workflow Enhancements:

    • Updated the actions/checkout action from version 3 to 4 across multiple workflows for improved performance and security.
    • Removed unnecessary permissions in the php-cs-fixer.yml workflow, enhancing security.
  2. PHPStan Workflow Improvements:

    • Updated PHP version to 8.3 for PHPStan analysis.
    • Replaced nunomaduro/larastan with larastan/larastan, ensuring up-to-date static analysis capabilities.
  3. Testing Workflow Enhancements:

    • Introduced environment-specific handling for Composer dependencies installation in the run-tests.yml workflow, with specific commands for Linux and Windows environments.
    • Improved error handling during the installation of dependencies to provide clearer feedback in case of issues.
  4. Changelog Update Automation:

    • Upgraded stefanzweifel/git-auto-commit-action to version 5 in the update-changelog.yml workflow for improved performance and bug fixes.
  5. New Features in Application:

    • Introduced IncidentFactory for streamlined creation and management of Incident models, supporting better testing and data management.
  6. Database Query Logging:

    • Added logging for database queries in incident reports, providing detailed insights into query performance and database interactions.
  7. Apllication data logging:

    • Enhanced error logging by including authenticated user data in the incident reports if applicable. This includes capturing user-related data in the error context.
  8. Additional Tags and Metadata:

    • Added "negoziator" to the list of keywords in composer.json, acknowledging contribution.
  9. Miscellaneous:

    • Refined the validation rules return type in IncidentStoreRequest.php for improved type hinting and code clarity.
    • Various minor fixes and updates to ensure compatibility with Laravel 10 and improved error handling.
    • Fixed minor code documentation issues, enhancing clarity and accuracy in codebase annotations.

This release focuses on enhancing the robustness, security, and maintainability of the project, providing a better foundation for future development, improving compatibility, enhancing error handling, and updating dependencies to leverage the latest features and best practices in the Laravel ecosystem.

Full Changelog: v11.1.3...v11.1.4

v11.1.3

27 Jul 07:26
da11629
Compare
Choose a tag to compare

What's Changed

  • Update README and refactor time functions (#40) by @tvup in #41

Enhancements:

  • Documentation Update: Acknowledged negoziator for contributions in README.md.
  • New Section in README: Added detailed instructions for local development and testing of laravel-fejlvarp through a Laravel application, including Docker setup and Composer configuration.

Codebase Changes:

  • Timezone Configuration: Removed hardcoded timezone settings. The package now defaults to using the application's configured timezone, giving the implementing application full control over timezone settings.
  • Removal of Carbon Dependency: Replaced usage of Carbon with the native now() helper for handling date and time, enhancing compatibility and reducing external dependencies.

Contributors:

  • Added Lars Christian Schou to composer.json as a contributor to the project.

Full Changelog: v11.1.2...v11.1.3

v11.1.2

27 Jul 05:45
3c85d72
Compare
Choose a tag to compare

What's Changed

  • Compatibility clarified: PHP versions >8.0.2 and 8.3+ by @tvup in #31
  • Modified PHP CS Fixer workflow to use --dry-run instead of committing changes automatically

Release Summary

This release clarifies and documents the specific requirements and compatibility for our project, ensuring they are explicitly defined and understood by all users and contributors. The key updates include:

  1. PHP Version Requirements:

    • The minimum PHP version requirement is now explicitly set to 8.0.2, indicating the project's reliance on features available from this version onward. Official support is confirmed for PHP versions 8.0.2, 8.1, 8.2, and 8.3, ensuring optimal functionality across these environments.
    • The package now officially supports PHP version 8.0.2 and above, with updated PHP version constraints and verification of dependency compatibility to accommodate these versions.
  2. Laravel Compatibility:

    • Compatibility with Laravel versions ^9.47, 10.*, and 11.* is now explicitly documented, along with the corresponding orchestra/testbench versions (7.*, 8.*, 9.* respectively). This clarifies the frameworks and testing environments that the project supports.
  3. Required PHP Extensions:

    • The requirement for the ext-curl extension is now explicitly stated in require-dev. This extension is necessary due to its dependency in spatie/laravel-ray and spatie/ray. Documenting this requirement helps prevent potential runtime errors during development and testing.
  4. Testing and CI/CD Enhancements:

    • The GitHub Actions workflow has been enhanced to test a comprehensive matrix of PHP versions (8.0.2 to 8.3), Laravel versions (^9.47, 10.*, 11.*), and testbench versions (7.*, 8.*, 9.*) across multiple operating systems (Ubuntu and Windows).
    • Adjustments ensure that testbench package:discover only runs when dev dependencies are present, using a PHP-based check.
  5. General Improvements:

    • composer.json has been updated to reflect the new minimum PHP version and the addition of ext-curl in require-dev.
    • The PHP CS Fixer workflow has been adjusted to remove the auto-commit of fixed styling changes. The workflow now runs with the --dry-run flag, ensuring that no changes are automatically committed. This adjustment provides greater control over code style corrections and allows developers to review changes before committing.

These updates clarify the project's existing requirements, provide explicit documentation, and ensure consistent understanding across all development and deployment environments. Additionally, they enhance our CI/CD processes to ensure better coverage and reliability while keeping the package up-to-date with the latest PHP developments and ready for future versions.

Breaking Changes

This release aims to clarify and disallow certain combinations that may have been possible previously, though unlikely. It is possible that some edge cases, particularly with Laravel versions from 9.0.0 up to, but not including, 9.47.0, may have allowed a set of requirements and installations that are no longer permissible as of this release.
We expect no breaking changes but please be aware and report any issues if they arise.

Full Changelog: v11.1.1...v11.1.2

v11.1.1

30 Jun 22:16
e9765a3
Compare
Choose a tag to compare

What's Changed

Full Changelog: v11.1.0...v11.1.1

Support for Laravel 11

30 Jun 21:50
882e288
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v11.0.0...v11.1.0

v11.0.0

20 Jan 13:42
69c6670
Compare
Choose a tag to compare

What's Changed

Full Changelog: v10.2.6...v11.0.0

Versioning

Semantic versioning is sought for. Versioning doesn't follow Laravel versions anymore

Breaking changes

  • Remove dontReport field from handler - It's not something the package should deal with; it's, of course, up to the user to choose these things.
  • Remove dontFlash field from handler - It's not something the package should deal with; it's, of course, up to the user to choose these things. Besides, Laravel already has a suggestion for this field in the raw installation - even more reason not to override it.
  • Extend the Handler in the user's installation instead of the Laravel one - We don't want to just ignore what the user has in his/her Handler.php.

The behaviour after updating from previuos may dramatically change since your own Handler.php is now used again.