Skip to content

0.4.2

Pre-release
Pre-release

Choose a tag to compare

@Samuel-Ricardo Samuel-Ricardo released this 02 Jan 15:29
· 296 commits to main since this release
a3fe9da

📝 | Changelog:


⬆️ | Update Dependecy: io.rest-assured:rest-assured

Bumps io.rest-assured:rest-assured from 5.3.2 to 5.5.0.

Changelog

Sourced from io.rest-assured:rest-assured's changelog.

Changelog 5.5.0 (2024-07-05)

  • Removing custom validation of pathParams in the mock-mvc module and instead rely on the Spring implementation(issue 1782) (thanks to taeyeon-Kim for pull request)

  • Fixing "Error java.lang.NoSuchMethodError for HttpMethod.resolve()" in mock-mvc module (issue 1760) (thanks to d0vi for pull request)

  • Fix #1707: SVG file upload - fatal error :1:1: content is not allowed in prolog (#1777) (thanks to Byounghee kim for pull request)

  • Fix #1773: Remove check for response HTTP status code. (thanks to macmon for pull request)

  • Introducing the "scala-extensions" module for Scala 3 (#1770). This means that you can write tests like this in Scala 3:

    @​Test def extraction with rest assured scala extensions: Unit = val message: String = Given(req => req.port(7000) req.header("Header", "Header") req.body("hello") ) .When( _.put("/the/path") ) .Extract( _.path("message") ) assertThat(message).isEqualTo("Hello World") (thanks to Carlos Eduardo for pull request)

  • Remove deprecated Content-Transfer-Encoding from multipart post headers (#1762) (thanks to Michal Trna for pull request)

  • Fixed pathParams double encoding in mock-mvd module (#1756) (thanks to Dmitry Kaukov for pull request)

  • Upgraded Groovy from version 4.0.16 to 4.0.22

  • Upgraded Jackson from version 2.14.3 to 2.17.1

  • Upgraded kotlin extension module to use Kotlin 2.0.0 (previously 1.9.20 was used)

  • Upgraded Guava library from 32.0.1-jre to 33.2.1-jre

Changelog 5.4.0 (2023-12-08)

  • Properly parse primitive JSON values (thanks to Jörg Eichhorn for pull request)
  • Upgraded Groovy from 4.0.10 to 4.0.16
  • Introduce spring-web-test-client-kotlin-extensions (#1731) (thanks for TheDevLuffy for pull request). This means that if you depend on: org.restassured:spring-web-test-client-kotlin-extensions:<version> you can write code like this for Spring WebTest client: val id: Int = Given { webTestClient(webTestClient) param("name", "Johan") } When { get("/greeting") } Then { body( "id", Matchers.equalTo(1), "content", Matchers.equalTo("Hello, Johan!") ) } Extract { path("id") }
  • Fix 1746: JsonPath: wrong result and exception when jsonPath partly evaluates to string/boolean/number (#1747) (thanks to Oleksandr Kulychok for pull request)

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

⬆️ | Update Dependecy: org.springdoc:springdoc-openapi-starter-webmvc-ui

Bumps org.springdoc:springdoc-openapi-starter-webmvc-ui from 2.2.0 to 2.7.0.

Release notes

Sourced from org.springdoc:springdoc-openapi-starter-webmvc-ui's releases.

springdoc-openapi v2.7.0 released! Latest

What's Changed

Added

  • #2777 - Add SortAsQueryParam annotation
  • #2649 - Add Encoding to multiple files and JSON payloads request test case
  • #2653 - Trim indent apply schema description
  • #2664 - Refactor Replace hardcoded schema prefix length
  • #2509, #2668 - Replace swagger urls in org.springdoc.core.properties.AbstractSwaggerUiConfigProperties#urls only if url is changed
  • #2727 - Display nullable request body with map type
  • #2746 - Readme.md add gradle import
  • #2760 - Added support for RequestBody as a meta-annotation
  • #2703 - Display nullable request body with map type
  • #2657 - Add support for OAS v3.1 webhooks

Changed

  • Upgrade spring-boot to 3.4.0
  • Upgrade swagger-ui to 5.18.2
  • Upgrade spring-security-oauth2-authorization-server to 1.4.0
  • Upgrade swagger-core to 2.2.25
  • Upgrade spring-cloud-function to 4.2.0-M1

Fixed

  • #2752 - Swagger doesn't work after custom annotation replacing request parameters
  • #2747 - Move to webjars-locator-lite, in preparation for spring-boot 3.4 GA
  • #2705 - @​Schema oneOf config is ignored when generate the api-docs
  • #2744 - SpringDocUI doest add Javadoc into swagger from abstract class
  • #2708 - Spring Boot (Webflux) - Swagger UI - redirect URI does not include Gateway Prefix
  • #2725 - Serialization to openapi of org.springframework.data.domain.Sort is wrong for Spring Boot >2.x
  • #2740 - Swagger-ui ignores property springdoc.swagger-ui.supported-submit-methods
  • #2733 - Bad schema return type when created a generic wrapper class for response entity
  • #2687 - Failed to load api definition after spring boot 3.4.0-M2
  • #2642 - Calling Swagger UI via different context paths fails
  • #2709 - Annotation @​Hidden on rest controller class level doesn't work due to spring default proxying mechanism CGLIB
  • #2642 - Calling Swagger UI via different context paths fails

... (truncated)

Changelog

Sourced from org.springdoc:springdoc-openapi-starter-webmvc-ui's changelog.

[2.7.0] - 2024-23-11

Added

  • #2777 - Add SortAsQueryParam annotation
  • #2786 - No static resource swagger-ui/index.html error after migration to 2.7.0-RC1

Changed

  • Upgrade spring-boot to 3.4.0
  • Upgrade swagger-ui to 5.18.2
  • Upgrade spring-security-oauth2-authorization-server to 1.4.0

[2.7.0-RC1] - 2024-11-06

Added

  • #2649 - Add Encoding to multiple files and JSON payloads request test case
  • #2653 - Trim indent apply schema description
  • #2664 - Refactor Replace hardcoded schema prefix length
  • #2509, #2668 - Replace swagger urls in org.springdoc.core.properties.AbstractSwaggerUiConfigProperties#urls only if url is changed
  • #2727 - Display nullable request body with map type
  • #2746 - Readme.md add gradle import
  • #2760 - Added support for RequestBody as a meta-annotation
  • #2703 - Display nullable request body with map type
  • #2657 - Add support for OAS v3.1 webhooks

Changed

  • Upgrade spring-boot to 3.4.0-RC1
  • Upgrade swagger-core to 2.2.25
  • Upgrade swagger-ui to 5.18.1
  • Upgrade spring-cloud-function to 4.2.0-M1
  • Upgrade spring-security-oauth2-authorization-server to 1.4.0-M2

Fixed

  • #2752 - Swagger doesn't work after custom annotation replacing request parameters
  • #2747 - Move to webjars-locator-lite, in preparation for spring-boot 3.4 GA
  • #2705 - @​Schema oneOf config is ignored when generate the api-docs
  • #2744 - SpringDocUI doest add Javadoc into swagger from abstract class
  • #2708 - Spring Boot (Webflux) - Swagger UI - redirect URI does not include Gateway Prefix
  • #2725 - Serialization to openapi of org.springframework.data.domain.Sort is wrong for Spring Boot >2.x
  • #2740 - Swagger-ui ignores property springdoc.swagger-ui.supported-submit-methods
  • #2733 - Bad schema return type when created a generic wrapper class for response entity
  • #2687 - Failed to load api definition after spring boot 3.4.0-M2
  • #2642 - Calling Swagger UI via different context paths fails
  • #2709 - Annotation @​Hidden on rest controller class level doesn't work due to spring default proxying mechanism CGLIB
  • #2642 - Calling Swagger UI via different context paths fails
  • #2663 - Content definition in @​ApiResponse remove schema generated based on the returned value
  • #2646 - The operationId is unnecessarily deduplicated for a requestBody with multiple content types
  • #2643 - UpperSnakeCaseStrategy is not working with spring boot and ParameterObject
  • #2640 - @​JsonUnwrapped is ignored when PolymorphicConverter is enabled
  • #2638 - Boolean Parameter with @​Schema Annotation Changes Type to string in OpenAPI Documentation
  • #2659 - Fix typo in SpringSecurityLoginEndpointCustomizer method name

... (truncated)

Commits
  • 92d82da [maven-release-plugin] prepare release v2.7.0
  • 7226c45 revert back to version of swagger-core 2.2.25
  • 7e2991c When using ParameterObject, description is taken from superclass instead of s...
  • b04a2c0 - Upgrade spring-boot to 3.4.0
  • ee2dfc4 Merge pull request #2777 from ondrejkrpec/ondrejkrpec/add-sort-as-query-param
  • f8c22af Add SortAsQueryParam annotation
  • 1fdddf6 [maven-release-plugin] prepare for next development iteration
  • 54278b8 [maven-release-plugin] prepare release v2.7.0-RC1
  • bb0359f CHANGELOG.md update
  • 2ba7055 Upgrade swagger-ui to 5.18.1
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

🚪 | API Gateway

👨‍🔬 | Task: Create API Gateway & Documentation

🧾 | Context:

Create API Gateway and mplements Documentation with Open API & Swagger

✅ - Add deps
✅ - Update Config
✅ - Docker Containers
✅ - Update Gitignore
✅ - Setup Router:
| 📌- Product Service
| 📌- Order Service
| 📌- Inventory Service
✅ - Create Migrations
✅ - Setup Environment


📑 | Documentataion

👨‍🔬 | Task: Create API Gateway & Documentation

🧾 | Context:

Create API Gateway and mplements Documentation with Open API & Swagger

✅ - Add deps
✅ - Update Config
✅ - Docker Containers
✅ - Update Gitignore
✅ - Setup Router:
| 📌- Product Service
| 📌- Order Service
| 📌- Inventory Service
| 📌- Docs
✅ - Create Migrations
✅ - Setup Environment

🌐 URL:


📝 | /api-docs

image

📝 | /api-docs/ui.html

image


🛂 | Auth Wall

👨‍🔬 | Task: Auth Wall

🧾 | Context:

Setup Auth wall with API Gateway and Keycloak

✅ - Keycloak Container
✅ - Update Environment
✅ - Volume Data
✅ - Auth Security Config

What's Changed

New Contributors

Full Changelog: 0.3.1...0.4.2