Comments (18)
I just opened a PR to fix it on yesod-core: yesodweb/yesod#1215
from logger.
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.
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.
OK, i'll do it.
from logger.
@winterland1989 I'm working. :-)
from logger.
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.
@winterland1989 @snoyberg Please check the patch above.
from logger.
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.
LGTM
from logger.
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.
I have released wai-logger v2.2.7.
from logger.
@snoyberg BTW, do you know any tools to confirm backward compatibility of packages? I should use such tools before releasing.
from logger.
@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.
Yeah, that's one way. But I want to have tools to just compare exports of two versions of a package.
from logger.
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.
I think we really should bump the minor version if we want to be sure no large breakage happening.
from logger.
Afaiac its fixed with the release of 2.2.7.
from logger.
@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)
- Log rotation by day (00:00:00 to 23:59:59.999) HOT 1
- wai-logger 2.3.3 build failure with fast-logger < 2.4.12 HOT 1
- update fast-logger on github to reflect changes on hackage HOT 2
- ToLogStr instances for Int and Word HOT 3
- Rotate file will loss logs and throw IOException HOT 6
- Build failure with base-4.5 HOT 3
- wai-logger as middleware - openFile: Resource busy (file is locked) HOT 1
- Consider exporting LogStr HOT 1
- syslog support? HOT 1
- Update wai-logger cabal metadata on hackage HOT 1
- ToLogStr instance for ShortByteString
- fast-logger: Breaking API change in minor version bump HOT 4
- Build failures in wai-logger-2.1.0 to 2.3.5 due to missing bounds on fast-logger
- How to use TimedFastLogger with structured logging?
- Check-then-act race condition for short log entries in concurrent logging, results in entries being not in order HOT 3
- fast-logger fails to build with directory >=1.3.8
- `rmLoggerSet` does not flush when `SingleLogger` is in use HOT 4
- SingleLogger misses and repeats log messages HOT 3
- Fastlogger OOM's when setting log_backup_number to maxBound on logfile rotation HOT 1
- Flushing a single stdout logger doesn't seem to flush stdout HOT 8
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 logger.