Skip to content

Commit c64f033

Browse files
committed
Merge tag '1.2.8'
Fedify 1.2.8
2 parents cf3769f + f3b79bb commit c64f033

File tree

3 files changed

+40
-2
lines changed

3 files changed

+40
-2
lines changed

CHANGES.md

+32
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,22 @@ To be released.
6868
[#162]: https://github.com/dahlia/fedify/issues/162
6969

7070

71+
Version 1.2.8
72+
-------------
73+
74+
Released on November 23, 2024.
75+
76+
- Fixed warnings from the `fedify inbox` command.
77+
[[#177], [#181] by WinterHana]
78+
- Fixed `ShikiError` on the `fedify inbox` command rendering web interface.
79+
[[#178], [#185] by Heesun Jung]
80+
- Fixed text overflow of the `fedify inbox` command's web log view.
81+
[[#180], [#188] by Lim Kyunghee]
82+
83+
[#177]: https://github.com/dahlia/fedify/issues/177
84+
[#181]: https://github.com/dahlia/fedify/pull/181
85+
86+
7187
Version 1.2.7
7288
-------------
7389

@@ -258,6 +274,22 @@ Released on October 31, 2024.
258274
[#118]: https://github.com/dahlia/fedify/issues/118
259275

260276

277+
Version 1.1.8
278+
-------------
279+
280+
Released on November 23, 2024.
281+
282+
- Fixed `ShikiError` on the `fedify inbox` command rendering web interface.
283+
[[#178], [#185] by Heesun Jung]
284+
- Fixed text overflow of the `fedify inbox` command's web log view.
285+
[[#180], [#188] by Lim Kyunghee]
286+
287+
[#178]: https://github.com/dahlia/fedify/issues/178
288+
[#180]: https://github.com/dahlia/fedify/issues/180
289+
[#185]: https://github.com/dahlia/fedify/pull/185
290+
[#188]: https://github.com/dahlia/fedify/pull/188
291+
292+
261293
Version 1.1.7
262294
-------------
263295

cli/inbox/view.tsx

+6-2
Original file line numberDiff line numberDiff line change
@@ -139,14 +139,18 @@ const Log: FC<LogProps> = (
139139
return (
140140
<li class={"list-group-item " + listClass}>
141141
<div class="d-flex w-100 justify-content-between">
142-
<p class="mb-1" style="white-space: pre;">
142+
<p class="mb-1" style="white-space: pre-wrap; word-break: break-word;">
143143
{message.map((m, i) =>
144144
i % 2 == 0
145145
? m
146146
: <code>{typeof m === "string" ? m : Deno.inspect(m)}</code>
147147
)}
148148
</p>
149-
<time class="text-body-secondary" datetime={time.toString()}>
149+
<time
150+
class="text-body-secondary"
151+
datetime={time.toString()}
152+
style="flex-shrink: 0;"
153+
>
150154
<small>{time.toLocaleString()}</small>
151155
</time>
152156
</div>

cli/log.ts

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import {
44
type LogRecord,
55
type Sink,
66
} from "@logtape/logtape";
7+
import { AsyncLocalStorage } from "node:async_hooks";
78

89
export interface RecordingSink extends Sink {
910
startRecording(): void;
@@ -45,5 +46,6 @@ await configure({
4546
sinks: ["console"],
4647
},
4748
],
49+
contextLocalStorage: new AsyncLocalStorage(),
4850
reset: true,
4951
});

0 commit comments

Comments
 (0)