Skip to content

Release Notes

VersionDateSummary
v1.0.3
diff
2025-11-03other
Details
Features ✨
  • None
Fixes 🐛
  • None
Other 📦
  • bump version to 1.0.3
  • remove unused foreign key rewriting method from ModelUtil
  • improve API view set documentation formatting and clarify M2MRelationSchema usage
v1.0.2
diff
2025-11-01featfixother
Details
Features ✨
  • update ManyToManyAPI to use relation's related_schema and add validation for related_schema in M2MRelationSchema
  • add release notes documentation and macros for changelog generation
  • add methods for handling nested relations and rewriting foreign keys in ModelUtil
  • enhance ModelUtil with async methods for field handling and payload processing
  • add ManyToManyAPI utility class for dynamic M2M endpoint management in Django Ninja
  • implement ManyToManyAPI with dynamic view generation and M2M operations
Fixes 🐛
  • update M2MRelationSchema to check for model subclassing and correct related_schema assignment
  • update parse_data method to handle non-dict input types
  • change _rewrite_nested_foreign_keys method from async to synchronous for consistency in ModelUtil
  • replace list() with literal empty list [] for consistency in Tests class
  • change _decode_binary method from async to synchronous for improved performance
  • update ManyToManyAPI to use view_set attributes for clarity and consistency
  • replace spaces with underscores in error key for 404 response in tests
  • replace spaces with underscores in NotFoundError model error key in tests
  • update ManyToManyAPI to use default_auth instead of m2m_auth for clarity
  • replace spaces with underscores in error key for 404 response in tests
  • replace spaces with underscores in NotFoundError model error key in tests
  • replace spaces with underscores in NotFoundError model error key
Other 📦
  • bump version to 1.0.2
  • remove unused test method from ManyToManyAPITestCase
  • add unit tests for unique_view decorator and exception handling
  • add CNAME file for custom domain configuration
  • remove unused version configuration from mkdocs.yml
  • update documentation dependencies and configure theme fonts
  • add quality gate status badge to index.md
  • Add quality gate status badge to README
  • simplify data transformation logic in ORJSONRenderer
  • streamline relation schema generation methods in ModelSerializer
  • introduce NOT_FOUND constant for consistent error messaging in Tests
  • simplify ManyToManyAPI view registration by extracting methods for get and manage relations
  • add internal use warning to ManyToManyAPI class documentation
  • added docstrings
  • remove outdated 'optionals' attribute description from ModelSerializer documentation
  • updated model_serializer documentation
  • update ModelSerializer customs documentation for clarity on tuple structures and resolution order
  • clean up whitespace and improve custom fields normalization in ModelSerializer
v1.0.1
diff
2025-10-30featfixother
Details
Features ✨
  • add development requirements for Django Ninja and JOSERFC
  • update MkDocs configuration with new plugins and enhanced theme settings
  • implement new search functionality for improved user navigation
  • update logo image for enhanced visual branding
  • enhance logo styling in extra.css for improved header appearance
  • update MkDocs configuration with additional plugins and enhancements for improved documentation
  • add favicon to MkDocs configuration for improved branding
Fixes 🐛
  • bad register for m2m endpoint
  • update documentation URL to new domain
  • update documentation link to new domain
  • add trailing slash to site URL for consistency
  • update site URL to reflect new domain for project
Other 📦
  • bump version to 1.0.1
  • enhance contributing guidelines with additional ways to help and support options
  • update README.md
  • remove unused content action edit feature from MkDocs configuration
  • remove unused JavaScript analytics file from MkDocs configuration
v1.0.0
diff
2025-10-28featfixother
Details
Features ✨
  • implement caching mechanism for improved performance in APIViewSet
  • add dynamic M2M filters support in APIViewSet with example usage
  • add detailed docstring to M2MRelationSchema for improved documentation
  • update filters type in M2MRelationSchema to use dict[str, tuple] for better type safety
  • update M2MRelationSchema to use BaseModel and add type hints for improved clarity
  • refactor m2m relation handling to use instance variables for add/remove/get flags
  • extend M2MRelationSchema with additional fields and model configuration
  • add M2M filters schema generation and integration in API view
  • enhance M2M relation handling with new schema and type annotations
