@accounter/client 0.0.8-alpha-20251023071041-df324f1dc0984ca95d91caeebfa99c5dfea3ce0c → 0.0.8-alpha-20251023071611-4357687c6963ad74c80f62140eb0de9252d7bca7

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +16 -1
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @accounter/client
2
2
 
3
- ## 0.0.8-alpha-20251023071041-df324f1dc0984ca95d91caeebfa99c5dfea3ce0c
3
+ ## 0.0.8-alpha-20251023071611-4357687c6963ad74c80f62140eb0de9252d7bca7
4
4
 
5
5
  ### Patch Changes
6
6
 
@@ -146,6 +146,21 @@
146
146
  added to the transactions table. It will only appear if either `enableEdit` or
147
147
  `enableChargeLink` props are true, making the table more dynamic and adaptable.
148
148
 
149
+ - [#2609](https://github.com/Urigo/accounter-fullstack/pull/2609)
150
+ [`4357687`](https://github.com/Urigo/accounter-fullstack/commit/4357687c6963ad74c80f62140eb0de9252d7bca7)
151
+ Thanks [@gilgardosh](https://github.com/gilgardosh)! - - **Centralized Error Handling**:
152
+ Implemented a centralized approach to handle GraphQL network and operation errors within the URQL
153
+ client configuration, ensuring consistent error feedback across the application.
154
+ - **User-Friendly Notifications**: Integrated the `sonner` toast library to display clear and
155
+ concise toast notifications for network connectivity issues and general GraphQL operation
156
+ failures, improving the user experience.
157
+ - **Refined Data Loader Logic**: Simplified data loaders by removing generic GraphQL error checks,
158
+ allowing them to focus on specific application-level errors (e.g., 404 Not Found) that should
159
+ trigger error boundaries, while other errors are handled by the new toast system.
160
+ - **Authentication Error Prioritization**: Ensured that authentication-related GraphQL errors
161
+ (e.g., `FORBIDDEN`) continue to trigger navigation to the login page, with these errors
162
+ explicitly skipped by the new toast notification system to avoid redundant alerts.
163
+
149
164
  - [#2582](https://github.com/Urigo/accounter-fullstack/pull/2582)
150
165
  [`32276b4`](https://github.com/Urigo/accounter-fullstack/commit/32276b47e164f0976fcdd5523fa5e26f0704014f)
151
166
  Thanks [@gilgardosh](https://github.com/gilgardosh)! - - **New Business/Client Page**: Introduced
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@accounter/client",
3
- "version": "0.0.8-alpha-20251023071041-df324f1dc0984ca95d91caeebfa99c5dfea3ce0c",
3
+ "version": "0.0.8-alpha-20251023071611-4357687c6963ad74c80f62140eb0de9252d7bca7",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "scripts": {