Skip to content

Comments

Chore(deps-dev): Bump hono from 4.11.9 to 4.12.1#56

Closed
dependabot[bot] wants to merge 15 commits intodevelopfrom
dependabot/npm_and_yarn/hono-4.12.1
Closed

Chore(deps-dev): Bump hono from 4.11.9 to 4.12.1#56
dependabot[bot] wants to merge 15 commits intodevelopfrom
dependabot/npm_and_yarn/hono-4.12.1

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Feb 22, 2026

Bumps hono from 4.11.9 to 4.12.1.

Release notes

Sourced from hono's releases.

v4.12.1

What's Changed

Full Changelog: honojs/hono@v4.12.0...v4.12.1

v4.12.0

Release Notes

Hono v4.12.0 is now available!

This release includes new features for the Hono client, middleware improvements, adapter enhancements, and significant performance improvements to the router and context.

$path for Hono Client

The Hono client now has a $path() method that returns the path string instead of a full URL. This is useful when you need just the path portion for routing or key-based operations:

const client = hc<typeof app>('http://localhost:8787')
// Get the path string
const path = client.api.posts.$path()
// => '/api/posts'
// With path parameters
const postPath = client.api.posts[':id'].$path({
param: { id: '123' },
})
// => '/api/posts/123'
// With query parameters
const searchPath = client.api.posts.$path({
query: { filter: 'test' },
})
// => '/api/posts?filter=test'

Unlike $url() which returns a URL object, $path() returns a plain path string, making it convenient for use with routers or as cache keys.

Thanks @​ShaMan123!

ApplyGlobalResponse Type Helper for RPC Client

The new ApplyGlobalResponse type helper allows you to add global error response types to all routes in the RPC client. This is useful for typing common error responses from app.onError() or global middlewares:

const app = new Hono()
  .get('/api/users', (c) => c.json({ users: ['alice', 'bob'] }, 200))
  .onError((err, c) => c.json({ error: err.message }, 500))
</tr></table> 

... (truncated)

