django-river

Django workflow library that supports on the fly changes ⛵

BSD-3-CLAUSE License

Downloads
2.1K
Stars
730
Committers
16

Bot releases are hidden (Show)

django-river - 3.3.0 Latest Release

Published by javrasya over 3 years ago

  • Drop - #182: No longer maintain Python versions <= 3.5
  • Drop - #181: No longer maintain Django versions <= 2.1
django-river - 3.2.2

Published by javrasya about 4 years ago

  • Bug - #162 : Fix a bug that is causing some possible future transitions to turn to CANCELLED for some workflows.
django-river - 3.2.1

Published by javrasya over 4 years ago

* Bug         -  #159 : A bug that is with having multiple cyclic dependencies in a workflow that happens when one of them goes through has been fixed.
* Drop        -       : Drop Python3.4 support since it is having incompatibilities with the module `six`
django-river - 3.2.0

Published by javrasya over 4 years ago

django-river finally supports Microsoft SQL Server 🎉

  • Improvement - #140 #141: Support Microsoft SQL Server 17 and 19
django-river - 3.1.4

Published by javrasya over 4 years ago

  • Bug - #137 : Fix a bug with jumping to a state (Thanks to @xuziheng1002 for fixing this)
django-river - 3.1.3

Published by javrasya over 4 years ago

  • Improvement - #135: Support Django 3.0
django-river - 3.1.2

Published by javrasya over 4 years ago

  • Improvement - #133: Support MySQL 8.0
django-river - 3.1.1

Published by javrasya over 4 years ago

  • Bug - #128: Available approvals are not found properly when primary key is string
  • Bug - #129: Models with string typed primary keys violates integer field in the hooks
django-river - 3.1.0

