Releases: lunr-php/lunr
Releases · lunr-php/lunr
Lunr 0.10.1
Lunr 0.10.0
General:
- Mark Lunr.Halo as a development-only dependency
- Relax version requirement for Psr-Log and Psr-Cache
- Fix Lunr.Halo being listed twice in composer.json
- Update dependencies
- Split out Lunr.L10n into a separate repo
- Clean up use statements
CI:
- Remove Jenkinsfile
Corona:
- Stricter types for the Controller class
- Add stricter type to client data http exception data input
- Add default message for NotImplementedException
Lunr 0.9.0
CI
- Proper typing of
$this->class
in unit tests - Add and enforce typos check
- Configure PHPUnit whitelist based on directories
Corona
- Rework request data fetching
- Update
ClientDataHttpException
tests for Lunr.Halo 0.9 - Inline filesystem lookup of controller in
FrontController
- Throw exception if we found multiple matching controllers
L10n
- Drop
L10nHTMLView
- Turn
L10nTrait
into an abstract class - Pass initial translation file location through constructor
Spark
- Use
psr/cache
instead ofCentralAuthenticationStore
for caching credentials - Mark
CentralAuthenticationStore
as deprecated
Lunr 0.8.1
CI
- Use shared github action templates
- Fix style in phan config file
- Clean up include path construction for unit tests
- Adjust autoload include so it's no longer conditional
- Remove phpstan workaround
Corona
- Add types to request class properties
- Fix unit test errors for PHP 8.3
- Move data for exception responses to separate base exception
- Add delete from cache function
Lunr 0.7.2
CI
- Use release branch of lunr coding standard
Lunr.Corona
- Add delete from cache function
Lunr.Gravity
- MySQL: Instantiate also real simple builder in DAO test helpers
- MySQL: Add spaces after comma in UUID escaping function call
Lunr 0.8.0
General:
- Drop Lunr.Cache
- Drop Lunr.Spawn
- Drop Lunr.Sphere
- Move Gravity\Filesystem into a dedicate namespace "Ray"
- Split out Lunr\Gravity\Database to a separate repo
- Split out Lunr\Shadow*CliParser to a separate repo
- Set minimum required PHP version to 8.1
- Require phpunit 9.5.x
- Switch to SPDX license and copyright headers
- Make repo REUSE compliant
CI:
- Fix codestyle issues and require passing phpcs in github actions
- Bump phpstan to level 4 and make it required for a build to pass
Lunr.Core:
- Drop the DateTime class
Lunr.Corona:
- Add types to exception classes
Lunr.L10n:
- Properly reset locale and textdomain settings in unit tests
Lunr.Ray:
- Don't depend on Lunr.Gravity's DataAccessObjectInterface
Lunr.Shadow:
- Drop the Console class
Lunr.Spark:
- Drop support for the facebook API
- Drop support for the twitter API
- Drop unused DataError constants
- Use reflection instead of tracking SOAP headers ourselves
- Update to Requests 2.x
Lunr 0.7.1
General
- CI: Use phpunit 9.5.x in GitHub actions
- General: Drop and ignore composer.lock
- General: Remove unused config file for phpdocumentor
- CI: Update to actions/checkout v3
- CI: Update to codecov/codecov-action v3
Lunr.Corona
- Corona: Add types to exception classes
Lunr.Gravity
- Gravity: Use LunrBaseTest in MariaDB
- Gravity: Remove useless self-assignment in SQLite3 unit test
- Gravity: Add interface for database string escaping
- Gravity: Allow testing the construction of real SQL
- Gravity: Add space after comma to escaped list values
- Gravity: Add base DAO test class with assert for matching formatted SQL strings
Lunr.L10n
- L10n: Properly reset locale and textdomain settings in unit tests
Lunr.Spark
- Spark: Use reflection instead of tracking SOAP headers ourselves
Lunr 0.7.0
General
- Split out Lunr.Config to a separate repo
- Split out Lunr.Vortex to a separate repo
- Split out Lunr.Locator to a separate repo
Lunr.Cache
- Cache: Return NULL instead of FALSE when item is not cached
Lunr.Corona
- Corona: Fix application path detection when filename not index.php
- Corona: Check for invalid characters before searching for controllers
- Corona: Support setting a detailed report for bad requests
- Corona: Add InternalServerErrorException
- Corona: Log errors/exceptions caught in the RequestResultHandler
- Corona: Make generated request IDs match what nginx generates
- Corona: Strip dashes from controller selection
- Corona: Parse bearer token in WebRequestParser
- Corona: Kill the RequestInterface
- Corona: Add FailedDependencyException
- Corona: Add ExpectationFailedException
- Corona: Add UnprocessableEntityException
- Corona: Add view method to build a display for uncaught exceptions
- Corona: Replace Model interface with base class
- Corona: Allow setting additional data for 403 responses
- Corona: Add autocaching function
- Corona: Directly return callback without cache in model
- Corona: Add property comments and types to request
Lunr.Gravity
- Gravity: Allow SELECT queries with undefined FROM clause
- Gravity: *_in() methods should auto-escape values in arrays
- Gravity: Add wrapper for affected rows to the DatabaseAccessObject
- Gravity: Add query syntax support for upserts
- Gravity: Distinguish deadlock errors from other query errors
- Gravity: Add wrapper for update_mode to MySQLSimpleDMLQueryBuilder
- Gravity: Add TransactionalDatabaseAccessObject
- Gravity: Allow null in select
- Gravity: Throw on empty table reference
- Gravity: Add query logging setting
- Gravity: Added support for INSERT...RETURNING
- Gravity: Added support for REPLACE...RETURNING
- Gravity: Added MySQL query execution time logging
- Gravity: Add lock timeout check
- Gravity: Retry query also on lock wait timeouts
- Gravity: Reconnect to mysql if setting charset fails
- Gravity: Log mysql warnings
- Gravity: Add canonical query version to MySQLQueryResult class
- Gravity: Add method to return the name of the currently connected db
- Gravity: Add table escaping in MySQLSimpleDMLQueryBuilder::delete
- Gravity: Allow fetching result set as numeric array
- Gravity: Added support to call UNION DISTINCT explicitly
- Gravity: Added support for EXCEPT and INTERSECT compound queries
- Gravity: Document or_null methods in database escaper
Lunr.Shadow
- Shadow: Fix application path detection when filename not index.php
- Shadow: Make generated request IDs match what nginx generates
- Shadow: Add parsing of Authorization bearer token
- Shadow: Add support for alternate spelling of CLI args
- Shadow: Use \DateTime in console and allow setting the format
Lunr.Spark
- Spark: Add Contentful Management API
- Spark: Add support for Contentful environments
- Spark: Track SOAP headers ourselves
Lunr.Spawn
- Spawn: Add methods for dispatching delayed jobs