Commits
  • 2de30d7 4.12.1
  • 91ef235 fix(client): export ApplyGlobalResponse from hono/client (#4743)
  • d2ed2e9 4.12.0
  • 01e78ad Merge pull request #4735 from honojs/next
  • a340a25 perf(context): use createResponseInstance for new Response (#4733)
  • bd26c31 perf(trie-router): improve performance (1.5x ~ 2.0x) (#4724)
  • b85c1e0 feat(types): Add exports field to ExecutionContext (#4719)
  • 02346c6 feat(language): add progressive locale code truncation to normalizeLanguage (...
  • 7438ab9 perf(context): add fast path to c.json() matching c.text() optimization (#4707)
  • 034223f feat(trailing-slash): add alwaysRedirect option to support wildcard routes ...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

y4nder and others added 15 commits February 8, 2026 11:34
* feat: added configurations

* feat: added health endpoints

* fix: fixed imports

* feat: added cors logic

* fix: fixed cors type definitions
* chore: added husky (#4)

* feat: added husky

* chore: added pr ci checks

* FAC-1 Moodle Client (#5)

* feat(moodle): added moodle client and temp login endpoint

* refactor: used class validator and transformers for moodle responses

* feat(moodle): added new moodle endpoints
* chore: port configuration refactor (#8)

* FAC-2 Basic Authentication (#9)

* feat: initial migration

* feat: added user and moodle tokens syncing

* feat(auth): added token response for login endpoint

* feat(auth): added me endpoint

* feat(auth) : added refresh and logout endpoints
* FAC-3 - Add User Profile Moodle Endpoints (#12)

* FAC-4 Optimize Gemini Agents and Project Documentation (#13)

* feat(gemini): add module-generator skill and project context

- Implement module-generator skill for automated NestJS module scaffolding.
- Add generate_module.cjs script with support for kebab-case and automatic registry updates.
- Include GEMINI.md for project context and .gemini/settings.json.

* feat(gemini): add entity-generator skill

- Implement entity-generator skill to automate MikroORM entity and repository scaffolding.
- Add generate_entity.cjs script with automatic registry registration in index.entity.ts.

* docs: update README.md and .env.sample for project-specific development setup

* chore(gemini): add git-agent definition and enable agents

* chore(gemini): optimize git-agent and update GEMINI.md

- Enhance git-agent description and add advanced operations.

- Add Available Agents section to GEMINI.md for agent discovery.

* feat(gemini): add pr-agent and update GEMINI.md

- Register pr-agent in GEMINI.md
- Add persona and instructions for pr-agent in .gemini/agents/pr-agent.md
* docs(git-agent): refine git-agent description

Update jest config for uuid and src path

* feat: Add new agents and skills, update tests

This commit adds the initial files for the e2e-test-agent, moodle-api-agent, dto-generator skill, and test-generator skill. It also includes updates to the auth and health service tests.

* test(auth): fix syntax and eslint errors in auth service spec

* docs: update GEMINI.md with e2e-test-agent and moodle-api-agent
* FAC-7 OpenAI Self hosted ChatKit Integration (#19)

* feat(chat-kit): implement AI chat functionality

This commit introduces the ChatKit module, enabling AI chat capabilities within the application. It includes the following changes:

- Adds ChatKitThread and ChatKitThreadItem entities to store chat threads and messages.
- Integrates @openai/agents and chatkit-node-backend-sdk for AI interaction.
- Updates environment configurations to include OpenAI API key.
- Adds a new migration to create the chatkit_thread and chatkit_thread_item tables and cleans up old migration files.
- Registers the ChatKitModule and new entities in the application.

* fix(chat-kit): resolve SDK type mismatch warning in event streaming

* FAC-8 Fix Category Sync Job and Stabilize Primary Key Persistence (#20)

* feat(cron): add cron job scheduling\n\nThis commit introduces cron job scheduling functionality using @nestjs/schedule.\nIt includes a base job class, a startup job registry, and necessary configurations.

* feat(entities): add moodle related entities\n\nThis commit introduces the Moodle-related entities: Campus, Course, Department, MoodleCategory, Program, and Semester.\nIt also includes the corresponding migration and updates the entity index.

* feat(moodle): add moodle category sync service and dtos\n\nThis commit introduces the Moodle category sync service and related DTOs for fetching course categories.

* feat(moodle): enhance moodle client and service\n\nThis commit enhances the Moodle client and service by adding methods for fetching courses and categories.\nIt also updates the controller and module to include the new functionality.

* feat(config): add moodle master key and update base entity\n\nThis commit adds the MOODLE_MASTER_KEY to the environment configuration and updates the base entity to use a UUID for the ID. It also updates documentation.

* fix(module): include ScheduleModule in index.module and add category sync job\n\nThis commit includes the ScheduleModule in the index module, making it available to the entire application. Also adds category sync job folder.

* feat(moodle): optimize startup and implement on-demand course hydration

This commit addresses several key improvements:

- Optimizes application startup by sequencing job execution and introducing a startup job registry for better control and visibility.
- Implements on-demand user course hydration, fetching course data only when needed, improving performance and reducing initial load.
- Fixes global EntityManager usage, ensuring proper dependency injection and preventing potential data inconsistencies.
- Adds course and enrollment syncing functionality, including new entities and services.

These changes collectively enhance the application's performance, scalability, and data integrity.

* fix: removed unused imports and adjusted comments

* FAC-9 Implement Enrollments module and fix AuthService tests (#21)

* feat(enrollments): Add EnrollmentsModule

* fix(auth): Add MoodleUserHydrationService to AuthService tests & refactor(database): use orm.migrator

* FAC-10 feat: introduce architecture agent and documentation#22

* FAC-11 Implement dynamic role mapping during user hydration (#23)

* feat(user): add roles property derived from active enrollments

* feat(moodle): implement dynamic role mapping during user hydration
* FAC-15 Add max_turns to git and pr agents (#29)

* feat: deterministic OpenAPI contract management

Implements standalone OpenAPI contract generation and automated synchronization to a central contracts repository.

* chore(gemini): add max_turns to git and pr agents

* fix(ci): add hono to lock file to resolve npm ci failure

* fix(ci): add missing CORS_ORIGINS env to publish-contract workflow
* chore: test update readme

* FAC-16 ci: add discord notifications to pr-lint workflow (#32)

* ci: add discord notifications to pr-lint workflow

* chore: update yml

* chore: fix another

* ci: add pr-test workflow with discord notifications

* ci: fix pr-test workflow triggers and shell quoting

* ci: fix pr-test env vars and reporting logic

* chore: update yml

* ci: setup automated releases with semantic-release (#33)
…37) (#38)

* FAC-12: Enhance Moodle Sync & User Campus Mapping #26

Added HTML tag stripping for category sync and campus association logic to User entity based on username parsing.

* [Docs] Implement Idempotent Dimension Seeding, Refactor Architecture Docs, and Refine Project Roadmap (#27)

* FAC-13: Implement Questionnaire Management System

Implemented a comprehensive questionnaire management system including:
- Core entities: Questionnaire, Version, Submission, Answer, and Dimension.
- Recursive schema validation for section weights and structure.
- Weighted scoring engine with support for nested sections and Likert scales.
- Submission processing with institutional context snapshotting.
- REST endpoints for management and submission.
- Enhanced User and Semester models for institutional metadata.

* feat: implement idempotent dimension seeding and registry

- Added composite unique constraint (code, questionnaireType) to Dimension entity.
- Created canonical dimension constants for faculty and student feedback.
- Implemented idempotent DimensionSeeder and InfrastructureSeeder orchestrator.
- Integrated infrastructure seeding into application startup flow.
- Fixed absolute import in database-initializer to resolve CLI module errors.

* docs: refactor architecture documentation and improve questionnaire service

- Refactored ARCHITECTURE.md into a structured docs/ directory.
- Added detailed documentation for data model, core components, and workflows.
- Updated architecture-agent instructions to maintain the new docs structure.
- Refactored QuestionnaireService to use persist/flush pattern for better consistency.
- Updated database snapshot to reflect recent schema changes.

* docs: document idempotent seeding and database initialization flow

* docs: create project roadmap

* docs: refine roadmap with AI, OLAP, and governance phases

* docs: add multi-source ingestion and source adapters to roadmap

* docs: add detailed questionnaire management architecture documentation

* FAC-14 Implement Dean Role Mapping and Update Documentation (#28)

* feat(auth): implement dean role mapping and update documentation

* fix(auth): map dean roles to department level (depth 3)

* feat(auth): implement hybrid authentication strategy (#36)

Allows local admin users alongside Moodle SSO. This includes:
- Making moodleUserId and password nullable in the User entity.
- Adding local login functionality in AuthService.
- Updating the database snapshot and adding a new migration.
- Adding a UserSeeder.
### Features

* consolidate core synchronization and assessment infrastructure ([#37](#37)) ([#38](#38)) ([2407690](2407690)), closes [#26](#26) [#27](#27) [#28](#28) [#36](#36)
* implement automated releases and fix test reporting ([#34](#34)) ([#35](#35)) ([22df6df](22df6df)), closes [#32](#32) [#33](#33)
* initial commit ([bd11ecf](bd11ecf))
* FAC-18 : feat(sync)Finalize Phase 1 Synchronization Refinements#39

* FAC-19 feat(infra): standardize roles, add system config, and seeder integration tests (#40)

- Implement UserRole enum and MoodleRoleMapping (mapping 'editingteacher' to FACULTY)
- Create SystemConfig entity and SystemConfigSeeder
- Add integration tests for DatabaseSeeder and sub-seeders in src/seeders/tests/
- Refactor User entity and QuestionnaireService to use UserRole enum
- Update InfrastructureSeeder to include SystemConfigSeeder
- Mark roadmap items as completed

* FAC-20 Finalize Questionnaire Submission API (#41)

* feat(questionnaires): finalize production-grade questionnaire submission API

- Implement dynamic scoring based on schema maxScore
- Add contextual validation for course-semester matching
- Implement active enrollment validation for students and faculty
- Add duplicate submission prevention and stricter answer validation
- Enrich institutional snapshots with faculty employee numbers
- Refactor ScoringService and QuestionnaireService for robustness
- Add comprehensive unit tests for submission and scoring flows

* chore(bmad): add bmad configurations, workflows, and output artifacts

- Include .gemini/commands for specialized CLI tooling
- Version the _bmad directory to share workflows and agent configs
- Include _bmad-output for persistence of planning and implementation artifacts

* hotfix: Fixed missing imports on QuestionnaireModule

* FAC-21 Implement Universal Ingestion Adapter (#42)

* feat(questionnaires): implement universal ingestion adapter infrastructure

- Define SourceAdapter interface with AsyncIterable support for efficient streaming
- Implement SourceAdapterFactory with dynamic resolution via ModuleRef
- Create RawSubmissionData DTO with strict class-validator and Swagger decorators
- Add ErrorFormatter as an injectable service for standardized Zod error handling
- Register placeholder adapter providers in QuestionnaireModule to prevent runtime crashes
- Refine types for SourceConfiguration and IngestionRecord to improve safety
- Update ROADMAP.md and project-context.md with new ingestion patterns
- Add comprehensive unit tests for SourceAdapterFactory

* docs: document universal ingestion architecture and update roadmap

* FAC-22 Implement Ingestion Engine Orchestrator#43

- Implement IngestionEngine with bounded concurrency (p-limit) and per-record transactions
- Add IngestionMapperService with DataLoader-backed institutional entity mapping
- Implement speculative dry-run logic with custom DryRunRollbackError and full rollback support
- Add IngestionMappingLoader for batch-efficient lookups of Users, Courses, and Semesters
- Implement memory-safe batch processing (5k limit) and backpressure management
- Add structured result DTOs and correlation ID logging for better observability
- Update architectural documentation and roadmap to reflect implemented features
- Add comprehensive unit tests for orchestration and mapping services
* FAC-23 : Concrete Ingestion Adapters (CSV & Excel)#46

feat: Implement CSV and Excel ingestion adapters (#46)
- Added CSVAdapter and ExcelAdapter for processing CSV and Excel files.
- Integrated csv-parser and exceljs libraries for efficient file handling.
- Created base-stream adapter to handle common functionality for both adapters.
- Implemented key normalization and error handling in both adapters.
- Added unit tests for CSV and Excel adapters to ensure functionality and robustness.
- Defined FileStorageProvider interface for stream retrieval.
- Updated package.json to include new dependencies.

* FAC-24: Update questionnaire versioning and status management #47

- Changed questionnaire version status from PUBLISHED/ARCHIVED to ACTIVE/DEPRECATED.
- Introduced strict lifecycle states for questionnaires: DRAFT, ACTIVE, DEPRECATED.
- Updated data model to include new status and published_at fields.
- Implemented migration to adjust existing data to new status values.
- Enhanced service methods to handle version creation, publishing, and deprecation with new status logic.
- Added new API endpoints for retrieving the latest active version and deprecating versions.
- Updated tests to cover new functionality and ensure proper exception handling.

* FAC-25 Publish Contract workflow fix (#48)

* feat: added jwt guard to submissions endpoint

* fix: rework publish contract workflow

* Fac-26 Submission Lifecycle: Draft and Submitted States (#49)

* FAC-27 chore: refactored file structure and fixed migrations #50

* FAC-28: added pino logger for structured logging (#51)

* FAC-28: added pino logger for structured logging

* chore: removed default console logger on main runtime

* FAC-29 chore: refactored file structure and added verify script #52
Bumps [hono](https://github.com/honojs/hono) from 4.11.9 to 4.12.1.
- [Release notes](https://github.com/honojs/hono/releases)
- [Commits](honojs/hono@v4.11.9...v4.12.1)

---
updated-dependencies:
- dependency-name: hono
  dependency-version: 4.12.1
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Feb 22, 2026
@y4nder y4nder changed the base branch from master to develop February 22, 2026 10:02
@y4nder y4nder closed this Feb 22, 2026
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Feb 22, 2026

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/npm_and_yarn/hono-4.12.1 branch February 22, 2026 23:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants