Skip to content

Release of v2.0.5#81

Merged
alessandrobellesia merged 17 commits into
mainfrom
develop
Jun 15, 2026
Merged

Release of v2.0.5#81
alessandrobellesia merged 17 commits into
mainfrom
develop

Conversation

@alessandrobellesia

Copy link
Copy Markdown
Member

Fixed

  • TypeScript 6 compatibility: removed deprecated baseUrl, updated moduleResolution to Bundler.
  • 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.
  • RepositoryHttp default metadata adapter no longer drops contentLanguage when both Content-Language and Accept-Language response headers are present.
  • useRepositoryHttp create() and update() now expose the item ref, consistently with read().
  • HttpClientInstance.setBearerToken type signature now matches the implementation (nullable token and options).

Added

  • item ref returned by the create() and update() Vue composables.

Internal

  • RepositoryHttp.create()/update() and the Vue repository composables refactored to remove duplication.
  • Type-check and tests now cover the test/ folder; declaration emit moved to a dedicated tsconfig.build.json.

depfu Bot and others added 17 commits October 11, 2025 07:11
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
- Remove deprecated `baseUrl` and update `moduleResolution` to `Bundler` in tsconfig.json
- Add `rootDir: src` to tsconfig.json to fix declaration output layout
- Replace ky internal path imports with public entry point in HttpClient.ts and RepositoryHttp.ts
- Fix relative import path for `types` in vue/index.ts (`src/types` → `../types`)
- Add explicit `unknown` type to catch callback parameters in vue/index.ts
- Fix `this[method]` implicit-any with explicit cast in HttpClient.ts
- Fix `User` class example in README (wrong property assignment)
- Fix `{{ data.name }}` → `{{ item?.name }}` in README Example 2 template
- Add missing `requestHead()` to useHttpClient exposed methods list in README
- Update CHANGELOG with v2.0.5
fix: TypeScript 6 compatibility and README corrections
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
- RepositoryHttp default metadata adapter no longer drops `contentLanguage`
  when both Content-Language and Accept-Language headers are present
- expose `item` ref from useRepositoryHttp `create()` and `update()`,
  consistently with `read()`
- align `HttpClientInstance.setBearerToken` type with its implementation
- refactor RepositoryHttp `create`/`update` into a shared `_write` and the
  vue composables into a single `defineRepositoryRequest` helper (DRY)
- replace the unsafe cast in `HttpClient.request` with a typed verb dispatch
- type-check and tests now cover the `test/` folder; declaration emit moved
  to a dedicated `tsconfig.build.json`
- move pnpm `onlyBuiltDependencies` to pnpm-workspace.yaml
- document the upcoming ky 2.x / `prefix` breaking change under 3.0.0

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
`pnpm version --no-git-tag-version` was run unconditionally in the reusable
build workflow. On pull_request runs `github.event.release.tag_name` is empty,
so the command failed with ERR_PNPM_INVALID_VERSION_BUMP. Guard the step so it
runs only when triggered by a release.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
fix: correct metadata adapter, expose vue item ref and tighten types
@coderabbitai

coderabbitai Bot commented Jun 15, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: a45212cc-133c-46da-ba8a-5bdb58cb060b

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch develop

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@sonarqubecloud

Copy link
Copy Markdown

@alessandrobellesia alessandrobellesia merged commit 1bfe016 into main Jun 15, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant