go.mercari.io/datastore@v1.8.2/CHANGELOG.md (about) 1 ## [1.8.2](https://github.com/mercari/datastore/compare/v1.8.1...v1.8.2) (2022-07-12) 2 3 4 ### Features 5 6 * **ci:** add .github/workflows/cicd.yml ([737dc56](https://github.com/mercari/datastore/commit/737dc5633283df543227de45288323d733ee1485)) 7 * **ci:** stop using Circle CI ([17d343d](https://github.com/mercari/datastore/commit/17d343dbd0eee4af3be406d4f61797181ff93c81)) 8 * **core:** update testerator to v2 ([a431428](https://github.com/mercari/datastore/commit/a431428355af7bd8fb3228021cb0953047aed25b)) 9 10 11 12 ## [1.8.1](https://github.com/mercari/datastore/compare/v1.8.0...v1.8.1) (2022-03-30) 13 14 15 ### Bug Fixes 16 17 * **dsmiddleware/rpcretry:** don't retry when receive definitive error ([99472f4](https://github.com/mercari/datastore/commit/99472f4f6e99a4d0d826d1bc500a44a23c49fb9a)) 18 19 20 21 # [1.8.0](https://github.com/mercari/datastore/compare/v1.7.1...v1.8.0) (2021-09-06) 22 23 24 ### Features 25 26 * **aedatastore:** don't specify time.Local on property value ([192d92b](https://github.com/mercari/datastore/commit/192d92bdc5f3c9b99321046d5a5cb558e6a461c5)) 27 * **ci:** update Circle CI settings ([7a7b110](https://github.com/mercari/datastore/commit/7a7b110373336088a18a6abb6f08b35f65d186fa)) 28 * **core:** update dependencies ([bcf71f5](https://github.com/mercari/datastore/commit/bcf71f5b3d15b105975d8034d01e52ede7879d20)) 29 30 31 32 ## [1.7.1](https://github.com/mercari/datastore/compare/v1.7.0...v1.7.1) (2020-12-02) 33 34 35 ### Bug Fixes 36 37 * **core:** downgrade unsupported go version dependents ([e3afd4c](https://github.com/mercari/datastore/commit/e3afd4ce752aa072a5fab89e8025c63c0913ca8c)) 38 39 40 41 # [1.7.0](https://github.com/mercari/datastore/compare/v1.6.3...v1.7.0) (2020-12-02) 42 43 44 ### Features 45 46 * **core:** added DistinctOn to Query interface. thanks @IzumiSy ! ([4cfa5e](https://github.com/mercari/datastore/commit/4cfa5e1a1d38db4c067b95ac7bc1ab42f8d2e9d9)) 47 * **all:** update dependencies ([b311cfc](https://github.com/mercari/datastore/commit/b311cfc8a9f7cec47dc7fd93ae97d00aa3379e94)) 48 49 50 51 ## [1.6.3](https://github.com/mercari/datastore/compare/v1.6.2...v1.6.3) (2020-08-30) 52 53 54 ### Features 55 56 * **boom:** support PropertyTranslator return Key with ParentKey ([c8a9cc](https://github.com/mercari/datastore/commit/c8a9cc)) 57 58 59 ## [1.6.2](https://github.com/mercari/datastore/compare/v1.6.1...v1.6.2) (2020-08-30) 60 61 62 ### Bug Fixes 63 64 * **core:** allow nil when PropertyTranslator returns nil value ([3a7754](https://github.com/mercari/datastore/commit/3a7754)) 65 66 67 ## [1.6.1](https://github.com/mercari/datastore/compare/v1.6.0...v1.6.1) (2019-09-02) 68 69 70 ### Features 71 72 * **dsmiddleware/splitop:** implement Put timing operation ([ab4b794](https://github.com/mercari/datastore/commit/ab4b794)) 73 74 75 76 # [1.6.0](https://github.com/mercari/datastore/compare/v1.5.3...v1.6.0) (2019-09-02) 77 78 79 ### Features 80 81 * **dsmiddleware/dsmemcache:** add dsmemcache middleware ([536df16](https://github.com/mercari/datastore/commit/536df16)) thanks @kailuo-qb ! 82 * **dsmiddleware/splitop:** add splitop middleware ([b016cb0](https://github.com/mercari/datastore/commit/b016cb0)) 83 84 85 86 ## [1.5.3](https://github.com/mercari/datastore/compare/v1.5.2...v1.5.3) (2019-09-02) 87 88 89 ### Features 90 91 * **all:** update dependencies ([600488a](https://github.com/mercari/datastore/commit/600488a)) 92 93 94 95 ## [1.5.2](https://github.com/mercari/datastore/compare/v1.5.1...v1.5.2) (2019-08-15) 96 97 98 ### Bug Fixes 99 100 * **cloud:** fix encoding issue on embedded entity. thx @kailuo-qb ! ([d94e3f5](https://github.com/mercari/datastore/commit/d94e3f5)) 101 102 103 104 ## [1.5.1](https://github.com/mercari/datastore/compare/v1.5.0...v1.5.1) (2019-07-31) 105 106 107 ### Bug Fixes 108 109 * **dsmiddleware/rpcretry:** do not retry when context is already done ([d193c83](https://github.com/mercari/datastore/commit/d193c83)) 110 111 112 113 # [1.5.0](https://github.com/mercari/datastore/compare/v1.4.2...v1.5.0) (2019-07-16) 114 115 116 ### Features 117 118 * **cloud:** add WithGRPCDialOption option ([834e0eb](https://github.com/mercari/datastore/commit/834e0eb)) 119 120 121 122 ## [1.4.2](https://github.com/mercari/datastore/compare/v1.4.1...v1.4.2) (2019-05-11) 123 124 125 ### Bug Fixes 126 127 * **clouddatastore:** execute PostCommit hook after RunInTransaction succeed ([7fa9a91](https://github.com/mercari/datastore/commit/7fa9a91)) 128 129 130 131 ## [1.4.1](https://github.com/mercari/datastore/compare/v1.4.0...v1.4.1) (2019-05-07) 132 133 134 ### Bug Fixes 135 136 * **aedatastore:** fix dead lock in multiple tx method call ([740be27](https://github.com/mercari/datastore/commit/740be27)) 137 138 139 ### Features 140 141 * **core:** pull current Cloud Datastore implementations ([2c50ac8](https://github.com/mercari/datastore/commit/2c50ac8)) 142 * **core:** use go.mod instead of dep ([7759ca6](https://github.com/mercari/datastore/commit/7759ca6)) 143 144 145 146 <a name="1.4.0"></a> 147 # [1.4.0](https://github.com/mercari/datastore/compare/v1.3.0...v1.4.0) (2019-02-19) 148 149 150 ### Bug Fixes 151 152 * **boom:** Fix to prevent an error when a field implementing PropertyTranslator returns incomplete Key on KeyError ([80193be](https://github.com/mercari/datastore/commit/80193be)) 153 154 155 ### Features 156 157 * **boom:** Make Kind method doesn't depend to KeyError method ([a1db603](https://github.com/mercari/datastore/commit/a1db603)) 158 * **core:** pull current Cloud Datastore implementations ([85b9a4d](https://github.com/mercari/datastore/commit/85b9a4d)) 159 * **core:** update dependencies ([75e7af3](https://github.com/mercari/datastore/commit/75e7af3)) 160 161 162 163 <a name="1.3.0"></a> 164 # [1.3.0](https://github.com/mercari/datastore/compare/v1.2.0...v1.3.0) (2018-10-23) 165 166 167 ### Features 168 169 * **cloud:** add FromClient function ([33b8714](https://github.com/mercari/datastore/commit/33b8714)) 170 * **core:** update dependencies ([273cb3c](https://github.com/mercari/datastore/commit/273cb3c)) 171 172 173 174 <a name="1.2.0"></a> 175 # [1.2.0](https://github.com/mercari/datastore/compare/v1.1.0...v1.2.0) (2018-09-13) 176 177 178 ### Features 179 180 * **boom:** add DatastoreTransaction function to boom package ([53c84a3](https://github.com/mercari/datastore/commit/53c84a3)) 181 182 183 184 <a name="1.1.0"></a> 185 # [1.1.0](https://github.com/mercari/datastore/compare/v1.0.1...v1.1.0) (2018-08-12) 186 187 188 ### Features 189 190 * **core:** add lock to *Batch#Exec ([5c6aa54](https://github.com/mercari/datastore/commit/5c6aa54)) 191 192 193 194 <a name="1.0.1"></a> 195 ## [1.0.1](https://github.com/mercari/datastore/compare/v1.0.0...v1.0.1) (2018-08-12) 196 197 198 ### Bug Fixes 199 200 * **ci:** fix broken test ([2fa8d46](https://github.com/mercari/datastore/commit/2fa8d46)) 201 * **dsmiddleware/storagecache:** fix panic occurred when DeleteMulti returns error ([f4e5501](https://github.com/mercari/datastore/commit/f4e5501)) 202 203 204 ### Features 205 206 * **core:** update dependencies ([dffe09e](https://github.com/mercari/datastore/commit/dffe09e)) 207 * **dsmiddleware/rediscache:** move to github.com/gomodule/redigo/redis from github.com/garyburd/redigo/redis ([7be2e88](https://github.com/mercari/datastore/commit/7be2e88)) 208 209 210 211 <a name="1.0.0"></a> 212 # [1.0.0](https://github.com/mercari/datastore/compare/v0.19.0...v1.0.0) (2018-06-06) 213 214 215 ### Features 216 217 * **dsmiddleware/storagecache:** go to private about Tx* type & struct ([b06c9a7](https://github.com/mercari/datastore/commit/b06c9a7)) 218 219 220 ### BREAKING CHANGES 221 222 Go to private about TxOps, TxOpLog in `go.mercari.io/datastore/dsmiddleware/storagecache`. 223 224 225 <a name="0.19.0"></a> 226 # [0.19.0](https://github.com/mercari/datastore/compare/v0.18.0...v0.19.0) (2018-05-30) 227 228 229 ### Bug Fixes 230 231 * **ci:** fix ci failed ([ffeefe6](https://github.com/mercari/datastore/commit/ffeefe6)) 232 233 234 ### Features 235 236 * **core:** deprecate datastore.FromContext and related API ([7e6fd79](https://github.com/mercari/datastore/commit/7e6fd79)) 237 * **dsmiddleware/rpcretry:** rename WithLogf function to WithLogger function ([2453e9b](https://github.com/mercari/datastore/commit/2453e9b)) 238 239 240 241 <a name="0.18.0"></a> 242 # [0.18.0](https://github.com/mercari/datastore/compare/v0.17.0...v0.18.0) (2018-05-30) 243 244 245 ### Bug Fixes 246 247 * **clouddatastore:** set MaxAttempts to 1 by default ([8d3adc1](https://github.com/mercari/datastore/commit/8d3adc1)) 248 249 250 ### Features 251 252 * **ci:** change golint repository ([2ec03e4](https://github.com/mercari/datastore/commit/2ec03e4)) 253 * **core:** update dependencies ([23c9dd3](https://github.com/mercari/datastore/commit/23c9dd3)) 254 * **core:** update dependencies ([751c049](https://github.com/mercari/datastore/commit/751c049)) 255 256 257 258 <a name="0.17.0"></a> 259 # [0.17.0](https://github.com/mercari/datastore/compare/v0.16.0...v0.17.0) (2018-03-27) 260 261 262 ### Bug Fixes 263 264 * **all:** fix method name AllocatedIDs to AllocateID 🙇 ([68408f8](https://github.com/mercari/datastore/commit/68408f8)) 265 266 267 ### Features 268 269 * **ci:** update CI and local testing environment ([35c8f7a](https://github.com/mercari/datastore/commit/35c8f7a)) 270 271 272 ### BREAKING CHANGES 273 274 Replace AllocatedIDs to AllocateID. align to original libraries 🙇 275 276 277 <a name="0.16.0"></a> 278 # [0.16.0](https://github.com/mercari/datastore/compare/v0.15.0...v0.16.0) (2018-01-24) 279 280 281 ### Features 282 283 * **core:** add Key#SetNamespace method ([56f6294](https://github.com/mercari/datastore/commit/56f6294)) 284 * **dsmiddleware/aememcache,dsmiddleware/localcache,dsmiddleware/rediscache,dsmiddleware/storagecache:** add context.Context parameter to Key filter function ([7f8d7f7](https://github.com/mercari/datastore/commit/7f8d7f7)) 285 286 ### BREAKING CHANGES 287 288 Change KeyFilter function signature `func(key datastore.Key) bool` to `func(ctx context.Context, key datastore.Key) bool` . 289 290 291 292 <a name="0.15.0"></a> 293 # [0.15.0](https://github.com/mercari/datastore/compare/v0.14.0...v0.15.0) (2018-01-09) 294 295 296 ### Features 297 298 * **dsmiddleware/aememcache,dsmiddleware/localcache,dsmiddleware/rediscache,dsmiddleware/storagecache:** change options format ([5af7561](https://github.com/mercari/datastore/commit/5af7561)) 299 300 ### BREAKING CHANGES 301 302 Change cache middleware signatures. 303 304 <a name="0.14.0"></a> 305 # [0.14.0](https://github.com/mercari/datastore/compare/v0.13.0...v0.14.0) (2018-01-09) 306 307 308 ### Features 309 310 * **boom:** add Boom() and Transaction() method to each boom objects ([3c680d1](https://github.com/mercari/datastore/commit/3c680d1)) 311 * **core:** add AllocateIDs & Count method to Middleware interface ([f548cca](https://github.com/mercari/datastore/commit/f548cca)) 312 * **core:** replace SwapContext to Context & SetContext ([4b9ccaa](https://github.com/mercari/datastore/commit/4b9ccaa)) 313 314 ### BREAKING CHANGES 315 316 replace datastore.Client#SwapContext to datastore.Client#Context & datastore.Client#SetContext. 317 318 319 <a name="0.13.0"></a> 320 # [0.13.0](https://github.com/mercari/datastore/compare/v0.12.0...v0.13.0) (2017-12-19) 321 322 323 ### Features 324 325 * **ci:** add redis sidecar container ([bc9908a](https://github.com/mercari/datastore/commit/bc9908a)) 326 * **dsmiddleware/aememcache:** change to display both hit and miss to logging ([257064b](https://github.com/mercari/datastore/commit/257064b)) 327 * **dsmiddleware/rediscache:** add dsmiddleware/rediscache package ([04cf0cb](https://github.com/mercari/datastore/commit/04cf0cb)) 328 329 330 331 <a name="0.12.0"></a> 332 # [0.12.0](https://github.com/mercari/datastore/compare/v0.11.0...v0.12.0) (2017-12-13) 333 334 335 ### Features 336 337 * **dsmiddleware/chaosrpc:** add dsmiddleware/chaosrpc middleware for testing ([7da792f](https://github.com/mercari/datastore/commit/7da792f)) 338 * **dsmiddleware/noop:** add dsmiddleware/noop middleware ([5c5af95](https://github.com/mercari/datastore/commit/5c5af95)) 339 * **dsmiddleware/rpcretry:** add dsmiddleware/rpcretry middleware ([17c5b17](https://github.com/mercari/datastore/commit/17c5b17)) 340 341 342 343 <a name="0.11.0"></a> 344 # [0.11.0](https://github.com/mercari/datastore/compare/v0.10.1...v0.11.0) (2017-12-13) 345 346 347 ### Features 348 349 * **middleware:** rename CacheStrategy to Middleware & move cache dir to dsmiddleware dir ([ae339b9](https://github.com/mercari/datastore/commit/ae339b9)) 350 351 ### BREAKING CHANGES 352 353 refactoring cache layer to middleware layer. 354 355 356 <a name="0.10.1"></a> 357 ## [0.10.1](https://github.com/mercari/datastore/compare/v0.10.0...v0.10.1) (2017-12-12) 358 359 360 ### Bug Fixes 361 362 * **core:** fix deadlock when recursive batch calling ([5162647](https://github.com/mercari/datastore/commit/5162647)) 363 364 365 366 <a name="0.10.0"></a> 367 # [0.10.0](https://github.com/mercari/datastore/compare/v0.9.0...v0.10.0) (2017-12-07) 368 369 370 ### Bug Fixes 371 372 * **cache/aememcache:** skip entity when gob encode & decode error occured ([2c3f8da](https://github.com/mercari/datastore/commit/2c3f8da)) 373 * **core:** change order of application about CacheStrategy to first in - first apply ([231f40b](https://github.com/mercari/datastore/commit/231f40b)) 374 375 ### BREAKING CHANGES 376 377 Change the order of application of CacheStrategy first in - last apply to first in - first apply. 378 379 380 <a name="0.9.0"></a> 381 # [0.9.0](https://github.com/mercari/datastore/compare/v0.8.2...v0.9.0) (2017-12-06) 382 383 ### Features 384 385 * **core,boom:** change batch operation signatures ([51da3ba](https://github.com/mercari/datastore/commit/51da3ba)) 386 387 ### BREAKING CHANGES 388 389 For batch processing, we stopped asynchronous processing using chan and switched to synchronous processing using callback function. 390 391 392 <a name="0.8.2"></a> 393 ## [0.8.2](https://github.com/mercari/datastore/compare/v0.8.1...v0.8.2) (2017-12-06) 394 395 396 ### Bug Fixes 397 398 * **boom:** fix PendingKey handling fixes [#30](https://github.com/mercari/datastore/issues/30) thanks [@sinmetal](https://github.com/sinmetal) ([eaa5729](https://github.com/mercari/datastore/commit/eaa5729)) 399 * **cache/storagecache:** fix MultiError handling that ErrNoSuchEntity contaminated ([d42850b](https://github.com/mercari/datastore/commit/d42850b)) 400 401 402 403 <a name="0.8.1"></a> 404 ## [0.8.1](https://github.com/mercari/datastore/compare/v0.8.0...v0.8.1) (2017-12-05) 405 406 407 ### Bug Fixes 408 409 * **core:** fix time.Time's default location. fit to Cloud Datastore behaviour ([4226d8f](https://github.com/mercari/datastore/commit/4226d8f)) 410 411 412 413 <a name="0.8.0"></a> 414 # [0.8.0](https://github.com/mercari/datastore/compare/v0.7.0...v0.8.0) (2017-12-04) 415 416 417 ### Features 418 419 * **cache/storagecache:** implement WithIncludeKinds, WithExcludeKinds, WithKeyFilter options ([a8b5857](https://github.com/mercari/datastore/commit/a8b5857)) 420 421 422 423 <a name="0.7.0"></a> 424 # [0.7.0](https://github.com/mercari/datastore/compare/v0.6.0...v0.7.0) (2017-12-04) 425 426 427 ### Features 428 429 * **cache** implement cache layer & cache strategies ([203ab21](https://github.com/mercari/datastore/commit/203ab21)) 430 * **core,ae,cloud:** add datastore#Client.DecodeKey method ([42fa040](https://github.com/mercari/datastore/commit/42fa040)) 431 432 433 434 <a name="0.6.0"></a> 435 # [0.6.0](https://github.com/mercari/datastore/compare/v0.5.3...v0.6.0) (2017-11-24) 436 437 438 ### Features 439 440 * **boom:** add NewQuery method ([a31adb0](https://github.com/mercari/datastore/commit/a31adb0)) thanks @timakin ! 441 442 443 444 <a name="0.5.3"></a> 445 ## [0.5.3](https://github.com/mercari/datastore/compare/v0.5.2...v0.5.3) (2017-11-24) 446 447 448 ### Bug Fixes 449 450 * **ae,cloud:** fix datastore.PropertyList handling when Put & Get ([0355f35](https://github.com/mercari/datastore/commit/0355f35)) 451 * **ae,cloud:** fix struct (without pointer) handling when Put & Get ([de3eb4c](https://github.com/mercari/datastore/commit/de3eb4c)) 452 * **boom:** fix nil parent key handling ([7dc317b](https://github.com/mercari/datastore/commit/7dc317b)) 453 454 455 456 <a name="0.5.2"></a> 457 ## [0.5.2](https://github.com/mercari/datastore/compare/v0.5.1...v0.5.2) (2017-11-22) 458 459 460 ### Bug Fixes 461 462 * **core:** fix datastore.Key or []datastore.Key Save & Load handling ([29f465d](https://github.com/mercari/datastore/commit/29f465d)) 463 464 465 466 <a name="0.5.1"></a> 467 ## [0.5.1](https://github.com/mercari/datastore/compare/v0.5.0...v0.5.1) (2017-11-21) 468 469 470 ### Bug Fixes 471 472 * **boom:** fix *boom.Boom#GetAll with KeysOnly query ([420bb37](https://github.com/mercari/datastore/commit/420bb37)) 473 * **boom:** fix *boom.Iterator#Next with KeysOnly query ([e8bbeed](https://github.com/mercari/datastore/commit/e8bbeed)) 474 475 476 477 <a name="0.5.0"></a> 478 # [0.5.0](https://github.com/mercari/datastore/compare/v0.4.0...v0.5.0) (2017-11-21) 479 480 481 ### Features 482 483 * **boom:** add boom.ToAECompatibleTransaction and *boom.AECompatibleTransaction ([dedb72a](https://github.com/mercari/datastore/commit/dedb72a)) 484 * **boom:** add Kind, Key, KeyError method to *boom.Transaction ([5d5da7d](https://github.com/mercari/datastore/commit/5d5da7d)) 485 * **core:** add Equal and Incomplete methods to datastore.Key ([5668f1b](https://github.com/mercari/datastore/commit/5668f1b)) 486 487 488 489 <a name="0.4.0"></a> 490 # [0.4.0](https://github.com/mercari/datastore/compare/v0.3.0...v0.4.0) (2017-11-20) 491 492 493 ### Features 494 495 * **boom:** implements AllocateID and AllocateIDs ([014e321](https://github.com/mercari/datastore/commit/014e321)) 496 * **core:** add datastore.Client#SwapContext ([eb26e60](https://github.com/mercari/datastore/commit/eb26e60)) 497 498 499 500 <a name="0.3.0"></a> 501 # [0.3.0](https://github.com/mercari/datastore/compare/v0.2.0...v0.3.0) (2017-11-14) 502 503 504 ### Bug Fixes 505 506 * **boom:** improve goon compatibility ([03beb64](https://github.com/mercari/datastore/commit/03beb64)) 507 508 509 510 <a name="0.2.0"></a> 511 # [0.2.0](https://github.com/mercari/datastore/compare/v0.1.0...v0.2.0) (2017-11-14) 512 513 514 ### Features 515 516 * **aedatastore:** add custom import path checking ([801299f](https://github.com/mercari/datastore/commit/801299f)) 517 * **ci:** add .circleci/config.yml ([cfc3877](https://github.com/mercari/datastore/commit/cfc3877)) 518 * **clouddatastore:** add custom import path checking ([5585c22](https://github.com/mercari/datastore/commit/5585c22)) 519 * **core:** align TransactionBatch api to Batch api ([3f49066](https://github.com/mercari/datastore/commit/3f49066)) 520 * **boom:** implement boom package ([8c2ed5e](https://github.com/mercari/datastore/commit/8c2ed5e))