@fedify/fedify 1.3.0-dev.513 → 1.3.0-dev.519

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGES.md CHANGED
@@ -68,6 +68,15 @@ To be released.
68
68
  [#162]: https://github.com/dahlia/fedify/issues/162
69
69
 
70
70
 
71
+ Version 1.2.7
72
+ -------------
73
+
74
+ Released on December 22, 2024.
75
+
76
+ - Fixed a bug where `lookupWebFinger()` function had thrown a `TypeError`
77
+ when the *.well-known/webfinger* redirects to a relative URI. [[#166]]
78
+
79
+
71
80
  Version 1.2.6
72
81
  -------------
73
82
 
@@ -249,6 +258,15 @@ Released on October 31, 2024.
249
258
  [#118]: https://github.com/dahlia/fedify/issues/118
250
259
 
251
260
 
261
+ Version 1.1.7
262
+ -------------
263
+
264
+ Released on November 22, 2024.
265
+
266
+ - Fixed a bug where `lookupWebFinger()` function had thrown a `TypeError`
267
+ when the *.well-known/webfinger* redirects to a relative URI. [[#166]]
268
+
269
+
252
270
  Version 1.1.6
253
271
  -------------
254
272
 
@@ -471,6 +489,15 @@ Released on October 20, 2024.
471
489
  [#150]: https://github.com/dahlia/fedify/issues/150
472
490
 
473
491
 
492
+ Version 1.0.11
493
+ --------------
494
+
495
+ Released on December 22, 2024.
496
+
497
+ - Fixed a bug where `lookupWebFinger()` function had thrown a `TypeError`
498
+ when the *.well-known/webfinger* redirects to a relative URI. [[#166]]
499
+
500
+
474
501
  Version 1.0.10
475
502
  --------------
476
503
 
@@ -812,10 +839,21 @@ Released on September 26, 2024.
812
839
  [#137]: https://github.com/dahlia/fedify/issues/137
813
840
 
814
841
 
842
+ Version 0.15.9
843
+ --------------
844
+
845
+ Released on November 22, 2024.
846
+
847
+ - Fixed a bug where `lookupWebFinger()` function had thrown a `TypeError`
848
+ when the *.well-known/webfinger* redirects to a relative URI. [[#166]]
849
+
850
+ [#166]: https://github.com/dahlia/fedify/issues/166
851
+
852
+
815
853
  Version 0.15.8
816
854
  --------------
817
855
 
818
- Released on November 159, 2024.
856
+ Released on November 19, 2024.
819
857
 
820
858
  - Fix a bug where `Actor`'s `inbox` and `outbox` properties had not been
821
859
  able to be set to an `OrderedCollectionPage` object, even though it is
package/esm/deno.js CHANGED
@@ -1,6 +1,6 @@
1
1
  export default {
2
2
  "name": "@fedify/fedify",
3
- "version": "1.3.0-dev.513+c11217bb",
3
+ "version": "1.3.0-dev.519+6be10f1d",
4
4
  "license": "MIT",
5
5
  "exports": {
6
6
  ".": "./mod.ts",
@@ -1015,60 +1015,61 @@ export class FederationImpl {
1015
1015
  const requestId = getRequestId(request);
1016
1016
  return withContext({ requestId }, async () => {
1017
1017
  const tracer = this.#getTracer();
1018
- const span = tracer.startSpan(request.method, {
1018
+ return await tracer.startActiveSpan(request.method, {
1019
1019
  kind: SpanKind.SERVER,
1020
1020
  attributes: {
1021
1021
  [ATTR_HTTP_REQUEST_METHOD]: request.method,
1022
1022
  [ATTR_URL_FULL]: request.url,
1023
1023
  },
1024
- });
1025
- const logger = getLogger(["fedify", "federation", "http"]);
1026
- if (span.isRecording()) {
1027
- for (const [k, v] of request.headers) {
1028
- span.setAttribute(ATTR_HTTP_REQUEST_HEADER(k), [v]);
1024
+ }, async (span) => {
1025
+ const logger = getLogger(["fedify", "federation", "http"]);
1026
+ if (span.isRecording()) {
1027
+ for (const [k, v] of request.headers) {
1028
+ span.setAttribute(ATTR_HTTP_REQUEST_HEADER(k), [v]);
1029
+ }
1029
1030
  }
1030
- }
1031
- let response;
1032
- try {
1033
- response = await this.#fetch(request, { ...options, span });
1034
- }
1035
- catch (error) {
1036
- span.setStatus({
1037
- code: SpanStatusCode.ERROR,
1038
- message: `${error}`,
1039
- });
1040
- span.end();
1041
- logger.error("An error occurred while serving request {method} {url}: {error}", { method: request.method, url: request.url, error });
1042
- throw error;
1043
- }
1044
- if (span.isRecording()) {
1045
- span.setAttribute(ATTR_HTTP_RESPONSE_STATUS_CODE, response.status);
1046
- for (const [k, v] of response.headers) {
1047
- span.setAttribute(ATTR_HTTP_RESPONSE_HEADER(k), [v]);
1031
+ let response;
1032
+ try {
1033
+ response = await this.#fetch(request, { ...options, span });
1048
1034
  }
1049
- span.setStatus({
1050
- code: response.status >= 500
1051
- ? SpanStatusCode.ERROR
1052
- : SpanStatusCode.UNSET,
1053
- message: response.statusText,
1054
- });
1055
- }
1056
- span.end();
1057
- const url = new URL(request.url);
1058
- const logTpl = "{method} {path}: {status}";
1059
- const values = {
1060
- method: request.method,
1061
- path: `${url.pathname}${url.search}`,
1062
- url: request.url,
1063
- status: response.status,
1064
- };
1065
- if (response.status >= 500)
1066
- logger.error(logTpl, values);
1067
- else if (response.status >= 400)
1068
- logger.warn(logTpl, values);
1069
- else
1070
- logger.info(logTpl, values);
1071
- return response;
1035
+ catch (error) {
1036
+ span.setStatus({
1037
+ code: SpanStatusCode.ERROR,
1038
+ message: `${error}`,
1039
+ });
1040
+ span.end();
1041
+ logger.error("An error occurred while serving request {method} {url}: {error}", { method: request.method, url: request.url, error });
1042
+ throw error;
1043
+ }
1044
+ if (span.isRecording()) {
1045
+ span.setAttribute(ATTR_HTTP_RESPONSE_STATUS_CODE, response.status);
1046
+ for (const [k, v] of response.headers) {
1047
+ span.setAttribute(ATTR_HTTP_RESPONSE_HEADER(k), [v]);
1048
+ }
1049
+ span.setStatus({
1050
+ code: response.status >= 500
1051
+ ? SpanStatusCode.ERROR
1052
+ : SpanStatusCode.UNSET,
1053
+ message: response.statusText,
1054
+ });
1055
+ }
1056
+ span.end();
1057
+ const url = new URL(request.url);
1058
+ const logTpl = "{method} {path}: {status}";
1059
+ const values = {
1060
+ method: request.method,
1061
+ path: `${url.pathname}${url.search}`,
1062
+ url: request.url,
1063
+ status: response.status,
1064
+ };
1065
+ if (response.status >= 500)
1066
+ logger.error(logTpl, values);
1067
+ else if (response.status >= 400)
1068
+ logger.warn(logTpl, values);
1069
+ else
1070
+ logger.info(logTpl, values);
1071
+ return response;
1072
+ });
1072
1073
  });
1073
1074
  }
1074
1075
  async #fetch(request, { onNotFound, onNotAcceptable, onUnauthorized, contextData, span, }) {
@@ -47,7 +47,7 @@ export async function lookupWebFinger(resource, options = {}) {
47
47
  }
48
48
  if (response.status >= 300 && response.status < 400 &&
49
49
  response.headers.has("Location")) {
50
- url = new URL(response.headers.get("Location"));
50
+ url = new URL(response.headers.get("Location"), response.url == null || response.url === "" ? url : response.url);
51
51
  continue;
52
52
  }
53
53
  if (!response.ok) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fedify/fedify",
3
- "version": "1.3.0-dev.513+c11217bb",
3
+ "version": "1.3.0-dev.519+6be10f1d",
4
4
  "description": "An ActivityPub server framework",
5
5
  "keywords": [
6
6
  "ActivityPub",
@@ -1 +1 @@
1
- {"version":3,"file":"middleware.d.ts","sourceRoot":"","sources":["../../src/federation/middleware.ts"],"names":[],"mappings":";;AAAA,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAE5C,OAAO,EAKL,KAAK,cAAc,EACpB,MAAM,oBAAoB,CAAC;AAU5B,OAAO,EACL,KAAK,kCAAkC,EACvC,KAAK,cAAc,EAGnB,KAAK,mBAAmB,EAEzB,MAAM,yBAAyB,CAAC;AAMjC,OAAO,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC1D,OAAO,EAEL,KAAK,mBAAmB,EAExB,KAAK,yBAAyB,EAC/B,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,QAAQ,EACR,KAAK,UAAU,EAEf,KAAK,OAAO,EACZ,KAAK,IAAI,EACT,KAAK,IAAI,EAET,KAAK,MAAM,EACZ,MAAM,mBAAmB,CAAC;AAE3B,OAAO,KAAK,EACV,eAAe,EACf,iBAAiB,EACjB,uBAAuB,EACvB,kBAAkB,EAGlB,oBAAoB,EACpB,iBAAiB,EAEjB,kBAAkB,EAClB,wBAAwB,EACxB,gBAAgB,EAChB,kBAAkB,EAClB,wBAAwB,EACzB,MAAM,eAAe,CAAC;AAEvB,OAAO,KAAK,EACV,YAAY,EACZ,OAAO,EACP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"}
1
+ {"version":3,"file":"lookup.d.ts","sourceRoot":"","sources":["../../src/webfinger/lookup.ts"],"names":[],"mappings":";AACA,OAAO,EAEL,KAAK,mBAAmB,EACzB,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAInD;;;GAGG;AACH,MAAM,WAAW,sBAAsB;IACrC;;;;;OAKG;IACH,SAAS,CAAC,EAAE,mBAAmB,GAAG,MAAM,CAAC;CAC1C;AAED;;;;;;GAMG;AACH,wBAAsB,eAAe,CACnC,QAAQ,EAAE,GAAG,GAAG,MAAM,EACtB,OAAO,GAAE,sBAA2B,GACnC,OAAO,CAAC,kBAAkB,GAAG,IAAI,CAAC,CAwEpC"}