Skip to content

Commit 49071d4

Browse files
authored
Merge pull request #74 from d-oit/upgrade-hinode-v1
chore: update dependencies and configuration
2 parents 56f0b68 + da0197e commit 49071d4

File tree

24 files changed

+4712
-945
lines changed

24 files changed

+4712
-945
lines changed

CHANGELOG.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## [1.2.8] - 2025-10-04
9+
10+
### Changed
11+
- Updated dependencies to support Hinode v1.x
12+
- Migrated to structured arguments system for better argument validation
13+
- Compatible with revised template system (Hugo v0.146.0+)
14+
- Updated mod-utils to v4 for enhanced functionality
15+
16+
### Added
17+
- Support for Hinode v1.x content blocks and templates
18+
- Improved argument handling with centralized validation
19+
20+
### Deprecated
21+
- Support for Hinode 0.x versions (breaking change for users still on 0.x)
22+
23+
### Removed
24+
- Legacy argument handling methods
25+
26+
### Fixed
27+
- Template compatibility issues with Hugo v0.146.0+
28+
29+
### Security
30+
- Updated dependencies for security improvements

config.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[module]
22
[module.hugoVersion]
33
extended = true
4-
min = "0.110.0"
4+
min = "0.146.0"
55
max = ""
66
[[module.mounts]]
77
source = "dist/slideshow-gallery.js"
@@ -23,5 +23,5 @@
2323
source = 'data'
2424
target = 'data'
2525
[[module.imports]]
26-
path = "github.com/gethinode/mod-utils/v2"
26+
path = "github.com/gethinode/mod-utils/v4"
2727

data/dimensions.yml

Lines changed: 0 additions & 66 deletions
This file was deleted.

data/structures/image-adapter.yml

Lines changed: 0 additions & 79 deletions
This file was deleted.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
arguments:
2+
src:
3+
page:
4+
mode:
5+
ratio:
6+
portrait:
7+
image-height:
8+
image-width:
9+
loading:
10+
priority:
11+
sizes:
12+
title:
13+
caption:
14+
wrapper:
15+
class:
16+
figclass:
17+
plain:
18+
anchor:
19+
absolute-url:

0 commit comments

Comments
 (0)