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.4.0] - 2022-05-11
|
13 |
|
14 | ### Added
|
15 |
|
16 | - N/A
|
17 |
|
18 | ### Changed
|
19 |
|
20 | - Preserve subdomains in git repository URLs (`https://git.example.com/user/repo`) (Thanks @tomdyqin)
|
21 | - Updated dependencies and dev dependencies
|
22 |
|
23 | ### Removed
|
24 |
|
25 | - N/A
|
26 |
|
27 | ## [2.3.0] - 2022-04-27
|
28 |
|
29 | ### Added
|
30 |
|
31 | - N/A
|
32 |
|
33 | ### Changed
|
34 |
|
35 | - Preserve pathnames in registry URLs (`https://example.com/my/npm/registry`) (Thanks @tomdyqin)
|
36 | - Updated dependencies and dev dependencies
|
37 |
|
38 | ### Removed
|
39 |
|
40 | - N/A
|
41 |
|
42 | ## [2.2.0] - 2021-12-01
|
43 |
|
44 | ### Added
|
45 |
|
46 | - [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()`
|
47 |
|
48 | ### Changed
|
49 |
|
50 | - Responses are now cached based on headers and URL
|
51 | - Updated docs
|
52 | - Updated dependencies and dev dependencies
|
53 | - Moved `debug` package to dev dependencies
|
54 |
|
55 | ### Removed
|
56 |
|
57 | - N/A
|
58 |
|
59 | ## [2.0.0] - 2021-03-09
|
60 |
|
61 | ### Added
|
62 |
|
63 | - Export named functions to query the npm registry
|
64 | - getDailyPackageDownloads()
|
65 | - getDailyRegistryDownloads()
|
66 | - getPackageDownloads()
|
67 | - getPackageManifest()
|
68 | - getPackument()
|
69 | - getRawPackageManifest()
|
70 | - getRawPackument()
|
71 | - getRegistryDownloads()
|
72 | - getRegistryMetadata()
|
73 | - searchPackages()
|
74 | - This package can now be used in a browser environment
|
75 | - BREAKING CHANGE: Added export map to `package.json`
|
76 |
|
77 | ### Changed
|
78 |
|
79 | - Updated typing of registry responses
|
80 | - Updated normalization of custom properties on `Packument` and `PackageManifest` interfaces
|
81 | - Updated and reduced number of dependencies
|
82 |
|
83 | ### Removed
|
84 |
|
85 | - BREAKING CHANGE: Removed `Registry` class; use the exported functions instead
|
86 |
|
87 | [unreleased]: https://github.com/velut/node-query-registry/compare/v2.4.0...HEAD
|
88 | [2.0.0]: https://github.com/velut/node-query-registry/compare/v1.2.0...v2.0.0
|
89 | [2.2.0]: https://github.com/velut/node-query-registry/compare/v2.0.0...v2.2.0
|
90 | [2.3.0]: https://github.com/velut/node-query-registry/compare/v2.2.0...v2.3.0
|
91 | [2.4.0]: https://github.com/velut/node-query-registry/compare/v2.3.0...v2.4.0
|