Skip to content

Commit

Permalink
15.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Feb 27, 2024
1 parent 8a918fa commit 4d50e17
Show file tree
Hide file tree
Showing 163 changed files with 344 additions and 264 deletions.
10 changes: 7 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,19 @@
# RxDB Changelog

<!-- CHANGELOG NEWEST -->
- IMPROVE [OPFS RxStorage](https://rxdb.info/rx-storage-opfs.html) performance.
- ADD `usesRxDatabaseInWorker` option to the [OPFS RxStorage](https://rxdb.info/rx-storage-opfs.html).
- ADD `getRxStorageOPFSMainThread()` to run OPFS from the main thread instead of a worker for less latency.

<!-- ADD new changes here! -->

<!-- /CHANGELOG NEWEST -->

<!-- RELEASE BELOW -->

### 15.10.0 (27 February 2024)

- IMPROVE [OPFS RxStorage](https://rxdb.info/rx-storage-opfs.html) performance.
- ADD `usesRxDatabaseInWorker` option to the [OPFS RxStorage](https://rxdb.info/rx-storage-opfs.html).
- ADD `getRxStorageOPFSMainThread()` to run OPFS from the main thread instead of a worker for less latency.

### 15.9.1 (21 February 2024)

- FIX creating two databases with the same name but different storage must work.
Expand Down
8 changes: 8 additions & 0 deletions dist/cjs/plugins/storage-remote/remote.js

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

2 changes: 1 addition & 1 deletion dist/cjs/plugins/storage-remote/remote.js.map

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions dist/cjs/plugins/utils/utils-array.js

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

2 changes: 1 addition & 1 deletion dist/cjs/plugins/utils/utils-array.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/cjs/plugins/utils/utils-rxdb-version.js

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

2 changes: 1 addition & 1 deletion dist/cjs/plugins/utils/utils-rxdb-version.js.map

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

8 changes: 8 additions & 0 deletions dist/esm/plugins/storage-remote/remote.js

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

2 changes: 1 addition & 1 deletion dist/esm/plugins/storage-remote/remote.js.map

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions dist/esm/plugins/utils/utils-array.js

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

2 changes: 1 addition & 1 deletion dist/esm/plugins/utils/utils-array.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/esm/plugins/utils/utils-rxdb-version.js

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

2 changes: 1 addition & 1 deletion dist/esm/plugins/utils/utils-rxdb-version.js.map

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

2 changes: 1 addition & 1 deletion dist/types/plugins/storage-denokv/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { RxStorageInstanceDenoKV } from "./rx-storage-instance-denokv.ts";
export declare class RxStorageDenoKV implements RxStorage<DenoKVStorageInternals<any>, DenoKVSettings> {
settings: DenoKVSettings;
name: string;
readonly rxdbVersion = "15.9.1";
readonly rxdbVersion = "15.10.0";
constructor(settings: DenoKVSettings);
createStorageInstance<RxDocType>(params: RxStorageInstanceCreationParams<RxDocType, DenoKVSettings>): Promise<RxStorageInstanceDenoKV<RxDocType>>;
}
Expand Down
2 changes: 1 addition & 1 deletion dist/types/plugins/storage-dexie/rx-storage-dexie.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { RxStorageInstanceDexie } from './rx-storage-instance-dexie.ts';
export declare class RxStorageDexie implements RxStorage<DexieStorageInternals, DexieSettings> {
settings: DexieSettings;
name: string;
readonly rxdbVersion = "15.9.1";
readonly rxdbVersion = "15.10.0";
constructor(settings: DexieSettings);
createStorageInstance<RxDocType>(params: RxStorageInstanceCreationParams<RxDocType, DexieSettings>): Promise<RxStorageInstanceDexie<RxDocType>>;
}
Expand Down
2 changes: 1 addition & 1 deletion dist/types/plugins/storage-lokijs/rx-storage-lokijs.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import type { LeaderElector } from 'broadcast-channel';
export declare class RxStorageLoki implements RxStorage<LokiStorageInternals, LokiSettings> {
databaseSettings: LokiDatabaseSettings;
name: string;
readonly rxdbVersion = "15.9.1";
readonly rxdbVersion = "15.10.0";
/**
* Create one leader elector by db name.
* This is done inside of the storage, not globally
Expand Down
2 changes: 1 addition & 1 deletion dist/types/plugins/storage-mongodb/rx-storage-mongodb.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { RxStorageInstanceMongoDB } from './rx-storage-instance-mongodb.ts';
export declare class RxStorageMongoDB implements RxStorage<MongoDBStorageInternals, MongoDBSettings> {
databaseSettings: MongoDBDatabaseSettings;
name: string;
readonly rxdbVersion = "15.9.1";
readonly rxdbVersion = "15.10.0";
constructor(databaseSettings: MongoDBDatabaseSettings);
createStorageInstance<RxDocType>(params: RxStorageInstanceCreationParams<RxDocType, MongoDBSettings>): Promise<RxStorageInstanceMongoDB<RxDocType>>;
}
Expand Down
2 changes: 1 addition & 1 deletion dist/types/plugins/storage-remote/rx-storage-remote.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import type { MessageFromRemote, RemoteMessageChannel, RxStorageRemoteInternals,
export declare class RxStorageRemote implements RxStorage<RxStorageRemoteInternals, any> {
readonly settings: RxStorageRemoteSettings;
readonly name: string;
readonly rxdbVersion = "15.9.1";
readonly rxdbVersion = "15.10.0";
private seed;
private lastRequestId;
messageChannelIfOneMode?: Promise<RemoteMessageChannel>;
Expand Down
1 change: 1 addition & 0 deletions dist/types/plugins/utils/utils-array.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ export declare function lastOfArray<T>(ar: T[]): T | undefined;
* shuffle the given array
*/
export declare function shuffleArray<T>(arr: T[]): T[];
export declare function randomOfArray<T>(arr: T[]): T;
export declare function toArray<T>(input: T | T[] | Readonly<T> | Readonly<T[]>): T[];
/**
* Split array with items into smaller arrays with items
Expand Down
2 changes: 1 addition & 1 deletion dist/types/plugins/utils/utils-rxdb-version.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/**
* This file is replaced in the 'npm run build:version' script.
*/
export declare const RXDB_VERSION = "15.9.1";
export declare const RXDB_VERSION = "15.10.0";
2 changes: 1 addition & 1 deletion dist/types/rx-database.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export declare class RxDatabaseBase<Internals, InstanceCreationOptions, Collecti
readonly allowSlowCount?: boolean | undefined;
readonly reactivity?: RxReactivityFactory<any> | undefined;
readonly idleQueue: IdleQueue;
readonly rxdbVersion = "15.9.1";
readonly rxdbVersion = "15.10.0";
/**
* Contains all known non-closed storage instances
* that belong to this database.
Expand Down
4 changes: 2 additions & 2 deletions docs/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@

<script id="Cookiebot" src="https://consent.cookiebot.com/uc.js?cbid=c429ebbd-6e92-4150-b700-ca186e06bc7c" data-cbid="c429ebbd-6e92-4150-b700-ca186e06bc7c" data-blockingmode="auto"></script>
<script src="/js/analytics.js" async></script><link rel="stylesheet" href="/assets/css/styles.b1b263ac.css">
<script src="/assets/js/runtime~main.03298db3.js" defer="defer"></script>
<script src="/assets/js/main.ba92057b.js" defer="defer"></script>
<script src="/assets/js/runtime~main.ddc381ef.js" defer="defer"></script>
<script src="/assets/js/main.5517924f.js" defer="defer"></script>
</head>
<body class="navigation-with-keyboard">
<script>!function(){function t(t){document.documentElement.setAttribute("data-theme",t)}var e=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return localStorage.getItem("theme")}catch(t){}}();t(null!==e?e:"dark")}(),function(){try{const c=new URLSearchParams(window.location.search).entries();for(var[t,e]of c)if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id="__docusaurus"><div role="region" aria-label="Skip to main content"><a class="skipToContent_fXgn" href="#__docusaurus_skipToContent_fallback">Skip to main content</a></div><nav aria-label="Main" class="navbar navbar--fixed-top"><div class="navbar__inner"><div class="navbar__items"><button aria-label="Toggle navigation bar" aria-expanded="false" class="navbar__toggle clean-btn" type="button"><svg width="30" height="30" viewBox="0 0 30 30" aria-hidden="true"><path stroke="currentColor" stroke-linecap="round" stroke-miterlimit="10" stroke-width="2" d="M4 7h22M4 15h22M4 23h22"></path></svg></button><a class="navbar__brand" href="/"><div class="navbar__logo"><img src="/files/logo/logo.svg" alt="RxDB Logo" class="themedComponent_mlkZ themedComponent--light_NVdE"><img src="/files/logo/logo.svg" alt="RxDB Logo" class="themedComponent_mlkZ themedComponent--dark_xIcU"></div><b class="navbar__title text--truncate">RxDB</b></a></div><div class="navbar__items navbar__items--right"><a class="navbar__item navbar__link" href="/quickstart.html">Docs</a><a class="navbar__item navbar__link" target="_blank" href="/code">Code</a><a class="navbar__item navbar__link" href="/premium">Pricing</a><a class="navbar__item navbar__link" target="_blank" href="/chat">Chat</a><div class="navbarSearchContainer_Bca1"><div class="navbar__search"><span aria-label="expand searchbar" role="button" class="search-icon" tabindex="0"></span><input id="search_input_react" type="search" placeholder="Loading..." aria-label="Search" class="navbar__search-input search-bar" disabled=""></div></div></div></div><div role="presentation" class="navbar-sidebar__backdrop"></div></nav><div id="__docusaurus_skipToContent_fallback" class="main-wrapper mainWrapper_z2l0"><main class="container margin-vert--xl"><div class="row"><div class="col col--6 col--offset-3"><h1 class="hero__title"><a href="/"><div style="text-align:center"><img src="https://rxdb.info/files/logo/rxdb_javascript_database.svg" alt="RxDB" width="160"></div></a>404 Page Not Found</h1><p>The page you are looking for does not exist anymore or never has existed. If you have found this page through a link, you should tell the link author to update it.</p><p>Maybe one of these can help you to find the desired content:</p><div class="ul-container"><ul><li><a href="https://rxdb.info/quickstart.html">RxDB Documentation</a></li><li><a href="/chat">RxDB Discord Channel</a></li><li><a href="https://twitter.com/intent/user?screen_name=rxdbjs">RxDB on twitter</a></li><li><a href="/code">RxDB at Github</a></li></ul></div></div></div></main></div><footer class="footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="col footer__col"><div class="footer__title">Docs</div><ul class="footer__items clean-list"><li class="footer__item"><a class="footer__link-item" href="/quickstart.html">🚀 Quickstart</a></li><li class="footer__item"><a class="footer__link-item" href="/rx-storage.html">💾 Storage</a></li><li class="footer__item"><a class="footer__link-item" href="/replication.html">🔄 Replication</a></li></ul></div><div class="col footer__col"><div class="footer__title">Community</div><ul class="footer__items clean-list"><li class="footer__item"><a class="footer__link-item" target="_blank" href="/code">Github</a></li><li class="footer__item"><a class="footer__link-item" target="_blank" href="/chat">Discord</a></li><li class="footer__item"><a href="https://twitter.com/intent/user?screen_name=rxdbjs" target="_blank" rel="noopener noreferrer" class="footer__link-item">Twitter<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li><li class="footer__item"><a href="https://www.linkedin.com/company/rxdb" target="_blank" rel="noopener noreferrer" class="footer__link-item">LinkedIn<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li><li class="footer__item"><a href="https://stackoverflow.com/questions/tagged/rxdb" target="_blank" rel="noopener noreferrer" class="footer__link-item">Stack Overflow<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li></ul></div><div class="col footer__col"><div class="footer__title">More</div><ul class="footer__items clean-list"><li class="footer__item"><a class="footer__link-item" target="_blank" href="/premium">Pricing</a></li><li class="footer__item"><a class="footer__link-item" target="_blank" href="/legal-notice">Legal Notice</a></li></ul></div></div><div class="footer__bottom text--center"><div class="footer__copyright"> </div></div></div></footer></div>
Expand Down
4 changes: 2 additions & 2 deletions docs/adapters.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@

<script id="Cookiebot" src="https://consent.cookiebot.com/uc.js?cbid=c429ebbd-6e92-4150-b700-ca186e06bc7c" data-cbid="c429ebbd-6e92-4150-b700-ca186e06bc7c" data-blockingmode="auto"></script>
<script src="/js/analytics.js" async></script><link rel="stylesheet" href="/assets/css/styles.b1b263ac.css">
<script src="/assets/js/runtime~main.03298db3.js" defer="defer"></script>
<script src="/assets/js/main.ba92057b.js" defer="defer"></script>
<script src="/assets/js/runtime~main.ddc381ef.js" defer="defer"></script>
<script src="/assets/js/main.5517924f.js" defer="defer"></script>
</head>
<body class="navigation-with-keyboard">
<script>!function(){function t(t){document.documentElement.setAttribute("data-theme",t)}var e=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return localStorage.getItem("theme")}catch(t){}}();t(null!==e?e:"dark")}(),function(){try{const c=new URLSearchParams(window.location.search).entries();for(var[t,e]of c)if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id="__docusaurus"><div role="region" aria-label="Skip to main content"><a class="skipToContent_fXgn" href="#__docusaurus_skipToContent_fallback">Skip to main content</a></div><nav aria-label="Main" class="navbar navbar--fixed-top"><div class="navbar__inner"><div class="navbar__items"><button aria-label="Toggle navigation bar" aria-expanded="false" class="navbar__toggle clean-btn" type="button"><svg width="30" height="30" viewBox="0 0 30 30" aria-hidden="true"><path stroke="currentColor" stroke-linecap="round" stroke-miterlimit="10" stroke-width="2" d="M4 7h22M4 15h22M4 23h22"></path></svg></button><a class="navbar__brand" href="/"><div class="navbar__logo"><img src="/files/logo/logo.svg" alt="RxDB Logo" class="themedComponent_mlkZ themedComponent--light_NVdE"><img src="/files/logo/logo.svg" alt="RxDB Logo" class="themedComponent_mlkZ themedComponent--dark_xIcU"></div><b class="navbar__title text--truncate">RxDB</b></a></div><div class="navbar__items navbar__items--right"><a class="navbar__item navbar__link" href="/quickstart.html">Docs</a><a class="navbar__item navbar__link" target="_blank" href="/code">Code</a><a class="navbar__item navbar__link" href="/premium">Pricing</a><a class="navbar__item navbar__link" target="_blank" href="/chat">Chat</a><div class="navbarSearchContainer_Bca1"><div class="navbar__search"><span aria-label="expand searchbar" role="button" class="search-icon" tabindex="0"></span><input id="search_input_react" type="search" placeholder="Loading..." aria-label="Search" class="navbar__search-input search-bar" disabled=""></div></div></div></div><div role="presentation" class="navbar-sidebar__backdrop"></div></nav><div id="__docusaurus_skipToContent_fallback" class="main-wrapper mainWrapper_z2l0"><div class="docsWrapper_hBAB"><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type="button"></button><div class="docRoot_UBD9"><main class="docMainContainer_TBSr docMainContainerEnhanced_lQrH"><div class="container padding-top--md padding-bottom--lg"><div class="row"><div class="col docItemCol_VOVn"><div class="docItemContainer_Djhp"><article><div class="tocCollapsible_ETCw theme-doc-toc-mobile tocMobile_ITEo"><button type="button" class="clean-btn tocCollapsibleButton_TO0P">On this page</button></div><div class="theme-doc-markdown markdown"><h1>PouchDB Adapters</h1>
Expand Down
4 changes: 2 additions & 2 deletions docs/alternatives.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/articles/angular-database.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/articles/browser-database.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/articles/browser-storage.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/articles/data-base.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/articles/embedded-database.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/articles/flutter-database.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/articles/frontend-database.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/articles/in-memory-nosql-database.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/articles/ionic-database.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/articles/json-database.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/articles/localstorage.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/articles/mobile-database.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/articles/progressive-web-app-database.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/articles/react-database.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/articles/realtime-database.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/assets/js/0e268d20.2d62c3fd.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion docs/assets/js/0e268d20.f1ff5a10.js

This file was deleted.

Loading

0 comments on commit 4d50e17

Please sign in to comment.