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 - v6.2.5

Published by Korbeil almost 4 years ago

Fixed

  • [AutoMapper] GH#426 Fix mapping for empty collection value on an array property
  • [OpenAPI] GH#444 Remove unused files
  • [OpenAPI] GH#447 Fix errors caused by empty responses in OpenAPI specs

Documentation

  • [OpenAPI] GH#438 Fix documentation namespaces for consistency
janephp - v6.2.4

Published by Korbeil about 4 years ago

Fixed

  • [Jane] GH#423 Skip required fields in Normalizer generation
janephp - v6.2.3

Published by Korbeil about 4 years ago

Fixed

  • [Jane] GH#421 Fix non-array data in denormalize

Added

  • [OpenAPI] GH#412 Test generated client in CI
janephp - v6.2.2

Published by Korbeil about 4 years ago

Fixed

  • [Jane] GH#416 Fix version constraints for json-schema
janephp - v6.1.1

Published by Korbeil about 4 years ago

Fixed

  • [Jane] GH#414 Fix dependencies for 6.1.x
janephp - v6.2.1

Published by Korbeil about 4 years ago

Fixed

  • [OpenAPI] GH#408 Fix http_build_query method calls
  • [Jane] GH#409 Fix version constraints for Jane Packages
janephp - v6.2.0

Published by Korbeil about 4 years ago

Added

  • [OpenAPI] GH#393 Throw unexpected status code when nothing matched in Endpoint
  • [Jane] GH#390 Bring Runtime with generated files
  • [AutoMapper] GH#397 Update AutoMapper to be able to bind custom TransformerFactory
  • [JsonSchema] GH#404 Handle required fields

Changed

  • [Jane] GH#388 GH#389 Update doctrine/inflector to support both v1 & v2
  • [AutoMapper] GH#403 Allow ^5.0 for phpdocumentor/reflection-docblock

Fixed

  • [AutoMapper] GH#396 Typo in DateTime transformer
  • [JsonSchema] GH#394 Return object in denormalize if data is null
  • [JsonSchema] GH#392 Nullable property handling

Documentation

  • [OpenAPI] GH#395 Better Authentication documentation
janephp - v6.1.0

Published by Korbeil about 4 years ago

v6.1.0 release

  • Biggest feature will be AutoMapper which is updated from the Symfony PR https://github.com/symfony/symfony/pull/30248 and with some fixes thanks to @odolbeau.
  • Also I did a big refactoring onto OpenAPI components in order to mutualise code and avoid duplicates, there is some work to do, but, I think, we are on a good way.

Here is the changelog for current release:

Changed

  • [OpenAPI] GH#316 Improvement & fix on whitelisted path feature
  • [AutoMapper] GH#306 AutoMapper update

Fixed

  • [AutoMapper] GH#354 Do not try to create an instance of an interface
  • [AutoMapper] GH#353 Allow date_time_format override from bundle
  • [AutoMapper] GH#372 Use copy transformer for sibling arrays
  • [Jane] GH#371 Exclude tests from classmap
  • [Jane] GH#378 Remove Tests and fixtures from distributed composer installs using .gitattributes

Refactoring

janephp - v6.0.5

Published by Korbeil about 4 years ago

Fixed

  • [JsonSchema] GH#379 Fixed array items with mixed types
janephp - v6.0.4

Published by Korbeil about 4 years ago

Changed

  • [OpenAPI] GH#362 Allow non-standard HTTP codes
  • [Jane] GH#364 Use iterable instead of ArrayObject type hint

Fixed

  • [OpenAPI] GH#365 Client methods with invalid characters (Support for GitHub OpenAPI)
janephp - v6.0.3

Published by Korbeil about 4 years ago

Added

  • [OpenAPI] GH#318 Handle references in operation responses
  • [OpenAPI] GH#358 Being able to introduce custom QueryResolver normalizers

Fixed

  • [Jane] GH#342 Guess type for Schema when only enum property is set
  • [Jane] GH#350 Deal with null schema
janephp - v6.0.2

Published by Korbeil over 4 years ago

Fixed

  • [Jane] GH#335 Symfony 5.1 compatibility
janephp - v6.0.1

Published by Korbeil over 4 years ago

Added

  • [OpenAPI] GH#308 [Authentication] Registry to handle multiple Auth scopes
  • [OpenAPI] GH#319 Add support for custom endpoint generator class

Changed

  • [OpenAPI] GH#317 Allow dictionary parameters for OpenAPI 3

Fixed

  • [OpenAPI] GH#309 [Whitelist paths] fix infinite loop on circular reference in models
  • [Jane] GH#327 Fix composer dependencies
janephp - v6.0.0

Published by Korbeil over 4 years ago

Added

  • [Jane] GH#263 Forcing a null value on non-set property can be opt-out
  • [Jane] GH#287 New dump-config command
  • [OpenAPI] GH#290 Whitelist paths in OpenApi to generate only needed paths and related models

