Giter Club home page Giter Club logo

Comments (18)

felixonmars avatar felixonmars commented on August 11, 2024

I just opened a PR to fix it on yesod-core: yesodweb/yesod#1215

from logger.

snoyberg avatar snoyberg commented on August 11, 2024

This does look like a regression in wai-logger. @kazu-yamamoto any objection to releasing a new version of wai-logger that re-adds that type synonym?

Pinging @winterland1989

from logger.

kazu-yamamoto avatar kazu-yamamoto commented on August 11, 2024

I have no objections. I believed that wai-logger 2.2.6 is backward-compatible but it is not. So, we need to fix it.

from logger.

winterland1989 avatar winterland1989 commented on August 11, 2024

OK, i'll do it.

from logger.

kazu-yamamoto avatar kazu-yamamoto commented on August 11, 2024

@winterland1989 I'm working. :-)

from logger.

winterland1989 avatar winterland1989 commented on August 11, 2024

Please proceed, i have another issue here, the clean up action here and here really should not be a no-op, it should be rmLoggerSet lgrset too, because rmLoggerSet will ensure flush in face of exceptions. can you fix that too?

from logger.

kazu-yamamoto avatar kazu-yamamoto commented on August 11, 2024

@winterland1989 @snoyberg Please check the patch above.

from logger.

kazu-yamamoto avatar kazu-yamamoto commented on August 11, 2024

Please proceed, i have another issue here, the clean up action here and here really should not be a no-op, it should be rmLoggerSet lgrset too, because rmLoggerSet will ensure flush in face of exceptions. can you fix that too?

@winterland1989 Can you write a test case to demonstrate the issue?

from logger.

snoyberg avatar snoyberg commented on August 11, 2024

LGTM

from logger.

winterland1989 avatar winterland1989 commented on August 11, 2024

It should solve the back-compatible issue. i haven't got an idea to add test to fast-logger, but i'll try.

from logger.

kazu-yamamoto avatar kazu-yamamoto commented on August 11, 2024

I have released wai-logger v2.2.7.

from logger.

kazu-yamamoto avatar kazu-yamamoto commented on August 11, 2024

@snoyberg BTW, do you know any tools to confirm backward compatibility of packages? I should use such tools before releasing.

from logger.

erikd avatar erikd commented on August 11, 2024

@kazu-yamamoto I don't know of any tools, but you can use http://packdeps.haskellers.com/reverse to find the reverse dependencies of your package, set up a cabal sandbox, cabal sandbox add-source <your package> and then cabal install all the reverse dependencies into the sandbox.

Any breakage due to changes in your package will reveal themselves.

from logger.

kazu-yamamoto avatar kazu-yamamoto commented on August 11, 2024

Yeah, that's one way. But I want to have tools to just compare exports of two versions of a package.

from logger.

snoyberg avatar snoyberg commented on August 11, 2024

Sorry, I'm unaware of any tooling.

On Tue, Apr 19, 2016, 4:47 AM Kazu Yamamoto [email protected]
wrote:

Yeah, that's one way. But I want to have tools to just compare exports of
two versions of a package.


You are receiving this because you were mentioned.

Reply to this email directly or view it on GitHub
#90 (comment)

from logger.

winterland1989 avatar winterland1989 commented on August 11, 2024

I think we really should bump the minor version if we want to be sure no large breakage happening.

from logger.

erikd avatar erikd commented on August 11, 2024

Afaiac its fixed with the release of 2.2.7.

from logger.

kazu-yamamoto avatar kazu-yamamoto commented on August 11, 2024

@winterland1989 What we should do is try to maintain backward compatibility as much as possible and bump minor versions. We bump the major versions if we break backward compatibility. In this case, we need strong/reasonable reasons to break backward compatibility.

from logger.

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.