Skip to content

Commit 16d5e7a

Browse files
authored
Merge pull request #151 from splitio/task/documentationRevamp
Task/documentation revamp
2 parents bf2b32f + db1dd3f commit 16d5e7a

File tree

5 files changed

+116
-191
lines changed

5 files changed

+116
-191
lines changed

.github/pull_request_template.md

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,7 @@
11
# Python SDK
22

3-
## Tickets covered:
4-
*
5-
63
## What did you accomplish?
7-
* Bullet 1
8-
* Bullet 2
94

10-
## How to test new changes?
11-
* python setup.py test to test everythin
12-
* pytest <SPECIFIC_FILE> to test a file in particular (requires pytest, pytest-cov & pytest-mock to be installed)
5+
## How do we test the changes introduced in this PR?
136

14-
## Extra Notes
15-
* Bullet 1
16-
* Bullet 2
7+
## Extra Notes

CHANGES.txt

Lines changed: 34 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
8.1.2 (Jul 19, 2019)
22
- Validated TLS support for redis connections
33
- Fixed traffic type count issue
4+
45
8.1.1 (14 Jun, 2019)
56
- Fixed python3 compatibility issue in uwsgi caching mode.
7+
68
8.1.0 (3 Jun, 2019)
79
- Added properties to track method.
810
- Input Validation: added validation for traffic types, split names and multiple factory instantiation.
11+
912
8.0.0 (Apr 24, 2019)
1013
- Full SDK Refactor/rewrite.
1114
- New block until ready behaviour.
@@ -14,74 +17,101 @@
1417
- Impressions not flushing on destroy bugfix.
1518
- Removed unnecessary dependencies.
1619
- Test suite rewritten.
20+
1721
7.0.1 (Mar 8, 2019)
1822
- Updated Splits refreshing rate.
1923
- Replaced exception log level to error level.
2024
- Improved validation for apikey.
25+
2126
7.0.0 (Feb 21, 2019)
2227
- BREAKING CHANGE: Stored Impressions in Queue.
2328
- Fixed bug related to Machine Name and Machine IP.
2429
- Updated Input Validation.
2530
- New hash implementation supporting more platforms.
31+
2632
6.2.2 (Dec 17, 2018)
2733
- Fixed issue on selecting db for Sentinel.
34+
2835
6.2.1 (Dec 6, 2018)
2936
- Fixed traffic allocation issue on 1%.
3037
- Allowed hypens in 'localhost mode' file values.
38+
3139
6.2.0 (Oct 5, 2018)
3240
- Added get_treatments method.
41+
3342
6.1.0 (Sep 25, 2018)
3443
- Add custom impression listener feature.
3544
- Input Sanitization for track, get_treatment and split.
45+
3646
6.0.0 (Aug 29, 2018)
3747
- Add support for redis sentinel
3848
- UWSGI performance boost (breaking change)
3949
- Add support for more c++ compilers in windows for mumur hash extension
50+
4051
5.5.0 (Feb 28, 2018)
4152
- Add support for .track
53+
4254
5.4.3 (Jan 7, 2018)
4355
- Move impressions listener to it's own thread
4456
- Fix bug in localhost client
4557
- Removed unmaintained dependency causing issues with newer mac os updates
58+
4659
5.4.2 (Dec 22, 2017)
4760
- Update labels
61+
4862
5.4.1 (Dec 11, 2017)
4963
- Handle destroyed client in manager
64+
5065
5.4.0 (Sep 6, 2017)
5166
- Add Client-Destroy support
5267
- Add Impression listener support for in-memory and uwsgi modes
68+
5369
5.3.0 (Aug 1, 2017)
5470
- Add off-grid support for localhost broker (auto refresh splits from file)
71+
5572
5.2.2 (Aug 1, 2017)
5673
- Adding hotfix to set traffic allocation to 100 by default
74+
5775
5.2.1 (Jul 28, 2017)
5876
- Adding hotfix to keep alive fetcher threads if proxy/backend connection goes temporarily down.
77+
5978
5.2.0 (Jul 26, 2017)
6079
- Adding Adding regex & boolean matcher
80+
6181
5.1.0 (Jul 19, 2017)
6282
- Adding dependency matcher
6383
- Refactoring clients into brokers
84+
6485
5.0.0 (Jun 13, 2017)
6586
- BREAKING BACKWARD COMPATIBILITY
6687
- Adding support for Split Synchronizer service
88+
6789
4.1.1 (May 25, 2017)
6890
- Python 3 fixed incompatible comparison between None an integer
91+
6992
4.1.0 (May 16, 2017)
7093
- Adding support for String and Set Matchers
94+
7195
4.0.2 (May 8, 2017)
7296
- Adding support for Traffic Allocation
97+
7398
4.0.1 (April 19, 2017)
7499
- Hotfix Hashing enumerator to default value LEGACY
100+
75101
4.0.0 (April 17, 2017)
76102
- Added support for murmur3 hashing native and cpp version for performance
77-
2.2.1
103+
104+
2.2.1 (Mar 1, 2017)
78105
- Ignore invalid Split fetched from Redis cache
79-
2.2.0
106+
107+
2.2.0 (Feb 17, 2017)
80108
- Added uwsgi cache support
81109
- Fixed HTTP status code exceptions
82-
2.1.0
110+
111+
2.1.0 (Jan 19, 2017)
83112
- Added enabled labels
84113
- Added impressions by sdk and version including bucketing key
85-
2.0.5
114+
115+
2.0.5 (Dec 2, 2016)
86116
- Added SDK Factory Method with Manager API and Sdk Client
87117
- Added Bucketing key support

CONTRIBUTORS-GUIDE.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Contributing to the Split Python SDK
2+
3+
Split SDK is an open source project and we welcome feedback and contribution. The information below describes how to build the project with your changes, run the tests, and send the Pull Request(PR).
4+
5+
## Development
6+
7+
### Development process
8+
9+
1. Fork the repository and create a topic branch from `development` branch. Please use a descriptive name for your branch.
10+
2. While developing, use descriptive messages in your commits. Avoid short or meaningless sentences like "fix bug".
11+
3. Make sure to add tests for both positive and negative cases.
12+
4. <if applicable> Run the linter script of the project and fix any issues you find.
13+
5. Run the build script and make sure it runs with no errors.
14+
6. Run all tests and make sure there are no failures.
15+
7. `git push` your changes to GitHub within your topic branch.
16+
8. Open a Pull Request(PR) from your forked repo and into the `development` branch of the original repository.
17+
9. When creating your PR, please fill out all the fields of the PR template, as applicable, for the project.
18+
10. Check for conflicts once the pull request is created to make sure your PR can be merged cleanly into `development`.
19+
11. Keep an eye out for any feedback or comments from Split's SDK team.
20+
21+
### Running tests
22+
23+
To run test you need to execute the following commands:
24+
1. `pip install -U pip setuptools`
25+
2. `python setup.py install`
26+
3. `pip install redis pytest pytest-cov pytest-mock`
27+
4. `python setup.py test`
28+
29+
# Contact
30+
31+
If you have any other questions or need to contact us directly in a private manner send us a note at sdks@split.io.

Detailed-README.md

Lines changed: 0 additions & 151 deletions
This file was deleted.

0 commit comments

Comments
 (0)