@verdaccio/loaders 6.0.0-6-next.45 → 7.0.0-next-7.8

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 (3) hide show
  1. package/CHANGELOG.md +249 -0
  2. package/LICENSE +1 -1
  3. package/package.json +8 -8
package/CHANGELOG.md CHANGED
@@ -1,5 +1,254 @@
1
1
  # @verdaccio/loaders
2
2
 
3
+ ## 7.0.0-next-7.8
4
+
5
+ ### Patch Changes
6
+
7
+ - @verdaccio/logger@7.0.0-next-7.8
8
+
9
+ ## 7.0.0-next-7.7
10
+
11
+ ### Patch Changes
12
+
13
+ - @verdaccio/logger@7.0.0-next-7.7
14
+
15
+ ## 7.0.0-next.6
16
+
17
+ ### Patch Changes
18
+
19
+ - @verdaccio/logger@7.0.0-next.6
20
+
21
+ ## 7.0.0-next.5
22
+
23
+ ### Patch Changes
24
+
25
+ - @verdaccio/logger@7.0.0-next.5
26
+
27
+ ## 7.0.0-next.4
28
+
29
+ ### Patch Changes
30
+
31
+ - @verdaccio/logger@7.0.0-next.4
32
+
33
+ ## 7.0.0-next.3
34
+
35
+ ### Major Changes
36
+
37
+ - e7ebccb61: update major dependencies, remove old nodejs support
38
+
39
+ ### Patch Changes
40
+
41
+ - Updated dependencies [e7ebccb61]
42
+ - @verdaccio/logger@7.0.0-next.3
43
+
44
+ ## 7.0.0-next.2
45
+
46
+ ### Patch Changes
47
+
48
+ - @verdaccio/logger@7.0.0-next.2
49
+
50
+ ## 7.0.0-next.1
51
+
52
+ ### Patch Changes
53
+
54
+ - @verdaccio/logger@7.0.0-next.1
55
+
56
+ ## 7.0.0-next.0
57
+
58
+ ### Major Changes
59
+
60
+ - feat!: bump to v7
61
+
62
+ ### Patch Changes
63
+
64
+ - Updated dependencies
65
+ - @verdaccio/logger@7.0.0-next.0
66
+
67
+ ## 6.0.0
68
+
69
+ ### Major Changes
70
+
71
+ - 292c0a37f: feat!: replace deprecated request dependency by got
72
+
73
+ 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.
74
+
75
+ ## Notes
76
+
77
+ - Remove deprecated `request` by other `got`, retry improved, custom Agent ( got does not include it built-in)
78
+ - Remove `async` dependency from storage (used by core) it was linked with proxy somehow safe to remove now
79
+ - Refactor with promises instead callback wherever is possible
80
+ - ~Document the API~
81
+ - Improve testing, integration tests
82
+ - Bugfix
83
+ - Clean up old validations
84
+ - Improve performance
85
+
86
+ ## 💥 Breaking changes
87
+
88
+ - Plugin API methods were callbacks based are returning promises, this will break current storage plugins, check documentation for upgrade.
89
+ - 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));`
90
+ - `@verdaccio/streams` stream abort support is legacy is being deprecated removed
91
+ - Remove AWS and Google Cloud packages for future refactoring [#2574](https://github.com/verdaccio/verdaccio/pull/2574).
92
+
93
+ - 9fc2e7961: feat(plugins): improve plugin loader
94
+
95
+ ### Changes
96
+
97
+ - Add scope plugin support to 6.x https://github.com/verdaccio/verdaccio/pull/3227
98
+ - Avoid config collisions https://github.com/verdaccio/verdaccio/issues/928
99
+ - https://github.com/verdaccio/verdaccio/issues/1394
100
+ - `config.plugins` plugin path validations
101
+ - Updated algorithm for plugin loader.
102
+ - improved documentation (included dev)
103
+
104
+ ## Features
105
+
106
+ - Add scope plugin support to 6.x https://github.com/verdaccio/verdaccio/pull/3227
107
+ - Custom prefix:
108
+
109
+ ```
110
+ // config.yaml
111
+ server:
112
+ pluginPrefix: mycompany
113
+ middleware:
114
+ audit:
115
+ foo: 1
116
+ ```
117
+
118
+ This configuration will look up for `mycompany-audit` instead `Verdaccio-audit`.
119
+
120
+ ## Breaking Changes
121
+
122
+ ### sinopia plugins
123
+
124
+ - `sinopia` fallback support is removed, but can be restored using `pluginPrefix`
125
+
126
+ ### plugin filter
127
+
128
+ - method rename `filter_metadata`->`filterMetadata`
129
+
130
+ ### Plugin constructor does not merge configs anymore https://github.com/verdaccio/verdaccio/issues/928
131
+
132
+ The plugin receives as first argument `config`, which represents the config of the plugin. Example:
133
+
134
+ ```
135
+ // config.yaml
136
+ auth:
137
+ plugin:
138
+ foo: 1
139
+ bar: 2
140
+
141
+ export class Plugin<T> {
142
+ public constructor(config: T, options: PluginOptions) {
143
+ console.log(config);
144
+ // {foo:1, bar: 2}
145
+ }
146
+ }
147
+ ```
148
+
149
+ - 794af76c5: Remove Node 12 support
150
+
151
+ - We need move to the new `undici` and does not support Node.js 12
152
+
153
+ - 10aeb4f13: feat!: experiments config renamed to flags
154
+
155
+ - The `experiments` configuration is renamed to `flags`. The functionality is exactly the same.
156
+
157
+ ```js
158
+ flags: token: false;
159
+ search: false;
160
+ ```
161
+
162
+ - The `self_path` property from the config file is being removed in favor of `config_file` full path.
163
+ - Refactor `config` module, better types and utilities
164
+
165
+ - e367c3f1e: - Replace signature handler for legacy tokens by removing deprecated crypto.createDecipher by createCipheriv
166
+
167
+ - Introduce environment variables for legacy tokens
168
+
169
+ ### Code Improvements
170
+
171
+ - Add debug library for improve developer experience
172
+
173
+ ### Breaking change
174
+
175
+ - The new signature invalidates all previous tokens generated by Verdaccio 4 or previous versions.
176
+ - The secret key must have 32 characters long.
177
+
178
+ ### New environment variables
179
+
180
+ - `VERDACCIO_LEGACY_ALGORITHM`: Allows to define the specific algorithm for the token signature which by default is `aes-256-ctr`
181
+ - `VERDACCIO_LEGACY_ENCRYPTION_KEY`: By default, the token stores in the database, but using this variable allows to get it from memory
182
+
183
+ ### Minor Changes
184
+
185
+ - ef88da3b4: feat: improve support for fs promises older nodejs
186
+ - 631abe1ac: feat: refactor logger
187
+ - b61f762d6: feat: add server rate limit protection to all request
188
+
189
+ To modify custom values, use the server settings property.
190
+
191
+ ```markdown
192
+ server:
193
+
194
+ ## https://www.npmjs.com/package/express-rate-limit#configuration-options
195
+
196
+ rateLimit:
197
+ windowMs: 1000
198
+ max: 10000
199
+ ```
200
+
201
+ The values are intended to be high, if you want to improve security of your server consider
202
+ using different values.
203
+
204
+ - 154b2ecd3: refactor: remove @verdaccio/commons-api in favor @verdaccio/core and remove duplications
205
+ - aa763baec: feat: add typescript project references settings
206
+
207
+ 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.
208
+
209
+ It allows to navigate (IDE) trough the packages without need compile the packages.
210
+
211
+ 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).
212
+
213
+ ### Patch Changes
214
+
215
+ - 351aeeaa8: fix(deps): @verdaccio/utils should be a prod dep of local-storage
216
+ - a610ef26b: chore: add release step to private regisry on merge changeset pr
217
+ - 31d661c7b: always create plugin instance with new
218
+ - 34f0f1101: Enable prerelease mode with **changesets**
219
+ - 68ea21214: ESLint Warnings Fixed
220
+
221
+ Related to issue #1461
222
+
223
+ - max-len: most of the sensible max-len errors are fixed
224
+ - no-unused-vars: most of these types of errors are fixed by deleting not needed declarations
225
+ - @typescript-eslint/no-unused-vars: same as above
226
+
227
+ - Updated dependencies [292c0a37f]
228
+ - Updated dependencies [ef88da3b4]
229
+ - Updated dependencies [a3a209b5e]
230
+ - Updated dependencies [794af76c5]
231
+ - Updated dependencies [e75c0a3b9]
232
+ - Updated dependencies [351aeeaa8]
233
+ - Updated dependencies [10aeb4f13]
234
+ - Updated dependencies [631abe1ac]
235
+ - Updated dependencies [e367c3f1e]
236
+ - Updated dependencies [a610ef26b]
237
+ - Updated dependencies [b61f762d6]
238
+ - Updated dependencies [154b2ecd3]
239
+ - Updated dependencies [aa763baec]
240
+ - Updated dependencies [34f0f1101]
241
+ - Updated dependencies [82cb0f2bf]
242
+ - Updated dependencies [b78f35257]
243
+ - Updated dependencies [2c594910d]
244
+ - Updated dependencies [6c1eb021b]
245
+ - Updated dependencies [65f88b826]
246
+ - Updated dependencies [b3e8438f6]
247
+ - Updated dependencies [730b5d8cc]
248
+ - Updated dependencies [68ea21214]
249
+ - Updated dependencies [8f43bf17d]
250
+ - @verdaccio/logger@6.0.0
251
+
3
252
  ## 6.0.0-6-next.45
4
253
 
5
254
  ### Patch Changes
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2021 Verdaccio contributors
3
+ Copyright (c) 2024 Verdaccio contributors
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@verdaccio/loaders",
3
- "version": "6.0.0-6-next.45",
3
+ "version": "7.0.0-next-7.8",
4
4
  "description": "loaders logic",
5
5
  "main": "./build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -13,17 +13,17 @@
13
13
  "url": "https://github.com/verdaccio/verdaccio"
14
14
  },
15
15
  "dependencies": {
16
- "@verdaccio/logger": "6.0.0-6-next.44",
16
+ "@verdaccio/logger": "7.0.0-next-7.8",
17
17
  "debug": "4.3.4",
18
18
  "lodash": "4.17.21"
19
19
  },
20
20
  "devDependencies": {
21
- "@verdaccio/core": "6.0.0-6-next.76",
22
- "@verdaccio/config": "6.0.0-6-next.76",
23
- "@verdaccio/types": "11.0.0-6-next.25",
21
+ "@verdaccio/core": "7.0.0-next-7.8",
22
+ "@verdaccio/config": "7.0.0-next-7.8",
23
+ "@verdaccio/types": "12.0.0-next.2",
24
24
  "@verdaccio-scope/verdaccio-auth-foo": "0.0.2",
25
- "customprefix-auth": "1.0.0-6-next.0",
26
- "verdaccio-auth-memory": "11.0.0-6-next.41"
25
+ "customprefix-auth": "2.0.0-next.0",
26
+ "verdaccio-auth-memory": "12.0.0-next-7.8"
27
27
  },
28
28
  "homepage": "https://verdaccio.org",
29
29
  "keywords": [
@@ -38,7 +38,7 @@
38
38
  "verdaccio"
39
39
  ],
40
40
  "engines": {
41
- "node": ">=12"
41
+ "node": ">=18"
42
42
  },
43
43
  "license": "MIT",
44
44
  "funding": {