Bump @hello-pangea/dnd from 17.0.0 to 18.0.1#5
Conversation
LabelsThe following labels could not be found: Please fix the above issues or remove invalid values from |
WalkthroughA dependência ChangesAtualização de Dependência
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutos Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
Comment |
… watch Corrige gap crítico #5 da auditoria: token OAuth expirava após 1h sem renovação. - Refresh proativo 5min antes do vencimento via Edge Function gmail-oauth - Loop de verificação a cada 60s com deduplicação (refreshingRef) - Realtime subscription para detectar mudanças de conta - Registro/renovação automática do Pub/Sub watch para emails em tempo real - Popup OAuth nativo com message listener - Toast de erro quando token expira sem conseguir refresh
…new components Improvement 4/18 — Complete rewrite integrating: - useContactAvatarFetch: auto-fetch WhatsApp profile pics (Gap #3) - ContactInlineEdit: click-to-edit name/email/company (Gap #6) - ContactSLAIndicator: SLA badge in header (Gap #9) - ContactQuickNotePanel: inline timestamped notes (Gap #15) - ContactDuplicateIndicator: cross-channel duplicate alert (Gap #14) - ContactConversationHistory: past conversations in Activity tab (Gap #7) - ContactOrphanState: graceful fallback for null contact (Gap #13) - normalizePhoneBR: proper phone formatting (Gap #2) - Custom fields section (Gap #5) - Loading skeleton state - Full a11y with role/aria attributes
CRITICAL FIX: vite.config.ts esbuild.drop=['console']
==========================================================
ANTES, em prod build, TODOS os console.* eram removidos (drop: ['console']).
Isso era invisível mas QUEBRAVA o Sentry SDK 8.x — que usa console.warn
internamente em paths críticos do init(). Resultado: bundle tinha o código
do init mas Sentry nunca inicializava de verdade (acs ausente).
Fix:
- drop: ['debugger'] apenas (preserva console.info/warn/error)
- pure: ['console.log', 'console.debug'] (esses sim ficam tree-shaked)
Side-effects: bundle +2KB, mas Sentry agora roda E logs de runtime
ficam visíveis pro debug em prod (com sampling LGPD-friendly).
src/lib/sentry.ts — named imports + logs explícitos
==========================================================
- Migrado de `import * as Sentry` para named imports (init, browserTracingIntegration, replayIntegration, ErrorBoundary)
- Mais robusto pra tree-shaking
- Funciona melhor com Vite chunk split
- console.info("[sentry] initializing — env=X release=Y dsn_host=Z")
- console.info("[sentry] ✅ initialized successfully")
- console.error (era warn) no catch — visível em prod
Validação:
- Bundle mudou de hash: index.BgNBicFY.js → index.DDaTdiTA.js
- Logs em runtime confirmados via Playwright:
[sentry] initializing — env=prod release=7e8ef8403 dsn_host=erros.atomicabr.com.br
[sentry] ✅ initialized successfully
- DSN GlitchTip: https://50b1ab55-…@erros.atomicabr.com.br/3
Smoke v6: 115/115 = 100% A+ (com checks 21=HTTP/3 + 22=Sentry wired)
Bumps [@hello-pangea/dnd](https://github.com/hello-pangea/dnd) from 17.0.0 to 18.0.1. - [Release notes](https://github.com/hello-pangea/dnd/releases) - [Changelog](https://github.com/hello-pangea/dnd/blob/main/CHANGELOG.md) - [Commits](hello-pangea/dnd@v17.0.0...v18.0.1) --- updated-dependencies: - dependency-name: "@hello-pangea/dnd" dependency-version: 18.0.1 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
3d3d422 to
f5e5f5e
Compare
|
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |
Bumps @hello-pangea/dnd from 17.0.0 to 18.0.1.
Release notes
Sourced from @hello-pangea/dnd's releases.
... (truncated)
Changelog
Sourced from @hello-pangea/dnd's changelog.
... (truncated)
Commits
4101734chore: release 18.0.11afeefechore: update release-it configuration604b93dchore(dev-deps): update bump all non-major development dependencies97ac24fchore: release 18.0.04f632b4chore(dev-deps): bump nanoid from 3.3.7 to 3.3.8b47954bchore(dev-deps): bump cross-spawn from 7.0.3 to 7.0.6dec1d12ci: always install latest corepack versioncb2c0c8chore(dev-deps): update pnpm to v103a4091fchore(dev-deps): update dependency@release-it/conventional-changelogto v1099f32edchore(dev-deps): update dependency release-it to v18