Skip to content

Releases: johnnymillergh/jm-spring-boot-template

v2.0.4

18 Oct 03:34
Compare
Choose a tag to compare

v2.0.4 (2019-10-18)

Bug Fixes

  • $Docker, MySQL: correct MySQL database name (523d368)
  • $Role: remove @NotNull annotation (6093a88)

Build System

  • $POM: update version tag to avoid warning when maven builds project (c570717)
  • $POM: upgrade project version to 2.0.4.SNAPSHOT (975d4be)

Code Refactoring

  • $DependencyInjection: use Lombok annotation @RequiredArgsConstructor to inject dependency (3294cc5)
  • $HTTPStatus: rename UniversalStatus.java to HttpStatus.java (8dc0896)
  • $Pagination: not initialize pagination's fields (6785d4a)
  • $ResponseBody, HTTPStatus: use generics to constrain the type of response body and redefine HTTP status (4cfaa44)

Features

  • $$AOP, SFTP: add method's argument validation aspect (ba9db71)
  • $API: add an API /authorization/get-permissions (216631a)
  • $API: add an API /authorization/get-roles (8db2eb7)
  • $API: add API /authorization/submit-authorization (827c6f9)
  • $API: add API to edit user's basic information (44ecdad)
  • $API: add API to retrieve roles that user has (3deef66)
  • $API: new API to retrieve user page list (28cd849)
  • $Auth: add ignored URL /auth/logout (7eac73b)
  • $Auth: response username after user signed in (9f00c21)
  • $Docker: dockerize application (33ee303)
  • $File: add a file util method - generate date-format storage path (c7ff635)
  • $FTPStatus: add FtpStatus.java (e77441b)
  • $IgnoredAPI, auth: update the URLs of ignored API (e8bf036)
  • $JWT: distribute JWT configuration for different envs (f4f5aeb)
  • $pom: upgrade version to 2.0.3.RELEASE (666b306)
  • $SFTP: add configuration for caching SFTP connection (085be1d)
  • $SFTP: add method to get file size from SFTP server (7627c63)
  • $SFTP: init SFTP server's sub directory (1f8868d)
  • $SFTP: make directories for SFTP server if remote directory doesn't exist (ce09ee7)
  • $SFTP: reuse SFTP session by using CachingSessionFactory (efca03d)
  • $SFTP: support SFTP basic operations (bd42f37)
  • $SFTP: use Message to upload file (26991d4)
  • $SpringValidation: get field error message from exception (b35267c)
  • $User: add a field avatar in table t_user (db372ba)
  • $User: add API operation annotation (596bade)
  • $User: add API to retrieve user information (aa1bc05)
  • $User: add field usersRoles for API /user/get-user-info (0519f9e)
  • $User: add gender enumeration (1e9da59)
  • $User: new API - assign role(s) to user (dfb5c7b)
  • $User: new API /get-user-list-for-selection (5e9671e)
  • $User: new API for updating user's avatar /user/update-avatar (784b6cd)
  • $User: new API to search user by username (20d2f61)
  • $User, Stream: add API /user/get-avatar to get user's avatar (91cbcca)
  • $WebSecurity: enable web security (579f9e6)

Performance Improvements

  • $HTTPS: disable HTTPS feature for all environments (260992a)
  • $POM: upgrade dependencies (9893cd2)
  • $SpringBoot: upgrade Spring Boot version to 2.2.0.RELEASE (e9bcb43)

BREAKING CHANGES

  • $DependencyInjection: use Lombok annotation @RequiredArgsConstructor to
    inject dependency
  • $ResponseBody, HTTPStatus: use generics to constrain the type of response body and redefine HTTP status
  • $$AOP, SFTP: add method's argument validation aspect
  • $SFTP: reuse SFTP session by using CachingSessionFactory

Closes https://app.clickup.com/t/13g8eh

  • $SFTP: init SFTP server's sub directory

Closes https://app.clickup.com/t/13g8n3

  • $SFTP: support SFTP basic operations
  • $POM: POM's version should be *-SNAPSHOT
  • $Pagination: not initialize pagination's fields
  • $WebSecurity: enable web security
  • $FTPStatus: add FtpStatus.java
  • $HTTPStatus: rename UniversalStatus.java to HttpStatus.java
  • $POM: SFTP integration

Closes https://app.clickup.com/t/162mf4

2.0.3 (2019-07-02)

02 Jul 09:36
Compare
Choose a tag to compare

2.0.3 (2019-07-02)

Bug Fixes

  • $Role: remove @NotNull annotation (6093a88)

Code Refactoring

  • $HTTPStatus: rename UniversalStatus.java to HttpStatus.java (8dc0896)
  • $Pagination: not initialize pagination's fields (6785d4a)
  • $ResponseBody, HTTPStatus: use generics to constrain the type of response body and redefine HTTP status (4cfaa44)

Features

  • $API: add an API /authorization/get-permissions (216631a)
  • $API: add an API /authorization/get-roles (8db2eb7)
  • $API: add API /authorization/submit-authorization (827c6f9)
  • $API: add API to edit user's basic information (44ecdad)
  • $API: add API to retrieve roles that user has (3deef66)
  • $API: new API to retrieve user page list (28cd849)
  • $FTPStatus: add FtpStatus.java (e77441b)
  • $IgnoredAPI, auth: update the URLs of ignored API (e8bf036)
  • $JWT: distribute JWT configuration for different envs (f4f5aeb)
  • $pom: upgrade version to 2.0.3.RELEASE (666b306)
  • $SpringValidation: get field error message from exception (b35267c)
  • $User: add API to retrieve user information (aa1bc05)
  • $User: add field usersRoles for API /user/get-user-info (0519f9e)
  • $User: add gender enumeration (1e9da59)
  • $User: new API - assign role(s) to user (dfb5c7b)
  • $User: new API /get-user-list-for-selection (5e9671e)
  • $User: new API to search user by username (20d2f61)
  • $WebSecurity: enable web security (579f9e6)

