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

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