Releases: talis/tripod-php
Releases · talis/tripod-php
0.31.1
What's Changed
- Handle non-string literals in SearchDocuments by @mrliptontea in #162
Full Changelog: 0.31.0...0.31.1
0.31.0
What's Changed
- Modernise code by @mrliptontea in #156
Breaking changes
- Dropped PHP 7.3 support.
- Tripod classes now use proper type hints and have
strict_typesenabled.- To ease the migration, use strict-type-migration branch, it's based on
^0.30; this uses a TypeUtil to check types rather than using PHP native types in function arguments. Errors are logged (usingTypeError), but the execution continues with types cast.
- To ease the migration, use strict-type-migration branch, it's based on
Full Changelog: 0.30.1...0.31.0
0.30.1
What's Changed
- Fixes by @mrliptontea in #160
- Trim leading backslash from search provider - fixes breaking change in 0.30.0
- Fix truncation - only modify generated row's value
- Move performance suite after unit tests
- Remove unused test config
- Explain truncation is only necessary in MongoDB 2.6 - 4.0
Full Changelog: 0.30.0...0.30.1
0.30.0
What's Changed
- Code style fixes by @mrliptontea in #154
- Don't use
getLastErrorby @mrliptontea in #155 - Tone down logging level for "Generating views" by @astilla in #157
- Retry composite upserts by @mrliptontea in #159
Breaking changes
search_providerin config now expects a value without leading\- this is fixed in 0.30.1
Full Changelog: 0.29.0...0.30.0
0.29.0
What's Changed
- fix: onFailure handler throwing by @mrliptontea in #153
Full Changelog: 0.28.0...0.29.0
0.28.0
0.28.0
- Support non-breaking change of a second format of indexes, allowing to pass in an optional second parameter for Mongo index options (e.g. sparse=>true, unique=>true)
(Apologies for non-squashed merge - so used to repositories being set automatically to do this and didn't notice this project wasn't!)
v0.27.0
What's Changed
- TA-1767 Adding support for joining on _id in a view by @pogotc in #151
New Contributors
- @pogotc made their first contribution in #151
Full Changelog: 0.26.0...v0.27.0
0.26.0
What's Changed
- PLT-856 Fix ensureIndexes with
$reindex = trueby @mrliptontea in #149 - PLT-856 Update PHPUnit by @mrliptontea in #150
- Drop PHP 5 support. Minimum required version is now 7.3.
Full Changelog: 0.25.0...0.26.0
0.25.0
- PLT-842 Update Mongo driver connection options by @mrliptontea in #148
BREAKING CHANGES
- Remove
Tripod\Mongo\Config::getConnStr,getTransactionLogConnStr
These were public methods but weren't part of the interface.
Instead,getDatabaseorgetCollectionFor<X>should be used.
Features
- Allow MongoDB connection string to include options
- Add missing methods to
IConfigInstance - Don't force default
connectTimeoutMSif already set in connection string - Correct config instance type in docblocks
- Correct Labeller type in MongoGraph
- Test against PHP 7.4, MongoDB replica sets
- Add test to cover
JobBase::getTripodConfig
Full Changelog: 0.24.0...0.25.0
0.24.0
What's Changed
- PLT-299 Remove Resque event listeners from JobBase constructor by @mrliptontea in #147
Full Changelog: 0.23.2...0.24.0