Giter VIP home page Giter VIP logo

Comments (6)

adiachenko avatar adiachenko commented on May 20, 2024 1

@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.

rikiless avatar rikiless commented on May 20, 2024 1

1.0.1 with support of Laravel Scout 4.0 is released.

from laravel-scout-settings.

adiachenko avatar adiachenko commented on May 20, 2024

@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.

qrazi avatar qrazi commented on May 20, 2024

laravel/scout@3.0...4.0

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.

qrazi avatar qrazi commented on May 20, 2024

@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.

adiachenko avatar adiachenko commented on May 20, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.