mirror of
https://github.com/danog/Valinor.git
synced 2024-11-26 20:24: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',
|
'description' => 'Other miscellaneous changes',
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
'path' => 'docs/pages/changelog.md',
|
||||||
'releaseCommitMessageFormat' => 'release: new version {{currentTag}}',
|
'releaseCommitMessageFormat' => 'release: new version {{currentTag}}',
|
||||||
'tagPrefix' => '',
|
'tagPrefix' => '',
|
||||||
'packageBump' => false,
|
'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)
|
[![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
|
Valinor is a PHP library that helps to map any input into a strongly-typed value
|
||||||
object structure.
|
object structure.
|
||||||
|
|
||||||
@ -21,7 +23,7 @@ composer require cuyz/valinor
|
|||||||
|
|
||||||
## Documentation
|
## 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
|
## Credits & thank you
|
||||||
|
|
||||||
|
@ -17,9 +17,9 @@ extra:
|
|||||||
|
|
||||||
theme:
|
theme:
|
||||||
name: material
|
name: material
|
||||||
icon:
|
custom_dir: overrides
|
||||||
repo: fontawesome/brands/github
|
favicon: img/valinor-icon.svg
|
||||||
logo: material/pine-tree
|
logo: img/valinor-icon.svg
|
||||||
features:
|
features:
|
||||||
- navigation.sections
|
- navigation.sections
|
||||||
- navigation.top
|
- navigation.top
|
||||||
@ -28,15 +28,15 @@ theme:
|
|||||||
palette:
|
palette:
|
||||||
- media: "(prefers-color-scheme: light)"
|
- media: "(prefers-color-scheme: light)"
|
||||||
scheme: default
|
scheme: default
|
||||||
primary: deep purple
|
primary: blue grey
|
||||||
accent: deep purple
|
accent: blue grey
|
||||||
toggle:
|
toggle:
|
||||||
icon: material/brightness-7
|
icon: material/brightness-7
|
||||||
name: Switch to dark mode
|
name: Switch to dark mode
|
||||||
- media: "(prefers-color-scheme: dark)"
|
- media: "(prefers-color-scheme: dark)"
|
||||||
scheme: slate
|
scheme: slate
|
||||||
primary: deep purple
|
primary: blue grey
|
||||||
accent: deep purple
|
accent: blue grey
|
||||||
toggle:
|
toggle:
|
||||||
icon: material/brightness-4
|
icon: material/brightness-4
|
||||||
name: Switch to light mode
|
name: Switch to light mode
|
||||||
@ -61,6 +61,7 @@ nav:
|
|||||||
- Introduction: index.md
|
- Introduction: index.md
|
||||||
- Getting Started: getting-started.md
|
- Getting Started: getting-started.md
|
||||||
- Credits: credits.md
|
- Credits: credits.md
|
||||||
|
- Changelog: changelog.md
|
||||||
- Usage:
|
- Usage:
|
||||||
- Validation: validation.md
|
- Validation: validation.md
|
||||||
- Message customization: message-customization.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 -->
|
<!--- BEGIN HEADER -->
|
||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
All notable changes to this project will be documented in this file.
|
All notable changes to this project will be documented in this file.
|
||||||
<!--- END HEADER -->
|
<!--- 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)
|
## [0.9.0](https://github.com/CuyZ/Valinor/compare/0.8.0...0.9.0) (2022-05-23)
|
||||||
|
|
||||||
### Notable changes
|
### 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)
|
[![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
|
Valinor is a PHP library that helps to map any input into a strongly-typed value
|
||||||
object structure.
|
object structure.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user