Skip to content

Commit 4476977

Browse files
committed
Document variable system improvements in CHANGELOG
1 parent d79e8ff commit 4476977

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
# CHANGELOG.md
22

33
## unrelease
4+
- **Variable System Improvements**: URL and POST parameters are now immutable, preventing accidental modification. User-defined variables created with `SET` remain mutable.
5+
- `$variable` now looks up SET variables first, then URL parameters. This ensures SET variables always take precedence.
6+
- `:variable` looks up SET variables first, then POST parameters.
7+
- `sqlpage.variables('get')` returns only URL parameters as JSON
8+
- `sqlpage.variables('post')` returns only POST parameters as JSON
9+
- `sqlpage.variables('set')` returns only user-defined variables as JSON
10+
- `sqlpage.variables()` returns all variables merged together, with SET variables taking precedence
11+
- Deprecation warnings added for ambiguous cases where both URL and POST parameters exist with the same name
412
- add support for postgres range types
513

614
## v0.39.1 (2025-11-08)

0 commit comments

Comments
 (0)