The format is based on Keep a Changelog,
-
Decompiler
-
App adds posibility to decompile script from imported execute package and then update project data
-
Decompiler has also detection of unsuported operations, sytax and semantic erros
-
Commands that can by decompiled :
-
Object whit method which can have many outputs, parameters in method can be:
- constant
- variable which is result of method
- project parameter
- value of ActionPoint
- atribute of class last parameter must contain name of action:
- an="action name"
-
Condtions: alone "if" or "if" continued many "elif", condtion must be in form:
- if "variable" == "constant":
-
Command "Continue" if is some command after command "continue" on same level it will be not compiled
-
- Compatibility with
arcor2_kinect_azure:0.7.0
- Fix of the fix (from the previous release).
- Side effect is that it is now necessary to set
ARCOR2_PROJECT_PATH
(can be set to an arbitrary value).
- Dependency on
arcor2_runtime
was specified on a wrong place.
- Marked as a stable version.
- Added dependency on
arcor2_runtime
(so a manually written script can import e.g.ResourcesException
). - Health check end-point changed to
/healthz/ready
.
- Dependency on
arcor2~=0.26.0
.
- Switched to Python 3.10, updated dependencies.
-
BREAKING: Implement new error handling flow. Error codes of every endpoint were replaced with error types as described in swagger documentation.
-
BREAKING:
ProjectPublish
operation parameterproject_id
moved to query asprojectId
. Error codes were replaced with error types as described in swagger documentation. -
Update of API description.
- Python 3.9.
- API version is now the same as service version.
- Published archive name.
- The resulting zip name is
pkg_name_package.zip
. - Or
project_name_package.zip
when no package name is given.
- The resulting zip name is
- Updated
arcor2
dependency. - New environment variable
ARCOR2_BUILD_DEBUG
- to turn on debugging output.
- Added EXPOSE to dockerfile
- Depending on
arcor2==0.20.0
.
- Package import failed in cases where files contained non-ascii characters.
- The problem was in
arcor2.rest
module which was not encoding data properly.
- The problem was in
- Scene/project
overWrite
flags were required all the time.
- Change constants to project parameters.
- Updated code generation for
Resources
(moved, now without parameters).
- OpenAPI definition updated.
overwrite
flag divided into:overwriteScene
,overwriteProject
,overwriteObjectTypes
,overwriteProjectSources
,overwriteCollisionModels
.- Action parameter value is always JSON.
- It used to be just string for link/constant types.
- Now it is always JSON to be more consistent.
- Support for multiple inheritance.
- ObjectTypes can now use mixins.
- It should be used like
class NewObjectType(MixinA, MixinB, Generic)
. - E.g. the last ancestor should be something derived from
Generic
.
- During a package import, object types used in a scene are checked whether they are not abstract.
- Dependency on a bugfix release of arcor2.
- Considerably faster builds and imports.
- Allow unused actions.
- Import run returns
ImportedPackage
containing scene and project IDs.
- Dependency on arcor2 0.13.0.
- Generated
ActionPoints
class now returns copy of data (poses etc. can be freely modified within actions).
- Bump dependency to arcor2 0.12.1 which fixes code generation in the
Pose
plugin. - Check whether ObjectType id (class name) is the same as its models id.
- The assertion was turned into exception.
- A new method
PUT /project/import
to import existing execution package.- Import fails if data already exists and there is any difference.
- Import can be forced by setting
overwrite
parameter.
- Build now returns response messages in JSON.
- Part of the code refactored into
arcor2/flask.py
. - Support for explicit parameters in the main script.
Actions
class is no longer generated (does not make sense now).Resources
class is no longer generated (used to have actions parameters as properties).- Improved/adapted
ActionPoints
generated class.
- Support for project constants (parameter type
constant
). - An action can now use a previous result as its parameter (parameter type
link
).
- Ability to generate branched logic (if/elif block after action).
- ARCOR2 dependency updated
- ARCOR2 dependency updated
- Code generation adapted according to
print_exception
location change.
- Build now has
--debug
argument (0e6e418).
- Fixed empty response error (0edc1a6).
- Build now assembles the execution package in memory (7ac70d0).
- The first release of the separated package.