1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-18 20:09:08 +02:00
Commit Graph

238 Commits

Author SHA1 Message Date
Christopher Kolstad
b83387a84a
Add a version service (#729)
- Checks versions against https://version.unleash.run
- Generates a unique instance id (uuid)
2021-02-19 11:13:25 +01:00
Ivar Conradi Østhus
4f1d4df4b8
feat: allow stickiness on context-fields (#713)
* feat: allow stickiness on context-fields

* chore: docs for this feature

* fix: write a small e2e test

* fix: add stickiness to variants
2021-02-11 17:59:16 +01:00
Christopher Kolstad
0b510e6aa2
Merge pull request #710 from Unleash/fix-705-db-pool-tuning
Added explicit pool settings in options.db object
2021-02-08 12:35:22 +01:00
Christopher Kolstad
e952ae20a8
Added explicit pool settings in options.db object
- Also adds metrics for min and max pool size
- Metrics for free/used connections.
- Metrics for pending and current acquires

fixes: #705
2021-02-08 10:54:20 +01:00
Ivar Conradi Østhus
1a7492a69c
chore(docs): added some note to addon docs 2021-02-05 19:08:04 +01:00
Ivar Conradi Østhus
1486cdab52 fix: add docs for addons 2021-02-05 15:20:00 +01:00
Ivar Conradi Østhus
65996e72e0 fix: add unleashUrl option 2021-02-05 15:20:00 +01:00
Ivar Conradi Østhus
17c8fe7710 feat: Introduce addon framework
fixes: #587

Co-authored-by: Christopher Kolstad <chriswk@getunleash.ai>
2021-02-05 15:20:00 +01:00
Ivar Conradi Østhus
8f99f71156
chore: fix broken link in docs
fixes: https://github.com/Unleash/unleash.github.io/issues/6
2021-02-04 22:10:31 +01:00
Victor Login
a320b6475d
fix: Added the ability to specify db-schema via ENV (#702) 2021-02-02 12:40:42 +01:00
Fredrik Strand Oseberg
01074fd437
docs: update getting started guide with docker options (#697) 2021-01-27 20:11:41 +01:00
Christopher Kolstad
e555118cb1
feat: Add filterquery support for toggles
- For now supports
   - tag
   - project
   - namePrefix

fixes: #690
2021-01-26 14:14:07 +01:00
gazconroy
9e31800bf4
chore: Update Open API specification (#686) 2021-01-25 07:57:40 +01:00
Jonas Uekötter
7c5b914513
Fix typo in /api/client/features docs (#694) 2021-01-25 07:54:50 +01:00
Christopher Kolstad
ef19dfa7cb
Support deprecating and reactivating strategies
fixes: #682
2021-01-21 15:53:24 +01:00
Christopher Kolstad
6b12c8bca3
Add link to tags API from api/index 2021-01-21 12:53:15 +01:00
Christopher Kolstad
c17a1980a2
Add service layer
This simplifies stores to just be storage interaction, they no longer react to events.

Controllers now call services and awaits the result from the call.

When the service calls are returned the database is updated.
This simplifies testing dramatically, cause you know that your state is
updated when returned from a call, rather than hoping the store has
picked up the event (which really was a command) and reacted to it.

Events are still emitted from eventStore, so other parts of the app can
react to events as they're being sent out.

As part of the move to services, we now also emit an application-created
event when we see a new client application.

Fixes: #685
Fixes: #595
2021-01-21 10:59:19 +01:00
Christopher Kolstad
5cd2a38cd4
Add notes about tag and tag-type events 2021-01-19 16:15:59 +01:00
Christopher Kolstad
43801f1f13
Add Tags and tag types
- First iteration of api for tags and tag-types
- Documentation in place
- Adds three new tables
   - tag_types
   - tags
   - feature_tag
- Tagging a feature is adding a row in the feature_tag
  join table

* #665

Co-authored-by: Simen Bekkhus <sbekkhus91@gmail.com>
Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
2021-01-14 13:09:05 +01:00
Ivar Conradi Østhus
a26dea661d fix: add go SDK to list supporting variants 2021-01-11 09:32:21 +01:00
gazconroy
86b2a4f5ad
fix: Swagger to redoc (#678)
Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
2021-01-06 14:24:39 +01:00
pmb
14ee8fcdcf chore(docs): Add NestJS client library reference 2020-12-24 15:22:05 +01:00
Ivar Conradi Østhus
cdfba8f7b1 feat: Adds last-seen dat on toggles
When an application updates metrics for a toggle we now
stores the timestamp on the toggle when it was last seen
used by an application. This will make it much easier to
detect toggles not in use anymore.

closes #642
2020-12-22 11:05:00 +01:00
Ivar Conradi Østhus
f2e4b69562 chore(docs): Add link to Open API specifications 2020-12-15 13:42:22 +01:00
Ivar Conradi Østhus
d1f4039b09
chore(docs): Clean up configuring unleash (#672) 2020-12-15 13:18:38 +01:00
gazconroy
e4f7aaa970
fix: OpenApi - Added Client API calls (#667)
Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
2020-12-15 09:14:00 +01:00
Ivar Conradi Østhus
cb7a6d63af fix: typo in OAS servers 2020-12-03 21:34:13 +01:00
Ivar Conradi Østhus
3bf01b803a
fix: add support for basic auth with simple-auth (#659) 2020-12-03 21:29:01 +01:00
Ivar Conradi Østhus
e3bfe2c6d0 fix: remove unused github action 2020-12-03 21:23:51 +01:00
Ivar Conradi Østhus
29ae780421 fix: add heroku server to openapi servers 2020-12-03 21:20:52 +01:00
gazconroy
c7c2f17bd0
feat: First draft of admin Open API specification (OAS) (#652)
Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
2020-12-03 21:09:16 +01:00
Ivar Conradi Østhus
9e48b5a2f4 fix: Replace travis with GitHub Actions
closes #656
2020-11-24 12:46:55 +01:00
Ivar Conradi Østhus
5f2b684f57 feat: stateServices only exposed via services object 2020-11-23 21:52:57 +01:00
Mathias Åhsberg
144e832cdc
feat: Add support for explicitly set database version. (#654)
Co-authored-by: Mathias Åhsberg <mathias.ahsberg@resurs.se>
2020-11-20 11:37:56 +01:00
Ivar Conradi Østhus
3db40d012a
chore(docs): Fix url typo in docs 2020-11-11 10:05:51 +01:00
avirogalsky
666237254c
chore(docs): Add clojure client library reference (#647) 2020-11-11 09:28:06 +01:00
Ivar Conradi Østhus
9c384dfae7
feat: Allow migration style import (#645) 2020-11-03 14:56:07 +01:00
Ivar Conradi Østhus
3f44c85216 fix: Variants missing from client API docs
closes #632
2020-11-01 20:51:31 +01:00
Ivar Conradi Østhus
9052a5a5df fix(docs): wrong id for feature-types 2020-10-30 13:44:13 +01:00
Ivar Conradi Østhus
53f3d5e9a1 fix: clarify PostgreSQL version support 2020-10-30 09:56:17 +01:00
Ivar Conradi Østhus
5173edc991 fix: update list of SDKs supporting variants 2020-10-30 09:51:13 +01:00
Ivar Conradi Østhus
1f7e245e0b fix: add docs for disabled variant
closes #633
2020-10-30 09:22:01 +01:00
Ivar Conradi Østhus
2221322e22 fix: Add api documentation for strategy constraints.
closes: #637
2020-10-30 09:16:54 +01:00
Ivar Conradi Østhus
e7e8605208 chore: fix typo in docs 2020-10-28 20:50:23 +01:00
nickcox
ec81abed63
Fix: typo in metrics-api.md (#643) 2020-10-12 07:59:59 +02:00
Ivar Conradi Østhus
51f26be759 fix: add secureHeaders option for HSTS 2020-10-01 21:47:40 +02:00
Ivar Conradi Østhus
6b69b9845a fix: stickness parmeters for stickiness is camelCase (doc)
closes #641
2020-09-28 13:08:46 +02:00
Ivar Conradi Østhus
c0785e1e34 fix: improve import/export documentation
See #496:
https://github.com/Unleash/unleash/issues/496#issuecomment-692772884
2020-09-25 09:43:23 +02:00
Ivar Conradi Østhus
edf6d70116 chore: typo in strategy docs 2020-09-18 12:55:42 +02:00
JamesClair
972b57692f
Chore: Rename feautre-upda... to feature-updates-to-slack.md (#622) 2020-08-14 17:20:41 +02:00
Ivar Conradi Østhus
f156ff4131 fix: variant documentation title cleanup 2020-08-10 10:24:43 +02:00
Ivar Conradi Østhus
ee6beae832 fix: add more client SDK to documentation 2020-08-10 10:14:51 +02:00
Ivar Conradi Østhus
99b27061aa fix: update feature toggle variants documentation 2020-08-10 10:10:41 +02:00
Ivar Conradi Østhus
7535c88cbf fix: add user documentation for feature toggle types 2020-08-07 11:13:30 +02:00
Ivar Conradi Østhus
83dda55172
feat: add stale property on toggle (#619) 2020-08-07 10:46:35 +02:00
Ivar Conradi Østhus
6568457ed8
feat: Add support for toggle types (#618) 2020-08-06 11:18:52 +02:00
Malcolm Jones
2a4130548a
Update getting-started.md (#617) 2020-08-01 05:41:49 +02:00
Ivar Conradi Østhus
c5a23db451
Update getting-started.md
fixes #613
2020-07-31 08:12:24 +02:00
Jakob Heuser
d2a3e72bd8
Feat: Adds server.create() (#606) 2020-06-17 08:03:02 +02:00
Julien PERIGNON
12e87acf78
chore: Updated baseUriPath documentation (#601) 2020-05-29 09:59:15 +02:00
Ivar Conradi Østhus
ed076b809e
chore: update getting-started guide 2020-04-13 23:02:50 +02:00
Ivar Conradi Østhus
4e45ae6b53 chore: update getting-started guide 2020-04-13 22:47:12 +02:00
Ivar Conradi Østhus
b912768923
feat: move secrets to settings (#577)
* feat: move secrets to settings

* feat: Add better support for detailed db options.

Added db field in options to allow better control of
db-options. Especially important to allow special chars
in database password which might lead to an invaid url
when defined as a database-url.

* fix: integrate logger with knex logger

* fix: remove secret option from all examples

* fix: more options.js unit tests

* fix: added settings-store e2e tests
2020-04-13 22:38:46 +02:00
Nick Herro
72e1bd7e2c chore: Update activation-strategies.md (#554)
Fixes bold **SESSIONID**
2020-02-20 08:34:33 +01:00
Martin Folkeseth
a1e60f0529 chore: Add baseUriPath support to docs (#531) 2020-02-20 08:34:32 +01:00
Ronen Konfortes
092e571dc7 chore: Update beta-features.md with clients supporting variants (#525) 2020-02-20 08:34:31 +01:00
Jürgen Etzlstorfer
bef08d00c9 chore: fix typo (#523) 2020-02-20 08:34:31 +01:00
Ivar Conradi Østhus
cdd483ffec feat: Add new Flexible Rollout Strategy (#517)
* feat: Add new Flexible Rollout Strategy

fixes #516

* feat: update unleash-frontend to version 3.2.8

* chore: update flexible rollout documentation
2020-02-20 08:34:31 +01:00
Joshua Mentzer
89536c57aa chore: toggle/on|off documentation added (#515) 2020-02-20 08:34:31 +01:00
Weslei Juan Novaes Pereira
7487cc9588 chore: Added static context props in docs (#507) 2020-02-20 08:34:30 +01:00
ivaosthu
7477a7f1b5 chore: Add details about Larvel (php) SDK 2020-02-20 08:34:29 +01:00
Weslei Juan Novaes Pereira
b717ad7e2f chore: Added reference to official client implementation in .Net (#503)
* Added reference to official client implementation in .Net

* Added info of official implementations in docs
2020-02-20 08:34:29 +01:00
Ibrahim AshShohail
983b941629 Fix asset paths (#486) 2020-02-20 08:34:27 +01:00
Andrew Fontaine
f4c62bd3bb chore: Add Elixir Unleash Library to README (#480)
* Add Elixir Unleash Library to README

I pushed a new elixir package (https://hex.pm/packages/unleash) so you can use unleash from an Elixir project!

* Add Link to `unleash_ex` on Docs
2020-02-20 08:34:27 +01:00
ivaosthu
9f83826633 Add missing image 2020-02-20 08:34:27 +01:00
ivaosthu
e93948cf6f chore: Add webhook guide do website 2020-02-20 08:34:26 +01:00
Ran Magen
d41daf716c Chore: Add guide for how to use eventHook to send updates to Slack (#459)
* Add guide for how to use eventHook to send updates to Slack

* better slack url

* use require instead of import
2020-02-20 08:34:26 +01:00
Ran Magen
d917e8018f feat: add option and functionality that allows a user to hook into feature mutations (#457)
* Add option and functionality that allows a user to hook into feature mutations.

* Fix function argument to include the entire event.
2020-02-20 08:34:26 +01:00
Ran Magen
79741f78e5 fix: Add DATABASE_URL_FILE for loading a db url from a file (#455) 2020-02-20 08:34:26 +01:00
ivaosthu
eaae969e84 chore: Update readme with details about slack
releates to #444
2020-02-20 08:34:25 +01:00
ivaosthu
e614bbdb3f chore: add new screenshot 2020-02-20 08:34:25 +01:00
Mitchell Herrijgers
8043439113 Add sample Keycloak Authentication hook 2020-02-20 08:34:24 +01:00
ivaosthu
ccaab0c47b fix: LogProvider as option injected to unleash.
Instead of instructing users to do static calls
in to Unleash, she should instead be allwed to
specify the log provider as an option to Unleash.

This commit introduces the "getLogger" option,
a function responsible for creating a logger.
2020-02-20 08:34:24 +01:00
Moritz Johner
a9f16645e9 fix: require path of logger
relates to #429
2020-02-20 08:34:23 +01:00
Sven Luijten
a844fceda3 Update unleash-context.md 2020-02-20 08:34:23 +01:00
ivaosthu
ccce6056dd Fix: Add support for IPC connections.
Read this for more details:
https://nodejs.org/api/net.html#net_identifying_paths_for_ipc_connections
2020-02-20 08:34:23 +01:00
Benjamin Ludewig
4ecf68d015 chore: update import/export documentation 2020-02-20 08:34:22 +01:00
Benjamin Ludewig
a06d2c04bb Refactored state-service, schemas, added e2e tests #395 2020-02-20 08:34:22 +01:00
ivaosthu
bb396b6c62 feat: Add customizable ui config 2020-02-20 08:34:22 +01:00
Valentin Jonovs
7c67e6bcc3 Fix typos in documentation 2020-02-20 08:34:21 +01:00
ivaosthu
3840536ae1 chore: typo in use-doc 2020-02-20 08:34:20 +01:00
ivaosthu
a01c4c8285 fix: Toggle variants documentation 2020-02-20 08:34:20 +01:00
ivaosthu
c25e994322 fix: Update variant protocol 2020-02-20 08:34:20 +01:00
Juan Hoyos
3623052c36 feat: Added feature toggle variants 2020-02-20 08:34:20 +01:00
ivaosthu
ca8d2fdae0 chore: Update guide on integrating with Google Auth
This is due to Google retiring google.plus APIs and the old passport libs used in the examples depended on these.

Closes #386
2020-02-20 08:34:20 +01:00
ivaosthu
8b9f9dbd2c fix: Database migrator does use the databaseSchema option
closes #387
2020-02-20 08:34:19 +01:00
ivaosthu
4504734f13 chore(doc): Explain that passord is not a typo.
closes #375
2020-02-20 08:34:19 +01:00
ivaosthu
26380e6e60 chore(changelog): prepare 3.1.3 release 2020-02-20 08:34:16 +01:00
ivaosthu
de9120a036 chore(docs): typo in file name 2020-02-20 08:34:16 +01:00
ivaosthu
ada2259be7 chore(doc): typo 2020-02-20 08:34:16 +01:00