Inmanta

Latest version: v2024.4

Safety actively analyzes 681775 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 7

2024.4

Upgrade notes

- Ensure the database is backed up before executing an upgrade.

Inmanta-core: release 14.0.0 (2024-10-10)

New features

- Added a 'receive_events' attribute to resources. It allows you to control which resources get events from their dependencies, i.e. wether or not they need to be redeployed after a dependency deploys. See the `std::Resource` documentation for more details. ([8012](https://github.com/inmanta/inmanta-core/issues/8012))
- Removed built-in io in favor of the more flexible mitogen module.
- Added telemetry support for tracing calls through the orchestrator.

Improvements

- Include the documentation of modules composing a product into the documentation of the product when they contain a README.md file.
([inmanta/irt2026](https://github.com/inmanta/irt/issues/2026))
- Update the endpoints returning discovered resource (`GET /api/v2/discovered/<discovered_resource_id>` and `GET /api/v2/discovered`) to include a link to the resource responsible for the discovery.
([7528](https://github.com/inmanta/inmanta-core/issues/7528))
- Provide the exception that caused a resource load to fail in the deployment logs.
- Don't push fact refresh requests to the agent for undeployable resources. ([7777](https://github.com/inmanta/inmanta-core/issues/7777))
- The retention policy of items in the agent cache can be set via the `evict_after_creation` and `evict_after_last_access` parameters.

- Update module documentation landing page

Upgrade notes

- Agent cache retention policy parameter `timeout` is now an alias for the `evict_after_creation` parameter.

- Trace log level is no longer formatted as level 3 but as TRACE

Deprecation notes

- Removed the 'inmanta module do' command ([7913](https://github.com/inmanta/inmanta-core/issues/7913))
- Agent cache retention policy parameters `for_version` and `timeout` are deprecated. The `evict_after_creation` and `evict_after_last_access` parameters should be used instead.


Bug fixes

- Compiler: fixed a rare occurrence of nondeterministic execution order ([5145](https://github.com/inmanta/inmanta-core/issues/5145))
- Prevent the deletion of a project if this project contains one or multiple environments attached to it. ([inmanta/inmanta-core7556](https://github.com/inmanta/inmanta-core/issues/7556))
- Fixed race condition where newly started agent may take 22 seconds to respond ([7831](https://github.com/inmanta/inmanta-core/issues/7831))
- Don't export a new version if the compile fails, even if there are Unknown parameters

Inmanta-ui: release 5.1.4 (2024-10-10)

No changelog entries.

Web-console: release 2.0.0 (2024-10-10)

Improvements

- Deploying Instance in the Composer saves the coordinates of the instance as metadata ([5273](https://github.com/inmanta/web-console/issues/5273))
- From now on changing sorting on paginated Views resets pagination ([5684](https://github.com/inmanta/web-console/issues/5684))
- First part of the Service inventory rework. Add skeleton structure for the Instance Details page. ([5778](https://github.com/inmanta/web-console/issues/5778))
- Add the documentation tab to the Instance Details page. ([5779](https://github.com/inmanta/web-console/issues/5779))
- Add the Attributes tab to the Instance Details page. ([5780](https://github.com/inmanta/web-console/issues/5780))
- Improve the labels of Inter-Service Relation input fields ([5922](https://github.com/inmanta/web-console/issues/5922))

Bug fixes

- Resolve bug when JSON-editor is invalid on initial render. ([5892](https://github.com/inmanta/web-console/issues/5892))

Other notes

- Resolve security alert on micromatch by updating dependency
- Resolve security alert on webpack and path-to-regexp by updating dependency

2024.3.1

Upgrade notes

- Ensure the database is backed up before executing an upgrade.

Inmanta-core: release 13.0.1 (2024-07-22)

Upgrade notes

- If you had previously constrained `setuptools<71` in your project's `requirements.txt`, you may now drop the constraint

Bug fixes

- Addressed breaking change in setuptools (core Python library)

2024.3

Upgrade notes

- Ensure the database is backed up before executing an upgrade.

Inmanta-core: release 13.0.0 (2024-07-05)

New features

- Compiler: Allow indexes on nullable attributes ([7204](https://github.com/inmanta/inmanta-core/issues/7204))
- Add support to configure the logging framework using a configuration file. ([inmanta/inmanta-core7271](https://github.com/inmanta/inmanta-core/issues/7271))
- Added support for forking agent executor ([7524](https://github.com/inmanta/inmanta-core/issues/7524))

Improvements

- Add support to the `GET /api/v2/discovered` endpoint to filter the discovered resources on whether they are managed or not.
([6779](https://github.com/inmanta/inmanta-core/issues/6779))
- Remove the venv of an auto-started agent when its environment is deleted or cleared or when its project is deleted. ([inmanta/inmanta-core7043](https://github.com/inmanta/inmanta-core/issues/7043))
- Raise a warning if JIT is enabled on the PostgreSQL database as this might result in poor query performance.
- Module release tool: do not write internal field `version_tag` to `setup.cfg`.
- Improve support for four-digit version on 'inmanta module release' command. If the 'use_four_digit' is set to 'True' in the module's metadata, the version will be bumped to a 4 digit format after a release. ([7521](https://github.com/inmanta/inmanta-core/issues/7521))
- Remove references to `std::*` resources from the documentation ([7563](https://github.com/inmanta/inmanta-core/issues/7563))
- Fix compiler handling of list constructors in plugin calls ([7792](https://github.com/inmanta/inmanta-core/issues/7792))
- Display a banner in the docs that notifies the user when the build belongs to an old major iso version. ([inmanta/infra-tickets201](https://github.com/inmanta/infra-tickets/issues/201))
- The server now also cleans up zombie processes, which is convenient when running in a container
- Update auth to be able to authenticate against a provided JWT
- Extend dict_path library, allow to resolve the wild cards of a wild dict path for a specific container.

Upgrade notes

- The ``export`` command will now look for resource sets marked for deletion in the ``INMANTA_REMOVED_RESOURCE_SET_ID`` environment variable (As a space-separated list of sets to remove) in addition to the ones passed via the ``--delete-resource-set`` parameter.
([inmanta/lsm736](https://github.com/inmanta/lsm/issues/736))
- The default retention time of the internal metrics store ('environment_metrics_retention') is reduced from one year to two weeks ([7676](https://github.com/inmanta/inmanta-core/issues/7676))
- Handlers can now access the agent via 'inmanta.agent.executor.AgentInstance' instead of `inmanta.agent.agent.AgentInstance`. If you have developed a handler using `self._agent` to access agent internals, it may break.

Bug fixes

- Fix race condition where exporting a file might fail if a file with the same content was uploaded between the file existence check in the database and the export itself.
([7531](https://github.com/inmanta/inmanta-core/issues/7531))
- Fix bug that makes the endpoints to clear or delete an environment fail with the error message `(39, 'Directory not empty')`

Inmanta-ui: release 5.1.3 (2024-07-05)

No changelog entries.

Web-console: release 1.16.3 (2024-07-05)

No changelog entries.


Web-console: release 1.16.2 (2024-07-05)

New features

- Editing, Creating instances can now be done using a JSON editor. ([5763](https://github.com/inmanta/web-console/issues/5763))

Improvements

- Add functionality to filter instances through labels in the summary Pie Chart in Service Inventory ([5710](https://github.com/inmanta/web-console/issues/5710))
- Improve the placement of the tooltip in the Resource Discovery page. ([5730](https://github.com/inmanta/web-console/issues/5730))
- Update charts library to v7.3.0 to fix deprecation warnings ([5756](https://github.com/inmanta/web-console/issues/5756))
- Refactor Authentication to simplify the flow and make it more maintainable and adjustable for new authentication providers ([5759](https://github.com/inmanta/web-console/issues/5759))
- Allow the user to copy either the UUID or the identifier of an instance. ([5764](https://github.com/inmanta/web-console/issues/5764))
- Add column for managed resources in the Resource Discovery page. ([5765](https://github.com/inmanta/web-console/issues/5765))
- Add JWT authentication method to the application ([5818](https://github.com/inmanta/web-console/issues/5818))
- Align the casing of the table headings in the discovered resource page.

Bug fixes

- Update the filtering in the form to get Inter-service-relations. ([5766](https://github.com/inmanta/web-console/issues/5766))
- Update the form to support editing deep nested embedded entities which have RW attributes in their attributes. ([5792](https://github.com/inmanta/web-console/issues/5792))
- Update copy id/service_identifier icon to not be grayed out. ([5827](https://github.com/inmanta/web-console/issues/5827))
- Fix the uri to managed resources on the discovery page. ([5846](https://github.com/inmanta/web-console/issues/5846))

2024.2.1

Upgrade notes

- Ensure the database is backed up before executing an upgrade.

Inmanta-core: release 12.1.0 (2024-05-24)

Bug fixes

- Fixed a race condition where autostarted agents might become unresponsive for 30s when restarted ([7612](https://github.com/inmanta/inmanta-core/issues/7612))
- Fix bug where the `GET /api/v2/resource/<rid>` and `GET /api/v2/resource` endpoints return an incorrect resourcestate if a resource moved back to the available state in a new version of the configurationmodel.
- Fix resource details endpoint status reporting

2024.2

Upgrade notes

- Ensure the database is backed up before executing an upgrade.

Inmanta-core: release 12.0.0 (2024-04-02)

New features

- Added support for arithmetic operators to the language (addition, substraction, multiplication, division, exponentiation and modulo). ([inmanta/inmanta-core1799](https://github.com/inmanta/inmanta-core/issues/1799))
- Add facts that don't expire. ([6560](https://github.com/inmanta/inmanta-core/issues/6560))
- Introduced a new configuration option `database.wait_time` for the Inmanta server, enabling it to wait for the database to become available before starting. Users can specify the maximum time (in seconds) the server should wait for the database to be up. A value of 0 means the server will not wait, while a negative value indicates the server will wait indefinitely. ([6994](https://github.com/inmanta/inmanta-core/issues/6994))
- Implement constraints on jwt claims
- Remove state back propagation from the database

Improvements

- Add `--soft-delete` option to the exporter. This option makes sure that resource sets, specified using the `--delete-resource-set` option, are only deleted if there are no resources exported for this set.
([inmanta/inmanta-lsm1638](https://github.com/inmanta/inmanta-lsm/issues/1638))
- Report which pip indexes were used to install a V2 module or third-party Python dependency if that package could not be found. ([6096](https://github.com/inmanta/inmanta-core/issues/6096))
- Add exclude_changes argument to the get_resource_actions endpoint to filter out resource actions with specific changes ([6733](https://github.com/inmanta/inmanta-core/issues/6733))
- Improved error message when http request have oversized headers
- Improve performance of cross agent dependency resolution ([6999](https://github.com/inmanta/inmanta-core/issues/6999))
- Improve exporter performance ([7040](https://github.com/inmanta/inmanta-core/issues/7040))
- Improve performance of std::validate_type ([7041](https://github.com/inmanta/inmanta-core/issues/7041))
- Add dedicated set_fact and set_parameter endpoints ([7068](https://github.com/inmanta/inmanta-core/issues/7068))
- Remove support for legacy schema migration (< ISO4 ) ([7117](https://github.com/inmanta/inmanta-core/issues/7117))
- Added the ability to have mergeable environment variables to the compiler service ([7154](https://github.com/inmanta/inmanta-core/issues/7154))
- Improve performance of resource view ([7231](https://github.com/inmanta/inmanta-core/issues/7231))
- Increased the default value of the database.connection_pool_max_size setting to 70 ([7248](https://github.com/inmanta/inmanta-core/issues/7248))
- Improve deploy performance for very large models ([7262](https://github.com/inmanta/inmanta-core/issues/7262))
- Add documentation on how to create the initial user when using the built-in authentication provider. ([inmanta/inmanta-core7357](https://github.com/inmanta/inmanta-core/issues/7357))
- Ensure agent code folder is cleaned up on restart ([7388](https://github.com/inmanta/inmanta-core/issues/7388))
- Agent started using std::Agentconfig now always deploy when first started ([7448](https://github.com/inmanta/inmanta-core/issues/7448))
- Added a named-volume to the PostgreSQL server started by the docker-compose based installation documentation.
- Make agent more resilient to resource loading issues
- Improve performance by tuning logging
- Improve performance of type validation
- Make parameter refresh a non-blocking call
- Add support for string concatenation in the Inmanta modelling language
- Changed the default value of the `server.auth_method` config option from `None` to `oidc`.

Upgrade notes

- The default value of the project configuration option `agent_install_dependency_modules` changed to True. ([inmanta/inmanta-core7026](https://github.com/inmanta/inmanta-core/issues/7026))
- Remove state back propagation from the database

Deprecation notes

- Remove functionality relying on netifaces from reporting. ([inmanta/inmanta-core7019](https://github.com/inmanta/inmanta-core/issues/7019))
- The project configuration option `agent_install_dependency_modules` is deprecated and will be removed in a next major release. ([inmanta/inmanta-core7026](https://github.com/inmanta/inmanta-core/issues/7026))

Bug fixes

- Fixed bug where certain config options could not be set through environment variables
- Fix formatting of error message for inline if expressions ([6226](https://github.com/inmanta/inmanta-core/issues/6226))
- make sure an environment can not be resumed while deleting, that deleting an environment first halts the environment and that the active model cannot be deleted.
- Resolve race condition on release version ([6955](https://github.com/inmanta/inmanta-core/issues/6955))
- Deploy command no longer ignores ``-f`` option. ([6993](https://github.com/inmanta/inmanta-core/issues/6993))
- Prevent deadlock between the `_log_session_expiry_to_db` and the `_log_session_seen_to_db` and `_log_session_creation_to_db` methods. ([inmanta/inmanta-core7024](https://github.com/inmanta/inmanta-core/issues/7024))
- Requesting a dryrun after a partial compile was sometimes causing an internal server error. ([7065](https://github.com/inmanta/inmanta-core/issues/7065))
- Fix bug where the latest released version of the configurationmodel could be removed by the cleanup job. ([inmanta/inmanta-core7324](https://github.com/inmanta/inmanta-core/issues/7324))
- Improved f-string error reporting ([7418](https://github.com/inmanta/inmanta-core/issues/7418))
- Fix bug where undefined and skipped_for_undefined resources are not correctly merged by the put_partial endpoint. ([inmanta/inmanta-core7416](https://github.com/inmanta/inmanta-core/issues/7416))
- Fix a bug where PIP_NO_INDEX could be used by pip when use_system_config was set to False in the PipConfig ([6096](https://github.com/inmanta/inmanta-core/issues/6096))
- Fix bug that causes literal values to be rendered incorrectly in the OpenAPI documentation. ([inmanta/inmanta-lsm1586](https://github.com/inmanta/inmanta-lsm/issues/1586))
- Improve ha db setup documentation

Inmanta-ui: release 5.1.1 (2024-03-29)

No changelog entries.

Web-console: release 1.16.0 (2024-03-29)

New features

- Add User Management view when user is logged in through database authentication ([4738](https://github.com/inmanta/web-console/issues/4738))
- Discovered Resources page has been added. ([5395](https://github.com/inmanta/web-console/issues/5395))
- New pages have been added to display the orders and their details. ([5438](https://github.com/inmanta/web-console/issues/5438))
- Smart Composer is now general available ([5470](https://github.com/inmanta/web-console/issues/5470))
- Add database based login form ([5558](https://github.com/inmanta/web-console/issues/5558))

Improvements

- Add filtering by resource type on the Compliance and Compare pages. ([4555](https://github.com/inmanta/web-console/issues/4555))
- Prevent the user from creating a project name that could be an empty value. ([5373](https://github.com/inmanta/web-console/issues/5373))
- Corrected the disabled highlight for disabled delete button in the Service Inventory ([5400](https://github.com/inmanta/web-console/issues/5400))
- Improve Instance Composer code readability and remove duplicated code ([5443](https://github.com/inmanta/web-console/issues/5443))
- Add description to the order api request and extract the call from the Canvas component ([5469](https://github.com/inmanta/web-console/issues/5469))
- Add Tooltips to the icon buttons in the Instance composer ([5478](https://github.com/inmanta/web-console/issues/5478))
- Add default behavior to zoom to fit on initial load of the instance in the Smart Composer ([5506](https://github.com/inmanta/web-console/issues/5506))
- Adjusted the color of the compile details to match patternfly scheme. Added default empty page for facts. ([5511](https://github.com/inmanta/web-console/issues/5511))
- Add support for suggestions in the forms ([5531](https://github.com/inmanta/web-console/issues/5531))
- Added support to display attribute annotations in tabs in the Service Inventory ([5532](https://github.com/inmanta/web-console/issues/5532))
- Update the add instance button to be displayed as a toggle when the Composer feature is enabled. ([5554](https://github.com/inmanta/web-console/issues/5554))
- Update Notification Drawer to handle notifications without uri ([5593](https://github.com/inmanta/web-console/issues/5593))
- Feature Flag V2, enable specific parts of the application based on licencing ([5619](https://github.com/inmanta/web-console/issues/5619))
- Add improvements to smart composer: Highlight of loose components, Hide/Show connection label, composer is available only from root services
- Upgrade Yarn to V4.

Bug fixes

- Enable adding new nested entity that are already part of a nested entity when the form is in edit-mode ([5375](https://github.com/inmanta/web-console/issues/5375))
- Prevent displaying invalid dates in the Order Details View. ([5512](https://github.com/inmanta/web-console/issues/5512))
- Fix display name in the form for inter-service relationship, and adjust filtering when clicking on a relation link in the attribute table. ([5561](https://github.com/inmanta/web-console/issues/5561))
- Fix issue with misleading visual state of Diagnose button and misplaced 'back' button for terminated instances

Other notes

- The repo requires node 18+ to be installed

2024.1.2

Upgrade notes

- Ensure the database is backed up before executing an upgrade.

Inmanta-core: release 11.0.2 (2024-02-09)

New features

- Prevent double processing of events in case of stale events ([7066](https://github.com/inmanta/inmanta-core/issues/7066))

Known Issues

- Handlers that process events should always indicate when they processed events(via ctx.set_updated) ([7066](https://github.com/inmanta/inmanta-core/issues/7066))

Page 1 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.