1 | # Changelog
|
2 |
|
3 | All notable changes to this project will be documented in this file.
|
4 |
|
5 | The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
6 | and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
7 |
|
8 | ## [Unreleased]
|
9 |
|
10 | - None
|
11 |
|
12 | ## [2.2.0] - 2021-12-01
|
13 |
|
14 | ### Added
|
15 |
|
16 | - [Abbreviated packuments](https://github.com/npm/registry/blob/master/docs/responses/package-metadata.md#abbreviated-metadata-format) (`application/vnd.npm.install-v1+json`) can now be retrieved using `getAbbreviatedPackument()` or `getRawAbbreviatedPackument()`
|
17 |
|
18 | ### Changed
|
19 |
|
20 | - Responses are now cached based on headers and URL
|
21 | - Updated docs
|
22 | - Updated dependencies and dev dependencies
|
23 | - Moved `debug` package to dev dependencies
|
24 |
|
25 | ### Removed
|
26 |
|
27 | - N/A
|
28 |
|
29 | ## [2.0.0] - 2021-03-09
|
30 |
|
31 | ### Added
|
32 |
|
33 | - Export named functions to query the npm registry
|
34 | - getDailyPackageDownloads()
|
35 | - getDailyRegistryDownloads()
|
36 | - getPackageDownloads()
|
37 | - getPackageManifest()
|
38 | - getPackument()
|
39 | - getRawPackageManifest()
|
40 | - getRawPackument()
|
41 | - getRegistryDownloads()
|
42 | - getRegistryMetadata()
|
43 | - searchPackages()
|
44 | - This package can now be used in a browser environment
|
45 | - BREAKING CHANGE: Added export map to `package.json`
|
46 |
|
47 | ### Changed
|
48 |
|
49 | - Updated typing of registry responses
|
50 | - Updated normalization of custom properties on `Packument` and `PackageManifest` interfaces
|
51 | - Updated and reduced number of dependencies
|
52 |
|
53 | ### Removed
|
54 |
|
55 | - BREAKING CHANGE: Removed `Registry` class; use the exported functions instead
|
56 |
|
57 | [unreleased]: https://github.com/velut/node-query-registry/compare/v2.2.0...HEAD
|
58 | [2.0.0]: https://github.com/velut/node-query-registry/compare/v1.2.0...v2.0.0
|
59 | [2.2.0]: https://github.com/velut/node-query-registry/compare/v2.0.0...v2.2.0
|