@accounter/client 0.0.7-alpha-20250918074155-11e13b936e7ade13c8c711762b598f32497843e4 → 0.0.7-alpha-20250918080806-f06056c3ed817ede0e572fe159ff996d68ba17d6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @accounter/client
2
2
 
3
- ## 0.0.7-alpha-20250918074155-11e13b936e7ade13c8c711762b598f32497843e4
3
+ ## 0.0.7-alpha-20250918080806-f06056c3ed817ede0e572fe159ff996d68ba17d6
4
4
 
5
5
  ### Patch Changes
6
6
 
@@ -246,6 +246,13 @@
246
246
  [`react-day-picker@9.10.0` ↗︎](https://www.npmjs.com/package/react-day-picker/v/9.10.0) (from
247
247
  `9.9.0`, in `dependencies`)
248
248
 
249
+ - [#2511](https://github.com/Urigo/accounter-fullstack/pull/2511)
250
+ [`a4b5489`](https://github.com/Urigo/accounter-fullstack/commit/a4b5489f66b89942713c31d55372dba85d632774)
251
+ Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates:
252
+ - Updated dependency
253
+ [`@tanstack/react-query@5.89.0` ↗︎](https://www.npmjs.com/package/@tanstack/react-query/v/5.89.0)
254
+ (from `5.87.4`, in `dependencies`)
255
+
249
256
  - [#2466](https://github.com/Urigo/accounter-fullstack/pull/2466)
250
257
  [`afdc9bf`](https://github.com/Urigo/accounter-fullstack/commit/afdc9bf6def07a69893c8087f8635b3e86570bdf)
251
258
  Thanks [@gilgardosh](https://github.com/gilgardosh)! - - **Improved 404 Handling**: A dedicated
@@ -263,6 +270,22 @@
263
270
  within the `urql` provider's authentication error checks, making the code more resilient to
264
271
  unexpected error structures.
265
272
 
273
+ - [#2510](https://github.com/Urigo/accounter-fullstack/pull/2510)
274
+ [`40bf4ab`](https://github.com/Urigo/accounter-fullstack/commit/40bf4abfec0c323fdfd4170980e99d42667a3457)
275
+ Thanks [@gilgardosh](https://github.com/gilgardosh)! - - **Batch Transaction Update API**:
276
+ Introduced a new GraphQL mutation, `updateTransactions`, allowing multiple transactions to be
277
+ updated in a single API call. This mutation accepts an array of transaction IDs and the fields to
278
+ update.
279
+ - **Client-Side Hook for Batch Updates**: A new React hook, `useUpdateTransactions`, has been
280
+ added to facilitate client-side consumption of the batch update functionality, complete with
281
+ loading, success, and error state notifications.
282
+ - **Backend Logic for Batch Updates**: Implemented a new SQL query and a corresponding provider
283
+ method to efficiently handle batch updates on the `transactions` table. The existing single
284
+ transaction update method was refactored to utilize this new batch mechanism.
285
+ - **UI Integration**: The `similar-transactions-modal` component was updated to leverage the new
286
+ `useUpdateTransactions` hook, enabling users to approve and update multiple similar transactions
287
+ with a single action, improving user experience and reducing server load.
288
+
266
289
  ## 0.0.6
267
290
 
268
291
  ### Patch Changes