Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Symfony ^6.0 compatibility #76

Closed
armetiz opened this issue Feb 22, 2022 · 8 comments
Closed

Symfony ^6.0 compatibility #76

armetiz opened this issue Feb 22, 2022 · 8 comments
Assignees
Milestone

Comments

@armetiz
Copy link

armetiz commented Feb 22, 2022

Hi there.

I hope that rollbar will be compatible with Symfony ^6.0.

Regards,

@elliotjreed
Copy link

elliotjreed commented Apr 8, 2022

I would second this request! For now it is possible to use the rollbar/rollbar PHP package (composer require rollbar/rollbar) and use Monolog's Rollbar handler.

In your services.yaml you can do

Rollbar\RollbarLogger:
  class: Rollbar\RollbarLogger
  arguments:
    - {
      access_token: '%env(ROLLBAR_ACCESS_TOKEN)%',
      environment: 'production'
    }

Monolog\Handler\RollbarHandler:
  class: Monolog\Handler\RollbarHandler
  arguments:
    $level: 200

Then in your monolog.yaml:

monolog:
  handlers:
    main:
      type: fingers_crossed
      action_level: warning
      handler: rollbar
      excluded_http_codes: [ 405, 404 ]
      buffer_size: 50
    rollbar:
      type: service
      id: Monolog\Handler\RollbarHandler
      channels: [ "!php" ]

https://www.elliotjreed.com/blog/2022-03-14/rollbar-symfony-5-and-6-monolog-handler

@art-cg
Copy link

art-cg commented Apr 11, 2022

@armetiz Please see related PR #73

@danielmorell danielmorell self-assigned this May 4, 2022
@danielmorell
Copy link
Collaborator

danielmorell commented May 16, 2022

We just released v5.0.0-RC1, which supports PHP 8.0-8.1 and Symfony 6. Please test it out and provide and feedback you have. If it works without issue, let us know so we are more confident making a stable release.

@apphancer
Copy link

@danielmorell I am using v5.0.0-RC1 and happy with how it's performing with a few of my projects. Looking forward to seeing the stable release.

@nielsmouthaan
Copy link

@danielmorell when is v5.0.0 scheduled to be officially released?

@danielmorell
Copy link
Collaborator

Hi @nielsmouthaan I am looking at 07/25/22 or 08/01/22.

@danielmorell danielmorell added this to the v5.0.0 milestone Jul 21, 2022
@YaHkO
Copy link

YaHkO commented Sep 16, 2022

Hi, @danielmorell any news ?

@danielmorell
Copy link
Collaborator

Sorry for the delay. We wanted to double check our work, and it took longer than we were hoping. We released v5.0.0 today.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants