mirror of
https://github.com/inventree/inventree-website.git
synced 2025-04-27 21:16:45 +00:00
0.14.0.md
This commit is contained in:
parent
1e3d5c326a
commit
828d1448c2
92
_posts/2024-02-28-0.14.0.md
Normal file
92
_posts/2024-02-28-0.14.0.md
Normal file
@ -0,0 +1,92 @@
|
||||
---
|
||||
author: SchrodingersGat
|
||||
title: 0.14.0 Stable Release
|
||||
---
|
||||
|
||||
The InvenTree development team is very excited to announce the latest stable release of InvenTree - v0.14.0. With ith over 200 pull requests since the [0.13.0 stable release](/blog/2023/12/15/0.13.0), this release once again represents a significant step forward for the project.
|
||||
|
||||
## Breaking Changes
|
||||
|
||||
This release includes a number of changes which may affect existing installations of InvenTree. If you are upgrading from a previous release, read the following section carefully. You should also refer to the [release notes](#release-notes) for a full set of changes in this release.
|
||||
|
||||
### Django 4.2
|
||||
|
||||
In [PR 6173](https://github.com/inventree/InvenTree/pull/6173), InvenTree has been updated to use Django 4.2. This is a major version update for Django, and required a number of changes to the InvenTree codebase and dependencies.
|
||||
|
||||
Most (hopefully *all*) of the required changes have been made, but there may be some edge cases which have been missed. If you encounter any issues with the Django 4.2 update, please report them on [our github page](https://github.com/inventree/inventree).
|
||||
|
||||
!!! tip "Django Release Notes"
|
||||
You should also refer to the [Django 4.2 release notes](https://docs.djangoproject.com/en/5.0/releases/4.2/) for a full list of changes.
|
||||
|
||||
### Site Changes
|
||||
|
||||
### Multi Site Support
|
||||
|
||||
InvenTree has, by default, shipped with [multi site support](https://docs.djangoproject.com/en/4.2/ref/contrib/sites/) enabled. This is an advanced django feature which 99% of users will not need, and only serves to complicate the installation process.
|
||||
|
||||
So, in [PR 6390](https://github.com/inventree/InvenTree/pull/6390) we have disabled multi-site support by default. This should simplify the installation process for most users.
|
||||
|
||||
For any users who have been using multi-site support, you will need to manually re-enable it after upgrading to 0.14.0. Refer to the [InvenTree documentation](https://docs.inventree.org/en/latest/start/advanced/#multi-site-support) for more information.
|
||||
|
||||
### Test Results
|
||||
|
||||
InvenTree has long supported [test results for stock items](https://docs.inventree.org/en/latest/stock/test/). In [PR 6430](https://github.com/inventree/InvenTree/pull/6430), a significant enhancement was made to the test result system. Previously, test results were not linked to a specific test template in the database. Instead, the results and templates were loosely linked via a string key.
|
||||
|
||||
In 0.14.0, the test result system has been updated to use a proper database relationship between test results and test templates. This means that test results are now linked to a specific test template, and the test result system has been updated to reflect this change.
|
||||
|
||||
This change should be transparent to most users, but if you have been using the test result system in a custom way, you may need to update your code to reflect the new database structure.
|
||||
|
||||
In particular, any external systems which upload test results via the InvenTree API will need to be examined and tested.
|
||||
|
||||
!!! info "API Compatibility"
|
||||
The changes to the API have been implemented to ensure backwards compatibility with existing systems.
|
||||
|
||||
### Docker Compose
|
||||
|
||||
In [PR 6551](https://github.com/inventree/InvenTree/pull/6551) we have made a significant change to the way that InvenTree is deployed using Docker Compose. Previously, the provided docker compose template used [nginx](https://nginx.org/) as a reverse proxy for the InvenTree web server, and for serving static and media files.
|
||||
|
||||
In this release, we have switched to using [Caddy](https://caddyserver.com/) as the reverse proxy. Caddy is a modern, easy-to-use web server which is designed to be simple to configure and use. It confers a number of significant advantages to the InvenTree setup:
|
||||
|
||||
**Simplified Configuration**
|
||||
|
||||
Caddy is designed to be easy to configure, and the Caddyfile syntax is much simpler than the equivalent nginx configuration.
|
||||
|
||||
**Automatic HTTPS**
|
||||
|
||||
Caddy is designed to automatically handle HTTPS certificates using [Let's Encrypt](https://letsencrypt.org/). This means that InvenTree can be deployed with HTTPS enabled by default, without any additional configuration.
|
||||
|
||||
For users who have been running with the previous nginx based setup, no changes are required. Existing nginx configurations will continue to work as expected. However, for new installations, the Caddy based setup is now the recommended approach. We would also recommend that existing installations consider migrating to the Caddy based setup.
|
||||
|
||||
### Devcontainer
|
||||
|
||||
In [PR 6590](https://github.com/inventree/InvenTree/pull/6590) we have made some changes to our devcontainer setup in vscode. The devcontainer is a docker-based development environment which is designed to make it easy to contribute to the InvenTree project. We now use postgresql as the database backend in the devcontainer setup - previously this setup used sqlite for a local development database.
|
||||
|
||||
However, as sqlite is not suitable for a multi-user development environment, we have switched to using postgresql. This should make the devcontainer setup more closely match a production environment.
|
||||
|
||||
Users who have been using the devcontainer setup will need to update their local vscode setup. At a minimum, you will need to rebuild the devcontainer.
|
||||
|
||||
If you encounter any issues updating your devcontainer setup, try deleting the `dev` directory and re-creating the devcontainer.
|
||||
|
||||
## New Features
|
||||
|
||||
## Bug Fixes
|
||||
|
||||
## New Contributors
|
||||
|
||||
This release has been enhanced by the contributions of many developers, and we would like to thank everyone who has contributed to the project!
|
||||
|
||||
Thanks to the following contributor who made their first contribution to the project in this release:
|
||||
|
||||
- [mcollins-DL](https://github.com/mcollins-DL)
|
||||
|
||||
Without the support of our contributors, InvenTree would not be where it is today. Thank you to everyone who has contributed to the project!
|
||||
|
||||
## New Languages
|
||||
|
||||
In this release we have added support for 1 new language:
|
||||
|
||||
- Slovak
|
||||
|
||||
If you would like to help translate InvenTree into your language, please [read our translation guide](https://inventree.org/contribute.html#translate). We currently support 32 languages, but there are many more that we would like to support!
|
||||
|
||||
## Release Notes
|
Loading…
x
Reference in New Issue
Block a user