Skip to content
This repository was archived by the owner on Jul 31, 2025. It is now read-only.

Conversation

@DevquasarX9
Copy link
Member

adjust workflow and configuration files accordingly

@DevquasarX9 DevquasarX9 added the enhancement New feature or request label Apr 28, 2025
@DevquasarX9 DevquasarX9 self-assigned this Apr 28, 2025
@DevquasarX9 DevquasarX9 requested a review from spont4e April 28, 2025 13:50
Base automatically changed from v5.x-to-master to master May 19, 2025 14:24
spont4e and others added 8 commits May 19, 2025 17:31
…ype safety. Add .editorconfig for consistent coding style across files. Update composer.json to include ext-mongodb requirement. (#23)
* v5.x to master (#17)

* Added support for Laravel 10.x (#15)

* Updated mongodb/laravel-mongodb package (#16)
# Conflicts:
#	composer.json

* Update laravel mongodb to rc1 (#18)

* Added support for Laravel 10.x (#15)

* Updated mongodb/laravel-mongodb package (#16)

* Updated mongodb/laravel-mongodb to rc1.

* Updated mongodb/laravel-mongodb to stable version 4. (#19)

* Changed package version
…lues (#28)

* Update deprecated MongoDB read preference constants to use current values

* Bump version to 5.0.5 in composer.json for updated dependencies

* Update session testing suite, add MongoDB test cases, and configure PHPUnit

- Enhance `.gitignore` to exclude `.phpunit.cache`.
- Update GitHub workflow to include Testbench version for Laravel 10.x.
- Create new feature tests: `TestHelperIntegrationTest`, `HttpSessionTest`, and `MongoDbSessionHandlerTest` to validate session handling with MongoDB.
- Refactor MongoDB session command files to remove unnecessary docblocks.
- Document testing process in `README.md`, including setup and expected results.
- Add basic PHPUnit configuration file.
- Define session environment in the base `TestCase`.
- Ensure session operations like reading, writing, and destruction are tested against MongoDB.

* Update GitHub Actions workflow to use MongoDB 7 and improve caching

- Add MongoDB 7 service to CI workflow
- Upgrade checkout action to v3
- Include MongoDB extension in PHP setup
- Implement Composer dependency caching for faster builds
- Modify composer install command for better performance
- Set environment variables for MongoDB connection during test execution
- Update README.md to reflect changes in the CI process

* Remove deprecated MongoDB version constraint from composer.json
#27)

* Update mongodb/laravel-mongodb package to version 5.0 in composer.json

* Update MongoDB commands and improve session handling

Refactor the command to use `getDatabase()` instead of `getMongoDB()`. Update payload access in `MongoDbSessionHandler` from array syntax to object syntax for better readability. Adjust test assertions to match the new access methodology and ensure compatibility with Carbon instances for expiration and last activity timestamps. Clean up formatting inconsistencies throughout the code.

* Update MongoDB connection method to use getDatabase() instead of getMongoDB() in MongodbSessionIndex command
@DevquasarX9 DevquasarX9 merged commit 9471306 into master May 19, 2025
1 check passed
@DevquasarX9 DevquasarX9 deleted the v6.x-to-master branch May 19, 2025 14:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants