Skip to content

Commit 10bc4a4

Browse files
committed
jsdelivr
1 parent 62af622 commit 10bc4a4

File tree

3 files changed

+46
-2
lines changed

3 files changed

+46
-2
lines changed

CHANGELOG.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,50 @@
22

33
<!-- do not remove -->
44

5+
## 0.12.9
6+
7+
8+
### Bugs Squashed
9+
10+
- Redux background tasks fix+docs ([#692](https://github.com/AnswerDotAI/fasthtml/pull/692)), thanks to [@pydanny](https://github.com/pydanny)
11+
- ---
12+
name: Pull Request
13+
about: Propose changes to the codebase
14+
title: '[PR] fix+docs background tasks when used by FtResponse'
15+
labels: 'bug'
16+
assignees: 'pydanny,audreyfeldroy'
17+
18+
---
19+
20+
This PR combines PRs #674 and #690.
21+
22+
**Related Issue**
23+
24+
#336 - Background Tasks
25+
26+
**Proposed Changes**
27+
28+
This PR makes it possible for the FtResponse class to handle Background Tasks. Also documents the why, when, and how of Background Tasks.
29+
30+
**Types of changes**
31+
What types of changes does your code introduce? Put an `x` in all the boxes that apply:
32+
- [x] Bug fix (non-breaking change which fixes an issue)
33+
- [ ] New feature (non-breaking change which adds functionality)
34+
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
35+
36+
**Checklist**
37+
Go over all the following points, and put an `x` in all the boxes that apply:
38+
- [x] My code follows the code style of this project.
39+
- [x] My change requires a change to the documentation.
40+
- [x] I have updated the documentation accordingly.
41+
- [x] I have added tests to cover my changes.
42+
- [x] All new and existing tests passed.
43+
- [x] I am aware that this is an nbdev project, and I have edited, cleaned, and synced the source notebooks instead of editing .py or .md files directly.
44+
45+
**Additional Information**
46+
Any additional information, configuration or data that might be necessary to reproduce the issue.
47+
48+
549
## 0.12.8
650

751
### New Features

fasthtml/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ async def _wrap_call(f, req, params):
448448
}
449449

450450
# %% ../nbs/api/00_core.ipynb
451-
htmxsrc = Script(src="https://unpkg.com/[email protected]/dist/htmx.min.js")
451+
htmxsrc = Script(src="https://cdn.jsdelivr.net/npm/[email protected]/dist/htmx.min.js")
452452
fhjsscr = Script(src="https://cdn.jsdelivr.net/gh/answerdotai/[email protected]/fasthtml.js")
453453
surrsrc = Script(src="https://cdn.jsdelivr.net/gh/answerdotai/surreal@main/surreal.js")
454454
scopesrc = Script(src="https://cdn.jsdelivr.net/gh/gnat/css-scope-inline@main/script.js")

nbs/api/00_core.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1299,7 +1299,7 @@
12991299
"outputs": [],
13001300
"source": [
13011301
"#| export\n",
1302-
"htmxsrc = Script(src=\"https://unpkg.com/[email protected]/dist/htmx.min.js\")\n",
1302+
"htmxsrc = Script(src=\"https://cdn.jsdelivr.net/npm/[email protected]/dist/htmx.min.js\")\n",
13031303
"fhjsscr = Script(src=\"https://cdn.jsdelivr.net/gh/answerdotai/[email protected]/fasthtml.js\")\n",
13041304
"surrsrc = Script(src=\"https://cdn.jsdelivr.net/gh/answerdotai/surreal@main/surreal.js\")\n",
13051305
"scopesrc = Script(src=\"https://cdn.jsdelivr.net/gh/gnat/css-scope-inline@main/script.js\")\n",

0 commit comments

Comments
 (0)