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
38 changes: 38 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,44 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
---

## [Unreleased]
## v1.22.2 — 2026-01-27

### Fixed

- **p2p:** fix Asio integration
- Asio is now strictly provided by the umbrella build
- Remove implicit `<asio.hpp>` includes and non-deterministic paths
- Reliable builds in local, CI, and downstream projects

- **core:** fix header guard in `Request.hpp`
- Prevent collisions and undefined behavior in modular builds

### Build

- Clarify umbrella vs standalone responsibilities
- Deterministic and reproducible CMake configuration

---

## v1.22.1 — 2026-01-25

### Changed

- **core:** unify core modules and clarify responsibilities
- **build:** harmonize CMake and package configuration
- **modules:** sync cache, cli, db, net, p2p, and sync

### Added

- GitHub release workflow
- Security layout structure
- Advanced middleware routing example

### Docs

- Clarify scope and non-goals
- Document Vix Console contract and logging separation

## v1.22.0 — Runtime Console & DX Stabilization

**Release focus:** developer experience, runtime safety, and clear separation between dev console and production logging.
Expand Down
26 changes: 26 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,26 @@ endif()
# Umbrella INTERFACE target (created early)
# ----------------------------------------------------
add_library(vix INTERFACE)
# ----------------------------------------------------
# Third-party: Asio (standalone, header-only)
# Used by: vix::p2p
# ----------------------------------------------------
set(VIX_THIRDPARTY_ASIO_DIR "${CMAKE_CURRENT_SOURCE_DIR}/third_party/asio/include")

if (EXISTS "${VIX_THIRDPARTY_ASIO_DIR}/asio.hpp")
add_library(vix_thirdparty_asio INTERFACE)
add_library(vix::thirdparty_asio ALIAS vix_thirdparty_asio)

target_include_directories(vix_thirdparty_asio INTERFACE
$<BUILD_INTERFACE:${VIX_THIRDPARTY_ASIO_DIR}>
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/vix/third_party/asio>
)

message(STATUS "Asio: using vendored standalone Asio at ${VIX_THIRDPARTY_ASIO_DIR}")
else()
message(FATAL_ERROR "Asio missing: expected ${VIX_THIRDPARTY_ASIO_DIR}/asio.hpp")
endif()

add_library(vix::vix ALIAS vix)

# ----------------------------------------------------
Expand Down Expand Up @@ -831,6 +851,12 @@ if (VIX_ENABLE_INSTALL)
FILES_MATCHING PATTERN "*.hpp" PATTERN "*.h")
endif()

if (EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/third_party/asio/include")
install(DIRECTORY third_party/asio/include/
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/vix/third_party/asio
FILES_MATCHING PATTERN "*.hpp" PATTERN "*.h")
endif()

# Export umbrella target (modules must also export their targets into VixTargets)
install(TARGETS vix EXPORT VixTargets)

Expand Down
2 changes: 1 addition & 1 deletion modules/core
2 changes: 1 addition & 1 deletion modules/p2p
Submodule p2p updated 1 files
+45 −9 CMakeLists.txt
Loading