UNPKG

2.7 kBMarkdownView Raw
1# Changelog
2
3All notable changes to this project will be documented in this file.
4
5The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
8## [Unreleased]
9
10- None
11
12## [2.5.0] - 2022-05-28
13
14### Added
15
16- N/A
17
18### Changed
19
20- Fixed ESM export declarations in `package.json` (Thanks @mt-empty)
21- Updated dependencies and dev dependencies
22
23### Removed
24
25- N/A
26
27## [2.4.0] - 2022-05-11
28
29### Added
30
31- N/A
32
33### Changed
34
35- Preserve subdomains in git repository URLs (`https://git.example.com/user/repo`) (Thanks @tomdyqin)
36- Updated dependencies and dev dependencies
37
38### Removed
39
40- N/A
41
42## [2.3.0] - 2022-04-27
43
44### Added
45
46- N/A
47
48### Changed
49
50- Preserve pathnames in registry URLs (`https://example.com/my/npm/registry`) (Thanks @tomdyqin)
51- Updated dependencies and dev dependencies
52
53### Removed
54
55- N/A
56
57## [2.2.0] - 2021-12-01
58
59### Added
60
61- [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()`
62
63### Changed
64
65- Responses are now cached based on headers and URL
66- Updated docs
67- Updated dependencies and dev dependencies
68- Moved `debug` package to dev dependencies
69
70### Removed
71
72- N/A
73
74## [2.0.0] - 2021-03-09
75
76### Added
77
78- Export named functions to query the npm registry
79 - getDailyPackageDownloads()
80 - getDailyRegistryDownloads()
81 - getPackageDownloads()
82 - getPackageManifest()
83 - getPackument()
84 - getRawPackageManifest()
85 - getRawPackument()
86 - getRegistryDownloads()
87 - getRegistryMetadata()
88 - searchPackages()
89- This package can now be used in a browser environment
90- BREAKING CHANGE: Added export map to `package.json`
91
92### Changed
93
94- Updated typing of registry responses
95- Updated normalization of custom properties on `Packument` and `PackageManifest` interfaces
96- Updated and reduced number of dependencies
97
98### Removed
99
100- BREAKING CHANGE: Removed `Registry` class; use the exported functions instead
101
102[unreleased]: https://github.com/velut/node-query-registry/compare/v2.5.0...HEAD
103[2.0.0]: https://github.com/velut/node-query-registry/compare/v1.2.0...v2.0.0
104[2.2.0]: https://github.com/velut/node-query-registry/compare/v2.0.0...v2.2.0
105[2.3.0]: https://github.com/velut/node-query-registry/compare/v2.2.0...v2.3.0
106[2.4.0]: https://github.com/velut/node-query-registry/compare/v2.3.0...v2.4.0
107[2.5.0]: https://github.com/velut/node-query-registry/compare/v2.4.0...v2.5.0