Comments (6)
@qrazi I apologize, I haven't been clear on my previous comment.
shouldBeSearchable
is but a syntactic sugar over existing functionality that seem to be outside the scope of this package anyway.
I do agree about php version bump though, but that is what semantic versioning is for and can simply be denoted by bumping the major version number (ie: 2.0).
My question was more in the line of whether there were breaking changes that actually break something for the package as there is already a PR (#19) open in order to support newest Scout.
from laravel-scout-settings.
1.0.1 with support of Laravel Scout 4.0 is released.
from laravel-scout-settings.
@aconital What are you talking about? There have been no changes to shouldBeSearchable method in 4.0. As far as I am aware, Taylor merged 3.0 into master and then tagged the latter as 4.0.
The latest release has some important changes to how index updates work behind the scenes which important for our projects.
@julienbourdeau, can we please have your input on whether the 4.0 has any breaking changes or we can simply bump the version ion composer.json
? Thanks.
from laravel-scout-settings.
So I would think it is breaking changes, most notably the bump in PHP version required, but also switch to searchable
to shouldBeSearchable
.
from laravel-scout-settings.
@adiachenko No need for apologies, I didn't mean to come across as if that was needed. I was trying to add constructive information to this issue... 😅
Basically, agree with the major version bump, and did not see BC impact on this package besides the PHP version change.
from laravel-scout-settings.
Hey, guys. I decided to to do the fork temporarily as there are several pending fixes to the package that seem to take forever to get merged into mainline branch, namely incorrect handling of index prefixes (#15) and this very issue with new Scout release (#19).
You may use the following instructions to quickly avail of the latest fixes to the package, though I recommend to create your own fork if you intend to use it in production.
Add the following lines to your composer.json
"repositories": [
{
"type": "vcs",
"url": "https://github.com/adiachenko/laravel-scout-settings"
}
],
"require": {
"algolia/laravel-scout-settings": "dev-fixed",
"laravel/scout": "^4.0",
Then run composer update algolia/laravel-scout-settings laravel/scout
.
P.S. I will support this fork until the aforementioned issues are fixed as they are blockers for the project I am currently working on.
from laravel-scout-settings.
Related Issues (10)
- Can we get a new release? HOT 4
- Question: rationale behind using the prefix in file names? HOT 5
- forwardToReplicas cannot be set HOT 4
- Prefix use case HOT 4
- Check if model is searchable HOT 7
- Not supporting Scout v5.0.1 HOT 2
- Incorrect examples in Algolia.com documentation HOT 1
- Support for Search Client PHP 2.* HOT 2
- CHANGELOG.md is missing HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laravel-scout-settings.