ff4j-spring-boot-starter-parent

A spring boot starter for FF4J (Feature Flipping For Java)

APACHE-2.0 License

Stars
31

Bot releases are visible (Hide)

ff4j-spring-boot-starter-parent - 2.1 Latest Release

Published by paul58914080 6 months ago

This release uses JDK 21 and has dependencies bumped

What's Changed

Full Changelog: https://github.com/ff4j/ff4j-spring-boot-starter-parent/compare/2.0.0...2.1

ff4j-spring-boot-starter-parent - 2.0.0

Published by paul58914080 over 1 year ago

  • We are now using spring boot 3x with java 17.
  • Since we have moved to the latest stack of spring, this forces us to use jakarta over javax.
  • Instead of one starter i.e. ff4j-spring-boot-starter to pave way for reactive programming we have now two starters
    • ff4j-spring-boot-starter-webmvc is more stable and can be used in production.
    • ff4j-spring-boot-starter-webflux is more beta as we are still working to make it more reactive i.e. store, console etc
  • We now use org.springframework.http.ProblemDetail which adheres to RFC-7807 for error handling.
  • There is no more autoconfiguration for security. This is because we want to give you the freedom to choose your own security implementation.
  • Following are the configurations available:
    ff4j:
      api:
        context-path: /api/v1/ff4j     # default '/api/ff4j'
        spring-doc:
          enabled: true                # default 'false' 
          group: ff4jV1                # default 'ff4j'
      audit:
        enabled: true                  # default 'false'
     # The following is only available for ff4j-spring-boot-starter-webmvc
      web-console:
        context-path: /ff4j-web        # default '/ff4j-web-console'
        enabled: true                  # default 'false'
    
  • There will be limited support for ff4j-spring-boot-starter 1.x.
  • Sample applications are now in a separate repository ff4j-spring-boot-samples
ff4j-spring-boot-starter-parent - 1.9

Published by clun almost 2 years ago

Release of ff4j version 1.9

ff4j-spring-boot-starter-parent - 1.8.13

Published by paul58914080 over 2 years ago

New Features

Please Note: that we have enabled auto-configuration for spring security. If you do not want this, add it to the exclusion

@SpringBootApplication(exclude = org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration.class)

Sample configuration

ff4j:
  api:
    context-path: /api/v1/ff4j     # default '/api/ff4j'
    spring-doc:
      enabled: true                # default 'false'
  audit:
    enabled: true                  # default 'false'
  security:
    enabled: true                  # default 'false'
  web-console:
    context-path: /ff4j-web        # default '/ff4j-web-console'
    enabled: true                  # default 'false'
    security:
      enabled: true                # default 'false'
      username: admin              # default 'admin'
      password: admin              # default 'admin'

Bug Fixes

Bump Versions

Full Changelog: https://github.com/ff4j/ff4j-spring-boot-starter-parent/compare/1.8.12...1.8.13

ff4j-spring-boot-starter-parent - Support for spring boot 2.x

Published by paul58914080 over 5 years ago

Evolution

  • Fully re-written in Kotlin
  • Jdk >= 1.8
  • Supports spring boot 2.x
  • cdd3089a97043eab3304b9d61d11b3e0b15176e3: Removed the auto-configuration of FF4JWebConfiguration. However, you can refer the sample project which showcases how the FF4JWebConfiguration can be achieved.

Bug fix

Web API: Springboot 2.1.0 issue #26
spring boot 2.0.1 migration issue. #27

Package Rankings
Top 15.28% on Repo1.maven.org
Badges
Extracted from project README
Codacy Badge codecov License Apache2 Join the chat at https://gitter.im/paul58914080/ff4j-spring-boot-starter-parent
Related Projects