BREAKING CHANGES

  • $Pagination: not initialize pagination's fields
  • $WebSecurity: enable web security
  • $FTPStatus: add FtpStatus.java
  • $HTTPStatus: rename UniversalStatus.java to HttpStatus.java
  • $ResponseBody, HTTPStatus: use generics to constrain the type of response body and redefine HTTP status

2.0.2 RELEASE

24 May 15:11
Compare
Choose a tag to compare
v2.0.2

docs: update CHANGELOG

jm-spring-boot-template v2.0.1.RELEASE

Features

  • $MyBatisPlus: support pagination for SQL query (d974dbb)

jm-spring-boot-template v2.0.0.RELEASE

Features

  • $Compile: upgrade version to 2.0.0.RELEASE (d7a99b1)

BREAKING CHANGES

  • $maven: support multi-module with Maven

Spring Boot Template v1.2.0

01 May 07:05
Compare
Choose a tag to compare

(2019-05-01)

Bug Fixes

  • pom.xml to reduce vulnerabilities (0b2eb53)
  • $Compile: This static field public but not final, and could be changed by malicious code or by accident from another package. The field could be made final to avoid this vulnerability. (97a8dd3)
  • $LOGBack: resolve problem name of log file is ambiguous (894ef92)
  • $WebSecurity: enable ignore URLs to avoid 403 error (10289bf)
  • $WebSecurity: solve problem that server responses error-403 to any POST request (6aa4192)
  • $YML: fix wrong YML configuration (db7bd7b)

Code Refactoring

  • $UniversalStatus: new rules for HTTP status code (edc7142)
  • $UniversalStatus: new rules for HTTP status code (2) (ffb373a)

Features

  • $API: add API annotation for AuthController (3621107)
  • $API: add API getApiAnalysis (undone) (929a36c)
  • $API: add new API for validating username (72687a6)
  • $API: change response data format for getting api information (ebe5b9a)
  • $API: new API for /getApiAnalysis (e9b33d0)
  • $API: new API for getting controller information (4019de6)
  • $auth: provide apis for authentication and authorization (ddaf459)
  • $banner: add author information in banner (a3ea53f)
  • $banner: add banner text link (1c611c9)
  • $build): feat($build: update maven version to 1.2.0-SNAPSHOT; support multi-env packaging (474822a)
  • $compile: add new dependency jasypt-spring-boot (fdbbfde)
  • $compile: log deployment duration (5ae4be3)
  • $compile: support RBAC (779c070), closes #jqh13
  • $compile: update application .yml configuration (a23b868)
  • $Druid: enable Druid monitor (8b56637)
  • $Exception: update BaseException, BizException and SecurityException (b5ccbe9)
  • $Git: update Git ignore rule (b7643dc)
  • $Log: configure logging level of project as DEBUG to enable SQL logging (09a88b7)
  • $Log: support logback for multi-environment (5e33d7a)
  • $LOGBack: add LOGBack configuration; support output log file (a590f86)
  • $LOGBack: update configuration (7070d48)
  • $MySQL: alter column name and comment (c35f0e9)
  • $ProjectProperty: complete POM information (4dbf549)
  • $run: add api management controller (9415bee)
  • $run: add custom error response (06f9d04)
  • $SpringBoot: update Spring Boot version 2.1.4.RELEASE (f843aae)
  • $UniversalStatus: add new status - PARAM_INVALID (b183f00)
  • $WebSecurity: add enable/disable Web Security feature switch (8a2bd4d)
  • $YML: update application.yml configuration (492d900)
  • $YML: update global application.yml (4f3b8ff)

BREAKING CHANGES

  • $Log: output SQL logs to file
  • $WebSecurity: csrf().disable()
  • $build): feat($build: support multi-env packaging
  • $WebSecurity: turn on/off Web Security feature dynamically
  • $UniversalStatus: new rules for HTTP status code
  • $UniversalStatus: new rules for HTTP status code
  • $YML: project back to alive
  • $compile: support RBAC; login refactor.

Spring Boot Template v1.1.0

03 Mar 06:58
Compare
Choose a tag to compare

SpringBootTemplate Version 1.1.0 Release Note

released on March 3, 2019

What鈥檚 new in 1.1.0

  1. Integrated Spring Security;
  2. Support JUnit tests for controller and service;
  3. Standardized the naming rule of SQL mapper.

Issues Fixed in 1.1.0

  1. None

SpringBootTemplate 1.0.0

02 Mar 16:53
Compare
Choose a tag to compare
Pre-release

Release Note

  1. Added multi-environment support: development, test and production;
  2. Added customized banner for Spring Boot startup;
  3. Support for accessing static resource;
  4. Added ResponseBodyBean, BizException, ErrorController;
  5. Enable logging SQL statement, user's request information;
  6. Use strict request. Every request should use explicit request method like GET, POST, DELETE or PUT etc.;
  7. Integrated Redis, Redis Session, Redis Cache;
  8. Integrated Spring Validation;