Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,34 @@ Version 0.1
-----------

First public release.

Version 1.0.0
-------------
- Added comprehensive type hints to all modules
- Added `dict_to_message()`, `messages_to_list()`, and `parse_list()` utility functions
- Added `ReadOnlyProtoSerializer` class for read-only serializers
- Added `handle_exception()` method to Service class for customizable exception handling
- Added `StreamingResponseMixin` with `stream_queryset()` and `check_streaming_context()` utilities
- Added `grpc_exception_raised` signal for global exception handling
- Added `enable_signal_logging()` and `disable_signal_logging()` functions
- Added `SignalTester` context manager for testing signals
- Added new settings: `MAX_MESSAGE_LENGTH`, `PAGINATION_PAGE_SIZE`, `PAGINATION_MAX_PAGE_SIZE`, `EXCEPTION_HANDLER`, `DEFAULT_AUTHENTICATION_CLASSES`, `DEFAULT_PERMISSION_CLASSES`
- Added `get()`, `as_dict()`, and `__repr__()` methods to GRPCSettings
- Added `override_grpc_settings()` function for testing
- Added `set_code()`, `set_details()`, `is_active()`, and `time_remaining()` methods to FakeContext
- Added support for `PositiveBigIntegerField`, `FileField`, `ImageField`, `BinaryField`, and `JSONField` in proto generator
- Improved all docstrings with detailed descriptions and usage examples
- Improved error messages with f-strings and actionable guidance
- Improved exception handling with proper exception types and chaining
- Improved signal handler management with dispatch UIDs
- Improved proto type mapping to use `uint32`/`uint64` for positive integers
- Improved FakeRpcError with better `__str__()` and `__repr__()` methods
- Improved FakeServer error messages to show available methods
- Improved test multi-callables to accept full gRPC parameters
- Replaced `%` formatting with f-strings throughout
- Replaced assertions with `ImproperlyConfigured` exceptions in serializers
- Enhanced protobuf utility functions with explicit parameters
- Enhanced code organization with extracted helper functions
- Enhanced settings with more comprehensive defaults
- Fixed potential signal handler duplication issues
- Fixed queryset evaluation caching protection
2 changes: 1 addition & 1 deletion django_grpc_framework/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.2.1'
__version__ = "1.0.0"
Loading