Skip to content

Commit 53878b4

Browse files
committed
add release notes
1 parent f6a79c8 commit 53878b4

File tree

5 files changed

+100
-38
lines changed

5 files changed

+100
-38
lines changed

dist/bundle.js

+33-31
Original file line numberDiff line numberDiff line change
@@ -117338,7 +117338,7 @@ function add_css(target) {
117338117338
append_styles(target, "svelte-1kmc4x", ".file-on-top.svelte-1kmc4x{border:solid 2px rgb(26, 192, 11)}input[type=\"file\"].svelte-1kmc4x{display:none}");
117339117339
}
117340117340

117341-
// (206:2) {#if fork}
117341+
// (208:2) {#if fork}
117342117342
function create_if_block_11(ctx) {
117343117343
let div;
117344117344
let t0;
@@ -117365,7 +117365,7 @@ function create_if_block_11(ctx) {
117365117365
};
117366117366
}
117367117367

117368-
// (209:2) {#if msg}
117368+
// (211:2) {#if msg}
117369117369
function create_if_block_9(ctx) {
117370117370
let if_block_anchor;
117371117371

@@ -117406,7 +117406,7 @@ function create_if_block_9(ctx) {
117406117406
};
117407117407
}
117408117408

117409-
// (212:4) {:else}
117409+
// (214:4) {:else}
117410117410
function create_else_block_2(ctx) {
117411117411
let div1;
117412117412
let div0;
@@ -117449,7 +117449,7 @@ function create_else_block_2(ctx) {
117449117449
};
117450117450
}
117451117451

117452-
// (210:4) {#if error}
117452+
// (212:4) {#if error}
117453117453
function create_if_block_10(ctx) {
117454117454
let div;
117455117455
let t;
@@ -117473,7 +117473,7 @@ function create_if_block_10(ctx) {
117473117473
};
117474117474
}
117475117475

