Skip to content

Latest commit

 

History

History
716 lines (397 loc) · 15.2 KB

CHANGELOG.md

File metadata and controls

716 lines (397 loc) · 15.2 KB

4.0.0 (2024-08-23)

  • fix!: drop real-time support b9bb305

BREAKING CHANGES

  • remove eventStream and resultStream without replacement

3.7.0 (2024-08-23)

Features

  • drop real-time support

BREAKING CHANGE: the functions for eventStream and resultStream have been removed without replacement ed62ea4

3.6.0 (2024-06-28)

Features

  • cli: start auto login if the persisted token is expired 61185ce

3.5.0 (2024-06-27)

Features

  • migrate orestes to new config api 9b1e748

3.4.1 (2023-12-20)

Bug Fixes

  • restore the oauth resource 34fdfd7

3.4.0 (2023-12-13)

Features

  • Integrate initial support for MFA. df270ee

3.3.0 (2023-12-12)

Bug Fixes

  • add network fail handler c446d66
  • cache replacement handling in webkit based engines e6d7241

Features

  • cli: create the file bucket on deployments if it doesn't exist eb2b1c8
  • cli: implement new input dialogues 5f13265
  • cli: improve the sso login flow 49e4c84
  • cli: improve typings generation 736eed6
  • cli: make generated typing constructors more future complete 8344185
  • cli: make generated typings JSON Objects / Arrays more typescript friendly 9ffb5b6
  • cli: migrate to the new token endpoint 1a233a7
  • cli: sync schema ACLs back by the deploy command af73e0b
  • implement support for Blob's in Node.js bbd8536
  • messages: generate new version of message from current server ae1e699

v3.2.0 (2022-5-20)

Bug Fixes

  • Fix a bug where ACL changes on objects aren't detected correctly as a change
  • Remove legacy gzip handling from the SDK
  • Ensure that a relogin will expose the correct user object (previously it was in some cases null)
  • Some typing errors in the CLI and lib

Features

  • Change the connect API for CORS communication to the POST endpoint, to prevent security tokens exposed in the referrer header
  • Bump several dependencies and upgrade typescript version

v3.1.4 (2021-7-21)

Bug Fixes

  • Fix an issue in the CLI that the first file in the latest release is not deployed

v3.1.3 (2021-7-14)

Bug Fixes

  • Improve several error messages in the CLI
  • Fix an issue that a successful deployment with the CLI ends with an error message

v3.1.2 (2021-7-7)

Bug Fixes

  • Make node happy again with the esm bundle
  • Add another package entry point to allow the baqend cli to be imported with baqend/cli as well

v3.1.1 (2021-7-2)

Bug Fixes

  • CLI: Fix entry point in the package.json to launch the CLI correctly again

v3.1.0 (2021-6-24)

Bug Fixes

  • Upgrade to Typescript 4.2 and fix some bugs in the Type definitions

Features

  • Integrate the new and simplified OAuth implementation which prepares the support for the device OAuth flow
  • Refactored the CLI to Typescript and simplified the implementation
  • Integrate the OAuth/SSO login flow in the baqend CLI

v3.0.0 (2021-2-13)

Braking Changes

  • File.url -> string was removed and replaced with an asynchronous implementation file.createURL() -> Promise<string> This Change was necessary by migration from cryptojs dependency to the native implementation of Browser/Node APIs.
  • To reduce the overall package size, all Shims are not bundled and shipped anymore. Adding a Promise shim on old Browsers must be done manually now
  • If you have previously relied on the global DB variable, you must expose the global DB variable manually now. Consult the README for required migration steps.

Bug Fixes

  • Fix a bug that misaligned messages send to the connect script causes exceptions. Those messages will be ignored now
  • Fix a bug where not all file metadata was correctly parsed

Features

  • Completely rewritten code of the core parts in TypeScript, which results in much better typings
  • Provide the SDK as a bundle ECMAScript Module and as a CommonJS Module
  • Use SSL connections per default, can be opted out by using db.connect('<app>', false)
  • A new Proxy implementation of the Object entities, which improve the compatibility with frontend storage frameworks like redux or vuex
  • Update validator and rxjs dependencies to the latest version and make them completely optional in the bundles
  • Splits the util package into util and intersection module to remove cycle dependencies
  • Replace Grunt with Webpack as the package bundler
  • Move the documentation from JSDoc to TSDoc
  • Move from TSLint to ESLint and fix all linting errors

v2.14.1 (2020-6-12)

Bug Fixes

  • fix(Node): Fix dependencies, bump dependency versions

v2.14.0 (2020-6-10)

Bug Fixes

  • fix(typings): Generate correct File metadata typings
  • fix(node-connector): Trim cookie parts to allow spaces
  • fix(oauth): Bump Facebook and LinkedIn API versions

Features

  • feat(typings): Generate Typings for dotted class names (e.g. Device.Type) as well
  • feat(oauth): Add Salesforce as OAuth provider

