Skip to content

Commit 6dd57fc

Browse files
authored
Merge pull request #14 from oddssoft/2.x
Prepare codebase for 2.0.0 with modern PHP type system and Symfony 7.2+ support and PHP 8.3+ support
2 parents ab37d9e + 1474452 commit 6dd57fc

28 files changed

+987
-526
lines changed

.github/workflows/phpunit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ jobs:
1313
os: >-
1414
['ubuntu-latest']
1515
php: >-
16-
['8.1', '8.2', '8.3', '8.4']
16+
['8.3', '8.4']
1717
stability: >-
1818
['prefer-lowest', 'prefer-stable']

CHANGELOG.md

Lines changed: 63 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,66 @@
11
# Changelog
22

3-
## 1.0.0 - Unreleased
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/).
7+
8+
---
9+
10+
## [1.3.0] – 2025-07-21
11+
12+
### Added
13+
- Support for nullable enums.
14+
- Better property definition accuracy.
15+
16+
### Fixed
17+
- Psalm warnings for Symfony 7.3.
18+
19+
---
20+
21+
## [1.2.0] – 2025-06-02
22+
23+
### Added
24+
- `format` parameter added to the `Field` attribute.
25+
26+
---
27+
28+
## [1.1.1] – 2025-04-29
29+
30+
### Changed
31+
- Upgraded `phpdoc-parser` dependency for improved PHPDoc handling.
32+
33+
---
34+
35+
## [1.1.0] – 2023-12-06
36+
37+
### Added
38+
- Compatibility with `symfony/property-info` v7.0.
39+
40+
### Fixed
41+
- `.gitattributes` configuration.
42+
43+
---
44+
45+
## [1.0.0] – 2023-11-26
46+
47+
### Added
48+
- Initial release.
49+
- JSON Schema generator for PHP.
50+
- Primary use case: structured output generation for LLM-based systems.
51+
52+
### Features
53+
- PHP native type support.
54+
- Nested objects and list (array) support.
55+
- Psalm type annotations support.
56+
- Custom metadata via PHP attributes.
57+
- Enum support.
58+
59+
## [2.0.0] – Unreleased
60+
61+
### Added
62+
- Compatibility with Symfony 7.2 and newer.
63+
64+
> **Note**
65+
> This version takes advantage of updated type system features and is intended for use with modern Symfony applications.
466
5-
- initial release

0 commit comments

Comments
 (0)