forked from akka/akka-http
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Fixes akka#953.
- Loading branch information
Showing
13 changed files
with
61 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Provide routes method in HttpApp #953 Rename of method is OK as class is `@ApiMayChange` | ||
ProblemFilters.exclude[ReversedMissingMethodProblem]("akka.http.javadsl.server.HttpApp.routes") | ||
ProblemFilters.exclude[ReversedMissingMethodProblem]("akka.http.scaladsl.server.HttpApp.routes") | ||
ProblemFilters.exclude[DirectMissingMethodProblem]("akka.http.scaladsl.server.HttpApp.route") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
...ain/paradox/java/http/migration-guide/migration-within-10.0.x-Api-May-Change.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Migration Guide within Akka HTTP 10.0.x | ||
|
||
## General Notes | ||
Akka HTTP is binary backwards compatible within for all version within the 10.0.x range. However, there are a set of APIs | ||
that are marked with the special annotation `@ApiMayChange` which are exempt from this rule, in order to allow them to be | ||
evolved more freely until stabilising them, by removing this annotation. | ||
See @extref:[The @DoNotInherit and @ApiMayChange markers](akka-docs:common/binary-compatibility-rules.html#The_@DoNotInherit_and_@ApiMayChange_markers) for further information. | ||
|
||
This migration guide aims to help developers who use these bleeding-edge APIs to migrate between their evolving versions | ||
within patch releases. | ||
|
||
## Akka HTTP 10.0.6 -> 10.0.7 | ||
|
||
### `AkkaHttp#route` has been renamed to `AkkaHttp#routes` | ||
|
||
In order to provide a more descriptive name, `AkkaHttp#route` has been renamed to `AkkaHttp#routes`. The previous name | ||
might have led to some confusion by wrongly implying that only one route could be returned in that method. | ||
To migrate to 10.0.6, you must rename the old `route` method to `routes`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
...in/paradox/scala/http/migration-guide/migration-within-10.0.x-Api-May-Change.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Migration Guide within Akka HTTP 10.0.x | ||
|
||
## General Notes | ||
Akka HTTP is binary backwards compatible within for all version within the 10.0.x range. However, there are a set of APIs | ||
that are marked with the special annotation `@ApiMayChange` which are exempt from this rule, in order to allow them to be | ||
evolved more freely until stabilising them, by removing this annotation. | ||
See @extref:[The @DoNotInherit and @ApiMayChange markers](akka-docs:common/binary-compatibility-rules.html#The_@DoNotInherit_and_@ApiMayChange_markers) for further information. | ||
|
||
This migration guide aims to help developers who use these bleeding-edge APIs to migrate between their evolving versions | ||
within patch releases. | ||
|
||
## Akka HTTP 10.0.6 -> 10.0.7 | ||
|
||
### `AkkaHttp#route` has been renamed to `AkkaHttp#routes` | ||
|
||
In order to provide a more descriptive name, `AkkaHttp#route` has been renamed to `AkkaHttp#routes`. The previous name | ||
might have led to some confusion by wrongly implying that only one route could be returned in that method. | ||
To migrate to 10.0.6, you must rename the old `route` method to `routes`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters