Skip to content

chore(main): release 2.0.0 #33

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "1.2.2"
".": "2.0.0"
}
28 changes: 28 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,34 @@

All notable changes to the LaunchDarkly Lua Server-side SDK will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org).

## [2.0.0](https://github.com/launchdarkly/lua-server-sdk/compare/1.2.2...v2.0.0) (2023-12-28)


### ⚠ BREAKING CHANGES

* SDK configuration exposes new options and is organized hierarchically
* remove `inlineUsersInEvents` and `userKeysFlushInterval` config options
* remove global `registerLogger` function, replace with config option
* remove `alias` function, replace usage with multi-kind contexts
* Variation and VariationDetail now take contexts
* makeUser behavior modified to construct a user-kind context
* use C++ Server-side SDK 3.0 bindings ([#31](https://github.com/launchdarkly/lua-server-sdk/issues/31))

### Features

* added `makeContext` for constructing single or multi-kind contexts ([95e9718](https://github.com/launchdarkly/lua-server-sdk/commit/95e97188dd2258805734884592b601c7ebfa66c6))
* use C++ Server-side SDK 3.0 bindings ([#31](https://github.com/launchdarkly/lua-server-sdk/issues/31)) ([95e9718](https://github.com/launchdarkly/lua-server-sdk/commit/95e97188dd2258805734884592b601c7ebfa66c6))


### Code Refactoring

* makeUser behavior modified to construct a user-kind context ([95e9718](https://github.com/launchdarkly/lua-server-sdk/commit/95e97188dd2258805734884592b601c7ebfa66c6))
* remove `alias` function, replace usage with multi-kind contexts ([95e9718](https://github.com/launchdarkly/lua-server-sdk/commit/95e97188dd2258805734884592b601c7ebfa66c6))
* remove `inlineUsersInEvents` and `userKeysFlushInterval` config options ([95e9718](https://github.com/launchdarkly/lua-server-sdk/commit/95e97188dd2258805734884592b601c7ebfa66c6))
* remove global `registerLogger` function, replace with config option ([95e9718](https://github.com/launchdarkly/lua-server-sdk/commit/95e97188dd2258805734884592b601c7ebfa66c6))
* SDK configuration exposes new options and is organized hierarchically ([95e9718](https://github.com/launchdarkly/lua-server-sdk/commit/95e97188dd2258805734884592b601c7ebfa66c6))
* Variation and VariationDetail now take contexts ([95e9718](https://github.com/launchdarkly/lua-server-sdk/commit/95e97188dd2258805734884592b601c7ebfa66c6))

## [1.2.2] - 2022-02-08
### Fixed:
- Remove accidental check-in of temporary documentation build files.
Expand Down
2 changes: 1 addition & 1 deletion launchdarkly-server-sdk-1.0-0.rockspec
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ version = "1.0-0"

source = {
url = "git+https://github.com/launchdarkly/lua-server-sdk.git",
tag = "1.2.2" -- {{ x-release-please-version }}
tag = "2.0.0" -- {{ x-release-please-version }}
}

dependencies = {
Expand Down
2 changes: 1 addition & 1 deletion launchdarkly-server-sdk.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Server-side SDK for LaunchDarkly.
#define DEBUG_PRINT(fmt, ...)
#endif

#define SDKVersion "1.2.2" /* {x-release-please-version} */
#define SDKVersion "2.0.0" /* {x-release-please-version} */

static LDValue
LuaValueToJSON(lua_State *const l, const int i);
Expand Down