Skip to content

Commit 757fa8f

Browse files
authored
fix changelogs (#426)
* fix changelogs * Update CHANGELOG.md
1 parent 5be48fc commit 757fa8f

File tree

2 files changed

+95
-6
lines changed

2 files changed

+95
-6
lines changed

CHANGELOG.md

Lines changed: 92 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,74 +4,163 @@
44

55
### Patch Changes
66

7-
- Updated dependencies \[[`f7f5467`](https://github.com/rohit-gohri/redocusaurus/commit/f7f5467a5bf5c42d9d88b716ccc2de56b158b5f0)]:
8-
- docusaurus-theme-redoc@2.4.0
7+
- Updated dependencies [[`f7f5467`](https://github.com/rohit-gohri/redocusaurus/commit/f7f5467a5bf5c42d9d88b716ccc2de56b158b5f0)]:
8+
- docusaurus-theme-redoc@2.4.0
9+
910

1011
## docusaurus-theme-redoc@2.4.0
1112

1213
### Minor Changes
1314

14-
- [#416](https://github.com/rohit-gohri/redocusaurus/pull/416) [`f7f5467`](https://github.com/rohit-gohri/redocusaurus/commit/f7f5467a5bf5c42d9d88b716ccc2de56b158b5f0) Thanks [@svenkonings](https://github.com/svenkonings)! - Add ApiOperation component to import and display the definitions of API operations within your Docusaurus docs
15+
- [#416](https://github.com/rohit-gohri/redocusaurus/pull/416) [`f7f5467`](https://github.com/rohit-gohri/redocusaurus/commit/f7f5467a5bf5c42d9d88b716ccc2de56b158b5f0) Thanks [@svenkonings](https://github.com/svenkonings)! - Add ApiOperation component to import and display the definitions of API operations within your Docusaurus docs
1516

1617
## redocusaurus@2.3.0
1718

19+
### Patch Changes
20+
21+
- Updated dependencies [[`fe84a58`](https://github.com/rohit-gohri/redocusaurus/commit/fe84a58a82f0e7fd3e704dbe979cf88520e72bc6), [`406fd2e`](https://github.com/rohit-gohri/redocusaurus/commit/406fd2e8664edd8c92bffe5e2dc1c2d759236913)]:
22+
- docusaurus-theme-redoc@2.3.0
1823

1924
## docusaurus-theme-redoc@2.3.0
2025

26+
### Minor Changes
27+
28+
- [#419](https://github.com/rohit-gohri/redocusaurus/pull/419) [`fe84a58`](https://github.com/rohit-gohri/redocusaurus/commit/fe84a58a82f0e7fd3e704dbe979cf88520e72bc6) Thanks [@ctreatma](https://github.com/ctreatma)! - Register Redoc anchors with Docusaurus
29+
30+
### Patch Changes
31+
32+
- [#418](https://github.com/rohit-gohri/redocusaurus/pull/418) [`406fd2e`](https://github.com/rohit-gohri/redocusaurus/commit/406fd2e8664edd8c92bffe5e2dc1c2d759236913) Thanks [@adityawkhare](https://github.com/adityawkhare)! - fix authorization dropdown contrast issue in dark mode
2133

2234
## redocusaurus@2.2.3
2335

36+
### Patch Changes
37+
38+
- Updated dependencies [[`011048f`](https://github.com/rohit-gohri/redocusaurus/commit/011048fd7c54788f3790ac1c3ccb0fbad7bf9f2e)]:
39+
- docusaurus-plugin-redoc@2.2.3
40+
- docusaurus-theme-redoc@2.2.3
2441

2542
## docusaurus-plugin-redoc@2.2.3
2643

44+
### Patch Changes
45+
46+
- [#410](https://github.com/rohit-gohri/redocusaurus/pull/410) [`011048f`](https://github.com/rohit-gohri/redocusaurus/commit/011048fd7c54788f3790ac1c3ccb0fbad7bf9f2e) Thanks [@dependabot](https://github.com/apps/dependabot)! - Bump redoc from 2.1.5 to 2.4.0
2747

2848
## docusaurus-theme-redoc@2.2.3
2949

50+
### Patch Changes
51+
52+
- [#410](https://github.com/rohit-gohri/redocusaurus/pull/410) [`011048f`](https://github.com/rohit-gohri/redocusaurus/commit/011048fd7c54788f3790ac1c3ccb0fbad7bf9f2e) Thanks [@dependabot](https://github.com/apps/dependabot)! - Bump redoc from 2.1.5 to 2.4.0
3053

3154
## redocusaurus@2.2.2
3255

56+
### Patch Changes
57+
58+
- Updated dependencies [[`ba2bd9c`](https://github.com/rohit-gohri/redocusaurus/commit/ba2bd9c5964df7f88ce1b5e7c08d2fcf5cd889f3)]:
59+
- docusaurus-plugin-redoc@2.2.2
60+
- docusaurus-theme-redoc@2.2.2
3361

3462
## docusaurus-plugin-redoc@2.2.2
3563

64+
### Patch Changes
65+
66+
- [#402](https://github.com/rohit-gohri/redocusaurus/pull/402) [`ba2bd9c`](https://github.com/rohit-gohri/redocusaurus/commit/ba2bd9c5964df7f88ce1b5e7c08d2fcf5cd889f3) Thanks [@ctreatma](https://github.com/ctreatma)! - Add support for relative spec download URLs
3667

3768
## docusaurus-theme-redoc@2.2.2
3869

70+
### Patch Changes
71+
72+
- [#402](https://github.com/rohit-gohri/redocusaurus/pull/402) [`ba2bd9c`](https://github.com/rohit-gohri/redocusaurus/commit/ba2bd9c5964df7f88ce1b5e7c08d2fcf5cd889f3) Thanks [@ctreatma](https://github.com/ctreatma)! - Add support for relative spec download URLs
3973

4074
## redocusaurus@2.2.1
4175

76+
### Patch Changes
77+
78+
- [#394](https://github.com/rohit-gohri/redocusaurus/pull/394) [`d6fec91`](https://github.com/rohit-gohri/redocusaurus/commit/d6fec91af502b3c61d2e038aa24f3d63a101a493) Thanks [@rohit-gohri](https://github.com/rohit-gohri)! - Update peer deps
79+
80+
- Updated dependencies [[`d6fec91`](https://github.com/rohit-gohri/redocusaurus/commit/d6fec91af502b3c61d2e038aa24f3d63a101a493)]:
81+
- docusaurus-plugin-redoc@2.2.1
82+
- docusaurus-theme-redoc@2.2.1
4283

4384
## docusaurus-plugin-redoc@2.2.1
4485

86+
### Patch Changes
87+
88+
- [#394](https://github.com/rohit-gohri/redocusaurus/pull/394) [`d6fec91`](https://github.com/rohit-gohri/redocusaurus/commit/d6fec91af502b3c61d2e038aa24f3d63a101a493) Thanks [@rohit-gohri](https://github.com/rohit-gohri)! - Update peer deps
4589

4690
## docusaurus-theme-redoc@2.2.1
4791

92+
### Patch Changes
93+
94+
- [#394](https://github.com/rohit-gohri/redocusaurus/pull/394) [`d6fec91`](https://github.com/rohit-gohri/redocusaurus/commit/d6fec91af502b3c61d2e038aa24f3d63a101a493) Thanks [@rohit-gohri](https://github.com/rohit-gohri)! - Update peer deps
4895

4996
## redocusaurus@2.2.0
5097

98+
### Patch Changes
99+
100+
- [#385](https://github.com/rohit-gohri/redocusaurus/pull/385) [`a986be6`](https://github.com/rohit-gohri/redocusaurus/commit/a986be6ee8f9b342efb783e620bec394f193f150) Thanks [@slorber](https://github.com/slorber)! - Upgrade Docusaurus - add support for Docusaurus Faster (RsPack)
101+
102+
- Updated dependencies [[`a986be6`](https://github.com/rohit-gohri/redocusaurus/commit/a986be6ee8f9b342efb783e620bec394f193f150)]:
103+
- docusaurus-theme-redoc@2.2.0
51104

52105
## docusaurus-theme-redoc@2.2.0
53106

107+
### Minor Changes
108+
109+
- [#385](https://github.com/rohit-gohri/redocusaurus/pull/385) [`a986be6`](https://github.com/rohit-gohri/redocusaurus/commit/a986be6ee8f9b342efb783e620bec394f193f150) Thanks [@slorber](https://github.com/slorber)! - Upgrade Docusaurus - add support for Docusaurus Faster (RsPack)
54110

55111
## redocusaurus@2.1.2
56112

113+
### Patch Changes
114+
115+
- Updated dependencies [[`0415860`](https://github.com/rohit-gohri/redocusaurus/commit/04158605637dbdb6f0a7bf69a842fe1076cd3c99)]:
116+
- docusaurus-theme-redoc@2.1.2
57117

58118
## docusaurus-theme-redoc@2.1.2
59119

120+
### Patch Changes
121+
122+
- [#378](https://github.com/rohit-gohri/redocusaurus/pull/378) [`0415860`](https://github.com/rohit-gohri/redocusaurus/commit/04158605637dbdb6f0a7bf69a842fe1076cd3c99) Thanks [@a-ignatov-parc](https://github.com/a-ignatov-parc)! - Fixes incorrect CSS prefixing that breaks layout on mobile devices and resolves reintroduced issues with incorrect background color for code samples
60123

61124
## redocusaurus@2.1.1
62125

126+
### Patch Changes
127+
128+
- [#369](https://github.com/rohit-gohri/redocusaurus/pull/369) [`45483d8`](https://github.com/rohit-gohri/redocusaurus/commit/45483d8a7f5338297f38bdf88c5c49bdfab4ce3a) Thanks [@rohit-gohri](https://github.com/rohit-gohri)! - update dependencies
129+
130+
- Updated dependencies [[`45483d8`](https://github.com/rohit-gohri/redocusaurus/commit/45483d8a7f5338297f38bdf88c5c49bdfab4ce3a), [`45483d8`](https://github.com/rohit-gohri/redocusaurus/commit/45483d8a7f5338297f38bdf88c5c49bdfab4ce3a)]:
131+
- docusaurus-plugin-redoc@2.1.1
132+
- docusaurus-theme-redoc@2.1.1
63133

64134
## docusaurus-plugin-redoc@2.1.1
65135

136+
### Patch Changes
137+
138+
- [#369](https://github.com/rohit-gohri/redocusaurus/pull/369) [`45483d8`](https://github.com/rohit-gohri/redocusaurus/commit/45483d8a7f5338297f38bdf88c5c49bdfab4ce3a) Thanks [@rohit-gohri](https://github.com/rohit-gohri)! - update dependencies
66139

67140
## docusaurus-theme-redoc@2.1.1
68141

142+
### Patch Changes
143+
144+
- [#369](https://github.com/rohit-gohri/redocusaurus/pull/369) [`45483d8`](https://github.com/rohit-gohri/redocusaurus/commit/45483d8a7f5338297f38bdf88c5c49bdfab4ce3a) Thanks [@rohit-gohri](https://github.com/rohit-gohri)! - update dependencies
145+
146+
- [#369](https://github.com/rohit-gohri/redocusaurus/pull/369) [`45483d8`](https://github.com/rohit-gohri/redocusaurus/commit/45483d8a7f5338297f38bdf88c5c49bdfab4ce3a) Thanks [@rohit-gohri](https://github.com/rohit-gohri)! - Add webpack define for DEBUG env var
69147

70148
## redocusaurus@2.1.0
71149

150+
### Minor Changes
151+
152+
- [#342](https://github.com/rohit-gohri/redocusaurus/pull/342) [`646c5e1`](https://github.com/rohit-gohri/redocusaurus/commit/646c5e1eb7b5541513186ee507642a105140efdf) Thanks [@rohit-gohri](https://github.com/rohit-gohri)! - Add support for auto-loading folder
153+
154+
### Patch Changes
155+
156+
- Updated dependencies [[`646c5e1`](https://github.com/rohit-gohri/redocusaurus/commit/646c5e1eb7b5541513186ee507642a105140efdf)]:
157+
- docusaurus-plugin-redoc@2.1.0
72158

73159
## docusaurus-plugin-redoc@2.1.0
74160

161+
### Minor Changes
162+
163+
- [#342](https://github.com/rohit-gohri/redocusaurus/pull/342) [`646c5e1`](https://github.com/rohit-gohri/redocusaurus/commit/646c5e1eb7b5541513186ee507642a105140efdf) Thanks [@rohit-gohri](https://github.com/rohit-gohri)! - Add support for auto-loading folder
75164

76165
## redocusaurus@2.0.2
77166

scripts/latest-changelog.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
set -e -x
44

5-
cat $INIT_CWD/CHANGELOG.md | grep -Pzo "## $npm_package_version\s+((.|\n)+?)(?=\n##\s)" | head -n -1 | tail -n +3 > $INIT_CWD/latest_CHANGELOG.md
5+
cat $PWD/CHANGELOG.md | grep -Pzo "## $npm_package_version\s+((.|\n)+?)(?=\n##\s)" | head -n -1 | tail -n +3 > $PWD/latest_CHANGELOG.md
66

77
# Add project changelogs
88
if cat $PROJECT_CWD/CHANGELOG.md | grep -Eq "$npm_package_name@$npm_package_version"; then
@@ -11,7 +11,7 @@ else
1111
echo '' >> $PROJECT_CWD/combined-CHANGELOG.md
1212
echo "## $npm_package_name@$npm_package_version" >> $PROJECT_CWD/combined-CHANGELOG.md
1313
echo '' >> $PROJECT_CWD/combined-CHANGELOG.md
14-
cat $INIT_CWD/latest_CHANGELOG.md >> $PROJECT_CWD/combined-CHANGELOG.md
14+
cat $PWD/latest_CHANGELOG.md >> $PROJECT_CWD/combined-CHANGELOG.md
1515
fi
1616

17-
rm $INIT_CWD/latest_CHANGELOG.md
17+
rm $PWD/latest_CHANGELOG.md

0 commit comments

Comments
 (0)