Skip to content

Commit 70b90c3

Browse files
committed
add test for repeated properties in dynamic component
1 parent 0436b28 commit 70b90c3

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# CHANGELOG.md
22

3-
## 0.21.0 (unreleased)
3+
## 0.21.0 (2024-05-19)
44

55
- `sqlpage.hash_password(NULL)` now returns `NULL` instead of throwing an error. This behavior was changed unintentionally in 0.20.5 and could have broken existing SQLPage websites.
66
- The [dynamic](https://sql.ophir.dev/documentation.sql?component=dynamic#component) component now supports multiple `properties` attributes. The following is now possible:
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
-- Checks that we can have a page with a single dynamic component containing multiple children
2+
select 'dynamic' as component,
3+
'{"component":"text"}' as properties,
4+
'{"contents":"Hello, ", "bold":true}' as properties,
5+
'{"component":"text"}' as properties,
6+
'{"contents":"It works !", "bold":true}' as properties;

0 commit comments

Comments
 (0)