Skip to content

Commit

Permalink
chore: release
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigorahman committed Feb 20, 2024
1 parent f7bdc2e commit 15e0dc0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
## 2.0.6
fix: change PUT behavior to return 404 when resource not found
## 3.0.0
fix: BREAK Change: change PUT behavior to return 404 when resource not found

Modified the behavior of the PUT verb in the REST service to return an HTTP 404 (Not Found) status when a resource with the specified ID is not found. Previously, if a resource with the specified ID was not found, the system would create a new resource and return an HTTP 200 (OK) status. This change aligns the service with REST best practices, ensuring that API consumers receive clear feedback when attempting to update a non-existent resource.


## 2.0.5
fix: Change form that get local ip address

Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: json_rest_server
description: A RESTful server based on JSON With this package you can have a fully functional RESTful server with auth, pagination and all the necessaries services do build an application
version: 2.0.6
version: 3.0.0
repository: https://github.com/rodrigorahman/json_rest_server
issue_tracker: https://github.com/rodrigorahman/json_rest_server/issues

Expand Down

0 comments on commit 15e0dc0

Please sign in to comment.