@fluidframework/odsp-urlresolver 2.30.0 → 2.31.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -23
- package/lib/tsdoc-metadata.json +1 -1
- package/package.json +10 -13
- package/prettier.config.cjs +0 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# @fluidframework/odsp-urlresolver
|
|
2
2
|
|
|
3
|
+
## 2.31.0
|
|
4
|
+
|
|
5
|
+
Dependency updates only.
|
|
6
|
+
|
|
3
7
|
## 2.30.0
|
|
4
8
|
|
|
5
9
|
Dependency updates only.
|
|
@@ -60,9 +64,9 @@ Dependency updates only.
|
|
|
60
64
|
|
|
61
65
|
### Minor Changes
|
|
62
66
|
|
|
63
|
-
-
|
|
67
|
+
- Update to TypeScript 5.4 ([#21214](https://github.com/microsoft/FluidFramework/pull/21214)) [0e6256c722](https://github.com/microsoft/FluidFramework/commit/0e6256c722d8bf024f4325bf02547daeeb18bfa6)
|
|
64
68
|
|
|
65
|
-
|
|
69
|
+
Update package implementations to use TypeScript 5.4.5.
|
|
66
70
|
|
|
67
71
|
## 2.0.0-rc.4.0.0
|
|
68
72
|
|
|
@@ -72,36 +76,36 @@ Dependency updates only.
|
|
|
72
76
|
|
|
73
77
|
### Major Changes
|
|
74
78
|
|
|
75
|
-
-
|
|
79
|
+
- Packages now use package.json "exports" and require modern module resolution [97d68aa06b](https://github.com/microsoft/FluidFramework/commit/97d68aa06bd5c022ecb026655814aea222a062ae)
|
|
76
80
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
81
|
+
Fluid Framework packages have been updated to use the [package.json "exports"
|
|
82
|
+
field](https://nodejs.org/docs/latest-v18.x/api/packages.html#exports) to define explicit entry points for both
|
|
83
|
+
TypeScript types and implementation code.
|
|
80
84
|
|
|
81
|
-
|
|
85
|
+
This means that using Fluid Framework packages require the following TypeScript settings in tsconfig.json:
|
|
82
86
|
|
|
83
|
-
|
|
84
|
-
|
|
87
|
+
- `"moduleResolution": "Node16"` with `"module": "Node16"`
|
|
88
|
+
- `"moduleResolution": "Bundler"` with `"module": "ESNext"`
|
|
85
89
|
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
+
We recommend using Node16/Node16 unless absolutely necessary. That will produce transpiled JavaScript that is suitable
|
|
91
|
+
for use with modern versions of Node.js _and_ Bundlers.
|
|
92
|
+
[See the TypeScript documentation](https://www.typescriptlang.org/tsconfig#moduleResolution) for more information
|
|
93
|
+
regarding the module and moduleResolution options.
|
|
90
94
|
|
|
91
|
-
|
|
92
|
-
|
|
95
|
+
**Node10 moduleResolution is not supported; it does not support Fluid Framework's API structuring pattern that is used
|
|
96
|
+
to distinguish stable APIs from those that are in development.**
|
|
93
97
|
|
|
94
98
|
## 2.0.0-rc.2.0.0
|
|
95
99
|
|
|
96
100
|
### Minor Changes
|
|
97
101
|
|
|
98
|
-
-
|
|
102
|
+
- Resolved URLs no longer use non-standard protocols ([#19840](https://github.com/microsoft/FluidFramework/issues/19840)) [9d3d185183](https://github.com/microsoft/FluidFramework/commits/9d3d1851830d953792a6dfad60dde6f1c59480de)
|
|
99
103
|
|
|
100
|
-
|
|
104
|
+
Previously, `IResolvedUrl.url` could use a non-standard protocol like `fluid://`, `fluid-odsp://`, or `fluid-test://`. These have been replaced with `https://` to permit standards-compliant URL parsing.
|
|
101
105
|
|
|
102
|
-
-
|
|
106
|
+
- Remove deprecated package @fluid-tools/fluidapp-odsp-urlresolver ([#19262](https://github.com/microsoft/FluidFramework/issues/19262)) [8990be8bbc](https://github.com/microsoft/FluidFramework/commits/8990be8bbc229c6545eb32023f9caa1dcca8568d)
|
|
103
107
|
|
|
104
|
-
|
|
108
|
+
The FluidAppOdspUrlResolver class is now incorporated into the @fluidframework/odsp-urlresolver package.
|
|
105
109
|
|
|
106
110
|
## 2.0.0-rc.1.0.0
|
|
107
111
|
|
|
@@ -131,9 +135,9 @@ Dependency updates only.
|
|
|
131
135
|
|
|
132
136
|
### Major Changes
|
|
133
137
|
|
|
134
|
-
-
|
|
138
|
+
- Minimum TypeScript version now 5.1.6 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
|
|
135
139
|
|
|
136
|
-
|
|
140
|
+
The minimum supported TypeScript version for Fluid 2.0 clients is now 5.1.6.
|
|
137
141
|
|
|
138
142
|
## 2.0.0-internal.6.4.0
|
|
139
143
|
|
|
@@ -155,9 +159,9 @@ Dependency updates only.
|
|
|
155
159
|
|
|
156
160
|
### Major Changes
|
|
157
161
|
|
|
158
|
-
-
|
|
162
|
+
- Upgraded typescript transpilation target to ES2020 [8abce8cdb4](https://github.com/microsoft/FluidFramework/commits/8abce8cdb4e2832fb6405fb44e393bef03d5648a)
|
|
159
163
|
|
|
160
|
-
|
|
164
|
+
Upgraded typescript transpilation target to ES2020. This is done in order to decrease the bundle sizes of Fluid Framework packages. This has provided size improvements across the board for ex. Loader, Driver, Runtime etc. Reduced bundle sizes helps to load lesser code in apps and hence also helps to improve the perf.If any app wants to target any older versions of browsers with which this target version is not compatible, then they can use packages like babel to transpile to a older target.
|
|
161
165
|
|
|
162
166
|
## 2.0.0-internal.5.4.0
|
|
163
167
|
|
package/lib/tsdoc-metadata.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/odsp-urlresolver",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.31.1",
|
|
4
4
|
"description": "Url Resolver for odsp urls.",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -37,23 +37,23 @@
|
|
|
37
37
|
"main": "lib/index.js",
|
|
38
38
|
"types": "lib/public.d.ts",
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@fluid-internal/client-utils": "~2.
|
|
41
|
-
"@fluidframework/core-interfaces": "~2.
|
|
42
|
-
"@fluidframework/core-utils": "~2.
|
|
43
|
-
"@fluidframework/driver-definitions": "~2.
|
|
44
|
-
"@fluidframework/odsp-driver": "~2.
|
|
45
|
-
"@fluidframework/odsp-driver-definitions": "~2.
|
|
40
|
+
"@fluid-internal/client-utils": "~2.31.1",
|
|
41
|
+
"@fluidframework/core-interfaces": "~2.31.1",
|
|
42
|
+
"@fluidframework/core-utils": "~2.31.1",
|
|
43
|
+
"@fluidframework/driver-definitions": "~2.31.1",
|
|
44
|
+
"@fluidframework/odsp-driver": "~2.31.1",
|
|
45
|
+
"@fluidframework/odsp-driver-definitions": "~2.31.1"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@arethetypeswrong/cli": "^0.17.1",
|
|
49
49
|
"@biomejs/biome": "~1.9.3",
|
|
50
|
-
"@fluid-internal/mocha-test-setup": "~2.
|
|
50
|
+
"@fluid-internal/mocha-test-setup": "~2.31.1",
|
|
51
51
|
"@fluid-tools/build-cli": "^0.54.0",
|
|
52
52
|
"@fluidframework/build-common": "^2.0.3",
|
|
53
53
|
"@fluidframework/build-tools": "^0.54.0",
|
|
54
54
|
"@fluidframework/eslint-config-fluid": "^5.7.3",
|
|
55
|
-
"@fluidframework/odsp-urlresolver-previous": "npm:@fluidframework/odsp-urlresolver@2.
|
|
56
|
-
"@microsoft/api-extractor": "7.
|
|
55
|
+
"@fluidframework/odsp-urlresolver-previous": "npm:@fluidframework/odsp-urlresolver@2.31.0",
|
|
56
|
+
"@microsoft/api-extractor": "7.50.1",
|
|
57
57
|
"@types/mocha": "^10.0.10",
|
|
58
58
|
"@types/node": "^18.19.0",
|
|
59
59
|
"concurrently": "^8.2.1",
|
|
@@ -63,7 +63,6 @@
|
|
|
63
63
|
"mocha": "^10.8.2",
|
|
64
64
|
"mocha-multi-reporters": "^1.5.1",
|
|
65
65
|
"moment": "^2.21.0",
|
|
66
|
-
"prettier": "~3.0.3",
|
|
67
66
|
"rimraf": "^4.4.0",
|
|
68
67
|
"typescript": "~5.4.5"
|
|
69
68
|
},
|
|
@@ -90,14 +89,12 @@
|
|
|
90
89
|
"check:exports:cjs:public": "api-extractor run --config api-extractor/api-extractor-lint-public.cjs.json",
|
|
91
90
|
"check:exports:esm:public": "api-extractor run --config api-extractor/api-extractor-lint-public.esm.json",
|
|
92
91
|
"check:format": "npm run check:biome",
|
|
93
|
-
"check:prettier": "prettier --check . --cache --ignore-path ../../../.prettierignore",
|
|
94
92
|
"ci:build:docs": "api-extractor run",
|
|
95
93
|
"clean": "rimraf --glob dist lib {alpha,beta,internal,legacy}.d.ts \"**/*.tsbuildinfo\" \"**/*.build.log\" _api-extractor-temp nyc",
|
|
96
94
|
"eslint": "eslint --format stylish src",
|
|
97
95
|
"eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout",
|
|
98
96
|
"format": "npm run format:biome",
|
|
99
97
|
"format:biome": "biome check . --write",
|
|
100
|
-
"format:prettier": "prettier --write . --cache --ignore-path ../../../.prettierignore",
|
|
101
98
|
"lint": "fluid-build . --task lint",
|
|
102
99
|
"lint:fix": "fluid-build . --task eslint:fix --task format",
|
|
103
100
|
"test": "npm run test:mocha",
|