117476-
// (290:2) {:else}
117476+
// (292:2) {:else}
117477117477
function create_else_block_1(ctx) {
117478117478
let div5;
117479117479
let h2;
@@ -117558,8 +117558,8 @@ function create_else_block_1(ctx) {
117558117558

117559117559
if (!mounted) {
117560117560
dispose = [
117561-
listen(button0, "click", /*click_handler*/ ctx[27]),
117562-
listen(button1, "click", /*post*/ ctx[15])
117561+
listen(button0, "click", /*click_handler*/ ctx[28]),
117562+
listen(button1, "click", /*post*/ ctx[16])
117563117563
];
117564117564

117565117565
mounted = true;
@@ -117600,7 +117600,7 @@ function create_else_block_1(ctx) {
117600117600
};
117601117601
}
117602117602

117603-
// (228:2) {#if !showPreview}
117603+
// (230:2) {#if !showPreview}
117604117604
function create_if_block(ctx) {
117605117605
let div3;
117606117606
let div0;
@@ -117713,14 +117713,14 @@ function create_if_block(ctx) {
117713117713

117714117714
if (!mounted) {
117715117715
dispose = [
117716-
listen(input0, "input", /*input0_input_handler*/ ctx[23]),
117717-
listen(textarea, "dragover", stop_propagation(prevent_default(/*dragOver*/ ctx[17]))),
117718-
listen(textarea, "dragleave", stop_propagation(prevent_default(/*dragLeave*/ ctx[18]))),
117719-
listen(textarea, "input", /*textarea_input_handler*/ ctx[25]),
117720-
listen(button0, "click", /*toggleContentWarning*/ ctx[21]),
117721-
listen(input1, "input", /*attachFile*/ ctx[20]),
117722-
listen(button1, "click", /*attachFileTrigger*/ ctx[19]),
117723-
listen(button2, "click", /*preview*/ ctx[16])
117716+
listen(input0, "input", /*input0_input_handler*/ ctx[24]),
117717+
listen(textarea, "dragover", stop_propagation(prevent_default(/*dragOver*/ ctx[18]))),
117718+
listen(textarea, "dragleave", stop_propagation(prevent_default(/*dragLeave*/ ctx[19]))),
117719+
listen(textarea, "input", /*textarea_input_handler*/ ctx[26]),
117720+
listen(button0, "click", /*toggleContentWarning*/ ctx[22]),
117721+
listen(input1, "input", /*attachFile*/ ctx[21]),
117722+
listen(button1, "click", /*attachFileTrigger*/ ctx[20]),
117723+
listen(button2, "click", /*preview*/ ctx[17])
117724117724
];
117725117725

117726117726
mounted = true;
@@ -117804,7 +117804,7 @@ function create_if_block(ctx) {
117804117804
};
117805117805
}
117806117806

117807-
// (294:6) {#if channel || root || branch || contentWarning.length > 0}
117807+
// (296:6) {#if channel || root || branch || contentWarning.length > 0}
117808117808
function create_if_block_4(ctx) {
117809117809
let t0;
117810117810
let t1;
@@ -117902,7 +117902,7 @@ function create_if_block_4(ctx) {
117902117902
};
117903117903
}
117904117904

117905-
// (295:10) {#if channel}
117905+
// (297:10) {#if channel}
117906117906
function create_if_block_8(ctx) {
117907117907
let p;
117908117908
let b;
@@ -117939,7 +117939,7 @@ function create_if_block_8(ctx) {
117939117939
};
117940117940
}
117941117941

117942-
// (301:10) {#if root}
117942+
// (303:10) {#if root}
117943117943
function create_if_block_7(ctx) {
117944117944
let p;
117945117945
let b;
@@ -117969,7 +117969,7 @@ function create_if_block_7(ctx) {
117969117969
};
117970117970
}
117971117971

117972-
// (307:10) {#if branch}
117972+
// (309:10) {#if branch}
117973117973
function create_if_block_6(ctx) {
117974117974
let p;
117975117975
let b;
@@ -117999,7 +117999,7 @@ function create_if_block_6(ctx) {
117999117999
};
118000118000
}
118001118001

118002-
// (313:10) {#if contentWarning.length > 0}
118002+
// (315:10) {#if contentWarning.length > 0}
118003118003
function create_if_block_5(ctx) {
118004118004
let p;
118005118005
let b;
@@ -118029,7 +118029,7 @@ function create_if_block_5(ctx) {
118029118029
};
118030118030
}
118031118031

118032-
// (240:6) {#if branch}
118032+
// (242:6) {#if branch}
118033118033
function create_if_block_2(ctx) {
118034118034
let div;
118035118035
let label;
@@ -118083,7 +118083,7 @@ function create_if_block_2(ctx) {
118083118083
current = true;
118084118084

118085118085
if (!mounted) {
118086-
dispose = listen(input, "input", /*input_input_handler*/ ctx[24]);
118086+
dispose = listen(input, "input", /*input_input_handler*/ ctx[25]);
118087118087
mounted = true;
118088118088
}
118089118089
},
@@ -118138,11 +118138,11 @@ function create_if_block_2(ctx) {
118138118138
};
118139118139
}
118140118140

118141-
// (252:8) {:else}
118141+
// (254:8) {:else}
118142118142
function create_else_block(ctx) {
118143118143
let spinner;
118144118144
let current;
118145-
spinner = new Spinner({});
118145+
spinner = new /*Spinner*/ ctx[15]({});
118146118146

118147118147
return {
118148118148
c() {
@@ -118168,7 +118168,7 @@ function create_else_block(ctx) {
118168118168
};
118169118169
}
118170118170

118171-
// (250:8) {#if branchedMsg}
118171+
// (252:8) {#if branchedMsg}
118172118172
function create_if_block_3(ctx) {
118173118173
let messagerenderer;
118174118174
let current;
@@ -118202,7 +118202,7 @@ function create_if_block_3(ctx) {
118202118202
};
118203118203
}
118204118204

118205-
// (273:8) {#if showContentWarningField}
118205+
// (275:8) {#if showContentWarningField}
118206118206
function create_if_block_1(ctx) {
118207118207
let input;
118208118208
let mounted;
@@ -118221,7 +118221,7 @@ function create_if_block_1(ctx) {
118221118221
set_input_value(input, /*contentWarning*/ ctx[7]);
118222118222

118223118223
if (!mounted) {
118224-
dispose = listen(input, "input", /*input_input_handler_1*/ ctx[26]);
118224+
dispose = listen(input, "input", /*input_input_handler_1*/ ctx[27]);
118225118225
mounted = true;
118226118226
}
118227118227
},
@@ -118354,6 +118354,7 @@ function instance($$self, $$props, $$invalidate) {
118354118354
const { slide } = require("svelte/transition");
118355118355
const AvatarChip = require("../../core/components/AvatarChip.svelte");
118356118356
const MessageRenderer = require("../../core/components/MessageRenderer.svelte");
118357+
const Spinner = require("../../core/components/Spinner.svelte");
118357118358
const { getPref } = require("../../core/kernel/prefs.js");
118358118359
const pull = require("pull-stream");
118359118360
const fileReader = require("pull-file-reader");
@@ -118558,7 +118559,7 @@ function instance($$self, $$props, $$invalidate) {
118558118559
if ('branch' in $$props) $$invalidate(0, branch = $$props.branch);
118559118560
if ('channel' in $$props) $$invalidate(1, channel = $$props.channel);
118560118561
if ('content' in $$props) $$invalidate(2, content = $$props.content);
118561-
if ('replyfeed' in $$props) $$invalidate(22, replyfeed = $$props.replyfeed);
118562+
if ('replyfeed' in $$props) $$invalidate(23, replyfeed = $$props.replyfeed);
118562118563
if ('fork' in $$props) $$invalidate(4, fork = $$props.fork);
118563118564
};
118564118565

@@ -118578,6 +118579,7 @@ function instance($$self, $$props, $$invalidate) {
118578118579
branchedMsg,
118579118580
slide,
118580118581
MessageRenderer,
118582+
Spinner,
118581118583
post,
118582118584
preview,
118583118585
dragOver,
@@ -118609,7 +118611,7 @@ class PostCompose extends SvelteComponent {
118609118611
branch: 0,
118610118612
channel: 1,
118611118613
content: 2,
118612-
replyfeed: 22,
118614+
replyfeed: 23,
118613118615
fork: 4
118614118616
},
118615118617
add_css,
@@ -118620,7 +118622,7 @@ class PostCompose extends SvelteComponent {
118620118622

118621118623
module.exports = PostCompose;
118622118624

118623-
},{"../../core/components/AvatarChip.svelte":659,"../../core/components/MessageRenderer.svelte":668,"../../core/kernel/prefs.js":680,"drag-and-drop-files":101,"pull-file-reader":406,"pull-stream":414,"svelte":573,"svelte/internal":574,"svelte/transition":576,"tributejs":580}],734:[function(require,module,exports){
118625+
},{"../../core/components/AvatarChip.svelte":659,"../../core/components/MessageRenderer.svelte":668,"../../core/components/Spinner.svelte":670,"../../core/kernel/prefs.js":680,"drag-and-drop-files":101,"pull-file-reader":406,"pull-stream":414,"svelte":573,"svelte/internal":574,"svelte/transition":576,"tributejs":580}],734:[function(require,module,exports){
118624118626
const PostCompose = require("./PostCompose.svelte");
118625118627
const PostCard = require("./PostCard.svelte");
118626118628

dist/docs/packages/README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,21 @@ These are the packages that Patchfox is loading.
66
* [blog](/packages/blog/)
77
* [books](/packages/books/)
88
* [calendar](/packages/calendar/)
9-
* [errorHandler](/packages/errorHandler/)
10-
* [globalMenu](/packages/globalMenu/)
119
* [githubIntegration](/packages/githubIntegration/)
10+
* [globalMenu](/packages/globalMenu/)
11+
* [errorHandler](/packages/errorHandler/)
1212
* [contacts](/packages/contacts/)
1313
* [helpMenu](/packages/helpMenu/)
1414
* [hub](/packages/hub/)
1515
* [intercept](/packages/intercept/)
1616
* [launcher](/packages/launcher/)
1717
* [post](/packages/post/)
18-
* [openCollectiveIntegration](/packages/openCollectiveIntegration/)
1918
* [private](/packages/private/)
20-
* [search](/packages/search/)
21-
* [sourcehutIntegration](/packages/sourcehutIntegration/)
19+
* [openCollectiveIntegration](/packages/openCollectiveIntegration/)
2220
* [pub](/packages/pub/)
21+
* [search](/packages/search/)
2322
* [system](/packages/system/)
24-
* [settings](/packages/settings/)
2523
* [vote](/packages/vote/)
24+
* [sourcehutIntegration](/packages/sourcehutIntegration/)
25+
* [settings](/packages/settings/)
2626
* [zine](/packages/zine/)

dist/docs/release_notes/2021.10.2.md

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Release 2021.10.2
2+
3+
This release is a major overhaul of Patchfox. It is laying the necessary groundwork for Patchfox to support multiple backends — nodejs-based ssb-server, browser-ssb server, go-ssb server — and become a viable main client.
4+
5+
There is comprehensive information about the [ROADMAP on SSB](ssb:message/sha256/Y2iyBckEhcWvxX6a1-9ELeP6wFYD80QNdhvR50V1C7E=), and the tasks have been broken into [discreet issues](https://github.com/soapdog/patchfox/issues) on Github.
6+
7+
Because there is so much going on, the release notes will give at a glance information only.
8+
9+
## Revamped UI with theme support
10+
11+
Every single package has been reworked to support the new design language used in Patchfox. You can now use the little palette at the end of the main navigation bar to switch among the available themes. Your selected theme will be remembered.
12+
13+
> For the developer-curious among you, I replaced the old <i>Spectre2 CSS + Augmented UI CSS</i> based layout with <i>Tailwind CSS + DaisyUI</i>.
14+
15+
## Support Multiple Identities / Connections
16+
17+
This release adds support for using multiple identities and connections with Patchfox. The `settings` package has been enhanced to allow you to add as many identities as you want.
18+
19+
An account switcher is provided in the top-right corner of the UI. Selecting an identity there will open a new tab using that identity.
20+
21+
Developers can now use `ssb.platform` to detect what is the current running backend, and use the `supportedPlatforms` property in the package declaration to make sure the package only loads for supported platforms.
22+
23+
> Be aware that the only supported backend is `nodejs-ssb` at the moment. Trying to add a `go-ssb` or `browser-ssb` identity will work, but connecting to them will not work as expected since the packages have not been patched to handle them. Baby steps, baby steps...
24+
25+
## Fixes & Improvements
26+
27+
* Made packages more backend agnostic by removing direct calls to nodejs-ssb-only features. For cases where this was not possible, made sure they detect what is the current backend before attempting to use such features.
28+
* Provided ways for package developers to flag which backends their package supports, and also detect the running backend at runtime.
29+
* Removed hardcoded occurrences of `localhost` to fetch blobs. Now it uses the same host and port as the _remote_ in settings.
30+
* Small fix to post compose lack of spinner

dist/manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"description": "Patchfox is a Secure Scuttlebutt client",
33
"manifest_version": 2,
44
"name": "Patchfox",
5-
"version": "2021.10.1",
5+
"version": "2021.10.2",
66
"icons": {
77
"512": "images/patchfox_pixel_512.png",
88
"96": "images/patchfox_pixel_96.png",

docs/release_notes/2021.10.2.md

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Release 2021.10.2
2+
3+
This release is a major overhaul of Patchfox. It is laying the necessary groundwork for Patchfox to support multiple backends — nodejs-based ssb-server, browser-ssb server, go-ssb server — and become a viable main client.
4+
5+
There is comprehensive information about the [ROADMAP on SSB](ssb:message/sha256/Y2iyBckEhcWvxX6a1-9ELeP6wFYD80QNdhvR50V1C7E=), and the tasks have been broken into [discreet issues](https://github.com/soapdog/patchfox/issues) on Github.
6+
7+
Because there is so much going on, the release notes will give at a glance information only.
8+
9+
## Revamped UI with theme support
10+
11+
Every single package has been reworked to support the new design language used in Patchfox. You can now use the little palette at the end of the main navigation bar to switch among the available themes. Your selected theme will be remembered.
12+
13+
> For the developer-curious among you, I replaced the old <i>Spectre2 CSS + Augmented UI CSS</i> based layout with <i>Tailwind CSS + DaisyUI</i>.
14+
15+
## Support Multiple Identities / Connections
16+
17+
This release adds support for using multiple identities and connections with Patchfox. The `settings` package has been enhanced to allow you to add as many identities as you want.
18+
19+
An account switcher is provided in the top-right corner of the UI. Selecting an identity there will open a new tab using that identity.
20+
21+
Developers can now use `ssb.platform` to detect what is the current running backend, and use the `supportedPlatforms` property in the package declaration to make sure the package only loads for supported platforms.
22+
23+
> Be aware that the only supported backend is `nodejs-ssb` at the moment. Trying to add a `go-ssb` or `browser-ssb` identity will work, but connecting to them will not work as expected since the packages have not been patched to handle them. Baby steps, baby steps...
24+
25+
## Fixes & Improvements
26+
27+
* Made packages more backend agnostic by removing direct calls to nodejs-ssb-only features. For cases where this was not possible, made sure they detect what is the current backend before attempting to use such features.
28+
* Provided ways for package developers to flag which backends their package supports, and also detect the running backend at runtime.
29+
* Removed hardcoded occurrences of `localhost` to fetch blobs. Now it uses the same host and port as the _remote_ in settings.
30+
* Small fix to post compose lack of spinner

0 commit comments

Comments
 (0)