Fixes 🐛
  • correct formatting in error message for relation checks in APIViewSet
Other 📦
  • bump version to 1.0.0 for release
  • improved m2m_relations APIViewSet with M2MRelationSchema
  • add favicon.ico to documentation assets
  • update logo image in documentation
  • update documentation for m2m_relations type
v0.11.4
diff
2025-10-28featother
Details
Features ✨
  • update m2m_relations type to include authentication and enhance documentation
  • update m2m_relations type to include path and enhance documentation
Fixes 🐛
  • None
Other 📦
  • bump version to 0.11.4
v0.11.3
diff
2025-10-28featfixother
Details
Features ✨
  • enhance APIViewSet with m2m_path attribute and related view management improvements
Fixes 🐛
  • change m2m_relations type from tuple to list for better compatibility
Other 📦
  • bump version to 0.11.3
  • bump version to 0.11.2
v0.11.1
diff
2025-10-28featother
Details
Features ✨
  • add async atomic transaction decorator and unique view name decorator
Fixes 🐛
  • None
Other 📦
  • bump version to 0.11.1
  • update user serialization and views to use schema-based approach
v0.11.0
diff
2025-10-26featother
Details
Features ✨
  • enhance error handling with custom NotFoundError exception
  • add NotFoundError exception for improved error handling
  • implement user profile picture upload functionality
  • add comprehensive documentation and installation guide for the project
  • implement user profile update functionality
  • enhance error handling in user authentication process
  • implement caching mechanism for improved performance
  • add documentation for APIView class and its usage examples
  • add async atomic transaction decorator for async functions
  • refine unique_view decorator documentation and suffix resolution logic
  • enhance unique_view decorator to support string model names and pluralization
  • add unique_view decorator to ensure unique function names per model context
  • add example app with JWT authentication and User model integration
  • add detailed docstring for AsyncJwtBearer to enhance understanding of JWT authentication
  • add example app with User model, basic views, and URL configuration
  • add comprehensive documentation for ModelUtil to clarify its functionality and usage
  • add detailed documentation for ModelSerializer to centralize serialization intent and reduce boilerplate
  • add configuration containers for create, read, and update schemas in ModelSerializer
Fixes 🐛
  • None
Other 📦
  • add documentation URL to pyproject.toml
  • Delete CNAME
  • Update CNAME
  • Update CNAME
  • bump to version 0.11.0
  • replace SerializeError with NotFoundError in model and view tests
  • remove schemas step from tutorial and update references
  • added tutorial authentication.md
  • add tutorial link for authentication guide in documentation
  • added authentication.md documentation
  • update .gitignore to exclude test_api directory
  • added model_util get_reverse_relations docs
  • removed deprecated methods to ModelSerializer
  • better writing
  • WIP: model util docs
  • deep-purple theme
  • initial definition of sections
  • added navbar
  • Create CNAME
  • fix
  • added Index.md
  • added code blocks syntax highlight
  • logo.png
  • docs requirements
  • extra.css
  • mkdocs init
v0.10.3
diff
2025-09-23featother
Details
Features ✨
  • enhance ModelUtil to exclude model fields from custom payloads
Fixes 🐛
  • None
Other 📦
  • bump version to 0.10.3
v0.10.2
diff
2025-09-18fixother
Details
Features ✨
  • None
Fixes 🐛
  • restored functions
Other 📦
  • bump to version 0.10.2
v0.10.1
diff
2025-09-18featother
Details
Features ✨
  • refactor related management methods in APIViewSet for clarity and improved summaries
  • add pagination to get_related method in APIViewSet
Fixes 🐛
  • None
Other 📦
  • bump version to 0.10.1
v0.10.0
diff
2025-09-15featother
Details
Features ✨
  • enhance AsyncJwtBearer authentication with error handling and return false on failure
  • add M2M relation parameters to APIViewSet documentation
  • implement M2M add/remove functionality with async support in API views
  • add new schemas for M2M operations including add and remove functionality
Fixes 🐛
  • None
Other 📦
  • bump to version 0.10.0
  • enhance ModelUtil method return type and add early return for empty query
  • bump codecov/codecov-action from 5.5.0 to 5.5.1
  • bump actions/setup-python from 5 to 6
  • bump codecov/codecov-action from 5.4.3 to 5.5.0
