Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
node_modules/
tsp-output/
tsp-output-*/
tsp-output-*/
35 changes: 35 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Installs both pre-commit and commit-msg hooks with a `pre-commit install`
default_install_hook_types: [pre-commit, commit-msg]

repos:
# Secret scanning
- repo: https://github.com/leaktk/leaktk
rev: 398b9d71573e1bf99b4eed0271729c4796df57ff # frozen: v0.3.13
hooks:
- id: leaktk.git.pre-commit

# HyperFleet commit message standard
- repo: https://github.com/openshift-hyperfleet/hyperfleet-hooks
rev: 0c42dbf10d4087ac8c788b19b9d29afd7bccdd4a # frozen: v0.3.0
hooks:
- id: hyperfleet-commitlint
stages: [commit-msg]

# Schema build + Spectral lint. Needs `npm install` first; rewrites schemas/ when
# the TypeSpec sources changed, so commit the regenerated files with the change.
- repo: local
hooks:
- id: build-and-lint-schema
name: Build and lint OpenAPI schema
entry: bash -c './build-schema.sh && npx spectral lint schemas/core/openapi.yaml --fail-severity warn'
Comment thread
Mischulee marked this conversation as resolved.
Resolved
language: system
Comment thread
Mischulee marked this conversation as resolved.
Resolved
files: \.tsp$
pass_filenames: false

# File hygiene
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: 3e8a8703264a2f4a69428a0aa4dcb512790b2c8c # frozen: v6.0.0
hooks:
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
- id: end-of-file-fixer
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [1.0.28] - 2026-11-11

### Added

- `.pre-commit-config.yaml` with LeakTK secret scanning, HyperFleet commitlint, schema build and Spectral lint, and whitespace and end-of-file fixers (HYPERFLEET-1810)

## [1.0.27] - 2026-08-11

### Added
Expand Down Expand Up @@ -246,7 +252,8 @@ First official stable release of the HyperFleet API specification.
- Interactive API documentation

<!-- Links -->
[Unreleased]: https://github.com/openshift-hyperfleet/hyperfleet-api-spec/compare/v1.0.27...HEAD
[Unreleased]: https://github.com/openshift-hyperfleet/hyperfleet-api-spec/compare/v1.0.28...HEAD
[1.0.28]: https://github.com/openshift-hyperfleet/hyperfleet-api-spec/compare/v1.0.27...v1.0.28
[1.0.27]: https://github.com/openshift-hyperfleet/hyperfleet-api-spec/compare/v1.0.26...v1.0.27
[1.0.26]: https://github.com/openshift-hyperfleet/hyperfleet-api-spec/compare/v1.0.25...v1.0.26
[1.0.25]: https://github.com/openshift-hyperfleet/hyperfleet-api-spec/compare/v1.0.24...v1.0.25
Expand Down
1 change: 0 additions & 1 deletion core/services/statuses-internal.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -104,4 +104,3 @@ interface NodePoolStatuses {
| UnauthorizedResponse
| NotFoundResponse;
}

2 changes: 1 addition & 1 deletion main.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ using OpenAPI;
*/
@service(#{ title: "HyperFleet API" })
@info(#{
version: "1.0.27",
version: "1.0.28",
contact: #{
name: "HyperFleet Team",
url: "https://github.com/openshift-hyperfleet",
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hyperfleet",
"version": "1.0.27",
"version": "1.0.28",
"type": "module",
"exports": {
"./*": "./*"
Expand Down
2 changes: 1 addition & 1 deletion schemas/core/openapi.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
openapi: 3.0.0
info:
title: HyperFleet API
version: 1.0.27
version: 1.0.28
contact:
name: HyperFleet Team
url: https://github.com/openshift-hyperfleet
Expand Down
Loading