Releases: Topsort/topsort.js
Releases · Topsort/topsort.js
v0.3.2
What's Changed
- chore: adds repository, bugs and keywords to package.json by @barbmarcio in #51
- chore(deps): lefthook v1.7.14 by @renovate in #53
- chore(deps): @playwright/test v1.46.1 by @renovate in #52
- chore(deps): typos v1.24.1 by @renovate in #54
- chore(docs): simplify readme by @jbergstroem in #56
- feat: simplify tsup copy by @jbergstroem in #57
- chore: add custom error type by @barbmarcio in #58
- chore(deps): typos v1.24.3 by @renovate in #59
- chore(deps): msw v2.4.1 by @renovate in #60
- chore(deps): lefthook v1.7.15 by @renovate in #61
- chore(deps): msw v2.4.3 by @renovate in #62
- chore(deps): typos v1.24.5 by @renovate in #63
- chore(deps): @playwright/test v1.47.0 by @renovate in #64
- chore(deps): msw v2.4.4 by @renovate in #65
- chore(deps): @playwright/test v1.47.1 by @renovate in #66
- chore(deps): msw v2.4.6 by @renovate in #67
- chore(deps): @biomejs/biome v1.9.0 by @renovate in #68
- chore(deps): typescript v5.6.2 by @renovate in #69
- chore(deps): msw v2.4.7 by @renovate in #70
- chore(deps): @biomejs/biome v1.9.1 by @renovate in #71
- chore: export events interfaces by @barbmarcio in #72
- chore(deps): pin msw 2.4.3 by @jbergstroem in #73
- chore: @topsort/sdk 0.3.2 by @barbmarcio in #74
Full Changelog: v0.3.1...v0.3.2
v0.3.1
What's Changed
- fix: add permission bits to publish job by @jbergstroem in #48
- fix: add condition for no-content http code by @barbmarcio in #49
- chore: @topsort/sdk 0.3.1 by @barbmarcio in #50
Full Changelog: v0.3.0...v0.3.1
v0.3.0
What's Changed
- feat: add implementation for TopsortClient by @barbmarcio in #43
As part of the new implementation, a Topsort Client that embeds all functions is now initialized by receiving a config. Additionally, some type names have been renamed:
- TopsortAuction > Auction
- TopsortEvents > Event
Migration steps:
Auctions - Before
import { TopsortAuction, Config, createAuction } from "@topsort/sdk";
const auction: TopsortAuction = {
//...
};
const config: Config = {
apiKey: "API_KEY",
};
createAuction(config, auction)
.then((result) => console.log(result))
.catch((error) => console.error(error));
Auctions - After
import { Auction, Config, TopsortClient } from "@topsort/sdk";
const auction: Auction = {
//...
};
const config: Config = {
apiKey: "API_KEY",
};
const topsortClient = new TopsortClient(config);
topsortClient.createAuction(auction)
.then((result) => console.log(result))
.catch((error) => console.error(error));
Events - Before
import { TopsortEvent, Config, reportEvent } from "@topsort/sdk";
const event: TopsortEvent = {
//...
};
const config: Config = {
apiKey: "API_KEY",
};
reportEvent(config, event)
.then((result) => console.log(result))
.catch((error) => console.error(error));
Events - After
import { Event, Config, TopsortClient } from "@topsort/sdk";
const event: Event = {
//...
};
const config: Config = {
apiKey: "API_KEY",
};
const topsortClient = new TopsortClient(config);
topsortClient.reportEvent(event)
.then((result) => console.log(result))
.catch((error) => console.error(error));
- fix: pass npm token to release process by @jbergstroem in #38
- fix: add parameters as optional by @barbmarcio in #36
- chore: improve url generation by @jbergstroem in #39
- chore(deps): lefthook v1.7.12 by @renovate in #41
- chore(deps): @playwright/test v1.46.0 by @renovate in #42
- chore: improve url generation for auctions by @barbmarcio in #40
- feat(test): add e2e test for timeout on config by @barbmarcio in #28
- chore: improve publish step by @jbergstroem in #47
- chore: @topsort/sdk 0.3.0 by @barbmarcio in #46
Full Changelog: v0.2.1...v0.3.0
v0.2.1
What's Changed
- feat(docs): add changelog for 0.1.0 by @barbmarcio in #27
- feat: deploy with ci/cd by @jbergstroem in #30
- feat: add optional timeout to auction requests by @PabloReszczynski in #11
- chore(deps): typos v1.23.6 by @renovate in #34
- chore(deps): lefthook v1.7.11 by @renovate in #31
- chore(deps): msw v2.3.5 by @renovate in #32
- chore(deps): tsup v8.2.4 by @renovate in #33
- feat: add issue templates by @barbmarcio in #29
- fix: qualityScore should be optional by @PabloReszczynski in #35
- fix: remove
import { type .. }
for compatibility with lower versions of typescript by @barbmarcio in #37
New Contributors
- @PabloReszczynski made their first contribution in #11
Full Changelog: v0.2.0...v0.2.1