0.9.2
diff
2025-08-25other
Details
Features ✨
  • None
Fixes 🐛
  • None
Other 📦
  • bump version to 0.9.2
  • update API view routing to use router and improve path handling
v0.9.1
diff
2025-08-25other
Details
Features ✨
  • None
Fixes 🐛
  • None
Other 📦
  • bump to version 0.9.1
  • remove redundant CRUD route tests and streamline viewset relation handling
  • update API route handling to use unified API instance and improve endpoint structure
  • bump actions/checkout from 4 to 5
v0.9.0
diff
2025-07-18other
Details
Features ✨
  • None
Fixes 🐛
  • None
Other 📦
  • bump to version 0.9.0
  • enhance APIViewSet structure and improve route handling and added dynamic endpoint documentation
  • simplify router tag generation in APIViewSet
v0.8.4
diff
2025-06-20other
Details
Features ✨
  • None
Fixes 🐛
  • None
Other 📦
  • bump version to 0.8.4
  • improve router tag generation and clean up code formatting in APIViewSet
v0.8.3
diff
2025-06-18fixother
Details
Features ✨
  • None
Fixes 🐛
  • improve authentication retrieval logic in APIViewSet
Other 📦
  • bump version to 0.8.3
v0.8.2
diff
2025-06-18featother
Details
Features ✨
  • add view-specific authentication methods to APIViewSet
Fixes 🐛
  • None
Other 📦
  • bump version to 0.8.2
v0.8.1
diff
2025-06-18fixother
Details
Features ✨
  • None
Fixes 🐛
  • update model_dump calls to use JSON mode and enhance data rendering for IP addresses
Other 📦
  • bump version to 0.8.1
  • bump codecov/codecov-action from 5.4.2 to 5.4.3
  • Update README.md
v0.8.0
diff
2025-05-15featfixother
Details
Features ✨
  • optimize post-create actions using asyncio.gather for improved performance
  • add lifecycle hooks for model save and delete operations
Fixes 🐛
  • update related model retrieval to use model primary key name
  • update authentication parameter in API view decorators
  • correct delete method to ensure on_delete is called after super().delete
Other 📦
  • bump to version 0.8.0
  • update README to include ModelSerializer lifecycle methods
  • bump codecov/codecov-action from 5.4.0 to 5.4.2
v0.7.8
diff
2025-03-21featother
Details
Features ✨
  • add api_route_path attribute to APIViewSet for dynamic routing
Fixes 🐛
  • None
Other 📦
  • bump to version 0.7.8
v0.7.7
diff
2025-03-05other
Details
Features ✨
  • None
Fixes 🐛
  • None
Other 📦
  • bump to version 0.7.7
  • when output data is parsed on relation call queryset request method
  • bump codecov/codecov-action from 5.3.1 to 5.4.0
v0.7.6
diff
2025-02-24other
Details
Features ✨
  • None
Fixes 🐛
  • None
Other 📦
  • bump to version 0.7.6
  • call from_orm asynchronously
v0.7.5
diff
2025-02-22featother
Details
Features ✨
  • add asynchronous attribute access for model fields
Fixes 🐛
  • None
Other 📦
  • bump to version 0.7.5
v0.7.4
diff
2025-02-20fixother
Details
Features ✨
  • None
Fixes 🐛
  • get_related_schema_data + refactor
Other 📦
  • bump to version 0.7.4
v0.7.3
diff
2025-02-19fixother
Details
Features ✨
  • None
Fixes 🐛
  • relations serialization
Other 📦
  • bump to version 0.7.3
  • refactor and added generate_related_s
  • test adapted
  • bump codecov/codecov-action from 5.1.2 to 5.3.1
v0.7.2
diff
2025-01-30other
Details
Features ✨
  • None
Fixes 🐛
  • None
Other 📦
  • bump to version 0.7.2
  • handled relation serialization if them are not ModelSerializer instance
v0.7.1
diff
2025-01-29fixother
Details
Features ✨
  • None
Fixes 🐛
  • replaced or with and
Other 📦
  • bump to version 0.7.1
v0.7.0
diff
2025-01-29other
Details
Features ✨
  • None
