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

v18 is for Victoria #1639

Merged
merged 35 commits into from
Apr 20, 2024
Merged

v18 is for Victoria #1639

merged 35 commits into from
Apr 20, 2024

Conversation

RobinTail
Copy link
Owner

@RobinTail RobinTail commented Mar 22, 2024

Dedication

image

Victoria Carmen White, a black trans woman, was murdered in New Jersey, US, on 12 September 2010. Her boyfriend was brought to trial for her death, but he was acquitted and blamed another man for the murder. The gun used in the killing was never found.

Transgender women suffer too frequently from transphobic violence and cruelty, being the less protected social group. I'd like to raise an awareness of this problem. Humans should be creators — not killers. But most importantly, I want every transgender girl to have an opportunity to create applications quickly and, in general, learn to write code easily in order to receive job offers and leave dangerously transphobic territories for more favorable and civilized ones, and live happily there. Protect transgender women.


Version 18

Description

This version is focused on making the quick start with Express Zod API even faster by replacing Winston with a built-in console logger having the same basic functionality needed to begin the development. Migration should be easy in most cases.

What's included

@RobinTail RobinTail added documentation Improvements or additions to documentation enhancement New feature or request dependencies Pull requests that update a dependency file refactoring The better way to achieve the same result breaking Backward incompatible changes dedication labels Mar 22, 2024
@RobinTail RobinTail added this to the v18 milestone Mar 22, 2024
Copy link

coveralls-official bot commented Mar 22, 2024

Coverage Status

coverage: 100.0%. remained the same
when pulling f6aa41d on make-v18
into 34307e0 on master.

The idea here is to make the Quick Start with Express Zod API even
faster by making a basic console logger detached from Winston.

### Benefits

- Reducing peer dependencies (easier installation command),
- Reducing confusion (reasons for installing winston in the fast track),
- No need for declaring `LoggerOverrides` in the Quick Start section
(easier documentation for beginners),
- Simpler implementation.

### Caveats

- Breaking changes to the publicly exposed method `createLogger`
(removing `winston` prop from its argument),
- No advanced features like child logger and profiling by default — that
would require user to configure a custom logger,
- ~~Need `chalk` as production dependency,~~
  - ~~However: Can colorize logo in runtime (no assuming colors).~~
Some terminals may not support colors and I'd like to avoid assumptions
on that issue.
I tried several libraries, but in the end Chalk is the most reliable
one, because it has fallbacks.

Using latest Chalk v5 (which is ESM only) requires to make
`createLogger()` fn async.
@RobinTail RobinTail changed the title Next: v18 v18 is for Victoria Mar 23, 2024
@RobinTail RobinTail marked this pull request as ready for review April 8, 2024 20:35
Copy link
Owner Author

@RobinTail RobinTail left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reviewed

@RobinTail
Copy link
Owner Author

QA passed in general, but a minor thing I'd like to fix is color detection of ansis when running as PM2 process.

@RobinTail
Copy link
Owner Author

QA passed ✅

Copy link
Owner Author

@RobinTail RobinTail left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ready

@RobinTail RobinTail merged commit 69c5961 into master Apr 20, 2024
12 checks passed
@RobinTail RobinTail deleted the make-v18 branch April 20, 2024 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking Backward incompatible changes dedication dependencies Pull requests that update a dependency file documentation Improvements or additions to documentation enhancement New feature or request refactoring The better way to achieve the same result
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant