@deinossrl/dgp-agent 1.5.22 → 1.5.23
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 +4 -0
- package/index.mjs +4 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changelog - DGP Agent
|
|
2
2
|
|
|
3
|
+
## [1.5.23] - 2026-01-13
|
|
4
|
+
### Fixed
|
|
5
|
+
- **Critical**: Lógica invertida en flags `include_owner` e `include_privileges`. Ahora se respeta correctamente la exclusión con `--no-owner` y `--no-privileges` cuando el usuario desmarca las opciones.
|
|
6
|
+
|
|
3
7
|
## [1.5.22] - 2026-01-13
|
|
4
8
|
|
|
5
9
|
### Fixed
|
package/index.mjs
CHANGED
|
@@ -1746,10 +1746,12 @@ async function executePgDump(command) {
|
|
|
1746
1746
|
}
|
|
1747
1747
|
|
|
1748
1748
|
// Incluir opciones adicionales
|
|
1749
|
-
|
|
1749
|
+
// NOTA: pg_dump incluye owner y privilegios por defecto.
|
|
1750
|
+
// Usamos --no-owner y --no-privileges para excluirlos.
|
|
1751
|
+
if (!params.include_privileges) {
|
|
1750
1752
|
pgDumpArgs.push('--no-privileges');
|
|
1751
1753
|
}
|
|
1752
|
-
if (params.include_owner) {
|
|
1754
|
+
if (!params.include_owner) {
|
|
1753
1755
|
pgDumpArgs.push('--no-owner');
|
|
1754
1756
|
}
|
|
1755
1757
|
|