react-lgpd-consent 0.9.1 → 0.9.3

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,70 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.9.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [`e567094`](https://github.com/lucianoedipo/react-lgpd-consent/commit/e567094c999a9727cdbf6c31362d14759f7eba2e) Thanks [@lucianoedipo](https://github.com/lucianoedipo)! - chore: atualização de dependências
8
+
9
+ - Updated dependencies [[`e567094`](https://github.com/lucianoedipo/react-lgpd-consent/commit/e567094c999a9727cdbf6c31362d14759f7eba2e)]:
10
+ - @react-lgpd-consent/core@0.9.3
11
+ - @react-lgpd-consent/mui@0.9.3
12
+
13
+ ## 0.9.2
14
+
15
+ ### Patch Changes
16
+
17
+ - [#161](https://github.com/lucianoedipo/react-lgpd-consent/pull/161) [`f1888ef`](https://github.com/lucianoedipo/react-lgpd-consent/commit/f1888ef2e7d8ea86653f155027f6d5ed270ac90c) Thanks [@lucianoedipo](https://github.com/lucianoedipo)! - # Changelog
18
+
19
+ ## ✨ Added
20
+
21
+ ### Coverage Analysis
22
+ - Added `coverage-analysis.sh` to perform comprehensive test coverage analysis.
23
+ - Automated execution of tests with coverage enabled and extraction of metrics from `coverage-summary.json`.
24
+ - Added support for multiple coverage output formats:
25
+ - LCOV
26
+ - Cobertura XML
27
+ - Clover XML
28
+ - JSON
29
+ - HTML
30
+ - Automatic opening of the HTML coverage report in the default browser.
31
+ - Updated `README.md` with documentation for the new coverage analysis script and usage instructions.
32
+
33
+ ### Versioning & Releases
34
+ - Added `VERSIONING.md` describing the versioning strategy based on **Changesets** and **Turborepo**.
35
+ - Documented the full release workflow, including automated CI/CD steps for versioning, publishing, and tagging.
36
+
37
+ ### CI/CD Documentation
38
+ - Added `WORKFLOWS.md` detailing the CI/CD architecture and guiding principles.
39
+ - Documented CI steps, automated version bumps, NPM publishing, and documentation deployment processes.
40
+
41
+ ### Dependency & CI Improvements
42
+ - Updated peer dependencies to improve React version compatibility.
43
+ - Enhanced CI permissions to support the updated release and publishing workflows.
44
+
45
+ ## 📝 Documentation
46
+ - Updated example documentation links in `examples/README.md` to reflect the new documentation structure.
47
+ - Corrected troubleshooting links in the following package READMEs:
48
+ - `core`
49
+ - `mui`
50
+ - `react-lgpd-consent`
51
+ - Updated Quickstart documentation links to point to the new documentation paths.
52
+ - Updated `INTEGRACOES.md` to reflect the new locations for recipes and troubleshooting documentation.
53
+
54
+ ## 🐛 Fixed
55
+
56
+ ### Coverage Configuration
57
+ - Updated Jest coverage thresholds in `jest.config.mjs`:
58
+ - Statements: **98%**
59
+ - Lines: **98%**
60
+ - Functions: **98%**
61
+ - Branches: **91%**
62
+ - Updated coverage thresholds in `coverage-check.cjs` and related scripts to align with the new coverage standards.
63
+
64
+ - Updated dependencies [[`f1888ef`](https://github.com/lucianoedipo/react-lgpd-consent/commit/f1888ef2e7d8ea86653f155027f6d5ed270ac90c)]:
65
+ - @react-lgpd-consent/core@0.9.2
66
+ - @react-lgpd-consent/mui@0.9.2
67
+
3
68
  ## 0.9.1
4
69
 
5
70
  ### Patch Changes
package/INTEGRACOES.md CHANGED
@@ -42,7 +42,7 @@ O componente `ConsentScriptLoader` gerencia o carregamento desses scripts automa
42
42
  })
43
43
  ```
44
44
 
45
- > 💡 **Procurando exemplos práticos?** Veja [RECIPES.md](../../RECIPES.md) para receitas passo a passo de Google Consent Mode v2, Next.js App Router e CSP/nonce.
45
+ > 💡 **Procurando exemplos práticos?** Veja [RECIPES.md](../../doc/RECIPES.md) para receitas passo a passo de Google Consent Mode v2, Next.js App Router e CSP/nonce.
46
46
 
47
47
  ## 🎯 Integrações Nativas Disponíveis
48
48
 
@@ -542,8 +542,8 @@ const customConfig = createAnpdCategoriesConfig({
542
542
  ## 📚 Recursos Adicionais
543
543
 
544
544
  - [API.md](./API.md) – Documentação completa da API pública
545
- - [RECIPES.md](../../RECIPES.md) – Receitas práticas com Next.js, CSP, Google Consent Mode v2
546
- - [TROUBLESHOOTING.md](../../TROUBLESHOOTING.md) – Solução de problemas comuns
547
- - [CONFORMIDADE.md](../../CONFORMIDADE.md) – Conformidade LGPD e ANPD
545
+ - [RECIPES.md](../../doc/RECIPES.md) – Receitas práticas com Next.js, CSP, Google Consent Mode v2
546
+ - [TROUBLESHOOTING.md](../../doc/TROUBLESHOOTING.md) – Solução de problemas comuns
547
+ - [CONFORMIDADE.md](../../doc/CONFORMIDADE.md) – Conformidade LGPD e ANPD
548
548
 
549
549
  **Problemas de integração?** Consulte [TROUBLESHOOTING.md - Seção de Integrations](../../TROUBLESHOOTING.md#integrações-de-terceiros).
package/QUICKSTART.en.md CHANGED
@@ -9,7 +9,7 @@ This quickstart gives everything you need to integrate `react-lgpd-consent` into
9
9
  - ✅ **Audit Logging** - `createConsentAuditEntry()` for compliance tracking
10
10
  - ✅ **Better DX** - Clear error messages when hooks are used incorrectly
11
11
 
12
- 📖 **Documentation:** [TROUBLESHOOTING.md](../../TROUBLESHOOTING.md) | [API.md](./API.md)
12
+ 📖 **Documentation:** [TROUBLESHOOTING.md](../../doc/TROUBLESHOOTING.md) | [API.md](./API.md)
13
13
 
14
14
  ---
15
15
 
package/README.md CHANGED
@@ -118,7 +118,7 @@ const audit = createConsentAuditEntry(state, {
118
118
  })
119
119
  ```
120
120
 
121
- 📖 **Documentação completa:** [API.md](./API.md) | [TROUBLESHOOTING.md](../../TROUBLESHOOTING.md)
121
+ 📖 **Documentação completa:** [API.md](./API.md) | [TROUBLESHOOTING.md](../../doc/TROUBLESHOOTING.md)
122
122
 
123
123
  ---
124
124
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-lgpd-consent",
3
- "version": "0.9.1",
3
+ "version": "0.9.3",
4
4
  "description": "Biblioteca de consentimento LGPD, integrações nativas e sistema extensível para React.",
5
5
  "keywords": [
6
6
  "lgpd",
@@ -80,10 +80,10 @@
80
80
  },
81
81
  "homepage": "https://lucianoedipo.github.io/react-lgpd-consent/",
82
82
  "peerDependencies": {
83
- "@mui/icons-material": "^7.0.0 || ^6.0.0 || ^5.15.0",
84
- "@mui/material": "^7.0.0 || ^6.0.0 || ^5.15.0",
85
- "react": "^18.2.0 || ^19.0.0",
86
- "react-dom": "^18.2.0 || ^19.0.0"
83
+ "@mui/icons-material": "^7.3.7",
84
+ "@mui/material": "^7.3.7",
85
+ "react": "^19.2.4",
86
+ "react-dom": "^19.2.4"
87
87
  },
88
88
  "peerDependenciesMeta": {
89
89
  "@mui/icons-material": {
@@ -94,8 +94,8 @@
94
94
  }
95
95
  },
96
96
  "dependencies": {
97
- "@react-lgpd-consent/core": "^0.9.1",
98
- "@react-lgpd-consent/mui": "^0.9.1"
97
+ "@react-lgpd-consent/core": "^0.9.3",
98
+ "@react-lgpd-consent/mui": "^0.9.3"
99
99
  },
100
100
  "size-limit": [
101
101
  {