Fixes 🐛
  • None
Other 📦
  • continue if read fields are not declared
  • bump to version 0.7.0
  • fixed optional fields for relations and now forward relations schema is serialized properly
v0.6.4
diff
2025-01-22other
Details
Features ✨
  • None
Fixes 🐛
  • None
Other 📦
  • bump to version 0.6.4
  • Update README.md
v0.6.3
diff
2025-01-22other
Details
Features ✨
  • None
Fixes 🐛
  • None
Other 📦
  • renamed auths to auth
  • bump to version 0.6.3
  • model util get_object "with_qs_request" param
  • Update README.md
v0.6.2
diff
2025-01-19other
Details
Features ✨
  • None
Fixes 🐛
  • None
Other 📦
  • bump to version 0.6.2
  • Update README.md
  • handled every jose error
  • model properties now are serializable refactor: get_schema_out_data
v0.6.1
diff
2025-01-13fixother
Details
Features ✨
  • None
Fixes 🐛
  • get pk properly into APIViewSet
  • filter schema not mandatory
Other 📦
  • bump to version 0.6.1
  • Update README.md
  • test adapted
  • Optional fields override fields and excludes if they will be not given
  • handling of pydantic validation error
  • Update README,md
v0.6.0
diff
2025-01-12other
Details
Features ✨
  • None
Fixes 🐛
  • None
Other 📦
  • bump to version 0.6.0
  • tests for get_object with additional data
  • removed useless part of code into tests
  • get_object ModelUtil function now can accept additional arguments for the query ( filters and getters )
  • support for query params into APIViewSet
  • test
  • support for query params into APIViewSet
  • properties for ModelUtil
  • BaseException
  • typing
  • handle by default every Custom exception based on Base exception class and make Auth errors more verbose
  • Update README.md
  • Update README.md
  • Update coverage.yml
  • Update coverage.yml
  • Update README.md
  • Update README.md
  • Update README.md
  • bump actions/checkout from 3 to 4
  • bump codecov/codecov-action from 4.4.1 to 5.1.2
  • Create dependabot.yml
  • Update coverage.yml
  • Update pyproject.toml
  • Update coverage.yml
  • Create coverage.yml
  • revert
  • Update pyproject.toml
  • Update pyproject.toml
  • Update pyproject.toml
  • Update pyproject.toml
  • Update pyproject.toml
  • Update pyproject.toml
  • Update pyproject.toml
  • Create coverage.yml
  • Update pyproject.toml
  • revert commit #a9884862b29ed56449bd09e0fd9e96d178e7b159
  • added coverage
  • Update README.md
  • Update README.md
  • Update README.md
v0.5.0
diff
2025-01-09fixother
Details
Features ✨
  • None
Fixes 🐛
  • optionals type
  • removed debugger print
  • list view name
Other 📦
  • bump to version 0.5.0
  • Update README.md
  • dinamically get pk attribute name into curd paths and validation
  • added possibility to disable crud operation/s into APIViewSet
  • added exclude fields to serializers
  • generate_model_schema functionm
  • revert commit #0a14d59
  • test ruleset
  • revert commit #09a3f19a156f3174675a3c3b7e7830b7ec1a288e
  • test ruleset
  • adapted tests for the new exception updates
  • WIP: Model util test for every model
  • GenericModelUtilTestCase
  • Request class
  • return status codes into views
  • added test if queryset_request is called inside get_object method
  • WIP: ModelUtil test cases
  • ApiView test case
  • many to many forward and reverse relation tests
  • reverse and forward one to one relations tests
  • generic tests
  • WIP: Reverse relations test cases
  • ApiViewSetForeignKeyTestCaseBase more generic
  • Viewset tests with foreign key WIP: tests with reverse foreign key
  • removed useless pass
  • deprecated methods
  • GenericRelationViewSetTestCase
  • tests_app views
  • response data property
  • ViewSetTests
  • schemas for additional view
  • tests generic
  • delete_s returns 204, None
  • added list view test
  • WIP: APIViewSet tests
  • return view func
  • WIP: tests for ViewSet
  • removed test_urls
  • verbose name view resolver model util method
  • init test app
v0.4.0
diff
2025-01-08other
Details
Features ✨
  • None