Published by javrasya almost 5 years ago

  • Imrovement - [#123]: Jump to a specific future state of a workflow object
  • Imrovement - [#124]: Include some BDD tests for the users to understand the usages easier.
django-river - 3.0.0

Published by javrasya almost 5 years ago

🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉

We are very happy to announce that we are releasing django-river v3.0.0 with too many improvements and critical bug fixes. We are also working on a shiny user interface for django-river administration which will be published soon.

Stay tuned :-)

  • Bug - [#106] : It crashes when saving a workflow object when there is no workflow definition for a state field
  • Bug - [#107] : next_approvals api of the instance is broken
  • Bug - [#112] : Next approval after it cycles doesn't break the workflow anymore. Multiple cycles are working just fine.
  • Improvement - [#108] : Status column of transition approvals are now kept as string in the DB instead of number to maintain readability and avoid mistakenly changed ordinals.
  • Improvement - [#109] : Cancel all other peer approvals that are with different branching state.
  • Improvement - [#110] : Introduce an iteration to keep track of the order of the transitions even the cycling ones. This comes with a migration that will assess the iteration of all of your existing approvals so far. According to the tests, 250 workflow objects that have 5 approvals each will take ~1 minutes with the slowest django v1.11.
  • Improvement - [#111] : Cancel all approvals that are not part of the possible future instead of only impossible the peers when something approved and re-create the whole rest of the pipeline when it cycles
  • Improvement - [#105] : More dynamic and better way for hooks.On the fly function and hook creations, update or delete are also supported now. It also comes with useful admin interfaces for hooks and functions. This is a huge improvement for callback lovers :-)
  • Improvement - [#113] : Support defining an approval hook with a specific approval.
  • Improvement - [#114] : Support defining a transition hook with a specific iteration.
  • Drop - [#115] : Drop skipping and disabling approvals to cut the unnecessary complexity.
  • Improvement - [#116] : Allow creating transitions without any approvals. A new TransitionMeta and Transition models are introduced to keep transition information even though there is no transition approval yet.
django-river - 2.0.0

Published by javrasya about 5 years ago

  • Improvement - [ #90,#36 ]: Finding available approvals has been speeded up ~x400 times at scale
  • Improvement - #92: It is mandatory to provide initial state by the system user to avoid confusion and possible mistakes
  • Improvement - #93 : Tests are revisited, separated, simplified and easy to maintain right now
  • Improvement - #94 : Support class level hooking. Meaning that, a hook can be registered for all the objects through the class api
  • Bug - #91 : Callbacks get removed when the related workflow object is deleted
  • Improvement - Whole django-river source code is revisited and simplified
  • Improvement - Support Django v2.2
  • Deprecation - Django v1.7, v1.8, v1.9 and v1.10 supports have been dropped
django-river - 1.0.2

Published by javrasya over 5 years ago

  • Bug - #77 : Migrations for the models that have state field is no longer kept getting recreated
  • Bug - It is crashing when there is no workflow in the workspace.
django-river - 1.0.1

Published by javrasya over 5 years ago

  • Bug - #74 : Fields that have no transition approval meta are now logged correctly.
  • Bug - django version is now fixed to 2.1 for coverage in the build to make the build pass
django-river - 1.0.0

Published by javrasya almost 6 years ago

django-river is finally having it's first major version bump. In this version, all code and the APIs are revisited
and are much easier to understand how it works and much easier to use it now. In some places even more performant.
There are also more documentation with this version. Stay tuned :-)

  • Support Django2.1
  • Support multiple state fields in a model
  • Make the API very easy and useful by accessing everyhing via model objects and model classes
  • Simplify the concepts
  • Migrate ProceedingMeta and Transition into TransitionApprovalMeta for simplification
  • Rename Proceeding as TransitionApproval
  • Document transition and on-complete hooks
  • Document transition and on-complete hooks
  • Imrove documents in general
  • Minor improvements on admin pages
  • Some performance improvements
django-river -

Published by javrasya over 6 years ago

  • Improvement - Django has dropped support for pypy-3. So, It should be dropped from django itself too.
  • Remove - pypy support has been dropped
  • Remove - Python3.3 support has been dropped
  • Improvement - Django2.0 support with Python3.5 and Python3.6 is provided
django-river - 0.9.0

Published by javrasya about 8 years ago

#30 -Bug - Missing migration file which is 0007 because of Python2.7 can not detect it.
#31 - Improvement - unicode issue for Python3. (Thanks to @psychok7 )
#33 - Bug - Automatically injecting workflow manager was causing the models not have default objects one. So, automatic injection support has been dropped. If anyone want to use it, it can be used explicitly.
#35 - Bug - This is huge change in django-river. Multiple state field each model support is dropped completely and so many APIs have been changed. Check documentations and apply changes.

django-river - 0.5.1

Published by javrasya about 8 years ago

  • Improvement - Example scenario diagrams are added into documentation.
  • Bug - Migrations was failing because of injected ProceedingTrack relation. Relation is not injected anymore. But property proceeding_track remains. It still returns current one.
django-river - 0.5.2

Published by javrasya about 8 years ago

  • Improvement - Removed unnecessary models.
  • Improvement - Migrations are added
  • Bug - content_type__0002 migrations cause failing for django1.7. Dependency is removed
  • Bug - DatabaseHandlerBacked was trying to access database on django setup. This cause no table in db error for some django commands. This was happening; because there is no db created before some commands are executed; like makemigrations, migrate.
django-river - 0.5.3

Published by javrasya about 8 years ago

  • Bug - Authorization was not working properly when the user has irrelevant permissions and groups. This is fixed.
  • Improvement - User permissions are now retrieved from registered authentication backends instead of user.user_permissions
django-river - 0.6.0

Published by javrasya about 8 years ago

  • Improvement - content_type and field are moved into ProceedingMeta model from Transition model. This requires to migrate 0002. This migrations will move value of the fields from Transition to ProceedingMeta.
  • Improvement - Slug field is added in State. It is unique field to describe state. This requires to migrate 0002. This migration will set the field as slug version of label field value. (Re Opened -> re-opened)
  • Improvement - State model now has natural_key as slug field.
  • Improvement - Transition model now has natural_key as (source_state_slug , destination_state_slug) fields
  • Improvement - ProceedingMeta model now has natural_key as (content_type, field, transition, order) fields
  • Improvement - Changelog is added into documentation.