Skip to content

Commit a058af4

Browse files
chore(release): 1.2.12 [skip ci]
## [1.2.12](v1.2.11...v1.2.12) (2025-06-11) ### Bug Fixes * use pnpm ([03cf31c](03cf31c)) ### Features * enhance token expiration calculation ([2c335f5](2c335f5)) * enhance token refresh logic with issued time ([5792501](5792501)) * use server provided expiration time for tokens ([a705973](a705973))
1 parent 5792501 commit a058af4

File tree

2 files changed

+47
-35
lines changed

2 files changed

+47
-35
lines changed

CHANGELOG.md

Lines changed: 46 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,146 +1,158 @@
1+
## [1.2.12](https://github.com/lemoncloud-io/lemon-web-core/compare/v1.2.11...v1.2.12) (2025-06-11)
2+
3+
### Bug Fixes
4+
5+
- use pnpm ([03cf31c](https://github.com/lemoncloud-io/lemon-web-core/commit/03cf31c285d8f8395c20779c1a058fccb4f6298c))
6+
7+
### Features
8+
9+
- enhance token expiration calculation ([2c335f5](https://github.com/lemoncloud-io/lemon-web-core/commit/2c335f5e166788cf005e924e73412fbd07a8910e))
10+
- enhance token refresh logic with issued time ([5792501](https://github.com/lemoncloud-io/lemon-web-core/commit/5792501bf459ea2fdc5a9049a60546fde37a844f))
11+
- use server provided expiration time for tokens ([a705973](https://github.com/lemoncloud-io/lemon-web-core/commit/a705973ef66a55021828c197523b085ae81e3bac))
12+
113
## [1.2.11](https://github.com/lemoncloud-io/lemon-web-core/compare/v1.2.10...v1.2.11) (2025-05-08)
214

315
### Features
416

5-
- check for identity token existence ([8a0dcb0](https://github.com/lemoncloud-io/lemon-web-core/commit/8a0dcb093adec1bda8caddcfe5333aa48c1fe611))
17+
- check for identity token existence ([8a0dcb0](https://github.com/lemoncloud-io/lemon-web-core/commit/8a0dcb093adec1bda8caddcfe5333aa48c1fe611))
618

719
## [1.2.10](https://github.com/lemoncloud-io/lemon-web-core/compare/v1.2.9...v1.2.10) (2025-02-28)
820

921
### Features
1022

11-
- validate authId before token refresh ([90fdd07](https://github.com/lemoncloud-io/lemon-web-core/commit/90fdd073137f1f052ddd67d5dc3e6a5495b5a2ec))
23+
- validate authId before token refresh ([90fdd07](https://github.com/lemoncloud-io/lemon-web-core/commit/90fdd073137f1f052ddd67d5dc3e6a5495b5a2ec))
1224

1325
## [1.2.9](https://github.com/lemoncloud-io/lemon-web-core/compare/v1.2.8...v1.2.9) (2025-02-22)
1426

1527
### Features
1628

17-
- add shared axios instance to WebCore ([3a43bf5](https://github.com/lemoncloud-io/lemon-web-core/commit/3a43bf5d20be425a83d2ce1c852ce32d8bd93631))
29+
- add shared axios instance to WebCore ([3a43bf5](https://github.com/lemoncloud-io/lemon-web-core/commit/3a43bf5d20be425a83d2ce1c852ce32d8bd93631))
1830

1931
## [1.2.8](https://github.com/lemoncloud-io/lemon-web-core/compare/v1.2.7...v1.2.8) (2025-02-18)
2032

2133
### Bug Fixes
2234

23-
- clear language key when use is false ([b20d69a](https://github.com/lemoncloud-io/lemon-web-core/commit/b20d69afc375d74b342b14d9dd6a1c1db6a891c7))
35+
- clear language key when use is false ([b20d69a](https://github.com/lemoncloud-io/lemon-web-core/commit/b20d69afc375d74b342b14d9dd6a1c1db6a891c7))
2436

2537
## [1.2.7](https://github.com/lemoncloud-io/lemon-web-core/compare/v1.2.6...v1.2.7) (2025-02-17)
2638

2739
### Bug Fixes
2840

29-
- correct description for language header ([78f7762](https://github.com/lemoncloud-io/lemon-web-core/commit/78f776241990ba9e6d4a8644ceffda4d352af0b7))
41+
- correct description for language header ([78f7762](https://github.com/lemoncloud-io/lemon-web-core/commit/78f776241990ba9e6d4a8644ceffda4d352af0b7))
3042

3143
### Features
3244

33-
- add support for x-lemon-language header ([c907435](https://github.com/lemoncloud-io/lemon-web-core/commit/c90743598e8ce9408bcecb7324cfa8b54bb14626))
45+
- add support for x-lemon-language header ([c907435](https://github.com/lemoncloud-io/lemon-web-core/commit/c90743598e8ce9408bcecb7324cfa8b54bb14626))
3446

3547
## [1.2.6](https://github.com/lemoncloud-io/lemon-web-core/compare/v1.2.5...v1.2.6) (2024-10-18)
3648

3749
### Bug Fixes
3850

39-
- handle legacy token format ([4eed50c](https://github.com/lemoncloud-io/lemon-web-core/commit/4eed50c554a67eaa545ca6db37a95943b7ae265a))
51+
- handle legacy token format ([4eed50c](https://github.com/lemoncloud-io/lemon-web-core/commit/4eed50c554a67eaa545ca6db37a95943b7ae265a))
4052

4153
## [1.2.5](https://github.com/lemoncloud-io/lemon-web-core/compare/v1.2.4...v1.2.5) (2024-09-30)
4254

4355
### Features
4456

45-
- refresh token logic improvement ([60bc4de](https://github.com/lemoncloud-io/lemon-web-core/commit/60bc4de5d1fc8f150447fb99b342b81eff0ebcc2))
57+
- refresh token logic improvement ([60bc4de](https://github.com/lemoncloud-io/lemon-web-core/commit/60bc4de5d1fc8f150447fb99b342b81eff0ebcc2))
4658

4759
## [1.2.4](https://github.com/lemoncloud-io/lemon-web-core/compare/v1.2.3...v1.2.4) (2024-09-26)
4860

4961
### Features
5062

51-
- add refreshCachedTokenV2 method ([f0ffb7e](https://github.com/lemoncloud-io/lemon-web-core/commit/f0ffb7ee6a4348a83afde491abe3fffb8e2b76d6))
63+
- add refreshCachedTokenV2 method ([f0ffb7e](https://github.com/lemoncloud-io/lemon-web-core/commit/f0ffb7ee6a4348a83afde491abe3fffb8e2b76d6))
5264

5365
## [1.2.3](https://github.com/lemoncloud-io/lemon-web-core/compare/v1.2.2...v1.2.3) (2024-08-29)
5466

5567
### Features
5668

57-
- add calcTestSignature function for native login tests ([cefd969](https://github.com/lemoncloud-io/lemon-web-core/commit/cefd9695b0db93288112ddd527a87fcc398e4a1e))
69+
- add calcTestSignature function for native login tests ([cefd969](https://github.com/lemoncloud-io/lemon-web-core/commit/cefd9695b0db93288112ddd527a87fcc398e4a1e))
5870

5971
## [1.2.2](https://github.com/lemoncloud-io/lemon-web-core/compare/v1.2.1...v1.2.2) (2024-08-29)
6072

6173
### Bug Fixes
6274

63-
- fix missing identityToken in signature calculation ([f1cc9a4](https://github.com/lemoncloud-io/lemon-web-core/commit/f1cc9a408a9eadce9346158effe549cca41dcca8))
75+
- fix missing identityToken in signature calculation ([f1cc9a4](https://github.com/lemoncloud-io/lemon-web-core/commit/f1cc9a408a9eadce9346158effe549cca41dcca8))
6476

6577
## [1.2.1](https://github.com/lemoncloud-io/lemon-web-core/compare/v1.2.0...v1.2.1) (2024-06-24)
6678

6779
### Features
6880

69-
- add convertCamelCaseFromSnake util ([bc4ec51](https://github.com/lemoncloud-io/lemon-web-core/commit/bc4ec5124ed114174b4754cde1ba9fb30f79b686))
81+
- add convertCamelCaseFromSnake util ([bc4ec51](https://github.com/lemoncloud-io/lemon-web-core/commit/bc4ec5124ed114174b4754cde1ba9fb30f79b686))
7082

7183
# [1.2.0](https://github.com/lemoncloud-io/lemon-web-core/compare/v1.1.3...v1.2.0) (2024-06-24)
7284

7385
### Features
7486

75-
- **minor:** rollback code and use snakecase ([ef3ee33](https://github.com/lemoncloud-io/lemon-web-core/commit/ef3ee332bbbebf7605fd2c519a3eeea30ac72608))
87+
- **minor:** rollback code and use snakecase ([ef3ee33](https://github.com/lemoncloud-io/lemon-web-core/commit/ef3ee332bbbebf7605fd2c519a3eeea30ac72608))
7688

7789
## [1.1.3](https://github.com/lemoncloud-io/lemon-web-core/compare/v1.1.2...v1.1.3) (2024-06-24)
7890

7991
### Features
8092

81-
- add useLowerCaseKey option to set key names to lowercase ([d857afa](https://github.com/lemoncloud-io/lemon-web-core/commit/d857afa86a0d5082148f5d2685204e89c7ad5379))
93+
- add useLowerCaseKey option to set key names to lowercase ([d857afa](https://github.com/lemoncloud-io/lemon-web-core/commit/d857afa86a0d5082148f5d2685204e89c7ad5379))
8294

8395
## [1.1.2](https://github.com/lemoncloud-io/lemon-web-core/compare/v1.1.1...v1.1.2) (2024-06-11)
8496

8597
## [1.1.1](https://github.com/lemoncloud-io/lemon-web-core/compare/v1.1.0...v1.1.1) (2024-06-11)
8698

8799
### Bug Fixes
88100

89-
- update tokenSignature to include authId ([3bf2331](https://github.com/lemoncloud-io/lemon-web-core/commit/3bf23310a31974fdbd01649977326449663d0129))
101+
- update tokenSignature to include authId ([3bf2331](https://github.com/lemoncloud-io/lemon-web-core/commit/3bf23310a31974fdbd01649977326449663d0129))
90102

91103
# [1.1.0](https://github.com/lemoncloud-io/lemon-web-core/compare/v1.0.17...v1.1.0) (2024-06-11)
92104

93105
### Bug Fixes
94106

95-
- **minor:** fix custom headers in AWS http request ([2190412](https://github.com/lemoncloud-io/lemon-web-core/commit/2190412c9d81208fc1da8abff6e887d44a31abad))
107+
- **minor:** fix custom headers in AWS http request ([2190412](https://github.com/lemoncloud-io/lemon-web-core/commit/2190412c9d81208fc1da8abff6e887d44a31abad))
96108

97109
## [1.0.17](https://github.com/lemoncloud-io/lemon-web-core/compare/v1.0.16...v1.0.17) (2024-06-11)
98110

99111
### Bug Fixes
100112

101-
- correct the constructor of AWSStorageService ([069b4b2](https://github.com/lemoncloud-io/lemon-web-core/commit/069b4b28f14d70f9ab0b92222978fc23b0f478cf))
113+
- correct the constructor of AWSStorageService ([069b4b2](https://github.com/lemoncloud-io/lemon-web-core/commit/069b4b28f14d70f9ab0b92222978fc23b0f478cf))
102114

103115
### Features
104116

105-
- add getTokenStorage method to AWSWebCore and AzureWebCore ([5653596](https://github.com/lemoncloud-io/lemon-web-core/commit/5653596bfd11eed96b62bd87d80e4018fc270243))
117+
- add getTokenStorage method to AWSWebCore and AzureWebCore ([5653596](https://github.com/lemoncloud-io/lemon-web-core/commit/5653596bfd11eed96b62bd87d80e4018fc270243))
106118

107119
## [1.0.16](https://github.com/lemoncloud-io/lemon-web-core/compare/v1.0.15...v1.0.16) (2024-06-11)
108120

109121
### Features
110122

111-
- add changeUserSite method to change user site ([236bcbe](https://github.com/lemoncloud-io/lemon-web-core/commit/236bcbe443b6f4dc77d9aa1d121aa480c22abc11))
123+
- add changeUserSite method to change user site ([236bcbe](https://github.com/lemoncloud-io/lemon-web-core/commit/236bcbe443b6f4dc77d9aa1d121aa480c22abc11))
112124

113125
## [1.0.15](https://github.com/lemoncloud-io/lemon-web-core/compare/v1.0.14...v1.0.15) (2024-06-10)
114126

115127
### Features
116128

117-
- add HttpResponse type ([4829273](https://github.com/lemoncloud-io/lemon-web-core/commit/4829273f793d0f349b9346f7aee26f4a1143bef2))
129+
- add HttpResponse type ([4829273](https://github.com/lemoncloud-io/lemon-web-core/commit/4829273f793d0f349b9346f7aee26f4a1143bef2))
118130

119131
## [1.0.14](https://github.com/lemoncloud-io/lemon-web-core/compare/v1.0.13...v1.0.14) (2024-06-08)
120132

121133
### Features
122134

123-
- add getTokenSignature method and TokenSignature interface ([45b947a](https://github.com/lemoncloud-io/lemon-web-core/commit/45b947a2c40872c239e4268ecb1b87e178c8d3dc))
135+
- add getTokenSignature method and TokenSignature interface ([45b947a](https://github.com/lemoncloud-io/lemon-web-core/commit/45b947a2c40872c239e4268ecb1b87e178c8d3dc))
124136

125137
## [1.0.13](https://github.com/lemoncloud-io/lemon-web-core/compare/v1.0.12...v1.0.13) (2024-06-07)
126138

127139
### Bug Fixes
128140

129-
- refresh token with identity token ([2ae68b2](https://github.com/lemoncloud-io/lemon-web-core/commit/2ae68b26d22c11c5c2cdf6de123aa154ee1835be))
141+
- refresh token with identity token ([2ae68b2](https://github.com/lemoncloud-io/lemon-web-core/commit/2ae68b26d22c11c5c2cdf6de123aa154ee1835be))
130142

131143
## [1.0.12](https://github.com/lemoncloud-io/lemon-web-core/compare/v1.0.11...v1.0.12) (2024-06-06)
132144

133145
### Bug Fixes
134146

135-
- sign request with current, signature, and optional domain ([d913123](https://github.com/lemoncloud-io/lemon-web-core/commit/d913123c2c3bf16faa82138449dfd8a4b4edf4a7))
147+
- sign request with current, signature, and optional domain ([d913123](https://github.com/lemoncloud-io/lemon-web-core/commit/d913123c2c3bf16faa82138449dfd8a4b4edf4a7))
136148

137149
## [1.0.11](https://github.com/lemoncloud-io/lemon-web-core/compare/v1.0.10...v1.0.11) (2024-06-06)
138150

139151
## [1.0.10](https://github.com/lemoncloud-io/lemon-web-core/compare/v1.0.9...v1.0.10) (2024-06-06)
140152

141153
### Features
142154

143-
- add HttpRequestBuilder without credentials ([295861d](https://github.com/lemoncloud-io/lemon-web-core/commit/295861dbc856dec05c7bd1bc203db62059efa029))
155+
- add HttpRequestBuilder without credentials ([295861d](https://github.com/lemoncloud-io/lemon-web-core/commit/295861dbc856dec05c7bd1bc203db62059efa029))
144156

145157
## [1.0.9](https://github.com/lemoncloud-io/lemon-web-core/compare/v1.0.8...v1.0.9) (2024-06-05)
146158

@@ -152,33 +164,33 @@
152164

153165
### Features
154166

155-
- add AzureHttpRequestBuilder class ([80e3164](https://github.com/lemoncloud-io/lemon-web-core/commit/80e3164894dff6faa5cd8931265e6bc77bf2da62))
167+
- add AzureHttpRequestBuilder class ([80e3164](https://github.com/lemoncloud-io/lemon-web-core/commit/80e3164894dff6faa5cd8931265e6bc77bf2da62))
156168

157169
## [1.0.5](https://github.com/lemoncloud-io/lemon-web-core/compare/v1.0.4...v1.0.5) (2024-05-30)
158170

159171
### Features
160172

161-
- add init func to aws web core ([7a45774](https://github.com/lemoncloud-io/lemon-web-core/commit/7a45774bda76f690c01e665450341513b3212f3b))
173+
- add init func to aws web core ([7a45774](https://github.com/lemoncloud-io/lemon-web-core/commit/7a45774bda76f690c01e665450341513b3212f3b))
162174

163175
## [1.0.4](https://github.com/lemoncloud-io/lemon-web-core/compare/v1.0.3...v1.0.4) (2024-05-30)
164176

165177
### Bug Fixes
166178

167-
- remove unnecessary request method from WebCoreService interface ([4b2c38c](https://github.com/lemoncloud-io/lemon-web-core/commit/4b2c38cdb5af8f51c7765c042113b1e638b17f7e))
179+
- remove unnecessary request method from WebCoreService interface ([4b2c38c](https://github.com/lemoncloud-io/lemon-web-core/commit/4b2c38cdb5af8f51c7765c042113b1e638b17f7e))
168180

169181
### Features
170182

171-
- setup core, token-storage ([d7b010d](https://github.com/lemoncloud-io/lemon-web-core/commit/d7b010deea3474405d179525c37d965a6f666d81))
172-
- update aws web core ([f1e7a89](https://github.com/lemoncloud-io/lemon-web-core/commit/f1e7a899d8d184b251bbc641241beb93d40e63ca))
173-
- update setUseXLemonIdentity to be async ([a131a34](https://github.com/lemoncloud-io/lemon-web-core/commit/a131a34dd29cfd72de72a1fc14e77944963ab816))
183+
- setup core, token-storage ([d7b010d](https://github.com/lemoncloud-io/lemon-web-core/commit/d7b010deea3474405d179525c37d965a6f666d81))
184+
- update aws web core ([f1e7a89](https://github.com/lemoncloud-io/lemon-web-core/commit/f1e7a899d8d184b251bbc641241beb93d40e63ca))
185+
- update setUseXLemonIdentity to be async ([a131a34](https://github.com/lemoncloud-io/lemon-web-core/commit/a131a34dd29cfd72de72a1fc14e77944963ab816))
174186

175187
## [1.0.3](https://github.com/lemoncloud-io/lemon-web-core/compare/v1.0.2...v1.0.3) (2024-05-28)
176188

177189
### Features
178190

179-
- add factory class for creating instances of CloudService ([3147ec1](https://github.com/lemoncloud-io/lemon-web-core/commit/3147ec12c29edc6024ba378d9802c0c84c538bdf))
180-
- add http-request builder ([e2aa4dd](https://github.com/lemoncloud-io/lemon-web-core/commit/e2aa4ddfab3bf2abb0ab93981fa8a883daa718b7))
181-
- add typedoc configuration for generating documentation ([ef7e949](https://github.com/lemoncloud-io/lemon-web-core/commit/ef7e9496e19b66192ae3f4b871c61987910e69b1))
191+
- add factory class for creating instances of CloudService ([3147ec1](https://github.com/lemoncloud-io/lemon-web-core/commit/3147ec12c29edc6024ba378d9802c0c84c538bdf))
192+
- add http-request builder ([e2aa4dd](https://github.com/lemoncloud-io/lemon-web-core/commit/e2aa4ddfab3bf2abb0ab93981fa8a883daa718b7))
193+
- add typedoc configuration for generating documentation ([ef7e949](https://github.com/lemoncloud-io/lemon-web-core/commit/ef7e9496e19b66192ae3f4b871c61987910e69b1))
182194

183195
## [1.0.2](https://github.com/lemoncloud-io/lemon-web-core/compare/v1.0.1...v1.0.2) (2024-05-28)
184196

@@ -188,4 +200,4 @@
188200

189201
### Features
190202

191-
- setup project ([90269f7](https://github.com/lemoncloud-io/lemon-web-core/commit/90269f7ef21c4948ac0616c5650fe7940a2b6f90))
203+
- setup project ([90269f7](https://github.com/lemoncloud-io/lemon-web-core/commit/90269f7ef21c4948ac0616c5650fe7940a2b6f90))

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@lemoncloud/lemon-web-core",
3-
"version": "1.2.11",
3+
"version": "1.2.12",
44
"description": "Core Web-based Library for signing request at LEMONCLOUD",
55
"repository": "lemoncloud-io/lemon-web-core",
66
"exports": "./dist/index.js",

0 commit comments

Comments
 (0)