janephp

Jane is a set of libraries to generate Models & API Clients based on JSON Schema / OpenAPI specs

MIT License

Downloads
198.6K
Stars
580
Committers
68

Bot releases are hidden (Show)

janephp - v7.6.1 Latest Release

Published by Korbeil 7 months ago

Changed

  • [Jane] GH#792 Improve Normalizer generation by including null values or not

Fixed

  • [Documentation] GH#791 OpenAPI binary name
janephp - v7.6.0

Published by Korbeil 9 months ago

Changed

  • [Jane] Add support for Symfony 7

Removed

  • [OpenApi] Remove unused abandoned package "php-http/message-factory"
janephp - v7.5.5

Published by Korbeil 11 months ago

Changed

  • [JsonSchema] GH#698 Consider nullable property for minLengthValidator

Fixed

  • [JsonSchema] GH#758 Fixed subproperty validator overwriting
janephp - v7.5.4

Published by Korbeil about 1 year ago

Changed

  • [Jane] GH#748 Move PHP CS Fixer to a separate composer.json file
  • [JsonSchema] GH#747 Allow league/uri v7
  • [OpenApiCommon] GH#750 Replace 'findUrlFactory' with 'findUriFactory'

Removed

janephp - v7.5.3

Published by Korbeil about 1 year ago

Changed

  • [JsonSchema] GH#436 Better PHPDoc for generated Map type properties

Fixed

  • [AutoMapper] GH#742 Always require registry during cache warmup
  • [AutoMapper] GH#741 #[MapToContext] should accept virtual properties
janephp - v7.5.2

Published by Korbeil over 1 year ago

Added

  • [AutoMapper] GH#733 Configure date format with context
  • [AutoMapper] GH#731 Introduce new attribute MapToContext

Fixed

  • [AutoMapper] GH#734 Cache warmer should generate mappers for nested classes
  • [JsonSchema] GH#739 Add getSupportedTypes method to generated Normalizers
janephp - v7.5.1

Published by Korbeil over 1 year ago

Fixed

  • [AutoMapper] GH#729 Allow to add full objects in allowed_attribute context
janephp - v7.5.0

Published by Korbeil over 1 year ago

Added

  • [AutoMapper] GH#721 Create mappers on Symfony cache warmup

Changed

  • [AutoMapper] GH#720 Add mixed return type to generated mappers
janephp - v7.4.4

Published by Korbeil over 1 year ago

Added

  • [AutoMapper] GH#710 Add Enum support in AutoMapper bundle
  • [AutoMapper] GH#711 Allow nesting properties with MapperContext::isAllowedAttribute()
  • [AutoMapper] GH#713 Use serializer's "ignore" attribute
  • [AutoMapper] GH#714 Allow custom context in AutomapperNormalizer
  • [AutoMapper] GH#716 Add readonly properties support
  • [AutoMapper] GH#718 Disallow readonly target when using object to populate

Fixed

  • [JsonSchema] GH#717 Validate all nested classes too
janephp - v7.4.3

Published by Korbeil over 1 year ago

Added

  • [AutoMapper] GH#707 Add Enum support
janephp - v7.4.2

Published by Korbeil over 1 year ago

Fixed

  • [OpenApi3] GH#690 Content-Type header typo for multipart/form-data.
  • [Jane] GH#694 Improve Windows paths support.
  • [Jane] GH#695 Fix circular reference OOM, fix null pointer exceptions.
  • [Jane] GH#705 Fixed some Symfony deprecations
janephp - v7.4.1

Published by Korbeil almost 2 years ago

Changed

  • [JsonSchema] GH#688 Allow php-jsonpointer/php-jsonpointer v4
  • [OpenAPI] GH#687 Default message in 4XX & 5XX exception codes when no description is given.
  • [OpenAPI] GH#687 Response is passed in exceptions as a property
janephp - v7.4.0

Published by Korbeil almost 2 years ago

Added

  • [OpenAPI] GH#665 Support API Platform and different response content types; application/ld+json application/hal+json application/vnd.api+json, through optional accept headers in Client methods.
  • [OpenAPI] GH#656 Support anyOf reference or null property in schema
  • [JsonSchema] GH#674 Skip normalization when property isn't set and not required in a Model

Changed

  • [OpenAPI] GH#647 Support inheritance using discriminator with mapping
  • [JsonSchema] GH#640 GH#651 Rework Validation
  • [OpenAPI] GH#667 Update OpenApi3 schema model

Fixed

  • [OpenAPI] GH#636 Fixing issue with http_query_build and QS array variables
  • [OpenAPI] GH#660 Fix non-guessed OpenApiCommon validators
  • [OpenAPI] GH#664 Fix Namespace missmatch on SubModel validation
  • [JsonSchema] GH#668 Validation - Guess SubModel only on classes, not on properties
  • [OpenAPI] GH#670 Missing models when using whitelisted-paths
  • [OpenAPI] GH#672 Unwanted models when using whitelisted-paths
janephp - v7.3.1

Published by Korbeil about 2 years ago

Changed

  • [JsonSchema] GH#643 Correctly handle floats that look like integer
  • [JsonSchema] GH#644 Since symfony 5, constraint Length with min option allows empty string
  • [JsonSchema] GH#639 Report the actual validation errors when logging validation error

Fixed

  • [JsonSchema] GH#645 Fix nullable incompatibility between JsonSchema/OpenAPI versions
janephp - v7.3.0

Published by Korbeil about 2 years ago

Added

  • [JsonSchema] GH#632 Validation - Check for nullable field values
  • [OpenApi] GH#634 Make a new method to get an endpoint raw response

Deprecated

  • [OpenApi] GH#634 Using Client::executeEndpoint method with $fetch parameter equals to response is deprecated, use Client::executeRawEndpoint instead.

Removed

  • [OpenApi] GH#635 Remove symfony/translation-contracts dependency

Fixed

  • [JsonSchema] GH#629 Handle validation when fields has no validation guess
  • [OpenApi] GH#633 Remove null from endpoint @return statement if unexpected status code is to be thrown.
janephp - v7.2.5

Published by Korbeil over 2 years ago

Added

  • [JsonSchema] GH#627 Added a way to skip validation in Normalizer context
janephp - v7.2.4

Published by Korbeil over 2 years ago

Fixed

  • [AutoMapper] GH#624 AutoMapper directory creation should be out of registry functions
janephp - v7.2.3

Published by Korbeil over 2 years ago

Changed

  • [AutoMapper] GH#623 We don't need registry when not hot reloading
janephp - v7.2.2

Published by Korbeil over 2 years ago

Fixed

  • [AutoMapper] GH#606 Lock file when writing in AutoMapper registry
janephp - v7.2.1

Published by Korbeil over 2 years ago

Fixed

  • [JsonSchema] GH#602 Add defensive code to avoid null object usage
  • [JsonSchema] GH#603 Add Validation compatibility for OpenApi components

Documentation

  • [AutoMapper] GH#600 Fixed link to transformer examples