Skip to content

Releases: giswater/plugin

v4.14.5

Choose a tag to compare

@danimarinBG danimarinBG released this 25 Jun 10:44
0eddc32

πŸ”½ Read the summarized changelog here πŸ”½

Fixed

  • Fix get_major_version function on tools_qgis to return the correct major version.

Full Changelog: v4.14.4...v4.14.5

πŸ“ƒ Check the official documentation here: ⛓️‍πŸ’₯ Giswater Documentation

v4.14.4

Choose a tag to compare

@danimarinBG danimarinBG released this 19 Jun 10:11

πŸ”½ Read the summarized changelog here πŸ”½

Fixed

  • Fix gw_fct_setselectors and gw_fct_getselectors functions using cat_manager configuration.

Full Changelog: v4.14.3...v4.14.4

πŸ“ƒ Check the official documentation here: ⛓️‍πŸ’₯ Giswater Documentation

cli-v0.3.0

Choose a tag to compare

@danimarinBG danimarinBG released this 19 Jun 10:39

πŸ”½ Read the summarized changelog here πŸ”½

Added

  • Manifest-driven schema kinds (engine/manifest_registry.py): addon/main kinds, update paths, integrate profiles, and register_version context are discovered from dbmodel/manifests/*.yaml instead of hardcoded Python lists.
  • New satellite schemas (e.g. publi) work with gw schema addon create|integrate|update|drop as soon as a manifest and SQL tree exist β€” no CLI code changes required.

Changed

  • gw schema addon --type accepts any kind listed by gw manifest list (no fixed choices= whitelist).
  • schema_catalog treats any non-ws/ud project_type as an addon for network discovery and inventory.
  • network update resolves addon patch roots via convention schemas/addon/{kind}/updates and orders kinds from manifests (unknown addons default between cibs and ws).
  • create derives integrate/register behavior from manifest profile names (integrate_ws, integrate_ud, integrate, activate, …) instead of per-kind if branches.
  • prepare_cli_release.py runs ruff check on giswater_admin/ and scripts/ before tagging or publishing.

Fixed

  • Lockstep network updates when the dbmodel tree has SQL patches but no manifest files (tests / minimal fixtures).

Full Changelog: cli-v0.2.0...cli-v0.3.0

πŸ“ƒ Check the official documentation here: ⛓️‍πŸ’₯ Giswater Documentation

cli-v0.2.0

Choose a tag to compare

@danimarinBG danimarinBG released this 19 Jun 06:15

πŸ”½ Read the summarized changelog here πŸ”½

Added

  • Persistent database connection in user config: gw config set database.conn URL or database.config /path/to/conn.yaml (used when --conn / --config are omitted).

Full Changelog: cli-v0.1.1...cli-v0.2.0

πŸ“ƒ Check the official documentation here: ⛓️‍πŸ’₯ Giswater Documentation

cli-v0.1.1

Choose a tag to compare

@danimarinBG danimarinBG released this 18 Jun 12:53

πŸ”½ Read the summarized changelog here πŸ”½

Fixed

  • Schema builds failing on legacy update patches that use DISABLE TRIGGER ALL when the manifest profile skips reload_fct_ftrg (e.g. ci, empty): reset the database role to the installer after load_base so updates and load_sample run as superuser.

Added

  • ci and dev as valid --profile choices for gw schema main create.

Full Changelog: cli-v0.1.0...cli-v0.1.1

πŸ“ƒ Check the official documentation here: ⛓️‍πŸ’₯ Giswater Documentation

cli-v0.1.0

Choose a tag to compare

@danimarinBG danimarinBG released this 18 Jun 10:33

πŸ”½ Read the summarized changelog here πŸ”½

Added

  • PyPI package giswater-cli with gw console entrypoint (Python 3.9+).
  • Headless schema engine shared with the QGIS plugin (SchemaBuilder, YAML manifests under dbmodel/manifests/).
  • gw db init β€” install PostGIS, pgRouting and required PostgreSQL extensions per database.
  • gw schema main create|update|drop β€” ws/ud project schemas with manifest profiles (empty, test, demo, …).
  • gw schema addon create|integrate|update|drop β€” satellite schemas (utils, cibs, audit, …) and parent wiring.
  • gw schema list β€” list schemas configured in the active dbmodel.
  • gw network show|update β€” inspect linked topology and run lockstep network upgrades.
  • gw dbmodel install|list|use|status β€” download, cache and switch Giswater SQL releases from plugin ZIPs.
  • gw config get|set β€” persistent user settings (~/.config/giswater/config.yaml or %APPDATA%/giswater/).
  • gw manifest validate|list β€” validate and enumerate manifest YAML files.
  • gw version β€” report CLI package version and active dbmodel/schema version.
  • Dbmodel resolution via --dbmodel-path, GW_DBMODEL_PATH, user config, or sibling checkout (gw dbmodel use dev).
  • Offline --check mode to print the SQL execution plan without connecting to PostgreSQL.
  • Timing reports and structured log output for automation and CI.
  • Legacy command aliases (create, update, drop, status, init-db, update-network, audit …) with stderr deprecation warnings.

Full Changelog: https://github.com/Giswater/giswater_qgis_plugin/releases/tag/cli-v0.1.0

πŸ“ƒ Check the official documentation here: ⛓️‍πŸ’₯ Giswater CLI Documentation

v4.14.3

Choose a tag to compare

@danimarinBG danimarinBG released this 15 Jun 11:05

πŸ”½ Read the summarized changelog here πŸ”½

Fixed

  • Fix add_demand_check, initialize cur_step correctly.

Full Changelog: v4.14.2...v4.14.3

πŸ“ƒ Check the official documentation here: ⛓️‍πŸ’₯ Giswater Documentation

v4.14.2

Choose a tag to compare

@ArnauUrgeles ArnauUrgeles released this 12 Jun 08:28

πŸ”½ Read the summarized changelog here πŸ”½

Fixed

  • Fix gw_fct_graphanalytics_mapzones_v1 function to set expl_visibility and expl_id in mapzones expl_ids.

Full Changelog: v4.14.1...v4.14.2

πŸ“ƒ Check the official documentation here: ⛓️‍πŸ’₯ Giswater Documentation

v4.14.1

Choose a tag to compare

@ArnauUrgeles ArnauUrgeles released this 11 Jun 12:05

πŸ”½ Read the summarized changelog here πŸ”½

Fixed

  • Fix config_form_fields dv_querytext to use ve_exploitation instead of vf_exploitation for macroexpl_id filter column.
  • Enable and require sector_id and muni_id on netscenario mapzone forms plan_netscenario_dma and plan_netscenario_presszone.
  • Fix netscenario mapzone Create/Update in mapzone_manager to upsert into plan_netscenario_* (not operative ve_*) and refresh the netscenario table after accept.
  • Fix gw_fct_graphanalytics_mapzones_v1 function to filter by expl_id in the graphconfig.
  • Fix gw_fct_graphanalytics_mapzones_v1 function to use expl_visibility with expl_id in the views.
  • Add missing cur_user filter to config_param_user queries for epa_dscenario_percent_hydro_threshold parameter.
  • Fix netscenario views to use vf_exploitation to filter with permissions.

Full Changelog: v4.14.0...v4.14.1

πŸ“ƒ Check the official documentation here: ⛓️‍πŸ’₯ Giswater Documentation

v4.14.0

Choose a tag to compare

@danimarinBG danimarinBG released this 10 Jun 09:22

πŸ”½ Read the summarized changelog here πŸ”½

Added

  • Add "Filter by selector" checkbox to mapzone manager to toggle between exploitation-permission scope and user selector scope.
  • Persist mapzone manager "Filter by selector" checkbox state per user session (defaults to checked on first open).
  • Add vf_exploitation view (based on cat_manager and admin_exploitation_x_user).
  • Add v_ui_*_sel mapzone views for selector-based filtering (selector_sector, selector_macrosector, selector_expl).
  • New tests for vf_exploitation view and mapzones _sel views.

Changed

  • Refactor mapzone v_ui_* views to filter by vf_exploitation instead of inline selector filters.
  • Improve gw_fct_graphanalytics_manage_temporary now uses the new vf_exploitation view to filter with permissions.

Fixed

  • Fix gw_fct_getprofilevalues function to use the correct columns for ud and ws.

Full Changelog: v4.13.1...v4.14.0

πŸ“ƒ Check the official documentation here: ⛓️‍πŸ’₯ Giswater Documentation