Skip to content

Latest commit

 

History

History
744 lines (313 loc) · 27.8 KB

CHANGELOG.md

File metadata and controls

744 lines (313 loc) · 27.8 KB

Changelog

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

12.0.0 (2024-03-30)

⚠ BREAKING CHANGES

  • update dev deps incuding babel which changes supported built files for browser

Features

  • deps: update dependency classnames to v2.4.0 (#416) (30d6a24)
  • deps: update dependency classnames to v2.5.0 (#419) (6468907)
  • deps: update dependency mongodb to v6 (#298) (96c5838)
  • deps: update dependency nightingale-app-console to v14.2.1 (#362) (0289e84)
  • deps: update dependency router-segments to v9 (#402) (812f8e8)
  • deps: update nightingale to v15 (major) (#404) (f4e3338)

Bug Fixes

  • deps: update dependency classnames to v2.3.3 (#411) (eaff9fa)
  • deps: update dependency next to v14.0.3 (#369) (485281e)
  • deps: update dependency react-native-web to v0.19.10 (#409) (c9f412f)
  • deps: update dependency react-native-web to v0.19.9 (#292) (b958d50)
  • deps: update dependency router-segments to v7.0.1 (#357) (292d051)
  • deps: update dependency todomvc-app-css to v2.4.3 (#352) (6a44198)
  • liwi-mongo: properly implement forEach (2fb838b)
  • update alp-node (43b6ccf)

Miscellaneous Chores

  • update dev deps incuding babel which changes supported built files for browser (462bf2e)

11.0.0 (2023-07-29)

⚠ BREAKING CHANGES

  • drop node 16

Bug Fixes

Code Refactoring

10.5.0 (2023-07-28)

Features

  • deps: update nightingale to v14 (major) (#258) (478f72b)

10.4.0 (2023-07-28)

Features

  • deps: update dependency mongodb to v5 (#187) (ace5a92)
  • deps: update dependency react-native-web to v0.19.0 (#218) (929a667)
  • rename connectedUser to loggedInUser (83bb095)

Bug Fixes

10.3.3 (2023-02-05)

Bug Fixes

  • deps: update dependency react-native-web to v0.18.12 (#180) (f3b5957)
  • react-liwi: fix when a change happen before initial result (0cfafb8)

10.3.2 (2023-01-31)

Bug Fixes

10.3.1 (2023-01-31)

Bug Fixes

  • liwi-store: allow anything in criteria (887eb9c)

10.3.0 (2023-01-31)

Features

  • liwi-store: allow regex as object with pattern and options (7e62bda)

10.2.0 (2023-01-31)

Features

  • liwi-mongo-example: update mongo example (cf4a895)
  • update mingo and fix typings (4ed585e)
  • update mongo (96f189d)

10.1.3 (2023-01-29)

Bug Fixes

  • liwi-mongo: ignore $text not $search (80225b2)

10.1.2 (2023-01-29)

Bug Fixes

  • deps: update dependency react-native-web to v0.18.11 (#173) (2534b88)
  • liwi-monogo: fix createTestCriteria for unsupported $search criteria (e572148)
  • react-liwi: typescript fix OperationCallWrapper second value of tuple Promise type (c1c1b1f)

10.1.1 (2022-12-10)

Bug Fixes

  • liwi-mongo: meta count using criteria (e2347ad)

10.1.0 (2022-11-27)

Features

  • allow async query in server service resource (e153310)

10.0.0 (2022-11-27)

Bug Fixes

  • deps: update dependency next to v13.0.4 (#118) (a4f94d5)
  • deps: update dependency react-alp-connection-state to v6.2.2 (#112) (7216015)
  • deps: update dependency react-native-web to v0.18.10 (#71) (36a1d19)
  • log expected ResourcesServerError as info, not as error (508caf7)

Code Refactoring

Features

  • deps: update nightingale to v13 (major) (#128) (f04d7fe)
  • react-liwi: export PaginatedQueryRequiredParams and Pagination (deb4afb)

BREAKING CHANGES

  • dropped node 14 and cjs

9.2.0 (2022-10-29)

Bug Fixes

  • deps: update dependency classnames to v2.3.2 (#102) (51b5ed2)
  • liwi-resources-websocket-client: throw on ssr to avoid leaks (871c668)

Features

9.1.0 (2022-10-08)

Bug Fixes

  • add missing keyof Model in $pull operator (47062d9)
  • add missing keyof Model in $push operator (be7f0e1)
  • deps: update dependency react-native-web to v0.17.7 (#32) (4ff8199)
  • fix not subscribing when skip is true (cd346e7)
  • liwi-types: fix Criteria generic in Criteria (4e3ed4d)
  • redact connectionString in logs (236ecb2)
  • remix eslint config root (bf24ff5)
  • update dev dependencies, fix ts remix, fix next babel config (fadb30e)

Features

  • add example with remix (9d1e631)
  • deps: update dependency next to v12.2.5 (#77) (f7d5650)
  • deps: update dependency react-native to v0.18.7 (#68) (b7ddc9a)

9.0.0 (2022-03-05)

Bug Fixes

  • deps: update dependency react-alp-connection-state to v6.0.1 (#23) (e1ca9bc)
  • deps: update dependency react-native-web to v0.17.6 (#16) (453772b)
  • config next (5852893)
  • update meta when params change (7c260a8)
  • deps: update dependency todomvc-app-css to v2.4.2 (#17) (ad86c2a)
  • update alp-rollup-plugin-config (f7a3d39)

Features

  • deps: update dependency mongodb to v4 (#22) (cdf9204)
  • deps: update dependency next to v12.1.0 [security] (#20) (e8318e1)
  • refactor and use node 14 (101c861)

BREAKING CHANGES

  • deps: cursor.count() is removed and replaced by store.count()
  • requires node 14

8.3.1 (2021-11-28)

Bug Fixes

  • liwi-mongo: fix mingoQuery for MongoQuerySingleItem (34c240f)

8.3.0 (2021-11-22)

Bug Fixes

  • update pob-babel and bring back webpack 4 compat (135caf3)

Features

  • react-liwi: compare on initial if already have state to prevent overriding in progress changes in forms (356bc89)

8.2.1 (2021-06-29)

Bug Fixes

  • log internal server error (a2c176c)

8.2.0 (2021-04-10)

Features

  • liwi-resources-websocket-client: add third argument for websocket in react-native (8bff87a)

8.1.5 (2021-03-29)

Bug Fixes

  • react-liwi: export ResourcesServerError (41d5c13)

8.1.4 (2021-03-29)

Bug Fixes

  • react-liwi: improve typings, error can be ResourcesServerError (26fa437)

8.1.3 (2021-03-29)

Bug Fixes

  • liwi-resources-websocket-client: only use console.error on error if onError not provided (6d65a6b)

8.1.2 (2021-03-29)

Bug Fixes

  • liwi-resources: build for browsers (3c32141)

8.1.1 (2021-03-28)

Bug Fixes

8.1.0 (2021-03-28)

Bug Fixes

  • remove unused @types/socket.io dependency (af453d1)
  • remove unused deep-equal dependency (dbd4d62)
  • update optional dependencies in liwi-resources-websocket-server (3b3ab8f)

Features

8.0.4 (2021-01-18)

Bug Fixes

  • update pob-babel for better support (4cb684e)

8.0.3 (2021-01-18)

Bug Fixes

8.0.2 (2021-01-18)

Bug Fixes

  • bring back support for webpack 4 (f2b5583)

8.0.1 (2021-01-10)

Bug Fixes

  • setOnInsertPartialObject type (310d869)

8.0.0 (2021-01-10)

Code Refactoring

Features

  • add setOnInsertPartialObject in upsertOne and upsertOneWithInfo (bf5b844)

BREAKING CHANGES

  • drop node 10

7.6.2 (2020-11-13)

Bug Fixes

7.6.1 (2020-11-13)

Bug Fixes

7.6.0 (2020-10-05)

Bug Fixes

Features

7.5.0 (2020-08-15)

Features

  • dont try to reconnect when visibility is hidden (2705a33)

7.4.3 (2020-08-14)

Bug Fixes

7.4.2 (2020-08-14)

Bug Fixes

  • beter handle no result in MongoQuerySingleItem (6b13448)
  • remove console.log (9c0aa56)

7.4.1 (2020-08-14)

Bug Fixes

  • handle event subscribe:close without id (1a82247)

7.4.0 (2020-08-09)

Bug Fixes

Features

  • prepare liwi-resources-direct-client (8b3f681)

7.3.0 (2020-08-08)

Features

7.2.3 (2020-08-08)

Bug Fixes

  • better type ServiceInterface (34b57b1)

7.2.2 (2020-08-08)

Bug Fixes

  • missing undefined in ServiceQuery (b88ca69)

7.2.1 (2020-08-08)

Bug Fixes

7.2.0 (2020-08-08)

Bug Fixes

  • set ConnectedUser to unknown if not specified (1b8773a)

Features

  • allow to not pass params when undefined (6a6bf76)

7.1.0 (2020-08-08)

Features

  • getAuthenticatedUser can return a promise (ab06bf3)

7.0.0 (2020-08-08)

Bug Fixes

  • add missing document.removeEventListener for visibilitychange (3277950)
  • add resultRef, state is always initial (e91b291)
  • allow QueryDescription to have void param (0c9a894)
  • build (ac2ee64)
  • build (d286aff)
  • debug log init (fc28efb)
  • dont subscribe on initial render if document is not visible (db507de)
  • encode operation result (c838894)
  • eslint error (206b1b5)
  • export createMongoResourcesWebsocketClient (dc5cf66)
  • exported ServiceResource second arg is optional (d6c282f)
  • fixes (482c388)
  • improve ServiceResource definitions (92a1c3b)
  • mingoQuery without criteria (fe78dd2)
  • missing callback in unsubscribe (8ff0fb3)
  • missing declaration files (aa5021f)
  • queries and operations should be a record, not an array (b0a89da)
  • queries definition (ad3cfa4)
  • remove obsolete dependency (ce61569)
  • remove unused peerDependency prop-types (2aff4f4)
  • rename Query to ClientQuery (e330a62)
  • resubscribing did not work correctly (68b485a)
  • send value array (7f012c2)
  • subscribe-store param createQuery (74f4fd7)
  • support namespace (e677afc)
  • typescript def queries allow Promise (60a893e)
  • useResource without subscribing (645421d)
  • liwi-mongo: replaceone (eea4324)
  • unsubcribe call with this (9826048)
  • unsubscribe and add subscribeHook (d6e3d5a)
  • use partial for $set and $setOnInsert (2e02952)

Code Refactoring

Features

  • add and export mongo types (aec6dba)
  • add connected user (c43685c)
  • add criteria un findByKey and deleteByKey (2adfaba)
  • add hooks (906c820)
  • add liwi-resources-void-client (5cff2e4)
  • add log when unsubscribed due to timeout (4d8fff6)
  • add more info in logger (76bacf1)
  • add Operations default in ServiceResource (d60fb38)
  • add optional critieria in partialUpdateByKey (6bd5578)
  • add timeout and visibilitychange in FindAndSubscribe (ea8ce5e)
  • add transformer (76861ae)
  • add transformer in createQuery (1826413)
  • allow client createQuery to not pass params (be9e4a2)
  • allow params in createQuery (d674556)
  • allow query to be returned with a promise (902944c)
  • allow ResourcesClientService to have optional second generic (c0a8d8c)
  • allow to get params in subscribe hooks (49e40cf)
  • big refactor (#5) (a4629c4)
  • drop node 8 (2fb6528)
  • mongo 3 (b9bfaa4)
  • update deps and improve typescript dev (b42eefb)
  • liwi-subscribe-store: implement deleteMany (a7cb28e)
  • liwi-subscribe-store: implement partialUpdateMany (b15b003)
  • react-liwi: add subscribeOptions in useResource (187fdda)
  • createMongoResourcesWebsocketClient (3f0f3e7)
  • export type Update in liwi-store (1c051c8)
  • liwi-subscribe-store (53b18a3)
  • pass object to ResourcesServerService instead of 2 param (e3f3225)
  • queries as fn with result (1a1abcb)
  • queryInfo in applyChanges and liwi-mongo (ecfdc3f)
  • rename createResourceClient to createResourceClientService (0118f85)
  • replace query by createQuery (1561da0)
  • resource operations (9ddd3b7)
  • split liwi-resources into server and client (df73bf9)

BREAKING CHANGES

  • drop node 8
  • react-liwi: use hooks instead of react components
  • added Transformer, query model is now value in query description
  • query prop no longer exists, replaced by createQuery
  • replace new ResourcesServerService(map1, map2) by new ResourcesServerService({serviceResources:map1, cursorResources:map2})
  • multiple typescript typings change
  • major rewrite in typescript
  • liwi package splitted