Skip to content
This repository was archived by the owner on Feb 13, 2024. It is now read-only.

Update loosely-validate-event to 2.0.0 #154

Merged
merged 2 commits into from
Mar 2, 2018

Conversation

f2prateek
Copy link
Contributor

This version has a breaking change - it'll throw an error for messages > 32kb (as it should, these messages are rejected by the API).

Instead of making a breaking change to analytics-node immediately, we'll have a deprecation period for the old behaviour. During this period, we'll catch this error and log it instead. This will give clients time to update their code as needed.

We may still opt to make a breaking change for analytics-node after this deprecation period, we'll decide this later.

@f2prateek
Copy link
Contributor Author

Closes #152

This version has a breaking change - it'll throw an error for messages > 32kb (as it should, these messages are rejected by the API).

Instead of making a breaking change to analytics-node immediately, we'll have a deprecation period for the old behaviour. During this period, we'll catch this error and log it instead. This will give clients time to update their code as needed.

We may still opt to make a breaking change for analytics-node after this deprecation period, we'll decide this later.
@f2prateek f2prateek force-pushed the update-loosely-validate-event-2.0.0 branch from 45b640b to fd20327 Compare January 27, 2018 00:35
@segmentio segmentio deleted a comment from codecov-io Jan 27, 2018
@codecov-io
Copy link

Codecov Report

Merging #154 into master will decrease coverage by 53.7%.
The diff coverage is 53.84%.

Impacted file tree graph

@@             Coverage Diff             @@
##           master     #154       +/-   ##
===========================================
- Coverage     100%   46.29%   -53.71%     
===========================================
  Files           1        1               
  Lines         102      108        +6     
===========================================
- Hits          102       50       -52     
- Misses          0       58       +58
Impacted Files Coverage Δ
index.js 46.29% <53.84%> (-53.71%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 98821ef...b526d3f. Read the comment docs.

@f2prateek f2prateek merged commit 17b7f42 into master Mar 2, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants