Skip to content

Commit 15ceaef

Browse files
authored
Merge pull request #58 from splitio/sdks-8396
update splitio-browserjs to support semver matchers
2 parents 1a2dcaf + 334c1a2 commit 15ceaef

File tree

9 files changed

+11385
-22787
lines changed

9 files changed

+11385
-22787
lines changed

.eslintrc.json

Lines changed: 49 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,21 @@
11
{
22
"root": true,
3-
"ignorePatterns": ["dist", "coverage"],
3+
"ignorePatterns": [
4+
"dist",
5+
"coverage"
6+
],
47
"parserOptions": {
58
"ecmaVersion": 2020
69
},
710
"overrides": [
811
{
9-
"files": ["*.ts"],
12+
"files": [
13+
"*.ts"
14+
],
1015
"parserOptions": {
11-
"project": ["tsconfig.json"],
16+
"project": [
17+
"tsconfig.json"
18+
],
1219
"createDefaultProgram": true
1320
},
1421
"extends": [
@@ -21,18 +28,48 @@
2128
"@typescript-eslint/ban-ts-comment": "off",
2229
"@typescript-eslint/no-explicit-any": "off",
2330
"@typescript-eslint/no-unused-vars": "error",
24-
"indent": ["error", 2, {"SwitchCase": 1}],
25-
"quotes": ["warn", "single", "avoid-escape"],
26-
"linebreak-style": ["error", "unix"],
27-
"semi": ["error", "always"],
31+
"indent": [
32+
"error",
33+
2,
34+
{
35+
"SwitchCase": 1
36+
}
37+
],
38+
"quotes": [
39+
"warn",
40+
"single",
41+
"avoid-escape"
42+
],
43+
"linebreak-style": [
44+
"error",
45+
"unix"
46+
],
47+
"semi": [
48+
"error",
49+
"always"
50+
],
2851
"no-underscore-dangle": "off",
29-
"eqeqeq": ["error", "smart"],
52+
"eqeqeq": [
53+
"error",
54+
"smart"
55+
],
3056
"no-unused-expressions": "off",
31-
"new-cap" : "off",
57+
"new-cap": "off",
3258
"no-mixed-requires": "off",
33-
"camelcase": ["error", {"properties": "never"}],
34-
"no-use-before-define": ["error", "nofunc"],
35-
"eol-last": ["error", "always"],
59+
"camelcase": [
60+
"error",
61+
{
62+
"properties": "never"
63+
}
64+
],
65+
"no-use-before-define": [
66+
"error",
67+
"nofunc"
68+
],
69+
"eol-last": [
70+
"error",
71+
"always"
72+
],
3673
"no-unused-vars": "off",
3774
"keyword-spacing": "error",
3875
"comma-style": "error"

CHANGES.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
3.0.0 (May 17, 2024)
2+
- BREAKING CHANGE: Updated the minimum Angular version to match Angular's support up to date. Breaking change version is regarding the Angular minimum version update, there are no breaking changes to Split's plugin API or functionality itself.
3+
- Updated @splitsoftware/splitio-browserjs package to version 0.14.0 that includes:
4+
- Added support for targeting rules based on semantic versions (https://semver.org/).
5+
- Added special impression label "targeting rule type unsupported by sdk" when the matcher type is not supported by the SDK, which returns 'control' treatment.
6+
- Updated Split API client to include the flags spec version query parameter for the `splitChanges` and `auth` endpoints.
7+
18
2.0.1 (Mar 11, 2024)
29
- Updated some transitive dependencies for vulnerability fixes.
310

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ This utilities are designed to work with Split, the platform for controlled roll
77
[![Twitter Follow](https://img.shields.io/twitter/follow/splitsoftware.svg?style=social&label=Follow&maxAge=1529000)](https://twitter.com/intent/follow?screen_name=splitsoftware)
88

99
## Compatibility
10-
This SDK is compatible with Angular 15.2.1 and above.
10+
This SDK is compatible with Angular 16.2.12 and above.
1111

1212
## Getting started
1313
Below is a simple example that describes the instantiation and most basic usage of our SDK:

0 commit comments

Comments
 (0)