mirror of
https://github.com/danog/Valinor.git
synced 2024-11-26 12:14:40 +01:00
release: version 0.10.0
This commit is contained in:
parent
56ff6849bc
commit
aa27ceeb4a
@ -7,6 +7,7 @@ return [
|
||||
'description' => 'Other miscellaneous changes',
|
||||
],
|
||||
],
|
||||
'path' => 'docs/pages/changelog.md',
|
||||
'releaseCommitMessageFormat' => 'release: new version {{currentTag}}',
|
||||
'tagPrefix' => '',
|
||||
'packageBump' => false,
|
||||
|
@ -7,6 +7,8 @@ Valinor • PHP object mapper with strong type support
|
||||
|
||||
[![Mutation testing badge](https://img.shields.io/endpoint?style=flat&url=https%3A%2F%2Fbadge-api.stryker-mutator.io%2Fgithub.com%2FCuyZ%2FValinor%2Fmaster)](https://dashboard.stryker-mutator.io/reports/github.com/CuyZ/Valinor/master)
|
||||
|
||||
<img src="docs/pages/img/valinor-logo.svg" align="left" width="100"/>
|
||||
|
||||
Valinor is a PHP library that helps to map any input into a strongly-typed value
|
||||
object structure.
|
||||
|
||||
@ -21,7 +23,7 @@ composer require cuyz/valinor
|
||||
|
||||
## Documentation
|
||||
|
||||
Documentation can be found at [valinor.cuyz.io](valinor.cuyz.io).
|
||||
Documentation can be found at [valinor.cuyz.io](https://valinor.cuyz.io).
|
||||
|
||||
## Credits & thank you
|
||||
|
||||
|
@ -17,9 +17,9 @@ extra:
|
||||
|
||||
theme:
|
||||
name: material
|
||||
icon:
|
||||
repo: fontawesome/brands/github
|
||||
logo: material/pine-tree
|
||||
custom_dir: overrides
|
||||
favicon: img/valinor-icon.svg
|
||||
logo: img/valinor-icon.svg
|
||||
features:
|
||||
- navigation.sections
|
||||
- navigation.top
|
||||
@ -28,15 +28,15 @@ theme:
|
||||
palette:
|
||||
- media: "(prefers-color-scheme: light)"
|
||||
scheme: default
|
||||
primary: deep purple
|
||||
accent: deep purple
|
||||
primary: blue grey
|
||||
accent: blue grey
|
||||
toggle:
|
||||
icon: material/brightness-7
|
||||
name: Switch to dark mode
|
||||
- media: "(prefers-color-scheme: dark)"
|
||||
scheme: slate
|
||||
primary: deep purple
|
||||
accent: deep purple
|
||||
primary: blue grey
|
||||
accent: blue grey
|
||||
toggle:
|
||||
icon: material/brightness-4
|
||||
name: Switch to light mode
|
||||
@ -61,6 +61,7 @@ nav:
|
||||
- Introduction: index.md
|
||||
- Getting Started: getting-started.md
|
||||
- Credits: credits.md
|
||||
- Changelog: changelog.md
|
||||
- Usage:
|
||||
- Validation: validation.md
|
||||
- Message customization: message-customization.md
|
||||
|
19
docs/overrides/partials/toc-item.html
Normal file
19
docs/overrides/partials/toc-item.html
Normal file
@ -0,0 +1,19 @@
|
||||
<!-- Table of contents item -->
|
||||
<li class="md-nav__item">
|
||||
<a href="{{ toc_item.url }}" class="md-nav__link">
|
||||
{{ toc_item.title }}
|
||||
</a>
|
||||
|
||||
<!-- Table of contents list -->
|
||||
{% if toc_item.children %}
|
||||
<nav class="md-nav" aria-label="{{ toc_item.title }}">
|
||||
<ul class="md-nav__list">
|
||||
{% for toc_item in toc_item.children %}
|
||||
{% if not page.meta.toc_depth or toc_item.level <= page.meta.toc_depth %}
|
||||
{% include "partials/toc-item.html" %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</nav>
|
||||
{% endif %}
|
||||
</li>
|
@ -1,9 +1,28 @@
|
||||
---
|
||||
toc_depth: 2
|
||||
---
|
||||
|
||||
<!--- BEGIN HEADER -->
|
||||
# Changelog
|
||||
|
||||
All notable changes to this project will be documented in this file.
|
||||
<!--- END HEADER -->
|
||||
|
||||
## [0.10.0](https://github.com/romm/Valinor/compare/0.9.0...0.10.0) (2022-06-10)
|
||||
|
||||
### Notable changes
|
||||
|
||||
Documentation is now available at [valinor.cuyz.io](https://valinor.cuyz.io).
|
||||
|
||||
### Features
|
||||
|
||||
* Support mapping to dates with no time ([e0a529](https://github.com/romm/Valinor/commit/e0a529a7e546c2e3ffb929f819256b90a5f7859a))
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* Allow declaring promoted parameter type with `@var` annotation ([d8eb4d](https://github.com/romm/Valinor/commit/d8eb4d830bd0817a5de2d61c8cfa81e7e025064a))
|
||||
* Allow mapping iterable to shaped array ([628baf](https://github.com/romm/Valinor/commit/628baf1294aaf3ce65bc5af969073604e2005af8))
|
||||
|
||||
## [0.9.0](https://github.com/CuyZ/Valinor/compare/0.8.0...0.9.0) (2022-05-23)
|
||||
|
||||
### Notable changes
|
10
docs/pages/img/valinor-icon.svg
Normal file
10
docs/pages/img/valinor-icon.svg
Normal file
@ -0,0 +1,10 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100">
|
||||
<line stroke-width="14" x1="18" x2="46" y1="24" y2="76" stroke="#a1c181"/>
|
||||
<line stroke-width="14" x1="82" x2="54" y1="24" y2="76" stroke="#a1c181"/>
|
||||
<line stroke-width="14" x1="54" x2="70" y1="24" y2="50" stroke="#a1c181"/>
|
||||
|
||||
<ellipse cx="50" cy="84" rx="12" ry="12" stroke-width="8" stroke="#619b8a" fill="none"/>
|
||||
<ellipse cx="16" cy="16" rx="12" ry="12" stroke-width="8" stroke="#a1c181" fill="none"/>
|
||||
<ellipse cx="84" cy="16" rx="12" ry="12" stroke-width="8" stroke="#a1c181" fill="none"/>
|
||||
<ellipse cx="50" cy="16" rx="12" ry="12" stroke-width="8" stroke="#a1c181" fill="none"/>
|
||||
</svg>
|
After Width: | Height: | Size: 680 B |
12
docs/pages/img/valinor-logo.svg
Normal file
12
docs/pages/img/valinor-logo.svg
Normal file
@ -0,0 +1,12 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 130 130">
|
||||
<circle fill="#E2E8F0" cx="65" cy="65" r="65"/>
|
||||
|
||||
<line stroke-width="14" x1="33" x2="61" y1="49" y2="101" stroke="#A1C181"/>
|
||||
<line stroke-width="14" x1="97" x2="69" y1="49" y2="101" stroke="#A1C181"/>
|
||||
<line stroke-width="14" x1="69" x2="85" y1="49" y2="75" stroke="#A1C181"/>
|
||||
|
||||
<ellipse cx="65" cy="109" rx="12" ry="12" stroke-width="8" stroke="#619B8A" fill="none"/>
|
||||
<ellipse cx="31" cy="41" rx="12" ry="12" stroke-width="8" stroke="#A1C181" fill="none"/>
|
||||
<ellipse cx="99" cy="41" rx="12" ry="12" stroke-width="8" stroke="#A1C181" fill="none"/>
|
||||
<ellipse cx="65" cy="41" rx="12" ry="12" stroke-width="8" stroke="#A1C181" fill="none"/>
|
||||
</svg>
|
After Width: | Height: | Size: 736 B |
@ -12,6 +12,8 @@ Valinor • PHP object mapper with strong type support
|
||||
|
||||
[![Mutation testing badge](https://img.shields.io/endpoint?style=flat&url=https%3A%2F%2Fbadge-api.stryker-mutator.io%2Fgithub.com%2FCuyZ%2FValinor%2Fmaster)](https://dashboard.stryker-mutator.io/reports/github.com/CuyZ/Valinor/master)
|
||||
|
||||
<img src="img/valinor-logo.svg" align="left" width="100"/>
|
||||
|
||||
Valinor is a PHP library that helps to map any input into a strongly-typed value
|
||||
object structure.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user