Miscellaneous

  • chore(node): Update dependencies

v2.13.0 (2018-9-20)

Bug Fixes

  • Avoid exceptions when closing a websocket connection
  • Fix file metadata (was sometimes fetched and saved incorrectly)

Features

  • Major typing overhaul and improved documentation in query namespace
  • Add no-polyfill builds

Miscellaneous

  • Major refactoring & add ESLint for unifying code style
  • Deprecate several internal APIs

v2.12.3 (2018-8-9)

Bug Fixes

  • CLI: fix a bug that a missing profile file crashes the login call
  • Typings: fix typings for Entity#partialUpdate and PartialUpdateBuilder#set

v2.12.2 (2018-8-4)

Bug Fixes

  • SDK: Fix a potential bug while handling resubscriptions after connection loss
  • CLI: Fix an ugly deprecation warning when baqend credentials are stored

Features

  • CLI: Add a cp command to copy files between apps and the local file system

v2.12.1 (2018-7-3)

Bug Fixes

  • CLI: Prompt before the user can replace the entire schema
  • CLI: Fix signup handling
  • Docs: Document vibrate options on push notifications

v2.12.0 (2018-6-7)

Bug Fixes

  • CLI: Improve error handling and reflect them with a proper exit code

Features

  • SDK: Add WebPush support
  • SDK: Improve the Device#register method to support all WebPush message properties
  • CLI: Add BAQEND_TOKEN and BAT as new environment variables which can be used to provide Baqend credentials to the CLI for automation

v2.11.0 (2018-5-15)

Bug Fixes

  • Typings: Fix some Typing and jsdoc errors
  • CLI: Fix File references are incorrectly typed in the generated typings model
  • CLI: ignore hidden files while deploying code
  • Docs: Update to latest jsdoc version

Features

  • SDK: Add File#toJSON and File#fromJSON and fix the existing behavior
  • CLI: Allow download of baqend code

v2.10.0 (2018-3-9)

Features

  • Add an API to request and revoke API tokens, which do not have an expiration time
  • Allow setting custom HTTP headers on uploaded Files

v2.9.2 (2018-2-2)

Bug Fixes

  • Fix resource token generation if the URL contains URL encoded characters

v2.9.1 (2018-1-22)

Bug Fixes

  • CLI: Print the app name if the app was not found

General

  • Update SDK Docs to latest layout

v2.9.0 (2017-11-16)

Features

  • Add a new progress which allows changing the username when E-Mail verification is enabled

v2.8.7 (2017-11-1)

Bug Fixes

  • Fix realtime reconnect was not using a backoff
  • Ignore classes with namespaces in typing generation

v2.8.6 (2017-9-18)

Features

  • Fixed compability with React Native
  • Add experimental FetchConnector

Bug Fixes

  • Fix search in documentation

v2.8.5 (2017-9-13)

Other

  • New docs styling

v2.8.4 (2017-9-12)

Bug Fixes

  • Support deletion of file folders

v2.8.3 (2017-9-4)

Bug Fixes

  • Small fixes in typings

Features

  • Implement Entity#getReferencing() to query reversed references

v2.8.2 (2017-7-17)

Bug Fixes

  • CLI: Allow custom hosted baqend instances as app parameter

v2.8.1 (2017-7-7)

Bug Fixes

  • Fixed compatibility issues with node 4

v2.8.0 (2017-6-28)

Bug Fixes

  • Fix createdAt and updatedAt are not loaded by inserts and aren't updated after updates
  • Fix Fusetools incompatibilities

Features

  • Introduces Baqends Partial Update API

v2.7.3 (2017-6-12)

Bug Fixes

  • Added missing field documentations
  • Handle on progress callback correctly for react native

v2.7.2 (2017-6-7)

Bug Fixes

  • fixed toJSON for references in embedded objects

Features

  • Support class and field metadata annotations
  • Allow schema upload and download via CLI

v2.7.1 (2017-5-16)

Bug Fixes

  • Fixed toJSON for ACL values
  • Compatibility fixes for react native
  • Minor bug fixes

Features

  • Added depth parameter to fromJSON and toJSON methods

v2.7.0 (2017-4-21)

Bug Fixes

  • fix duplicated connect call on cross domain connections
  • fix token renew properly when token comes from local cache
  • fix CLI login for accounts with multiple apps

Features

  • new real-time API based on observables
  • self-maintaining real-time queries

v2.6.4 (2017-3-30)

Bug Fixes

  • Ignore bodies of 204 responses since some intermediate proxies send invalid content in some cases

v2.6.3 (2017-3-24)

Features

  • CLI: Register an account with the new "register" command
  • CLI: Open the dashboard with the new "dashboard" command
  • CLI: Open your app with the new "open" command
  • CLI: Using default app if only one has been started

