@verdaccio/middleware 6.0.0-6-next.55 → 7.0.0-next.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +202 -0
  2. package/package.json +6 -6
package/CHANGELOG.md CHANGED
@@ -1,5 +1,207 @@
1
1
  # @verdaccio/middleware
2
2
 
3
+ ## 7.0.0-next.1
4
+
5
+ ### Patch Changes
6
+
7
+ - @verdaccio/core@7.0.0-next.1
8
+ - @verdaccio/config@7.0.0-next.1
9
+ - @verdaccio/url@12.0.0-next.1
10
+ - @verdaccio/utils@7.0.0-next.1
11
+
12
+ ## 7.0.0-next.0
13
+
14
+ ### Major Changes
15
+
16
+ - feat!: bump to v7
17
+
18
+ ### Patch Changes
19
+
20
+ - Updated dependencies
21
+ - @verdaccio/config@7.0.0-next.0
22
+ - @verdaccio/core@7.0.0-next.0
23
+ - @verdaccio/url@12.0.0-next.0
24
+ - @verdaccio/utils@7.0.0-next.0
25
+
26
+ ## 6.0.0
27
+
28
+ ### Major Changes
29
+
30
+ - 292c0a37f: feat!: replace deprecated request dependency by got
31
+
32
+ This is a big refactoring of the core, fetching dependencies, improve code, more tests and better stability. This is essential for the next release, will take some time but would allow modularize more the core.
33
+
34
+ ## Notes
35
+
36
+ - Remove deprecated `request` by other `got`, retry improved, custom Agent ( got does not include it built-in)
37
+ - Remove `async` dependency from storage (used by core) it was linked with proxy somehow safe to remove now
38
+ - Refactor with promises instead callback wherever is possible
39
+ - ~Document the API~
40
+ - Improve testing, integration tests
41
+ - Bugfix
42
+ - Clean up old validations
43
+ - Improve performance
44
+
45
+ ## 💥 Breaking changes
46
+
47
+ - Plugin API methods were callbacks based are returning promises, this will break current storage plugins, check documentation for upgrade.
48
+ - Write Tarball, Read Tarball methods parameters change, a new set of options like `AbortController` signals are being provided to the `addAbortSignal` can be internally used with Streams when a request is aborted. eg: `addAbortSignal(signal, fs.createReadStream(pathName));`
49
+ - `@verdaccio/streams` stream abort support is legacy is being deprecated removed
50
+ - Remove AWS and Google Cloud packages for future refactoring [#2574](https://github.com/verdaccio/verdaccio/pull/2574).
51
+
52
+ - 794af76c5: Remove Node 12 support
53
+
54
+ - We need move to the new `undici` and does not support Node.js 12
55
+
56
+ - 10aeb4f13: feat!: experiments config renamed to flags
57
+
58
+ - The `experiments` configuration is renamed to `flags`. The functionality is exactly the same.
59
+
60
+ ```js
61
+ flags: token: false;
62
+ search: false;
63
+ ```
64
+
65
+ - The `self_path` property from the config file is being removed in favor of `config_file` full path.
66
+ - Refactor `config` module, better types and utilities
67
+
68
+ - e367c3f1e: - Replace signature handler for legacy tokens by removing deprecated crypto.createDecipher by createCipheriv
69
+
70
+ - Introduce environment variables for legacy tokens
71
+
72
+ ### Code Improvements
73
+
74
+ - Add debug library for improve developer experience
75
+
76
+ ### Breaking change
77
+
78
+ - The new signature invalidates all previous tokens generated by Verdaccio 4 or previous versions.
79
+ - The secret key must have 32 characters long.
80
+
81
+ ### New environment variables
82
+
83
+ - `VERDACCIO_LEGACY_ALGORITHM`: Allows to define the specific algorithm for the token signature which by default is `aes-256-ctr`
84
+ - `VERDACCIO_LEGACY_ENCRYPTION_KEY`: By default, the token stores in the database, but using this variable allows to get it from memory
85
+
86
+ ### Minor Changes
87
+
88
+ - a1986e098: feat: expose middleware utils
89
+ - ae93e039d: fix: expose middleware methods
90
+ - 24b9be020: refactor: improve docker image build with strict dependencies and prod build
91
+ - 631abe1ac: feat: refactor logger
92
+ - b61f762d6: feat: add server rate limit protection to all request
93
+
94
+ To modify custom values, use the server settings property.
95
+
96
+ ```markdown
97
+ server:
98
+
99
+ ## https://www.npmjs.com/package/express-rate-limit#configuration-options
100
+
101
+ rateLimit:
102
+ windowMs: 1000
103
+ max: 10000
104
+ ```
105
+
106
+ The values are intended to be high, if you want to improve security of your server consider
107
+ using different values.
108
+
109
+ - 154b2ecd3: refactor: remove @verdaccio/commons-api in favor @verdaccio/core and remove duplications
110
+ - aa763baec: feat: add typescript project references settings
111
+
112
+ Reading https://ebaytech.berlin/optimizing-multi-package-apps-with-typescript-project-references-d5c57a3b4440 I realized I can use project references to solve the issue to pre-compile modules on develop mode.
113
+
114
+ It allows to navigate (IDE) trough the packages without need compile the packages.
115
+
116
+ Add two `tsconfig`, one using the previous existing configuration that is able to produce declaration files (`tsconfig.build`) and a new one `tsconfig` which is enables [_projects references_](https://www.typescriptlang.org/docs/handbook/project-references.html).
117
+
118
+ - 4b29d715b: chore: move improvements from v5 to v6
119
+
120
+ Migrate improvements form v5 to v6:
121
+
122
+ - https://github.com/verdaccio/verdaccio/pull/3158
123
+ - https://github.com/verdaccio/verdaccio/pull/3151
124
+ - https://github.com/verdaccio/verdaccio/pull/2271
125
+ - https://github.com/verdaccio/verdaccio/pull/2787
126
+ - https://github.com/verdaccio/verdaccio/pull/2791
127
+ - https://github.com/verdaccio/verdaccio/pull/2205
128
+
129
+ - 45c03819e: refactor: render html middleware
130
+
131
+ ### Patch Changes
132
+
133
+ - 9943e2b18: fix: extract logger from middleware
134
+ - 1d1112805: Remove @ts-ignore and any in packages/web/src/endpoint/package.ts
135
+ - 7ef599cc4: fix: missing version on footer
136
+ - a610ef26b: chore: add release step to private regisry on merge changeset pr
137
+ - 4fc21146a: fix: missing logo on header
138
+ - 34f0f1101: Enable prerelease mode with **changesets**
139
+ - f859d2b1a: fix: official package "-" cannot be synced
140
+ - 65f88b826: bump logger packages
141
+ - 68ea21214: ESLint Warnings Fixed
142
+
143
+ Related to issue #1461
144
+
145
+ - max-len: most of the sensible max-len errors are fixed
146
+ - no-unused-vars: most of these types of errors are fixed by deleting not needed declarations
147
+ - @typescript-eslint/no-unused-vars: same as above
148
+
149
+ - fa274ee44: chore: bumb up package
150
+ - Updated dependencies [292c0a37f]
151
+ - Updated dependencies [dc05edfe6]
152
+ - Updated dependencies [a1986e098]
153
+ - Updated dependencies [974cd8c19]
154
+ - Updated dependencies [a828271d6]
155
+ - Updated dependencies [ef88da3b4]
156
+ - Updated dependencies [43f32687c]
157
+ - Updated dependencies [679c19c1b]
158
+ - Updated dependencies [a3a209b5e]
159
+ - Updated dependencies [459b6fa72]
160
+ - Updated dependencies [9fc2e7961]
161
+ - Updated dependencies [24b9be020]
162
+ - Updated dependencies [794af76c5]
163
+ - Updated dependencies [351aeeaa8]
164
+ - Updated dependencies [10aeb4f13]
165
+ - Updated dependencies [9718e0330]
166
+ - Updated dependencies [1b217fd34]
167
+ - Updated dependencies [e367c3f1e]
168
+ - Updated dependencies [a1da11308]
169
+ - Updated dependencies [d167f92e1]
170
+ - Updated dependencies [d2c65da9c]
171
+ - Updated dependencies [00d1d2a17]
172
+ - Updated dependencies [1810ed0d8]
173
+ - Updated dependencies [a610ef26b]
174
+ - Updated dependencies [ddb6a2239]
175
+ - Updated dependencies [648575aa4]
176
+ - Updated dependencies [b61f762d6]
177
+ - Updated dependencies [d43894e8f]
178
+ - Updated dependencies [154b2ecd3]
179
+ - Updated dependencies [aa763baec]
180
+ - Updated dependencies [378e907d5]
181
+ - Updated dependencies [16e38df8a]
182
+ - Updated dependencies [34f0f1101]
183
+ - Updated dependencies [82cb0f2bf]
184
+ - Updated dependencies [dc571aabd]
185
+ - Updated dependencies [ce013d2fc]
186
+ - Updated dependencies [f859d2b1a]
187
+ - Updated dependencies [6c1eb021b]
188
+ - Updated dependencies [62c24b632]
189
+ - Updated dependencies [0a6412ca9]
190
+ - Updated dependencies [d08fe29d9]
191
+ - Updated dependencies [5167bb528]
192
+ - Updated dependencies [f86c31ed0]
193
+ - Updated dependencies [c9d1af0e5]
194
+ - Updated dependencies [4b29d715b]
195
+ - Updated dependencies [b13a3fefd]
196
+ - Updated dependencies [68ea21214]
197
+ - Updated dependencies [8f43bf17d]
198
+ - Updated dependencies [45c03819e]
199
+ - Updated dependencies [b849128de]
200
+ - @verdaccio/config@6.0.0
201
+ - @verdaccio/core@6.0.0
202
+ - @verdaccio/url@11.0.0
203
+ - @verdaccio/utils@6.0.0
204
+
3
205
  ## 6.0.0-6-next.55
4
206
 
5
207
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@verdaccio/middleware",
3
- "version": "6.0.0-6-next.55",
3
+ "version": "7.0.0-next.1",
4
4
  "description": "express middleware utils",
5
5
  "main": "./build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -29,10 +29,10 @@
29
29
  "node": ">=12"
30
30
  },
31
31
  "dependencies": {
32
- "@verdaccio/core": "6.0.0-6-next.76",
33
- "@verdaccio/utils": "6.0.0-6-next.44",
34
- "@verdaccio/config": "6.0.0-6-next.76",
35
- "@verdaccio/url": "11.0.0-6-next.42",
32
+ "@verdaccio/core": "7.0.0-next.1",
33
+ "@verdaccio/utils": "7.0.0-next.1",
34
+ "@verdaccio/config": "7.0.0-next.1",
35
+ "@verdaccio/url": "12.0.0-next.1",
36
36
  "debug": "4.3.4",
37
37
  "lru-cache": "7.18.3",
38
38
  "express": "4.18.2",
@@ -45,7 +45,7 @@
45
45
  "url": "https://opencollective.com/verdaccio"
46
46
  },
47
47
  "devDependencies": {
48
- "@verdaccio/logger": "6.0.0-6-next.44",
48
+ "@verdaccio/logger": "7.0.0-next.1",
49
49
  "body-parser": "1.20.2",
50
50
  "supertest": "6.3.3"
51
51
  },