Fixes 🐛
  • None
Other 📦
  • bump to version 0.4.0
  • Update README.md
  • removed deprecated methods
  • SerializeError handled with exception handlers
  • support for optional fields
  • Update README.md
  • Update README.md
  • formatting
  • Update .pre-commit-config.yaml
v0.3.1
diff
2024-11-07fixother
Details
Features ✨
  • None
Fixes 🐛
  • render and imports
Other 📦
  • bump to version 0.3.1
v0.3.0
diff
2024-10-10other
Details
Features ✨
  • None
Fixes 🐛
  • None
Other 📦
  • bump to version 0.3.0
  • better way to get model fields for serialization
  • added serialization for django models for reverse relations also
  • removed deprecated methods to ModelSerializer, they have been moved to ModelUtil
  • Added ModelUtil class - class for models's serialization
  • added types
  • bump to version 0.2.2
v0.2.2
diff
2024-10-03other
Details
Features ✨
  • None
Fixes 🐛
  • None
Other 📦
  • better exception handling in serialization
v0.2.1
diff
2024-10-02other
Details
Features ✨
  • None
Fixes 🐛
  • None
Other 📦
  • bump to version 0.2.1
  • Update README.md
  • Added NinjaAIO api class
  • Update README.md
  • bump to version 0.2.0
v0.2.0
diff
2024-10-01fixother
Details
Features ✨
  • None
Fixes 🐛
  • Reverse OneToOne rels
Other 📦
  • ManyToMany relations parsed properly forward and reverse
  • fixed router path name for model CRUD
  • passing only customs fields in custom actions
  • adapted main changes
  • Added ManyToMany resolver for schemas
v0.1.4
diff
2024-09-29fixother
Details
Features ✨
  • None
Fixes 🐛
  • get reverse relation schema
Other 📦
  • bump to version 0.1.4
  • Update README.md
  • changed docs directory path
  • OneToOne reverse schema enchant
  • adapted render for pagination
  • removed __dict__ properties field
  • better handling of bytes field serialization
  • enumerate instead of counter increment
  • Update README.md
v0.1.3
diff
2024-09-28other
Details
Features ✨
  • None
Fixes 🐛
  • None
Other 📦
  • bump to version 0.1.3
  • Update README.md
  • Update README.md
  • Update README.md
  • added docs images
  • Added pagination to model list view
  • Update README.md
  • removed useless function
  • Update README.md
v0.1.2
diff
2024-09-26other
Details
Features ✨
  • None
Fixes 🐛
  • None
Other 📦
  • Update __init__.py
  • Update LICENSE
  • Update .gitignore
v0.1.1
diff
2024-09-26fixother
Details
Features ✨
  • None
Fixes 🐛
  • request was not passed to auth handler method
  • create_s method
  • parse input data
  • AuthError
Other 📦
  • bump version to 0.1.1
  • Update README.md
  • Update README.md
  • Update README.md
  • Removed requirements.txt
  • Update pyproject.toml
  • docstring to __init__
  • Update pyproject.toml
  • Update pyproject.toml
  • Update LICENSE
  • Update README.md
  • Update README.md
  • Update README.md
  • Update README.md
  • Update README.md
  • Update README.md
  • renamed add_views_route to add_views_to_route
  • customs now are initialized with dict comprehension
  • is custom function
  • Added get_optional_fields method
  • Added custom actions method to use custom fields
  • Update README.md
  • Update README.md
  • Added custom fields in CRUD schemas
  • Added optional fields to CreateSerializer
  • Update .gitignore
  • Update README.md
  • AsychHTTPBearer refactor
  • formatting
  • Update README.md
  • renamed ninja-aio dir into ninja_aio
  • Update README.md
  • Update README.md
  • Update README.md
  • Update README.md
  • Update README.md
  • Update README.md
  • Update README.md
  • Update README.md
  • Update README.md
  • Update README.md
  • Update README.md
  • Update README.md
  • Update README.md
  • Update README.md
  • dcd is now class attribute
  • Update README.md
  • authenticate method returns Token method
  • Update README.md
  • Update README.md
  • Update README.md
  • Renamed render to renders
  • Update README.md
  • Update README.md
  • Update README.md
  • Initial commit
  • Initial commit