Revision history for Whelk
1.03 - 2025-04-03
-
OpenAPI endpoint will now correctly get the app object from context (in controller environment)
-
OpenAPI endpoint now has a name 'whelk_openapi' in the router
1.02 - 2025-03-04
-
Added response_code to endpoint definition, which changes success code in generated OpenAPI
-
Added 'schemas' method to resources as a special method executed before 'api' method is executed
-
Not setting response in endpoint definition now assumes empty response (status 204)
-
API Failures now use more specific HTTP response codes
-
Changed how wrappers set their response schemas
-
Status classes 4XX and 5XX are now used by built in wrappers
-
Wrapper maps statuses to NXX, instead of N00 (for example 2XX instead of 200)
1.01 - 2024-10-06
-
Added nullable attribute to schemas
-
Fixed object strictness check
-
Fixed using partial schemas defined in a hash
-
Improved error locations reported by the module
-
Changed explicit overriding of default values when extending schemas
-
undef is now a valid default value for nullable fields
-
removing existing default value must now be done with Whelk::Schema::NO_DEFAULT
1.00 - 2024-09-08
-
Stable version
-
OpenAPI endpoint will not be installed if path is not configured
-
Added extra field validation rules
-
CPAN tester fixes
0.06 - 2024-07-07
-
Fixed typos not being detected for endpoint parameters
-
Added Text::Levenshtein dependency and improved suggestions for unknown keys
-
Added documentation for Whelk::Schema::Definition
-
Added documentation for Whelk::OpenAPI
-
Added documentation for Kelp::Module::Whelk
0.05 - 2024-07-06
-
Framework no longer assumes resource is a subclass of Kelp, allowing custom base controllers
-
Added documentation for Whelk::Wrapper
-
Added documentation for Whelk::Formatter
-
Added documentation for Whelk::Role::Resource
-
Added documentation for Whelk::Resource
-
Set minimum List::Util version
0.04 - 2024-07-06
-
Default and example values are now validated before they are put into OpenAPI document
-
Typo detection now suggests a closest valid alternative if one exists
-
Whelk::OpenAPI has been refactored
-
Added documentation for Whelk::Exception
-
Set minimum YAML::PP version
0.03 - 2024-07-04
-
Framework now detects typos made in configuration of schemas and endpoints
-
Renamed request_schema to request and response_schema to response in Endpoint
-
Removed example libraries from the index
-
Documentation fixes
0.02 - 2024-07-03
-
Added a TodoApp example
-
Now uses persistent_controllers from Kelp 2.15
-
Documentation fixes
0.01 - 2024-07-03
-
First version