upgraded version number to v1.5.0

pull/85/MERGE
13621160019@163.com 2021-12-12 17:40:07 +08:00
parent a31d040f85
commit 56c4c6b188
9 changed files with 614 additions and 478 deletions

View File

@ -16,6 +16,23 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
### Removed ### Removed
- None. - None.
## [v1.5.0] - 2021-12-12
### Added
- Added energy model database
- Added access control to all core entities in api and admin ui.
### Changed
- Updated notification(web message) in web and api
- Updated command of myems-api service in docker-compose.
- Updated Dockerfile of myems-api.
- Updated virtual meter procedure in normalization service.
### Fixed
- None.
### Removed
- None.
## [v1.4.0] - 2021-11-14 ## [v1.4.0] - 2021-11-14
### Added ### Added
- added installation on docker to myems-modbus-tcp. - added installation on docker to myems-modbus-tcp.
@ -571,7 +588,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
### Removed ### Removed
- None. - None.
[Unreleased]: https://github.com/MyEMS/myems/compare/v1.4.0...HEAD [Unreleased]: https://github.com/MyEMS/myems/compare/v1.5.0...HEAD
[v1.5.0]: https://github.com/MyEMS/myems/compare/v1.4.0...v1.5.0
[v1.4.0]: https://github.com/MyEMS/myems/compare/v1.3.4...v1.4.0 [v1.4.0]: https://github.com/MyEMS/myems/compare/v1.3.4...v1.4.0
[v1.3.4]: https://github.com/MyEMS/myems/compare/v1.3.3...v1.3.4 [v1.3.4]: https://github.com/MyEMS/myems/compare/v1.3.3...v1.3.4
[v1.3.3]: https://github.com/MyEMS/myems/compare/v1.3.2...v1.3.3 [v1.3.3]: https://github.com/MyEMS/myems/compare/v1.3.2...v1.3.3

View File

@ -1,5 +1,5 @@
<div class="footer-login"> <div class="footer-login">
<div> <div>
<strong>{{'MY_EMS_NAME' | translate}} v1.4.0 <a href="https://myems.io">https://myems.io</a> </strong> <strong>{{'MY_EMS_NAME' | translate}} v1.5.0 <a href="https://myems.io">https://myems.io</a> </strong>
</div> </div>
</div> </div>

View File

@ -3,6 +3,6 @@
<strong><a href="https://myems.io">https://myems.io</a></strong> <strong><a href="https://myems.io">https://myems.io</a></strong>
</div> </div>
<div> <div>
<strong>{{'MY_EMS_NAME' | translate}} v1.4.0</strong> <strong>{{'MY_EMS_NAME' | translate}} v1.5.0</strong>
</div> </div>
</div> </div>

View File

@ -1246,6 +1246,6 @@ USE `myems_system_db`;
INSERT INTO `myems_system_db`.`tbl_versions` INSERT INTO `myems_system_db`.`tbl_versions`
(`id`, `version`, `release_date`) (`id`, `version`, `release_date`)
VALUES VALUES
(1, '1.4.0', '2021-11-14'); (1, '1.5.0', '2021-12-12');
COMMIT; COMMIT;

View File

@ -311,6 +311,6 @@ CREATE INDEX `tbl_virtual_meter_8760_index_1` ON `myems_energy_model_db`.`tbl_v
-- UPDATE VERSION NUMBER -- UPDATE VERSION NUMBER
UPDATE myems_system_db.tbl_versions SET version='1.4.1', release_date='2021-12-12' WHERE id=1; UPDATE myems_system_db.tbl_versions SET version='1.5.0', release_date='2021-12-12' WHERE id=1;
COMMIT; COMMIT;

View File

@ -15,8 +15,8 @@ class VersionItem:
@staticmethod @staticmethod
def on_get(req, resp): def on_get(req, resp):
result = {"version": 'MyEMS v1.4.0', result = {"version": 'MyEMS v1.5.0 Community Edition',
"release-date": '2021-11-14', "release-date": '2021-12-12',
"website": "https://myems.io"} "website": "https://myems.io"}
resp.text = json.dumps(result) resp.text = json.dumps(result)

1056
web/package-lock.json generated vendored

File diff suppressed because it is too large Load Diff

2
web/package.json vendored
View File

@ -1,6 +1,6 @@
{ {
"name": "myems", "name": "myems",
"version": "1.4.0", "version": "1.5.0",
"private": true, "private": true,
"dependencies": { "dependencies": {
"@fortawesome/fontawesome-free": "^5.15.1", "@fortawesome/fontawesome-free": "^5.15.1",

View File

@ -1,4 +1,4 @@
export const version = '1.4.0'; export const version = '1.5.0';
export const navbarBreakPoint = 'xl'; // Vertical navbar breakpoint export const navbarBreakPoint = 'xl'; // Vertical navbar breakpoint
export const topNavbarBreakpoint = 'lg'; export const topNavbarBreakpoint = 'lg';
//export const APIBaseURL = 'http://127.0.0.1:8000'; //export const APIBaseURL = 'http://127.0.0.1:8000';