Skip to content

Commit

Permalink
internal: Publish new version (#2910)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Jan 21, 2024
1 parent 5e4d8ce commit 37793bc
Show file tree
Hide file tree
Showing 46 changed files with 339 additions and 185 deletions.
7 changes: 0 additions & 7 deletions .changeset/chilly-mugs-work.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/khaki-ears-exercise.md

This file was deleted.

20 changes: 0 additions & 20 deletions .changeset/lemon-zoos-relax.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/odd-cars-cheer.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/seven-papayas-tie.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/shiny-maps-double.md

This file was deleted.

13 changes: 0 additions & 13 deletions .changeset/slimy-experts-help.md

This file was deleted.

9 changes: 0 additions & 9 deletions .changeset/soft-birds-invent.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/ten-clocks-sin.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tender-frogs-return.md

This file was deleted.

9 changes: 9 additions & 0 deletions examples/benchmark/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# example-benchmark

## 0.4.38

### Patch Changes

- Updated dependencies [[`67f4e0b`](https://github.com/reactive/data-client/commit/67f4e0b45068da32d20e250267cb1cd2cea51226), [`053e823`](https://github.com/reactive/data-client/commit/053e82377bd29f200cd7dfbc700da7a3ad7fa8d7), [`4e6a39e`](https://github.com/reactive/data-client/commit/4e6a39ea2bfdb1390051f12781e899488609e1a8), [`922be79`](https://github.com/reactive/data-client/commit/922be79169a3eeea8e336eee519c165431ead474), [`69834b5`](https://github.com/reactive/data-client/commit/69834b50c6d2b33f46d7c63cabdc0744abf160ae), [`bf9c79c`](https://github.com/reactive/data-client/commit/bf9c79cb42e3df091eafe63fee619764a7ae4350)]:
- @data-client/normalizr@0.10.0
- @data-client/core@0.10.0
- @data-client/endpoint@0.10.0

## 0.4.37

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion examples/benchmark/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "example-benchmark",
"version": "0.4.37",
"version": "0.4.38",
"description": "Benchmark for normalizr",
"main": "index.js",
"author": "Nathaniel Tucker",
Expand Down
11 changes: 11 additions & 0 deletions examples/coin-app/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# coinbase-lite

## 0.0.2

### Patch Changes

- Updated dependencies [[`44f9ec2`](https://github.com/reactive/data-client/commit/44f9ec2801fe389a5afb215553a3441143078803), [`922be79`](https://github.com/reactive/data-client/commit/922be79169a3eeea8e336eee519c165431ead474), [`44f9ec2`](https://github.com/reactive/data-client/commit/44f9ec2801fe389a5afb215553a3441143078803), [`053e823`](https://github.com/reactive/data-client/commit/053e82377bd29f200cd7dfbc700da7a3ad7fa8d7), [`922be79`](https://github.com/reactive/data-client/commit/922be79169a3eeea8e336eee519c165431ead474), [`69834b5`](https://github.com/reactive/data-client/commit/69834b50c6d2b33f46d7c63cabdc0744abf160ae)]:
- @data-client/rest@0.10.0
- @data-client/redux@0.10.0
- @data-client/img@0.10.0
- @data-client/react@0.10.0
10 changes: 5 additions & 5 deletions examples/coin-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "coinbase-lite",
"version": "0.0.1",
"version": "0.0.2",
"packageManager": "[email protected]",
"description": "Coin App",
"scripts": {
Expand Down Expand Up @@ -41,10 +41,10 @@
"@anansi/core": "^0.18.4",
"@anansi/router": "^0.9.1",
"@babel/runtime": "^7.22.15",
"@data-client/img": "^0.9.0",
"@data-client/react": "^0.9.0",
"@data-client/redux": "^0.9.0",
"@data-client/rest": "^0.9.0",
"@data-client/img": "^0.10.0",
"@data-client/react": "^0.10.0",
"@data-client/redux": "^0.10.0",
"@data-client/rest": "^0.10.0",
"history": "*",
"react": "^18.2.0",
"react-dom": "^18.2.0",
Expand Down
8 changes: 8 additions & 0 deletions examples/normalizr-github/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# normalizr-github-example

## 0.1.27

### Patch Changes

- Updated dependencies [[`67f4e0b`](https://github.com/reactive/data-client/commit/67f4e0b45068da32d20e250267cb1cd2cea51226), [`053e823`](https://github.com/reactive/data-client/commit/053e82377bd29f200cd7dfbc700da7a3ad7fa8d7), [`922be79`](https://github.com/reactive/data-client/commit/922be79169a3eeea8e336eee519c165431ead474), [`69834b5`](https://github.com/reactive/data-client/commit/69834b50c6d2b33f46d7c63cabdc0744abf160ae), [`bf9c79c`](https://github.com/reactive/data-client/commit/bf9c79cb42e3df091eafe63fee619764a7ae4350)]:
- @data-client/normalizr@0.10.0
- @data-client/endpoint@0.10.0

## 0.1.26

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion examples/normalizr-github/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "normalizr-github-example",
"version": "0.1.26",
"version": "0.1.27",
"description": "And example of using Normalizr with github",
"main": "index.js",
"author": "Paul Armstrong",
Expand Down
7 changes: 7 additions & 0 deletions examples/normalizr-redux/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# normalizr-redux-example

## 0.1.25

### Patch Changes

- Updated dependencies [[`922be79`](https://github.com/reactive/data-client/commit/922be79169a3eeea8e336eee519c165431ead474), [`69834b5`](https://github.com/reactive/data-client/commit/69834b50c6d2b33f46d7c63cabdc0744abf160ae), [`bf9c79c`](https://github.com/reactive/data-client/commit/bf9c79cb42e3df091eafe63fee619764a7ae4350)]:
- @data-client/endpoint@0.10.0

## 0.1.24

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion examples/normalizr-redux/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "normalizr-redux-example",
"version": "0.1.24",
"version": "0.1.25",
"description": "And example of using Normalizr with Redux",
"main": "index.js",
"author": "Paul Armstrong",
Expand Down
8 changes: 8 additions & 0 deletions examples/normalizr-relationships/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# normalizr-relationships

## 0.1.27

### Patch Changes

- Updated dependencies [[`67f4e0b`](https://github.com/reactive/data-client/commit/67f4e0b45068da32d20e250267cb1cd2cea51226), [`053e823`](https://github.com/reactive/data-client/commit/053e82377bd29f200cd7dfbc700da7a3ad7fa8d7), [`922be79`](https://github.com/reactive/data-client/commit/922be79169a3eeea8e336eee519c165431ead474), [`69834b5`](https://github.com/reactive/data-client/commit/69834b50c6d2b33f46d7c63cabdc0744abf160ae), [`bf9c79c`](https://github.com/reactive/data-client/commit/bf9c79cb42e3df091eafe63fee619764a7ae4350)]:
- @data-client/normalizr@0.10.0
- @data-client/endpoint@0.10.0

## 0.1.26

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion examples/normalizr-relationships/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "normalizr-relationships",
"version": "0.1.26",
"version": "0.1.27",
"description": "And example of using Normalizr with relationships",
"main": "index.js",
"author": "Paul Armstrong",
Expand Down
39 changes: 31 additions & 8 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
# @data-client/core

## 0.10.0

### Minor Changes

- [#2912](https://github.com/reactive/data-client/pull/2912) [`922be79`](https://github.com/reactive/data-client/commit/922be79169a3eeea8e336eee519c165431ead474) Thanks [@ntucker](https://github.com/ntucker)! - BREAKING CHANGE: `null` inputs are no longer filtered from Array or Object

- `[]` and [schema.Array](https://dataclient.io/rest/api/Array) now behave in the same manner.
- `null` values are now consistently handled everywhere (being retained).
- These were already being retained in [nested Entities](https://dataclient.io/rest/guides/relational-data#nesting)
- `undefined` is still filtered out.

### Patch Changes

- [`4e6a39e`](https://github.com/reactive/data-client/commit/4e6a39ea2bfdb1390051f12781e899488609e1a8) Thanks [@ntucker](https://github.com/ntucker)! - Limit DevToolsManager action buffer depth to 100

This will avoid memory leaks in long running applications, or ones with frequent updates.

- [`69834b5`](https://github.com/reactive/data-client/commit/69834b50c6d2b33f46d7c63cabdc0744abf160ae) Thanks [@ntucker](https://github.com/ntucker)! - Update README with API links

- Updated dependencies [[`67f4e0b`](https://github.com/reactive/data-client/commit/67f4e0b45068da32d20e250267cb1cd2cea51226), [`053e823`](https://github.com/reactive/data-client/commit/053e82377bd29f200cd7dfbc700da7a3ad7fa8d7), [`922be79`](https://github.com/reactive/data-client/commit/922be79169a3eeea8e336eee519c165431ead474)]:
- @data-client/normalizr@0.10.0

## 0.9.7

### Patch Changes
Expand Down Expand Up @@ -90,11 +112,12 @@

```ts
class LoggingManager implements Manager {
getMiddleware = (): Middleware => controller => next => async action => {
console.log('before', action, controller.getState());
await next(action);
console.log('after', action, controller.getState());
};
getMiddleware =
(): Middleware => (controller) => (next) => async (action) => {
console.log("before", action, controller.getState());
await next(action);
console.log("after", action, controller.getState());
};

cleanup() {}
}
Expand Down Expand Up @@ -138,16 +161,16 @@
- f95dbc64d1: [Collections](https://dataclient.io/rest/api/Collection) can filter based on FormData arguments

```ts
ctrl.fetch(getPosts.push, { group: 'react' }, new FormData(e.currentTarget));
ctrl.fetch(getPosts.push, { group: "react" }, new FormData(e.currentTarget));
```

Say our FormData contained an `author` field. Now that newly created
item will be properly added to the [collection list](https://dataclient.io/rest/api/Collection) for that author.

```ts
useSuspense(getPosts, {
group: 'react',
author: 'bob',
group: "react",
author: "bob",
});
```

Expand Down
4 changes: 2 additions & 2 deletions packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@data-client/core",
"version": "0.9.7",
"version": "0.10.0",
"description": "High performance reactive framework for async data.",
"sideEffects": false,
"main": "dist/index.js",
Expand Down Expand Up @@ -120,7 +120,7 @@
},
"dependencies": {
"@babel/runtime": "^7.17.0",
"@data-client/normalizr": "^0.9.4",
"@data-client/normalizr": "^0.10.0",
"flux-standard-action": "^2.1.1"
},
"devDependencies": {
Expand Down
31 changes: 24 additions & 7 deletions packages/endpoint/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
# @data-client/endpoint

## 0.10.0

### Minor Changes

- [#2912](https://github.com/reactive/data-client/pull/2912) [`922be79`](https://github.com/reactive/data-client/commit/922be79169a3eeea8e336eee519c165431ead474) Thanks [@ntucker](https://github.com/ntucker)! - BREAKING CHANGE: `null` inputs are no longer filtered from Array or Object

- `[]` and [schema.Array](https://dataclient.io/rest/api/Array) now behave in the same manner.
- `null` values are now consistently handled everywhere (being retained).
- These were already being retained in [nested Entities](https://dataclient.io/rest/guides/relational-data#nesting)
- `undefined` is still filtered out.

### Patch Changes

- [`69834b5`](https://github.com/reactive/data-client/commit/69834b50c6d2b33f46d7c63cabdc0744abf160ae) Thanks [@ntucker](https://github.com/ntucker)! - Update README with API links

- [`bf9c79c`](https://github.com/reactive/data-client/commit/bf9c79cb42e3df091eafe63fee619764a7ae4350) Thanks [@ntucker](https://github.com/ntucker)! - docs: Fix Entity links

## 0.9.9

### Patch Changes
Expand All @@ -15,7 +32,7 @@
```ts
export const queryRemainingTodos = new Query(
TodoResource.getList.schema,
entries => entries && entries.filter(todo => !todo.completed).length,
(entries) => entries && entries.filter((todo) => !todo.completed).length,
);
```

Expand Down Expand Up @@ -98,7 +115,7 @@
pk(): string {
return `${this.trade_id}`;
}
static key = 'Ticker';
static key = "Ticker";

static schema = {
price: Number,
Expand All @@ -118,7 +135,7 @@
pk(): string {
return `${this.trade_id}`;
}
static key = 'Ticker';
static key = "Ticker";

static schema = {
price: Number,
Expand All @@ -139,16 +156,16 @@

```ts
class Stream extends Entity {
username = '';
title = '';
game = '';
username = "";
title = "";
game = "";
currentViewers = 0;
live = false;

pk() {
return this.username;
}
static key = 'Stream';
static key = "Stream";

process(value, parent, key, args) {
const processed = super.process(value, parent, key, args);
Expand Down
2 changes: 1 addition & 1 deletion packages/endpoint/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@data-client/endpoint",
"version": "0.9.9",
"version": "0.10.0",
"description": "Declarative Network Interface Definitions",
"homepage": "https://dataclient.io/docs/guides/custom-protocol",
"keywords": [
Expand Down
Loading

0 comments on commit 37793bc

Please sign in to comment.