Skip to content
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
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Changelog

## 1.14.1

1.14.0 was tagged but never published to npm, so 1.14.1 is the first npm release
with the 1.14.0 changes below. Upgrading from 1.13.4, read the 1.14.0 notes.

### Fixed

- The npm publish workflow builds on the `.nvmrc` Node version, as CI does, and
times out a stalled build. On Node 22, a test that drives an event logger past the
call stack aborted the Jest worker and hung the 1.14.0 publish (#72). No SDK code
changed.

## 1.14.0

### Added
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ The A/B Smartly JavaScript SDK is an isomorphic library for Node.js (CommonJS an
### npm

```shell
npm install @absmartly/javascript-sdk@1.14.0 --save
npm install @absmartly/javascript-sdk@1.14.1 --save
```

### Import in your JavaScript application
Expand All @@ -32,10 +32,10 @@ import absmartly from "@absmartly/javascript-sdk";

You can include an optimized and pre-built package directly in your HTML code through [unpkg.com](https://www.unpkg.com).

Simply add the following code to your `head` section to include version 1.14.0.
Simply add the following code to your `head` section to include version 1.14.1.

```html
<script src="https://unpkg.com/@absmartly/javascript-sdk@1.14.0/dist/absmartly.min.js"></script>
<script src="https://unpkg.com/@absmartly/javascript-sdk@1.14.1/dist/absmartly.min.js"></script>
```

## Getting Started
Expand Down Expand Up @@ -200,8 +200,8 @@ When enabled, the following attributes are prepended to the publish request payl

| Attribute | Description |
| :------------ | ------------------------------------------------------------- |
| `sdk_name` | The SDK agent name (e.g. `"absmartly-javascript-sdk/1.14.0"`) |
| `sdk_version` | The SDK version (e.g. `"1.14.0"`) |
| `sdk_name` | The SDK agent name (e.g. `"absmartly-javascript-sdk/1.14.1"`) |
| `sdk_version` | The SDK version (e.g. `"1.14.1"`) |

Their `setAt` is the time of the earliest exposure or goal in the publish, so they apply to every event in it. A system attribute is not sent when you set an attribute with the same name yourself, so your value is kept.

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@absmartly/javascript-sdk",
"version": "1.14.0",
"version": "1.14.1",
"description": "A/B Smartly Javascript SDK",
"homepage": "https://github.com/absmartly/javascript-sdk#README.md",
"bugs": "https://github.com/absmartly/javascript-sdk/issues",
Expand Down
Loading