Skip to content

Latest commit

 

History

History
142 lines (88 loc) · 4.28 KB

File metadata and controls

142 lines (88 loc) · 4.28 KB

Changelog

All notable changes to this project will be documented in this file.

2.0.5 - 2026-03-26

Fixed

  • TypeScript 6 compatibility: removed deprecated baseUrl, updated moduleResolution to Bundler, added rootDir in tsconfig.json.
  • Updated ky imports to use the public entry point only, removing internal path dependencies.
  • Fixed relative import paths and implicit any types in src/vue/index.ts.

2.0.4 - 2025-10-09

Fixed

  • Upgrade ky dependency to 1.11.0.

2.0.3 - 2025-09-16

Fixed

  • Dependencies update.

2.0.2 - 2025-07-22

Fixed

  • Dependencies update.

2.0.1 - 2025-07-15

Fixed

  • TResponse generic type for a different type of response.

2.0.0 - 2025-03-26

Changed

  • RepositoryHttp methods create() and update() always return the data property as an array.

Added

  • RepositoryHttp methods create() and update() support for an array of items;
  • RepositoryHttp methods create() and update() now return the item property as the first element of data array.

1.0.5 - 2023-08-30

Fixed

  • Repository interface options defitnition;
  • Dependencies update.

1.0.4 - 2023-06-08

Fixed

  • Dependencies update.

1.0.3 - 2023-05-15

Fixed

  • Dependencies update.

1.0.2 - 2023-05-11

Added

  • isSuccess computed for useRepositoryHttp() and useHttpClient() Vue composable.

1.0.1 - 2023-05-11

Added

  • RepositoryHttp second TS generic usefull for responseAdapter;
  • useRepositoryHttp() second TS generic for RepositoryHttp.

1.0.0 - 2023-04-12

Added

  • RepositoryHttp JSDoc comments;
  • vue composables return reactive methods;
  • Hash.djb2 function to generate a hash from a string;
  • removeHttpClient() composables to remove a httpClient instances;
  • httpClientScope on RepositoryHttpOptions to use an existing httpClient instance.

Changed

  • Repository interface create() and update() methods now have the item as first parameter;
  • Repository interface methods now return the responsePromise instead of response;
  • createHttpClient update parameters with HttpClientInstanceOptions & { scope?: string } to manage multple instances
  • useHttpClient parameter is now the httpClient scope (optional string)
  • useHttpClient now returns { client, request, requestGet, requestPost, requestPut, requestPatch, requestHead, requestDelete } and not only client;
  • useRepositoryHttp now returns { repository, read, create, update, remove } and not only repository;
  • RepositoryHttp constructor options now support httpClientOptions: HttpClientOptions and not only prefixUrl: string;
  • RepositoryHttp constructor template now support HttpClientUrlTemplate ({ template, params }) and not only string.

0.0.4 - 2023-03-21

Added

  • Quality gate with tests in build and release pipeline;

0.0.3 - 2023-03-21

Fixed

  • build and test with vite and vitest;
  • dependencies update.

0.0.2 - 2023-03-14

Fixed

  • RepositoryHttp Remove structured clone from default request adapter;

0.0.1 - 2023-03-13

Added

  • HttpClient a class to make HTTP requests with Ky;
  • UrlBuilder a class to build URLs through a template;
  • RepositoryHttp an implementation of Repository interface to fetch data through HttpClient.