Changed

  • [Jane] GH#258 BC-BREAK Array instead of stdClass
  • [Jane] GH#264 Update master branch to 6.x version
  • [Jane] GH#268 Upgrade dependencies
  • [OpenAPI] GH#289 Better use of Guesser for Authentication generation

Removed

  • [OpenAPI] GH#266 Deprecation Removed HTTPlug Client generation
  • [OpenAPI] GH#265 Deprecation Removed any NormalizerFactory usage
  • [OpenAPI] GH#267 Deprecation Remove OpenApi component (replaced by OpenApi3)

Fixed

  • [OpenAPI] GH#293 Missing getSerializedBody on OpenApiRuntime BaseEndpoint class
  • [JsonSchema] GH#292 Update null values handling in normalizers
  • [OpenAPI] GH#298 Update OpenAPI v2 null support (with x-nullable field)

Documentation

  • [Jane] GH#270 Update documentation for v6
janephp - v5.3.3

Published by Korbeil over 4 years ago

Added

  • [JsonSchema] GH#263 Else assign null when property has no value is wrong
  • [OpenAPI] GH#283 Handle server port of OpenAPI v3 specification

Changed

  • [JsonSchema] GH#295 Update league/uri dependency
janephp - v5.3.2

Published by Korbeil over 4 years ago

Added

  • [JsonSchema] GH#239 Allow different datetime formats for parsing and serializing

Fixed

  • [OpenAPI] GH#247 Fix multiple OpenAPI version in configuration mapping
  • [OpenAPI] GH#250 Fix when no operationId is given and path has a dot
  • [OpenAPI] GH#251 Fixing issue where class names could contains dots
  • [CI] GH#256 Fix setup-php steps
  • [OpenAPI] GH#255 Fix null parameter to empty string transformation to keep zero value
  • [OpenAPI] GH#259 & GH#260 Update & fix twitter fixtures

Documentation

  • GH#254 Improves JSON multi schemas doc
  • GH#244 Improved documentation
janephp - v5.3.1

Published by Korbeil over 4 years ago

Added

  • [Jane] GH#240 Add date type
  • [Jane] GH#238 Allow DateTimeInterface as typehint
  • [Jane] GH#242 Add logo for Jane 🎉

Fixed

  • [Jane] Fixing gitsplit
  • [OpenAPI] GH#234 Fix variable conflict in authentication generator
  • [JsonSchema] GH#235 Fixed JsonSchema dependencies
janephp - v5.3.0

Published by Korbeil almost 5 years ago

Added

  • [OpenAPI] GH#177 Authentication feature
  • [Jane] GH#210 Added JaneObjectNormalizer to lazy-load Normalizer when needed
  • [OpenAPI] GH#206 OpenAPI 2 component
  • [AutoMapper] GH#214 Added a quick documentation about the AutoMapper
  • [Jane] GH#223 Add test with lowest dependencies

Changed

  • [Jane] GH#212 Improve sorting in MultiType guesser
  • [Jane] GH#213 More explicit message for denormalize exceptions
  • [Jane] GH#220 Upgrade phpunit to v8.x
  • [Jane] GH#224 Added typehints onto all methods & parameters and fixing obvious AST miss-match

Deprecated

  • [Jane] GH#210 NormalizerFactory is now deprecated, you should use JaneObjectNormalizer
  • [OpenAPI] GH#206 Branch 4.x & all v4.x tags are now deprecated, you should use last OpenAPI 2 component
  • [OpenAPI] GH#206 OpenAPI component is now deprecated, you should use OpenAPI 3 component

Removed

  • [OpenAPI] GH#216 Removed out-of-date USAGE instructions
  • [Jane] GH#222 Remove coveralls integration

Fixed

  • [OpenAPI] GH#218 Fixed ServerPluginGenerator by not using instance variables
  • [OpenAPI] GH#217 Missing requestBody Reference handling
  • [Jane] GH#227 Fixing JSON Pointer being created too much times
  • [OpenAPI] GH#226 Missing non-body parameters Reference handling
  • [OpenAPI] GH#230 Better handling of nullable properties (& strict mode) in Normalizers
janephp - v5.2.2

Published by Korbeil almost 5 years ago

Added

  • [Jane] GH#192 & GH#195 Symfony 5 compatibility
  • [Jane] GH#197 Local cache for Reference contents
  • [Jane] GH#198 Remove generated code before new generation
  • [OpenAPI] GH#203 Readonly property support

Changed

  • [Jane] GH#190 Cleaning all components (dependencies / tests)
  • [Jane] GH#196 Make cs fixer opt-in instead of opt-out

Fixed

  • [OpenAPI] GH#173 No content in requestBody
  • [OpenAPI] GH#194 Fixed undefined offset error with servers paths
  • [OpenAPI] GH#201 Fix nullable array types in generated Normalizer
  • [JsonSchema] GH#193 Fixing non-sanitized property fields & methods
janephp - v4.5.4

Published by Korbeil almost 5 years ago

[Jane] Allow symfony 5 #183