v2.6.2 (2017-3-21)

Bug Fixes

  • Fix newPassword logouts a user if the provided credentials wasn't valid

v2.6.1 (2017-3-16)

Bug Fixes

  • Let the SDK work properly under React Native
  • Auto login the user after he has successfully reset his password and make the login behavior configurable
  • Handle unauthorized errors in the CLI properly

Features

  • Allow to specify the bucket path in the CLI for file deployments

v2.6.0 (2017-2-6)

If your app was created after Feburary 06 2017, the minimum required SDK version 2.6.0.

Features

  • Using new connection string. Your app is now accessible via HTTPS and HTTP/2 at .app.baqend.com.
  • Added function to request a reset password e-mail.

v2.5.1 (2017-1-26)

Bug Fixes

  • Fix file object creation while resolving file references
  • Add createdAt and updatedAt to typings
  • Make typings compatible to Angular 2 AOT compiling

v2.5.0 (2017-1-6)

Bug Fixes

  • API documentation and typing fixes
  • Replace deprecated node-uuid with uuid module

Features

  • Add File as a new type in the schema
  • Introduce File#createdAt for files
  • Add db.User.loginWithToken to allow token based logins, when the token is provided externally
  • Add support for external OAuth login, useful for logins within native and hybrid Apps

v2.4.3 (2016-11-28)

Bug Fixes

  • Fix change tracking of collections not working properly in some cases
  • Fix OAuth handling is sometimes broken in IE 11 when used via iframe

Features

  • Add eq and ne as new aliases for equal and notEqual

v2.4.2 (2016-11-9)

Bug Fixes

  • Readd missing CLI dependencies
  • Better Observable fallback handling for the streaming SDK

v2.4.1 (2016-11-9)

Bug Fixes

  • DB was not properly exposed in the SDK distribution
  • include an observable shim as fallback and make the used implementation configurable

v2.4.0 (2016-11-8)

Bug Fixes

  • Add missing typings declarations

Features

  • The Baqend CLI is production-ready
  • Split the SDK in Core and Streaming parts
  • Introduce the new Streaming API based on Rx.js

v2.3.1 (2016-10-13)

Bug Fixes

  • Fixed login and register in safari incognito mode

v2.3.0 (2016-10-4)

Bug Fixes

  • Handle etags of gzipped content correctly
  • let newPromise return the user object
  • do not use iframe connections on same domain
  • Some doc fixes

Features

  • Introduce a progress callback for file uploads
  • acle methods are variadic now
  • update core-js to 2.4.1 and validate to 4.9.0

v2.2.3 (2016-8-24)

Bug Fixes

CLI

  • Fixed upload of non default file and code folder

Features

CLI

  • Using 'baqend' instead of 'code' as default folder
  • Switched to commander as argument parser

v2.2.2 (2016-8-22)

Bug Fixes

  • Prevent Webpack from using the node connector while building from sources
  • Handle the cache controll of the connect script correctly

Features

  • Introduce the Baqend CLI (login, deploy, typings)

v2.2.1 (2016-8-11)

Bug Fixes

  • Add missing File#size attribute

Features

  • The File API is now supported in node

v2.2.0 (2016-8-2)

Bug Fixes

  • Improved es6 shimming for better compatibility with angular 2

Features

  • Added Typescript support and typings
  • File and bucket listining is now supported

v2.1.0 (2016-6-23)

Bug Fixes

  • Many jsdoc errors are fixed

Features

  • Introduce a File API client (IE 10+)
  • Enable client caching and complete the BloomFilter based cache invalidations

v2.0.1 (2016-4-26)

Bug Fixes

  • Handle logout of cookie-based sessions correctly
  • Better peerdependency handling of the websocket node module

v2.0.0 (2016-4-19)

Bug Fixes

  • Improved collection handling and type casting

Features

  • The sdk is ported to a es6 and is transpiled with babel to es5. But there are no breaking API changes therefore you can silently upgrade in most cases.
  • If you like to use the es6 code base and want to transpile the es6 code by yourself, require the lib/baqend.js directly.

Breaking changes

  • DB.List is now a native Array
  • therefore the new Array(<iterable>) constructor is gone and should be replaced with Array.from(<iterable>)
  • list.get/add/delete/size must be replaced by the corresponding native array functions and you can use the index based access of lists, i.e. list[0] = 'val'

v1.1.1 (2016-4-5)

Bug Fixes

  • Add missing login option for OAuth login

1.1.0 (2016-04-01)

Bug Fixes

  • Keep session active after reload in safari and ie
  • Handle connection errors correctly

Features

  • Use WebStorage instead of Cookies to persist session tokens
  • Implement resource tokens for a one time resource based authorization

Notes

  • This version works only with the Baqend Server 1.1+

1.0.0 (2016-02-17)

Features

  • First release
  • Introduce a CRUD, Query, User/Role/ACL, Schema and Logging API