@react-lgpd-consent/core 0.9.0 → 0.9.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 +59 -1
- package/README.md +3 -3
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,63 @@
|
|
|
1
1
|
# Changelog - @react-lgpd-consent/core
|
|
2
2
|
|
|
3
|
+
## 0.9.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#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
|
|
8
|
+
|
|
9
|
+
## ✨ Added
|
|
10
|
+
|
|
11
|
+
### Coverage Analysis
|
|
12
|
+
- Added `coverage-analysis.sh` to perform comprehensive test coverage analysis.
|
|
13
|
+
- Automated execution of tests with coverage enabled and extraction of metrics from `coverage-summary.json`.
|
|
14
|
+
- Added support for multiple coverage output formats:
|
|
15
|
+
- LCOV
|
|
16
|
+
- Cobertura XML
|
|
17
|
+
- Clover XML
|
|
18
|
+
- JSON
|
|
19
|
+
- HTML
|
|
20
|
+
- Automatic opening of the HTML coverage report in the default browser.
|
|
21
|
+
- Updated `README.md` with documentation for the new coverage analysis script and usage instructions.
|
|
22
|
+
|
|
23
|
+
### Versioning & Releases
|
|
24
|
+
- Added `VERSIONING.md` describing the versioning strategy based on **Changesets** and **Turborepo**.
|
|
25
|
+
- Documented the full release workflow, including automated CI/CD steps for versioning, publishing, and tagging.
|
|
26
|
+
|
|
27
|
+
### CI/CD Documentation
|
|
28
|
+
- Added `WORKFLOWS.md` detailing the CI/CD architecture and guiding principles.
|
|
29
|
+
- Documented CI steps, automated version bumps, NPM publishing, and documentation deployment processes.
|
|
30
|
+
|
|
31
|
+
### Dependency & CI Improvements
|
|
32
|
+
- Updated peer dependencies to improve React version compatibility.
|
|
33
|
+
- Enhanced CI permissions to support the updated release and publishing workflows.
|
|
34
|
+
|
|
35
|
+
## 📝 Documentation
|
|
36
|
+
- Updated example documentation links in `examples/README.md` to reflect the new documentation structure.
|
|
37
|
+
- Corrected troubleshooting links in the following package READMEs:
|
|
38
|
+
- `core`
|
|
39
|
+
- `mui`
|
|
40
|
+
- `react-lgpd-consent`
|
|
41
|
+
- Updated Quickstart documentation links to point to the new documentation paths.
|
|
42
|
+
- Updated `INTEGRACOES.md` to reflect the new locations for recipes and troubleshooting documentation.
|
|
43
|
+
|
|
44
|
+
## 🐛 Fixed
|
|
45
|
+
|
|
46
|
+
### Coverage Configuration
|
|
47
|
+
- Updated Jest coverage thresholds in `jest.config.mjs`:
|
|
48
|
+
- Statements: **98%**
|
|
49
|
+
- Lines: **98%**
|
|
50
|
+
- Functions: **98%**
|
|
51
|
+
- Branches: **91%**
|
|
52
|
+
- Updated coverage thresholds in `coverage-check.cjs` and related scripts to align with the new coverage standards.
|
|
53
|
+
|
|
54
|
+
## 0.9.1
|
|
55
|
+
|
|
56
|
+
### Patch Changes
|
|
57
|
+
|
|
58
|
+
- [#154](https://github.com/lucianoedipo/react-lgpd-consent/pull/154) [`2be8e18`](https://github.com/lucianoedipo/react-lgpd-consent/commit/2be8e18c456bdf2b19db611711e2a32517a1f18a) Thanks [@lucianoedipo](https://github.com/lucianoedipo)! - - feat: adiciona suporte a posicionamento e offset configuráveis no banner de consentimento
|
|
59
|
+
- feat: adiciona posicionamento configurável do banner de consentimento e aprimora textos de comunicação
|
|
60
|
+
|
|
3
61
|
## 0.9.0
|
|
4
62
|
|
|
5
63
|
### Minor Changes
|
|
@@ -15,7 +73,7 @@
|
|
|
15
73
|
- **Storybook**: removidas stories MDX e adicionada configuração Vite para avisos de tamanho de chunks
|
|
16
74
|
- **TypeDoc**: removida execução shell em `run-typedoc.mjs` para compatibilidade multiplataforma
|
|
17
75
|
- **Bundle**: ajustados limites de tamanho no `react-lgpd-consent/package.json`
|
|
18
|
-
- **MUI Patch**: aplicado patch em `@mui/icons-material@7.3.
|
|
76
|
+
- **MUI Patch**: aplicado patch em `@mui/icons-material@7.3.7` para resolver problemas de compatibilidade com exports
|
|
19
77
|
|
|
20
78
|
### Documentação
|
|
21
79
|
- Adicionada seção de posicionamento em `QUICKSTART.md` e `API.md`
|
package/README.md
CHANGED
|
@@ -122,14 +122,14 @@ const audit = createConsentAuditEntry(
|
|
|
122
122
|
)
|
|
123
123
|
```
|
|
124
124
|
|
|
125
|
-
📖 **Saiba mais:** [TROUBLESHOOTING.md](../../TROUBLESHOOTING.md)
|
|
125
|
+
📖 **Saiba mais:** [TROUBLESHOOTING.md](../../doc/TROUBLESHOOTING.md)
|
|
126
126
|
|
|
127
127
|
## 📚 Documentação
|
|
128
128
|
|
|
129
129
|
Para documentação completa, exemplos e API reference:
|
|
130
130
|
- [Documentação Principal](https://lucianoedipo.github.io/react-lgpd-consent/)
|
|
131
|
-
- [Guia de Início Rápido](../../QUICKSTART.md)
|
|
132
|
-
- [Conformidade LGPD](../../CONFORMIDADE.md)
|
|
131
|
+
- [Guia de Início Rápido](../../doc/QUICKSTART.md)
|
|
132
|
+
- [Conformidade LGPD](../../doc/CONFORMIDADE.md)
|
|
133
133
|
|
|
134
134
|
## 🔗 Pacotes Relacionados
|
|
135
135
|
|
package/dist/index.cjs
CHANGED
|
@@ -700,7 +700,7 @@ function removeConsentCookie(opts) {
|
|
|
700
700
|
}
|
|
701
701
|
|
|
702
702
|
// src/utils/dataLayerEvents.ts
|
|
703
|
-
var LIBRARY_VERSION = "0.9.
|
|
703
|
+
var LIBRARY_VERSION = "0.9.2";
|
|
704
704
|
function ensureDataLayer() {
|
|
705
705
|
const currentWindow = globalThis.window;
|
|
706
706
|
if (!currentWindow) return;
|
package/dist/index.js
CHANGED
|
@@ -676,7 +676,7 @@ function removeConsentCookie(opts) {
|
|
|
676
676
|
}
|
|
677
677
|
|
|
678
678
|
// src/utils/dataLayerEvents.ts
|
|
679
|
-
var LIBRARY_VERSION = "0.9.
|
|
679
|
+
var LIBRARY_VERSION = "0.9.2";
|
|
680
680
|
function ensureDataLayer() {
|
|
681
681
|
const currentWindow = globalThis.window;
|
|
682
682
|
if (!currentWindow) return;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-lgpd-consent/core",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.2",
|
|
4
4
|
"description": "Núcleo da biblioteca de consentimento LGPD para React - Estado, hooks e utilitários sem dependências de UI",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"lgpd",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
55
|
"js-cookie": "^3.0.5",
|
|
56
|
-
"zod": "^4.3.
|
|
56
|
+
"zod": "^4.3.6"
|
|
57
57
|
},
|
|
58
58
|
"repository": {
|
|
59
59
|
"type": "git",
|