|
| 1 | +--- |
| 2 | +title: "2024-05-12: Headless UI v2.0 for React, Astro v4.8, 외부패키지 의존 없이 Node.js만으로 이용할 수 있는 기능" |
| 3 | +author: "azu" |
| 4 | +translator: rewrite0w0 |
| 5 | +layout: post |
| 6 | +date: 2024-05-12T06:47:28.714Z |
| 7 | +category: JSer |
| 8 | +tags: |
| 9 | +- test |
| 10 | +- nodejs |
| 11 | +- bundler |
| 12 | +- vite |
| 13 | +- Hono |
| 14 | + |
| 15 | +--- |
| 16 | + |
| 17 | +JSer.info #692 - Headless UI v2.0 for React가 출시되었어요. |
| 18 | + |
| 19 | +- [Headless UI v2.0 for React - Tailwind CSS](https://tailwindcss.com/blog/headless-ui-v2) |
| 20 | + |
| 21 | +Floating UI에서 anchor 지정 지원, Checkbox 컴포넌트, Fieldset 컴포넌트, Combobox가 `virtual` props 지원 변경이 포함되어요. |
| 22 | + |
| 23 | +--- |
| 24 | + |
| 25 | +Astro 4.8가 출시되었어요. |
| 26 | + |
| 27 | +- [Astro 4.8 | Astro](https://astro.build/blog/astro-480/) |
| 28 | + |
| 29 | +실험적 기능으로 Astro Actions, Request Rewriting 추가가 있어요. |
| 30 | +또한, 성능 개선과 `injectRoute` 버그 수정 변경도 있어요. |
| 31 | + |
| 32 | +--- |
| 33 | + |
| 34 | +[Node.js 진화로 인해 필요없어질지도 모를 패키지들](https://zenn.dev/morinokami/articles/npm-uninstall)에서는, 외부 패키지로 이용했던 기능 일부가 Node.js에도 구현되어 있음을 소개하고 있어요. |
| 35 | + |
| 36 | +- Fetch API |
| 37 | +- `.env` 파일 읽기 |
| 38 | +- `util.styleText` |
| 39 | +- `node:test` |
| 40 | +- `--watch` 플래그 |
| 41 | +- `glob` |
| 42 | +- `util.parseArgs` |
| 43 | + |
| 44 | +등이 있어요. |
| 45 | + |
| 46 | +---- |
| 47 | + |
| 48 | +{% include inline-support.html %} |
| 49 | + |
| 50 | +---- |
| 51 | + |
| 52 | +<h1 class="site-genre">헤드라인</h1> |
| 53 | + |
| 54 | +---- |
| 55 | + |
| 56 | +## Release v0.21.0 · evanw/esbuild |
| 57 | +[github.com/evanw/esbuild/releases/tag/v0.21.0](https://github.com/evanw/esbuild/releases/tag/v0.21.0 "Release v0.21.0 · evanw/esbuild") |
| 58 | +<p class="jser-tags jser-tag-icon"><span class="jser-tag">JavaScript</span> <span class="jser-tag">bundler</span> <span class="jser-tag">ReleaseNote</span></p> |
| 59 | + |
| 60 | +esbuild v0.21.0 출시. |
| 61 | +Stage 3의 Decorator Proposal 지원, private 메서드 최적화, 버그 수정 |
| 62 | + |
| 63 | + |
| 64 | +---- |
| 65 | + |
| 66 | +## Release v1.6.0 · vitest-dev/vitest |
| 67 | +[github.com/vitest-dev/vitest/releases/tag/v1.6.0](https://github.com/vitest-dev/vitest/releases/tag/v1.6.0 "Release v1.6.0 · vitest-dev/vitest") |
| 68 | +<p class="jser-tags jser-tag-icon"><span class="jser-tag">vite</span> <span class="jser-tag">test</span> <span class="jser-tag">ReleaseNote</span></p> |
| 69 | + |
| 70 | +vitest v1.6.0 출시. |
| 71 | +`--standalone` 그래프 지원, Snapshot 커스터마이즈 가능한 `snapshotEnvironment` 옵션 추가. |
| 72 | +`browser.testerScripts`와 `browser.indexScripts` 옵션 추가. |
| 73 | + |
| 74 | + |
| 75 | +---- |
| 76 | + |
| 77 | +## Release v4.3.0 · honojs/hono |
| 78 | +[github.com/honojs/hono/releases/tag/v4.3.0](https://github.com/honojs/hono/releases/tag/v4.3.0 "Release v4.3.0 · honojs/hono") |
| 79 | +<p class="jser-tags jser-tag-icon"><span class="jser-tag">Hono</span> <span class="jser-tag">ReleaseNote</span></p> |
| 80 | + |
| 81 | +Hono v4.3.0 출시. |
| 82 | +Response 관련해 클라이언트 측에서 자료형 추론 개선, `hono/jsx`에서 React와의 호환성 개선, `createFactory` 추가 |
| 83 | + |
| 84 | + |
| 85 | +---- |
| 86 | + |
| 87 | +## Astro 4.8 | Astro |
| 88 | +[astro.build/blog/astro-480/](https://astro.build/blog/astro-480/ "Astro 4.8 | Astro") |
| 89 | +<p class="jser-tags jser-tag-icon"><span class="jser-tag">astro</span> <span class="jser-tag">ReleaseNote</span></p> |
| 90 | + |
| 91 | +Astro 4.8 출시. |
| 92 | +실험적 기능으로 Astro Action, Request Rewriting 추가. |
| 93 | +성능 개선 및 `injectRoute` 버그 수정 |
| 94 | + |
| 95 | + |
| 96 | +---- |
| 97 | + |
| 98 | +## Node.js — Node v20.13.0 (LTS) |
| 99 | +[nodejs.org/en/blog/release/v20.13.0](https://nodejs.org/en/blog/release/v20.13.0 "Node.js — Node v20.13.0 (LTS)") |
| 100 | +<p class="jser-tags jser-tag-icon"><span class="jser-tag">nodejs</span> <span class="jser-tag">ReleaseNote</span></p> |
| 101 | + |
| 102 | +Node.js v20.13.0 출시. |
| 103 | +Buffer에서 `base64`와 `base64url` 성능 개선, `CustomEvent`와 `node --watch`를 Stable로 변경, `fs/promises` 스택 트레이스 추가 |
| 104 | + |
| 105 | + |
| 106 | +---- |
| 107 | + |
| 108 | +## Release v1.44.0 · microsoft/playwright |
| 109 | +[github.com/microsoft/playwright/releases/tag/v1.44.0](https://github.com/microsoft/playwright/releases/tag/v1.44.0 "Release v1.44.0 · microsoft/playwright") |
| 110 | +<p class="jser-tags jser-tag-icon"><span class="jser-tag">playwright</span> <span class="jser-tag">ReleaseNote</span></p> |
| 111 | + |
| 112 | +playwright v1.44.0 출시. |
| 113 | +accessibility용 Assertion 추가, `page.addLocatorHandler`에 `noWaitAfter` 옵션 추가, `page.removeLocatorHandler` 메서드 추가. |
| 114 | +직전에 실패한 테스트한 실행하는 `--last-failed` 플래그 추가 |
| 115 | + |
| 116 | + |
| 117 | +---- |
| 118 | + |
| 119 | +## Release v2.3.0 · mswjs/msw |
| 120 | +[github.com/mswjs/msw/releases/tag/v2.3.0](https://github.com/mswjs/msw/releases/tag/v2.3.0 "Release v2.3.0 · mswjs/msw") |
| 121 | +<p class="jser-tags jser-tag-icon"><span class="jser-tag">JavaScript</span> <span class="jser-tag">test</span> <span class="jser-tag">library</span></p> |
| 122 | + |
| 123 | +msw 2.3.0 출시. |
| 124 | +핸들러 내에 unhandled exception는 500 에러가 되도록 변경, `unhandledException` 이벤트 추가 |
| 125 | + |
| 126 | + |
| 127 | +---- |
| 128 | + |
| 129 | +## Release v9.0.0 · sindresorhus/execa |
| 130 | +[github.com/sindresorhus/execa/releases/tag/v9.0.0](https://github.com/sindresorhus/execa/releases/tag/v9.0.0 "Release v9.0.0 · sindresorhus/execa") |
| 131 | +<p class="jser-tags jser-tag-icon"><span class="jser-tag">nodejs</span> <span class="jser-tag">ReleaseNote</span></p> |
| 132 | + |
| 133 | +execa v9.0.0 출시. |
| 134 | +zx처럼 Template Literal에서 커맨드 실행 지원, 행마다 출력 처리 가능하게끔, 입력이나 출력 필터, `verbose` 모드 개선 |
| 135 | + |
| 136 | +- [Execa 9: our biggest release. Execa runs commands in your scripts. | by ehmicky | Medium](https://medium.com/@ehmicky/execa-9-release-d0d5daaa097f "Execa 9: our biggest release. Execa runs commands in your scripts. | by ehmicky | Medium") |
| 137 | + |
| 138 | +---- |
| 139 | + |
| 140 | +## Bun v1.1.8 | Bun Blog |
| 141 | +[bun.sh/blog/bun-v1.1.8](https://bun.sh/blog/bun-v1.1.8 "Bun v1.1.8 | Bun Blog") |
| 142 | +<p class="jser-tags jser-tag-icon"><span class="jser-tag">Bun</span> <span class="jser-tag">ReleaseNote</span></p> |
| 143 | + |
| 144 | +Bun v1.1.8 출시. |
| 145 | +`process.on("uncaughtException")`와 `process.on("unhandledRejection")` 지원. |
| 146 | +`node:zlib`에서 Brotli API 지원, Bun APIがExplicit Resource Management 지원 |
| 147 | + |
| 148 | + |
| 149 | +---- |
| 150 | + |
| 151 | +## Headless UI v2.0 for React - Tailwind CSS |
| 152 | +[tailwindcss.com/blog/headless-ui-v2](https://tailwindcss.com/blog/headless-ui-v2 "Headless UI v2.0 for React - Tailwind CSS") |
| 153 | +<p class="jser-tags jser-tag-icon"><span class="jser-tag">React</span> <span class="jser-tag">library</span> <span class="jser-tag">ReleaseNote</span></p> |
| 154 | + |
| 155 | +Headless UI v2.0 출시. |
| 156 | +Floating UI에서 anchor 지정 지원, Checkbox 컴포넌트, Fieldset 컴포넌트, Combobox가 `virtual` props 지원 |
| 157 | + |
| 158 | + |
| 159 | +---- |
| 160 | + |
| 161 | +## Release 7.0.0 · jasonkuhrt/graphql-request |
| 162 | +[github.com/jasonkuhrt/graphql-request/releases/tag/7.0.0](https://github.com/jasonkuhrt/graphql-request/releases/tag/7.0.0 "Release 7.0.0 · jasonkuhrt/graphql-request") |
| 163 | +<p class="jser-tags jser-tag-icon"><span class="jser-tag">GraphQL</span> <span class="jser-tag">library</span> <span class="jser-tag">ReleaseNote</span></p> |
| 164 | + |
| 165 | +graphql-request 7.0 출시. |
| 166 | +cross-fetch에서 polyfill 삭제, Pure ESM으로 변경 |
| 167 | + |
| 168 | + |
| 169 | +---- |
| 170 | +<h1 class="site-genre">アーティクル</h1> |
| 171 | + |
| 172 | +---- |
| 173 | + |
| 174 | +## Node.js 진화로 인해 필요없어질지도 모르는 패키지들 |
| 175 | +[zenn.dev/morinokami/articles/npm-uninstall](https://zenn.dev/morinokami/articles/npm-uninstall "Node.js 진화로 인해 필요없어질지도 모르는 패키지들") |
| 176 | +<p class="jser-tags jser-tag-icon"><span class="jser-tag">nodejs</span> <span class="jser-tag">article</span></p> |
| 177 | + |
| 178 | +Node.js 코어 모듈에 구현 된 패키지 기능 소개. |
| 179 | +Fetch API, `.env` 로드, `util.styleText`, `node:test`, `--watch` 플래그, `glob`, `util.parseArgs` 관련 |
| 180 | + |
| 181 | + |
| 182 | +---- |
| 183 | + |
| 184 | +## TypeScript 타입 검사 시간 단축한 이야기 |
| 185 | +[zenn.dev/knowledgework/articles/speedup-typecheck](https://zenn.dev/knowledgework/articles/speedup-typecheck "TypeScript 타입 검사 시간 단축한 이야기") |
| 186 | +<p class="jser-tags jser-tag-icon"><span class="jser-tag">TypeScript</span> <span class="jser-tag">article</span></p> |
| 187 | + |
| 188 | +TypeScript 타입 체크 성능 체크와 개선에 대하여 |
| 189 | + |
| 190 | + |
| 191 | +---- |
| 192 | + |
| 193 | +## Misconceptions about CSS Specificity – Bram.us |
| 194 | +[www.bram.us/2024/05/05/misconceptions-about-css-specificity/](https://www.bram.us/2024/05/05/misconceptions-about-css-specificity/ "Misconceptions about CSS Specificity – Bram.us") |
| 195 | +<p class="jser-tags jser-tag-icon"><span class="jser-tag">CSS</span> <span class="jser-tag">article</span></p> |
| 196 | + |
| 197 | +CSS에서 Specificity 이야기 |
| 198 | + |
| 199 | + |
| 200 | +---- |
| 201 | + |
| 202 | +## Monitor Third-Party Resources that Impact UX with Playwright |
| 203 | +[www.checklyhq.com/blog/how-playwright-can-monitor-third-party-resources/](https://www.checklyhq.com/blog/how-playwright-can-monitor-third-party-resources/ "Monitor Third-Party Resources that Impact UX with Playwright") |
| 204 | +<p class="jser-tags jser-tag-icon"><span class="jser-tag">browser</span> <span class="jser-tag">test</span> <span class="jser-tag">article</span></p> |
| 205 | + |
| 206 | +Playwright에서 Request Block/Delay 사용해 유저에게 영향있는 서드파티 스크립트 모니터링하는 방법 |
| 207 | + |
| 208 | + |
| 209 | +---- |
| 210 | + |
| 211 | +## Why Patching Globals Is Harmful - kettanaito.com |
| 212 | +[kettanaito.com/blog/why-patching-globals-is-harmful](https://kettanaito.com/blog/why-patching-globals-is-harmful "Why Patching Globals Is Harmful - kettanaito.com") |
| 213 | +<p class="jser-tags jser-tag-icon"><span class="jser-tag">Fetch</span> <span class="jser-tag">JavaScript</span> <span class="jser-tag">article</span> <span class="jser-tag">opinion</span></p> |
| 214 | + |
| 215 | +Global API에 monkey patch하는 폐해에 대하여. |
| 216 | +Fetch API 사양을 다양한 방법으로 덮어쓰고 있는 React/Next.js/Bun |
| 217 | + |
| 218 | + |
| 219 | +---- |
0 commit comments