Skip to content

Commit

Permalink
changelog for 0.5.10 (reflex-dev#872)
Browse files Browse the repository at this point in the history
  • Loading branch information
masenf authored Aug 31, 2024
1 parent 974df5d commit 70b2e8c
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
13 changes: 13 additions & 0 deletions pcweb/pages/changelog.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,19 @@ def change(date, title, description, points, link):

def changelog_content():
return rx.chakra.vstack(
change(
"2024-08-27",
"v0.5.10",
"Bug Fixes",
[
"Move chakra components into its repo (reflex-chakra)",
"Fix import clash between connectionToaster and hooks.useState",
"Fix various line_chart issues",
"Validate Toast Props",
"Use different registry when in china",
],
"https://github.com/reflex-dev/reflex/releases/tag/v0.5.10",
),
change(
"2024-08-06",
"v0.5.9",
Expand Down
19 changes: 19 additions & 0 deletions pcweb/pcweb.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,3 +89,22 @@
app.add_page(lambda: rx.fragment(), route=source, on_load=rx.redirect(target))

app.add_custom_404_page(page404.component)

import signal
import sys
import threading
import traceback

def dump_stacks(signal_number, frame):
print(f"Signal {signal_number} received! Dumping all thread stacks...\n")
for thread_id, thread in threading._active.items():
print(f"\nThread ID: {thread_id} Name: {thread.name}")
stack = sys._current_frames()[thread_id]
traceback.print_stack(stack)

def setup_signal_handler():
print("Setting up USR1 signal")
signal.signal(signal.SIGUSR1, dump_stacks)


setup_signal_handler()

0 comments on commit 70b2e8c

Please sign in to comment.