Skip to content

Commit 47f0f4a

Browse files
authored
Merge branch 'main' into cursor/add-image-height-property-to-card-component-c4f8
2 parents f88cfd3 + 3276b5a commit 47f0f4a

8 files changed

Lines changed: 417 additions & 33 deletions

File tree

CHANGELOG.md

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,23 @@
11
# CHANGELOG.md
22

3-
## v0.39.1 (2025-11-08)
4-
- More precise server timing tracking to debug performance issues
5-
- Fix missing server timing header in some cases
6-
- Implement nice error messages for some header-related errors such as invalid header values.
7-
- `compress_responses` is now set to `false` by default in the configuration.
8-
- When response compression is enabled, additional buffering is needed. Users reported a better experience with pages that load more progressively, reducing the time before the pages' shell is rendered.
9-
- When SQLPage is deployed behind a reverse proxy, compressing responses between sqlpage and the proxy is wasteful.
10-
- In the table component, allow simple objects in custom_actions instead of requiring arrays of objects.
11-
- Fatser icon loading. Previously, even a page containing a single icon required downloading and parsing a ~2MB file. This resulted in a delay where pages initially appeared with a blank space before icons appeared. Icons are now inlined inside pages and appear instantaneously.
12-
- Updated tabler icons to 3.35
13-
- Fix inaccurate ODBC warnings
14-
- Added support for Microsoft SQL Server named instances: `mssql://user:pass@localhost/db?instance_name=xxx`
15-
- Added a detailed [performance guide](https://sql-page.com/blog?post=Performance+Guide) to the docs.
16-
- Added an `image_height` property to the card component so top images can be capped without stretching or upscaling.
3+
## unreleased
4+
- add support for postgres range types
5+
- Added an `image_height` property to the card component so top images can be capped without stretching or upscaling.
6+
7+
8+
## v0.39.1 (2025-11-08)
9+
- More precise server timing tracking to debug performance issues
10+
- Fix missing server timing header in some cases
11+
- Implement nice error messages for some header-related errors such as invalid header values.
12+
- `compress_responses` is now set to `false` by default in the configuration.
13+
- When response compression is enabled, additional buffering is needed. Users reported a better experience with pages that load more progressively, reducing the time before the pages' shell is rendered.
14+
- When SQLPage is deployed behind a reverse proxy, compressing responses between sqlpage and the proxy is wasteful.
15+
- In the table component, allow simple objects in custom_actions instead of requiring arrays of objects.
16+
- Fatser icon loading. Previously, even a page containing a single icon required downloading and parsing a ~2MB file. This resulted in a delay where pages initially appeared with a blank space before icons appeared. Icons are now inlined inside pages and appear instantaneously.
17+
- Updated tabler icons to 3.35
18+
- Fix inaccurate ODBC warnings
19+
- Added support for Microsoft SQL Server named instances: `mssql://user:pass@localhost/db?instance_name=xxx`
20+
- Added a detailed [performance guide](https://sql-page.com/blog?post=Performance+Guide) to the docs.
1721

1822
## v0.39.0 (2025-10-28)
1923
- Ability to execute sql for URL paths with another extension. If you create sitemap.xml.sql, it will be executed for example.com/sitemap.xml

Cargo.lock

Lines changed: 14 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ panic = "abort"
1818
codegen-units = 2
1919

2020
[dependencies]
21-
sqlx = { package = "sqlx-oldapi", version = "0.6.50", default-features = false, features = [
21+
sqlx = { package = "sqlx-oldapi", version = "0.6.51", default-features = false, features = [
2222
"any",
2323
"runtime-tokio-rustls",
2424
"migrate",
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<div class="color-swatch-container" style="display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.5rem; margin: 2rem 0;">
2+
{{#each_row}}
3+
<div class="color-swatch-card" style="background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; padding: 1.5rem; backdrop-filter: blur(10px);">
4+
<div class="color-preview" style="width: 100%; height: 120px; border-radius: 8px; margin-bottom: 1rem; border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); background: {{#if hex}}{{hex}}{{else}}var(--{{css_var}}){{/if}};">
5+
</div>
6+
<div class="color-info">
7+
<h4 style="color: #ffffff; font-size: 1.1rem; margin-bottom: 0.5rem; font-weight: 600;">{{name}}</h4>
8+
{{#if hex}}
9+
<div style="font-family: monospace; font-size: 0.9rem; color: rgba(255, 255, 255, 0.8); margin-bottom: 0.25rem;">{{hex}}</div>
10+
{{/if}}
11+
{{#if css_var}}
12+
<div style="font-family: monospace; font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); margin-bottom: 0.25rem;">{{css_var}}</div>
13+
{{/if}}
14+
{{#if description}}
15+
<p style="font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); margin-top: 0.5rem; line-height: 1.4;">{{description}}</p>
16+
{{/if}}
17+
</div>
18+
</div>
19+
{{/each_row}}
20+
</div>
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<div style="display: flex; flex-direction: column; gap: 2rem; margin: 2rem 0;">
2+
{{#each_row}}
3+
<div class="typography-sample" style="padding: 2rem; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px;">
4+
{{#if title}}
5+
<div style="font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.5rem;">{{title}}</div>
6+
{{/if}}
7+
<div style="font-family: {{font_family}}; font-size: {{font_size}}; font-weight: {{font_weight}}; line-height: {{line_height}}; color: {{text_color}}; letter-spacing: {{letter_spacing}}; margin-bottom: 1rem;">
8+
{{sample_text}}
9+
</div>
10+
{{#if description}}
11+
<div style="font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); line-height: 1.5;">{{description}}</div>
12+
{{/if}}
13+
{{#if usage}}
14+
<div style="font-size: 0.8rem; color: rgba(255, 255, 255, 0.5); margin-top: 0.5rem; font-style: italic;">Use for: {{usage}}</div>
15+
{{/if}}
16+
</div>
17+
{{/each_row}}
18+
</div>

0 commit comments

Comments
 (0)