@react-lgpd-consent/core 0.7.1 → 0.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,37 @@
1
1
  # Changelog - @react-lgpd-consent/core
2
2
 
3
+ ## 0.7.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#134](https://github.com/lucianoedipo/react-lgpd-consent/pull/134) [`44b885b`](https://github.com/lucianoedipo/react-lgpd-consent/commit/44b885b7c81f1cb5822e2dcfde2975e69e8d4893) Thanks [@github-actions](https://github.com/apps/github-actions)! - ### Correções
8
+ - 1d15920 fix: corrigir formatação da verificação de múltiplas versões do React
9
+
10
+ ### Funcionalidades
11
+ - d641639 feat: adicionar gerenciamento de eventos para categorias obrigatórias no CategoriesProvider
12
+ - b04c00b feat: add tests for CookieBanner, FloatingPreferencesButton, and PreferencesModal components
13
+ - b04c00b Introduce interactive changeset script for easier versioning in monorepos.
14
+
15
+ ### Refactors e compatibilidade
16
+ - ef2968a refactor: replace direct document and window references with globalThis for better compatibility
17
+ - ef2968a Updated scriptLoader, cookieDiscovery, cookieUtils, dataLayerEvents, developerGuidance, peerDepsCheck, scriptIntegrations, and scriptLoader files to use globalThis.document and globalThis.window.
18
+ - ef2968a Improved cookie handling functions to check for document and window availability using globalThis.
19
+ - ef2968a Enhanced tests to reference globalThis for consistency.
20
+ - ef2968a Cleaned up code formatting and comments for clarity.
21
+ - b04c00b Refactor coverage check script to use node imports.
22
+ - b04c00b Adjust TypeDoc script for ESM compatibility.
23
+ - 3af2fcb Fix path resolution in tsconfig for better module imports.
24
+
25
+ ### Testes
26
+ - b04c00b Implement tests for CookieBanner to verify rendering based on consent and debug mode.
27
+ - b04c00b Enhance FloatingPreferencesButton tests to check for localized text via props.
28
+ - b04c00b Extend PreferencesModal tests to cover temporary preference resets, active scripts rendering, and custom text application.
29
+
30
+ ### Documentação
31
+ - d430eef docs: atualizar instruções para agentes com visão geral do projeto e comandos essenciais
32
+ - d430eef Updated documentation to reflect changes in globalThis usage.
33
+ - d430eef Update API documentation to include new integration functions and ESM/CJS testing configurations.
34
+
3
35
  ## 0.7.1
4
36
 
5
37
  ### Patch Changes
@@ -348,7 +380,7 @@
348
380
  - **Correção crítica**: `loadScript` agora aguarda dinamicamente o consentimento em vez de rejeitar imediatamente, permitindo que scripts carreguem quando preferências mudarem
349
381
  - Cleanup automático do registro ao completar/falhar carregamento
350
382
  - Adicionados testes extensivos: `ConsentScriptLoader.strictmode.test.tsx` e `scriptLoader.strictmode.test.ts`
351
- - Documentação completa em `docs/REACT19-STRICTMODE.md`
383
+ - Documentação completa em `REACT19-STRICTMODE.md`
352
384
  - Todos os 302 testes passando, incluindo 5 novos testes de StrictMode
353
385
 
354
386
  **Breaking Changes:** Nenhuma - totalmente retrocompatível