Releases: naturalprogrammer/spring-lemon
1.0.0.M7: Added support for non-reactive microservices development
Added support for non-reactive microservices development. No API breaking changes, but a lot of internal changes. For example, splitted some modules into a few more modules. Read the homepage README for more details.
WARNING: Please note that, due to module splitting and some internal improvements, some classes are now altered. For example, AbstractUser
now takes only one generic parameter. Also, utility classes are splitted. For example, afterCommit
is moved from LemonUtils
to LecjUtils
. So, you may need to update your code accordingly. Please refer to the new source code of Spring Lemon for more details.
1.0.0.M6: Added support for developing reactive microservices
- Divided
spring-lemon-reactive
into two module -- to facilitate microservices development - Added a new endpoint
/fetch-full-token
for fetching full tokens. To be called from gateway to convert a token to a self-sufficient one. - Merged
ValidationMessages.properties
intomessages.properties
. - Many other small enhancements
1.0.0.M5: Reactive module ready with test cases
See the getting started guide for how to use the reactive module.
Note: Reactive CORS support at filter level, and OAuth2 Login not implemented - waiting for Spring Security 5.1 release
1.0.0.M4: Segregated the library, added experimental reactive WebFlux support
Segregated the library into several libraries:
spring-lemon-exceptions
: use this if you only need exception handling part.spring-lemon-commons
: use this if you need security but notuser
domain object orLemonController
.spring-lemon-jpa
: this is the one to use if you need everything.spring-lemon-reactive
: the reactive, MongoDB version. It's a work on progress -- coded, but we need to write test cases and do TDD based bug fixing.
A few API breaking changes:
POST /login
changed toPOST /api/core/login
.- Reset password's content type changed from
x-www-url-encoded
toapplication/json
.
Look at the API documentation for details.
The group id and artifact id have changed -- look at the updated Getting Started guide.
Also, many classes were divided among modules. For example, LemonUtils
has been divided into LexUtils
, LecUtils
, LemonUtils
and LerUtils
.
1.0.0.M3: Some internal enhancements
No breaking API changes.
1.0.0.M2: Updated for Spring Boot 2.0, fully stateless, breaking changes
This is a massive change. Apart from updating for Spring Boot 2.0, we've gone completely stateless. Please refer to the Documentation and Resources for more details.
Please note that it's not compatible with earlier versions.
Some important changes - e.g. social signup/in, API key authentication etc. Beware - the API isn't compatible with 0.11
Some important changes - e.g. social signup/in, API key authentication etc. Beware - the API isn't compatible with 0.11
0.11.0 - Some enhancements; updates for Spring Boot 1.5
Uses Spring Boot 1.5
features. Tested with 1.5.1
. Please note that, due to some bug it doesn't work with Spring Boot 1.5.2.
API changes:
POST .../signup
changed toPOST .../users
GET .../users/{id}/fetch-by-id
changed toGET .../users/{id}
POST .../users/{id}/update
changed toPUT .../users/{id}
- CSRF token is now sent as only a cookie (with httpReadonly false)
0.9.0 - Spring Boot 1.4 release
Uses Spring Boot 1.4 features. The minimum requirement to use it is Spring Boot 1.4
0.8.6 - Fixed BeanCurrentlyInCreationException error
For avoiding BeanCurrentlyInCreationException error, made the injection of the LemonService to AuthenticationSuccessHandler as @lazy ( See http://stackoverflow.com/questions/36990328 )