0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-23 22:27:34 -05:00
verdaccio/packages/server/fastify/CHANGELOG.md
Juan Picado 3c2f5741f4
chore: update versions (6-next) (#3350)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-04 11:56:23 +02:00

9 KiB

@verdaccio/server-fastify

6.0.0-6-next.28

Patch Changes

  • @verdaccio/core@6.0.0-6-next.47
  • @verdaccio/config@6.0.0-6-next.47
  • @verdaccio/auth@6.0.0-6-next.26
  • @verdaccio/tarball@11.0.0-6-next.16
  • @verdaccio/logger@6.0.0-6-next.15
  • @verdaccio/store@6.0.0-6-next.27
  • @verdaccio/utils@6.0.0-6-next.15

6.0.0-6-next.27

Patch Changes

  • Updated dependencies [b849128d]
    • @verdaccio/core@6.0.0-6-next.8
    • @verdaccio/store@6.0.0-6-next.26
    • @verdaccio/auth@6.0.0-6-next.25
    • @verdaccio/config@6.0.0-6-next.17
    • @verdaccio/tarball@11.0.0-6-next.15
    • @verdaccio/logger@6.0.0-6-next.14
    • @verdaccio/utils@6.0.0-6-next.14
    • @verdaccio/readme@11.0.0-6-next.6

6.0.0-6-next.26

Patch Changes

  • 351aeeaa: fix(deps): @verdaccio/utils should be a prod dep of local-storage
  • Updated dependencies [351aeeaa]
    • @verdaccio/auth@6.0.0-6-next.24
    • @verdaccio/core@6.0.0-6-next.7
    • @verdaccio/readme@11.0.0-6-next.6
    • @verdaccio/tarball@11.0.0-6-next.14
    • @verdaccio/logger@6.0.0-6-next.13
    • @verdaccio/store@6.0.0-6-next.25
    • @verdaccio/config@6.0.0-6-next.16
    • @verdaccio/utils@6.0.0-6-next.13

6.0.0-6-next.25

Minor Changes

Patch Changes

  • Updated dependencies [37274e4c]
    • @verdaccio/store@6.0.0-6-next.24
    • @verdaccio/auth@6.0.0-6-next.23
    • @verdaccio/core@6.0.0-6-next.6
    • @verdaccio/readme@11.0.0-6-next.5
    • @verdaccio/tarball@11.0.0-6-next.13
    • @verdaccio/logger@6.0.0-6-next.12

6.0.0-6-next.24

Minor Changes

  • 00d1d2a1: chore: env variable for launch fastify

    • Update fastify to major release v4.3.0
    • Update CLI launcher

    via CLI

    VERDACCIO_SERVER=fastify verdaccio
    

    with docker

    docker run -it --rm --name verdaccio \
      -e "VERDACCIO_SERVER=8080" -p 8080:8080 \
      -e "VERDACCIO_SERVER=fastify" \
      verdaccio/verdaccio
    

Patch Changes

  • Updated dependencies [292c0a37]
  • Updated dependencies [a3a209b5]
  • Updated dependencies [00d1d2a1]
    • @verdaccio/auth@6.0.0-6-next.23
    • @verdaccio/config@6.0.0-6-next.15
    • @verdaccio/core@6.0.0-6-next.6
    • @verdaccio/readme@11.0.0-6-next.5
    • @verdaccio/tarball@11.0.0-6-next.13
    • @verdaccio/logger@6.0.0-6-next.12
    • @verdaccio/store@6.0.0-6-next.23
    • @verdaccio/utils@6.0.0-6-next.12

6.0.0-6-next.23

Patch Changes

  • Updated dependencies [d43894e8]
  • Updated dependencies [d08fe29d]
    • @verdaccio/config@6.0.0-6-next.14
    • @verdaccio/auth@6.0.0-6-next.22
    • @verdaccio/store@6.0.0-6-next.22
    • @verdaccio/core@6.0.0-6-next.5
    • @verdaccio/readme@11.0.0-6-next.4
    • @verdaccio/tarball@11.0.0-6-next.12
    • @verdaccio/logger@6.0.0-6-next.11

6.0.0-6-next.22

Patch Changes

  • Updated dependencies [82cb0f2b]
  • Updated dependencies [5167bb52]
    • @verdaccio/config@6.0.0-6-next.13
    • @verdaccio/core@6.0.0-6-next.5
    • @verdaccio/logger@6.0.0-6-next.11
    • @verdaccio/store@6.0.0-6-next.21
    • @verdaccio/auth@6.0.0-6-next.21
    • @verdaccio/tarball@11.0.0-6-next.12
    • @verdaccio/utils@6.0.0-6-next.11
    • @verdaccio/readme@11.0.0-6-next.4

6.0.0-6-next.21

Patch Changes

  • @verdaccio/auth@6.0.0-6-next.20
  • @verdaccio/store@6.0.0-6-next.20

6.0.0-6-next.20

Patch Changes

  • Updated dependencies [aeff267d]
    • @verdaccio/auth@6.0.0-6-next.19

6.0.0-6-next.19

Patch Changes

  • Updated dependencies [b78f3525]
    • @verdaccio/logger@6.0.0-6-next.10
    • @verdaccio/auth@6.0.0-6-next.18
    • @verdaccio/store@6.0.0-6-next.19

6.0.0-6-next.18

Patch Changes

  • Updated dependencies [730b5d8c]
    • @verdaccio/logger@6.0.0-6-next.9
    • @verdaccio/auth@6.0.0-6-next.17
    • @verdaccio/store@6.0.0-6-next.18

6.0.0-6-next.17

Major Changes

  • a828271d: refactor: download manifest endpoint and integrate fastify

    Much simpler API for fetching a package

     const manifest = await storage.getPackageNext({
          name,
          uplinksLook: true,
          req,
          version: queryVersion,
          requestOptions,
     });
    

    not perfect, the req still is being passed to the proxy (this has to be refactored at proxy package) and then removed from here, in proxy we pass the request instance to the request library.

    Details

    • async/await sugar for getPackage()
    • Improve and reuse code between current implementation and new fastify endpoint (add scaffolding for request manifest)
    • Improve performance
    • Add new tests

    Breaking changes

    All storage plugins will stop to work since the storage uses getPackageNext method which is Promise based, I won't replace this now because will force me to update all plugins, I'll follow up in another PR. Currently will throw http 500

Patch Changes

  • Updated dependencies [a828271d]
  • Updated dependencies [24b9be02]
  • Updated dependencies [e75c0a3b]
  • Updated dependencies [b13a3fef]
    • @verdaccio/tarball@11.0.0-6-next.11
    • @verdaccio/store@6.0.0-6-next.17
    • @verdaccio/utils@6.0.0-6-next.10
    • @verdaccio/core@6.0.0-6-next.4
    • @verdaccio/logger@6.0.0-6-next.8
    • @verdaccio/auth@6.0.0-6-next.16
    • @verdaccio/config@6.0.0-6-next.12
    • @verdaccio/readme@11.0.0-6-next.4

6.0.0-6-next.16

Minor Changes

  • f86c31ed: feat: migrate web sidebar endpoint to fastify

    reuse utils methods between packages

  • 20c9e43e: dist tags Implementation on Fastify

Patch Changes

  • Updated dependencies [f86c31ed]
  • Updated dependencies [20c9e43e]
    • @verdaccio/store@6.0.0-6-next.16
    • @verdaccio/utils@6.0.0-6-next.9
    • @verdaccio/auth@6.0.0-6-next.15
    • @verdaccio/config@6.0.0-6-next.11
    • @verdaccio/tarball@11.0.0-6-next.10

6.0.0-6-next.15

Patch Changes

  • Updated dependencies [6c1eb021]
    • @verdaccio/core@6.0.0-6-next.3
    • @verdaccio/logger@6.0.0-6-next.7
    • @verdaccio/auth@6.0.0-6-next.14
    • @verdaccio/config@6.0.0-6-next.10
    • @verdaccio/tarball@11.0.0-6-next.9
    • @verdaccio/store@6.0.0-6-next.15
    • @verdaccio/utils@6.0.0-6-next.8

6.0.0-6-next.14

Major Changes

  • 794af76c: Remove Node 12 support

    • We need move to the new undici and does not support Node.js 12

Minor Changes

  • b702ea36: abort search request support for proxy
  • 154b2ecd: refactor: remove @verdaccio/commons-api in favor @verdaccio/core and remove duplications

Patch Changes

  • Updated dependencies [794af76c]
  • Updated dependencies [b702ea36]
  • Updated dependencies [154b2ecd]
    • @verdaccio/auth@6.0.0-6-next.13
    • @verdaccio/config@6.0.0-6-next.9
    • @verdaccio/logger@6.0.0-6-next.6
    • @verdaccio/store@6.0.0-6-next.14

6.0.0-6-next.13

Patch Changes

  • Updated dependencies [2c594910]
    • @verdaccio/logger@6.0.0-6-next.5
    • @verdaccio/auth@6.0.0-6-next.12
    • @verdaccio/store@6.0.0-6-next.13

6.0.0-6-next.12

Major Changes

  • 459b6fa7: refactor: search v1 endpoint and local-database

    • refactor search api v1 endpoint, improve performance
    • remove usage of async dependency https://github.com/verdaccio/verdaccio/issues/1225
    • refactor method storage class
    • create new module core to reduce the ammount of modules with utilities
    • use undici instead node-fetch
    • use fastify instead express for functional test

    Breaking changes

    • plugin storage API changes
    • remove old search endpoint (return 404)
    • filter local private packages at plugin level

    The storage api changes for methods get, add, remove as promise base. The search methods also changes and recieves a query object that contains all query params from the client.

    export interface IPluginStorage<T> extends IPlugin {
      add(name: string): Promise<void>;
      remove(name: string): Promise<void>;
      get(): Promise<any>;
      init(): Promise<void>;
      getSecret(): Promise<string>;
      setSecret(secret: string): Promise<any>;
      getPackageStorage(packageInfo: string): IPackageStorage;
      search(query: searchUtils.SearchQuery): Promise<searchUtils.SearchItem[]>;
      saveToken(token: Token): Promise<any>;
      deleteToken(user: string, tokenKey: string): Promise<any>;
      readTokens(filter: TokenFilter): Promise<Token[]>;
    }
    

Patch Changes

  • Updated dependencies [459b6fa7]
    • @verdaccio/auth@6.0.0-6-next.11
    • @verdaccio/config@6.0.0-6-next.8
    • @verdaccio/store@6.0.0-6-next.12
    • @verdaccio/logger@6.0.0-6-next.4

6.0.0-6-next.11

Patch Changes

  • df0da3d6: Added core-js missing from dependencies though referenced in .js sources
    • @verdaccio/auth@6.0.0-6-next.10
    • @verdaccio/store@6.0.0-6-next.11

6.0.0-6-next.10

Minor Changes