All notable changes to this project will be documented in this file.
- core: target Angular 17
- routing: target Angular 17
- core: the configuration now accepts an instance or a delegate creating an
instance of a
FeatureFlagService
- core: add a
MapBasedFeatureFlagService
that can be used out of the box
- core: add a
FeatureFlagEvaluationResult
type to wrap the results of a feature flag evaluation, such asboolean
,Promise<boolean>
orObservable<boolean>
- apps/demo-app: create a demo app based on the local version of the library
- core: target Angular 16.0.0
- routing: target Angular 16.0.0
- apps/docs-app: add the new major version in the docs
- meta: fix a CI step targeting
routing
that was namedcore
- routing: introduce a new
@ngx-flagr/routing
package handling routing concerns - core: remove all code tackling routing concerns and move it to
@ngx-flagr/routing
- meta: add a condition to run the CI only when something in
projects/
has changed - apps/docs-app: showcase the contributors in a dedicated page
- apps/docs-app: update the documentation to reflect separation of the routing into
@ngx-flagr/routing
- meta: update the publish script to publish any project of
@ngx-flagr
by passing its name as an argument
- core: remove the
FeatureFlagDirective
from theProvider
s array ofprovideNgxFlagr
- core: add the
NgxFlagrModule
to the public API
- core: add
FeatureFlagPreloadingStrategy
preloading strategy based on the implementation of theFeatureFlagService
- apps/docs-app: add a Docusaurus documentation project
- meta: create a devcontainer to be used in GitHub Codespaces
- meta: create a script to publish the
@ngx-flagr
library easily
- core: add
NgxFlagrModule
module for configuring and providingngx-flagr
- core: add
forRoot
static method toNgxFlagrModule
for providing configuration options - core: create a functional guard
canMatchFeatureFlag
- core: add the configuration of the
canMatchFeatureFlag
behavior to theNgxFlagrConfiguration
- core: update the usage of
provideNgxConfiguration
to include a defaultrouting
section
- core: move the definition of the
FeatureFlag
type into its own file - core: add a method to evaluate if a value is a
FeatureFlag
- core: add tests for the
provideNgxConfiguration
method
- core: create providers to initialize
@ngx-flagr/core
- core: create the
FeatureFlagService
abstractions - core: create the
FeatureFlagDirective