Skip to content

Releases: firlast/wsblib

Adding new method to send response

Choose a tag to compare

@jaedsonpys jaedsonpys released this 08 Dec 01:53

1.2.0

Creating a method to send a response to the client.

Major commits

  • 3c8f2a6: Adding send_response in RequestProcessed class.

Update project requires

Choose a tag to compare

@jaedsonpys jaedsonpys released this 04 Dec 23:36

1.1.2

Update project requirements.

Major commits

  • 50b4b9e: Update project requires.

Print query string in log request

Choose a tag to compare

@jaedsonpys jaedsonpys released this 04 Dec 23:34

1.1.1

Print query string in log request.

Major commits

  • 828973d: Include query string in request path.

Making it easier to get the response

Choose a tag to compare

@jaedsonpys jaedsonpys released this 03 Dec 02:38
89de1df

1.1.0

Making it easier to get the response from the route or callback function.

Major commits

  • 9728988: Adding method to get response from callback or route;
  • cc85253: Receiving use_globals argument in get_response method.

Providing full control of the request and response cycle.

Choose a tag to compare

@jaedsonpys jaedsonpys released this 01 Dec 13:14
dfcbf17

1.0.0

Providing full control of the request and response cycle to the customer.

Major commits

  • c388264: Create RequestProcessed class;
  • 5e4d610: Create RequestProcessed instance and returning;
  • 51d42a0: Removing use_globals parameter from ProcessRequest.process method;
  • 3ccc832: Adding method to get route by path;
  • dc35cd0: Setting "parameter" attribute only when route is found;
  • 9fa9dec: Adding default errors list;
  • 64fd9d3: Extend errors_callback list with default_errors.

Adding method to convert body in JSON

Choose a tag to compare

@jaedsonpys jaedsonpys released this 01 Dec 00:16

0.7.0

Adding RequestData.json method to convert a JSON body in dict.

Major commits

  • 7257af3: Adding method to convert JSON body to dict;
  • c239ab2: Fix change log.

Adding method to close socket

Choose a tag to compare

@jaedsonpys jaedsonpys released this 01 Dec 00:13

0.6.0

Adding Server.destroy method to close server socket.

Major commits

  • b0eca90: Adding destroy method to Server class;
  • da812a3: Destroying soket in unit test.

Making request data available from globals variables

Choose a tag to compare

@jaedsonpys jaedsonpys released this 12 Nov 16:22

0.5.0

Making request data available from the function's global variables.

  • e180e05: Making request data available through global variables.
  • 81e1743: Passing use_globals argument to get_route_response method.

Adding HTTP errors handle

Choose a tag to compare

@jaedsonpys jaedsonpys released this 12 Nov 16:21

0.4.0

Adding HTTP status error handler.

Major commits

  • 202b064: Checking route parameters in Route.match_route method;
  • c59de99: Adding Error class to handle http status code errors;
  • 6ee1e28: Renaming exception to InvalidResponseError;
  • fff0eb7: Adding errors callback in request process.

Adding log module

Choose a tag to compare

@jaedsonpys jaedsonpys released this 06 Nov 19:17

0.3.0

Adding module to log request data and returning request data in ProcessRequest.process.

Major commits

  • f69dd0d: Returning request data in ProcessRequest.process method;
  • 3ac316b: Creating RequestData instance outside condition;
  • ba271f7: Adding log_request function;