Giter VIP home page Giter VIP logo

Comments (14)

krisleech avatar krisleech commented on June 15, 2024 4

wisper 3.0.0.rc1 has been released

from wisper.

doits avatar doits commented on June 15, 2024 2

#192 is compatible with >= 2.7, so for all officially supported ruby versions but 2.6. For 2.6 the ruby team writes: In security maintenance phase (will EOL soon!).

The only solution I see to make it compatible with 2.6 and 3 is to use ruby2_keywords. I am not sure if supporting 2.6 is worth the hassle (EOL soon). What do you think?

from wisper.

merrington avatar merrington commented on June 15, 2024 2

@krisleech - I opened #197 to address this, hopefully. Wondering if you could take a look when you get a chance, thanks!

from wisper.

benlieb avatar benlieb commented on June 15, 2024 1

@krisleech I regret coming off as an entitled whiner. It makes sense that that would be triggering for you, especially as the author. No real excuses, I just remember being short on time and short on options for what I needed that week.

I appreciate your work!

from wisper.

dvandersluis avatar dvandersluis commented on June 15, 2024

If anyone else is encountering this, I fixed it by monkey patching wisper on my codebase:

module Wipser
  module Publisher
    # Wisper 2.0.1 does not properly support Ruby 3 kwargs
    def broadcast(event, ...)
      registrations.each do |registration|
        registration.broadcast(clean_event(event), self, ...)
      end
      
      self
    end
  end
end

I'd create a PR but ... won't work for lesser ruby version so I'm not exactly sure what to do.

from wisper.

doits avatar doits commented on June 15, 2024

I opened #192 to hopefully make it compatible with ruby 3, needs some more testing though to make sure it really works like intended!

from wisper.

krisleech avatar krisleech commented on June 15, 2024

I'd love to get Ruby 3.0 support in Wisper. But it would need to be backwards compatible. Otherwise we would need to release a new major version dropping Ruby 2.x support and maintain both major versions until Ruby 2.x is EOL, which will be a long time.

from wisper.

krisleech avatar krisleech commented on June 15, 2024

We can do a major version release which drops support for 2.6, we need to document it in the CHANGELOG, that it is a breaking change.

from wisper.

krisleech avatar krisleech commented on June 15, 2024

If anyone wants to pick this up it would be great. We can drop support for EOL Rubies and add Ruby 3 keyword arguments support.

from wisper.

benlieb avatar benlieb commented on June 15, 2024

I think someone should just publish a clone of this that is ruby 3 ready. The wisper-next gem isn't as full-featured yet as this, and the async functionality for that doesn't seem to be ready either.

from wisper.

krisleech avatar krisleech commented on June 15, 2024

I think someone should just publish a clone of this that is ruby 3 ready. The wisper-next gem isn't as full-featured yet as this, and the async functionality for that doesn't seem to be ready either. Frustrating.

@benlieb You can create a clone, you can contribute to wisper-next. You could make the changes needed on the PR to allow it to be merged and released. You haven't paid anything for this software, you have no right to complain, zero. You aren't entitled to free labour. Do you or the company you work for donate anything to open source projects?

from wisper.

patrickemuller avatar patrickemuller commented on June 15, 2024

Any news on this?

from wisper.

krisleech avatar krisleech commented on June 15, 2024

Just waiting on #197

from wisper.

krisleech avatar krisleech commented on June 15, 2024

Anyone on this thread please try #205 on your codebase and report back any issues... We are close to a release if we can get this tested on some production codebases.

from wisper.

Related Issues (20)

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.