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

Discuss: morgan@2.0.0 #222

Closed
ryhinchey opened this issue Feb 24, 2020 · 5 comments
Closed

Discuss: morgan@2.0.0 #222

ryhinchey opened this issue Feb 24, 2020 · 5 comments
Labels

Comments

@ryhinchey
Copy link
Contributor

ryhinchey commented Feb 24, 2020

Opening this to start a discussion about if a v2 of morgan would be considered and what the goals of it would be.

As someone who would be happy to contribute to the effort, I wanted to gauge interest and come up with ideas of what a v2 would be looking to accomplish.

Some issues I think are relevant for a v2:

Some ideas:

@dougwilson
Copy link
Contributor

removing the compile function. the compile can be difficult to understand and uses what some consider to be an unsafe technique

I've never heard this proposal before, but would love to hear more about it. What would someone who is making use of that feature do without it? Is there an alternative proposed here? I ask because ideally we want to improve the module, and if there is an alternative and we can put it into the 1.x line and deprecate the old functions prior to suddenly dropping, that would be the most ideal path.

@dougwilson
Copy link
Contributor

replacing the token syntax with functions. Using a function is already documented and if compile is removed, we'd need to move all tokens to plain functions.

I'm a little unclear on this proposal as well. All tokens are already functions. So by changing them to functions it's not clear what that would look like since they are functions today...

I think this thread is about to become very messy. Should we make a separate issue for each separate proposal so the discussions do not end up mixed together? I feel like this should just be a meta issue for existing proposal we can link to and the discussion here should be on if they should be in the release vs making multiple new proposals in a single issue that would then need to be cross discussed.

Thoughts?

@ryhinchey
Copy link
Contributor Author

I think that's a great idea. I'll open separate issues with proposals and more detail

@dougwilson
Copy link
Contributor

Nice! And to be clear: I suggest this because I want to have these discussions and hear your thoughts and have you working on this 🚀

@theoludwig
Copy link

Yes, still the warning when using es6 import in node : morgan deprecated default format: use combined format. Could be cool to fix that! :)

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

No branches or pull requests

3 participants