Change Log - imodeljs-backend

1.8.0

Fri Nov 22 2019

Updates

  • Option to include part references in GeometrySummary output.
  • Expose isTwoSided flag on ExportGraphicsMesh
  • SchemaDesignPerf import tests
  • Added missing topic descriptions
  • Add experimental Node 12 support
  • Change SectionLocationProps.clipGeometry type to string. Add get/set ClipVector methods on SectionLocation.
  • Add support for view-independent display of geometry streams.

1.7.0

Fri Nov 01 2019

Updates

  • Add TypeScript wrapper class for BisCore:ElementOwnsExternalSourceAspects
  • New wip plugin for hypermodeling support.
  • Calling IModelDb.pushChanges is now a no-op if there are no changes
  • Adding accessor for LinearElementId from LinearlyLocated. Adding convenience APIs to manipulate LinearReferencing data stored in multi-aspects.
  • Add TypeScript wrappers for GeometricElement2dHasTypeDefinition and GeometricElement3dHasTypeDefinition navigation relationships
  • Tests for Mixin impact on CRUD
  • Add and fix npm script to create backend test for mobile.
  • Schema Design Perf tests for Polymorphic queries
  • Add IModelDb.querySchemaVersion
  • Schema Design Perf tests for relationships
  • Resurrected the old way of doing agent registrations

1.6.0

Wed Oct 09 2019

Updates

  • Add isNotSpatiallyLocated and isPlanProjection to GeometricModel3d
  • Add SectionLocation
  • Add GraphicalPartition3d and GraphicalModel3d
  • Schema perf tests
  • Addressing bug while querying for linearLocations filtering on more than 1 classes.
  • Addressing rush lint issues.
  • Addressing issues while returning LinearLocationReferences.
  • Deprecating importSchema on the LinearReferencing domain in favor of its bulk-version.

1.5.0

Mon Sep 30 2019

Updates

  • added support for blank IModelConnections
  • 170215: Setup a way to supply authorization through the backend for frontend requests.
  • 174346: Error log when downloading change sets should include iModelId for context.
  • Bug 173765: Fixed the iModelHub client to properly dispose a file handle after upload to the iModelHub.
  • Add IModelDb.Elements.hasSubModel
  • Make ExternalSourceAspect.checksum optional
  • Clear statement cache after schema import
  • Added utility to summarize geometry
  • filter redundant hub requests
  • Removed the [propName: string]: any indexed from Entity. It prevented the compiler from catching many basic errors.
  • briefcase editing and undo/redo
  • api
  • upgrade to TypeScript 3.6.2

1.4.0

Tue Sep 10 2019

Updates

  • 170215: Setup a way to supply authorization through the backend for frontend requests.
  • Bug 163480: Allow attaching change cache file before change summary extraction.
  • 162722, 162377: Added change summary test, and improved doc a little.
  • Add minimum brep size option to IModelDb.exportGraphics
  • FunctionalSchema.importSchema is now deprecated.
  • Add support for GeometricModel.geometryGuid for detecting whether tiles for a model can be reused across versions
  • Added performance logging for tile upload
  • Bug 162459: IModelConnection.close() for read-only connections should not close the Db at the backend; Bug 162373: Opening an iModel with SyncModel.PullAndPush() multiple times (without disposing it) must reuse the briefcase.
  • Add method to create view with camera
  • Fixed misleading logging output in tile upload

1.3.0

Tue Aug 13 2019

Updates

  • Allow custom tile cache services.
  • Bug 155921: Always acquire a briefcase when creating a new backend instance for PullAndPush workflows.
  • Added Change Summary integration test, and fixed documentation.
  • Trial code for tile upload errors
  • Fixed changeset performance tests
  • Tile upload logging.
  • Mark ExportGraphics API as public
  • Fixed typo
  • Support for gzip compression of tiles
  • Bug 148574: Fixed issue with opening iModels with names that are invalid on Unix or Windows.
  • Add IModelDb.isSnapshot
  • internal addon API refactoring
  • Tile upload error catching.
  • Azure tile upload logging
  • Upgrade azure storage library.

1.2.0

Wed Jul 24 2019

Updates

  • Added option to restrict tile cache URLs by client IP address.
  • Apply change sets at the backend in a non-blocking worker thread.
  • Add ElementAspect handler methods
  • When deleting a parent element, make sure there are onDelete/onDeleted callbacks for child elements
  • Add support for linework to IModelDb.exportGraphics
  • The className parameter to IModelDb.Element.getAspects is now optional to allow all aspects to be returned
  • Deprecate IModelDb.importSchema in favor of IModelDb.importSchemas
  • Added method to get element mass properties.
  • Add exportPartGraphics and accompanying interfaces
  • Capture tile upload errors using JSON.stringify.
  • Fallback to toString for Error derivative errors in tile upload
  • Always report tile upload response on failure
  • Discover properties of azure 'error' object

1.1.0

Mon Jul 01 2019

Updates

  • Open fixes when briefcase requires merges.
  • Catch tile upload errors.
  • Setting up briefcase is always from an older checkpoint.
  • Add materialId, subCategory to ExportGraphicsInfo
  • Fix crash in getViewThumbnail for odd number of bytes
  • Adding relationship class for GraphicalElement3dRepresentsElement.
  • Initial implementation of the LinearReferencing typescript domain
  • Adding domain classes for all relatinships in the LinearReferencing schema.
  • Exporting relationships module.
  • Fixes to opening iModel-s ReadWrite from mutiple IModelConnection-s.
  • Fixed issues with deleting briefcases if there were errors with preparing briefcases.
  • Add a new method forceLoadSchemas to IModelJsNative.ECPresentationManager.
  • Introduced AsyncMutex - a utility to run async blocks of code in sequence.
  • Properly document ModelSelector.models and CategorySelector.categories as Id64String arrays
  • Made insertElement not return Id64.invalid, throws error instead
  • Update to TypeScript 3.5
  • Update property referenced in ULAS error message

1.0.0

Mon Jun 03 2019

Updates

  • Migrated agent applications to the newer client
  • RPC system now accepts only basic values (primitives, "interface" objects, and binary).
  • Switched from iModelHub Project API to Context API
  • Fix bug in IModelDb.createSnapshotFromSeed
  • Add BriefcaseId.Snapshot
  • Improve reading and binding binary blob using concurrent query manager
  • Modified ElementAspect Performance tests
  • Add options to IModelHost for logging large tile sizes and long tile load times.
  • Add TypeScript wrapper for BisCore:ExternalSourceAspect
  • Made poll interval configurable for concurrent query manager.
  • Updated code to use new ownedByMe option when quering briefcases
  • Logging changes.
  • Refactored and simplified implementation of IModelDb.open
  • IModelDb.openSnapshot cannot open a briefcase copy of an iModel managed by iModelHub
  • The IModelDb.createSnapshot instance method replaces the IModelDb.createSnapshotFromSeed static method
  • crash reporting, node-report opt-in
  • Throw IModelError if an IModelDb query would return too many rows
  • Retire some tile-related feature gates.
  • Introduced tile format v4.0
  • improve ulas error message logs
  • Catch tile upload errors.

0.191.0

Mon May 13 2019

Updates

  • Support spatial classification of context reality models.
  • Fix incorrect elevation for background map display.
  • Adds parameter for api-extractor to validate missing release tags
  • remove requirement that JavaScript classnames match BIS classnames
  • Avoided iModelHub calls when opening iModels for Design Review.
  • Fixed reinitializing briefcase cache when there are .tiles files.
  • Enabled use of checkpoint service.
  • Added option to use azure-based tile caching
  • Added a utility to diagnose backends
  • Improved backend diagnostic utility.
  • adapt to Range2d name change
  • Allow a view to define a set of elements which should never be drawn in that view.
  • Added texture support to exportGraphics
  • Fixes for file-based tile caching"
  • Catch tile upload errors
  • fix for release tags
  • Fix broken links
  • LoggerCategory -> BackendLoggerCategory
  • cleanup old imodelbank references
  • back out experimental changes
  • crash reporting WIP
  • Add InformationRecordModel.insert, GroupModel.insert
  • Fixed integration tests.
  • Introduce LoggerCategory enum to advertise logger categories used by this package.
  • Limited maximum cache size of the backend PromiseMemoizer.
  • missing dependency on node-report
  • rush update
  • node-report
  • Fixed memoization problem that caused an endless stream of 404 NotFound errors.
  • Reinstated old version of OidcAgentClient
  • Unauthorized open requests should cause a more obvious error.
  • Improved performance logging, especially of IModelDb open operations; ChangeSets are merged one-by-one to prevent hogging the event loop.
  • Memoization fix when opening iModels in shared, read-only mode .
  • Fixed setup of application version.
  • Updated Element CRUD perf tests
  • added tile generation perf test
  • queryPage use memoization/pending pattern
  • Remove IModelDb.createStandalone, use IModelDb.createSnapshot instead.
  • Remove ElementPropertyFormatter, IModelDb.getElementPropertiesForDisplay (use presentation rules instead)
  • Remove StandaloneIModelRpcImpl
  • Fix for Render Gradient.Symb test
  • Setup a generic context for tracking client requests, and made various related enhancements to logging, usage tracking and authorization.
  • Add IModelDb.createSnapshot/openSnapshot/closeSnapshot, deprecate IModelDb.createStandalone/openStandalone/closeStandalone
  • Moved IModelJsExpressServer class into a new package (@bentley/express-server).
  • Simplified tile caching IModelHost config and removed dev flags. Allow
  • typo in documentation
  • fix missing ULAS client request data
  • ExportGraphicsFunction return type is now void
  • Upgrade TypeDoc dependency to 0.14.2
  • add usage logging tests
  • edit usage logging tests to support revised usage logging syntax

0.190.0

Thu Mar 14 2019

Updates

  • Added IModelDb.exportGraphics
  • fix issue for ios

0.189.0

Wed Mar 06 2019

Updates

  • Changes package.json to include api-extractor and adds api-extractor.json
  • Use new buildIModelJsBuild script
  • AxisAlignedBox and ElementAlignedBox are now typed to Range3d rather than classes
  • Moved AzureFileHandler, IOSAzureFileHandler, UrlFileHandler and the iModelHub tests to the imodeljs-clients-backend package. This removes the dependency of imodeljs-clients on the "fs" module, and turns it into a browser only package.
  • clone methods are no longer generic
  • Remove unneeded typedoc plugin dependency
  • Added spatial <-> cartographic methods that check/use the geographic coordinate system before using ecef location.
  • Added async method for ECSqlStatement and SqliteStatement for step and stepAndInsert
  • Create iModel from empty template if seed file path not defined.
  • Add IModelImporter for importing data between iModels
  • Enable IModelWriteTest create/delete iModels on per user-machine basis
  • Enable IModelWriteTest create/delete iModels on per user-machine basis
  • Validated size of change sets before applying them.
  • codespec lock example
  • Add backend Material API
  • Validated version of Node.js in IModelHost.startup()
  • Save BUILD_SEMVER to globally accessible map
  • Fixed resolution of queryable promises.
  • added queryModelRange
  • IModelConnection.close() always disposes the briefcase held at the backend in the case of ReadWrite connections.
  • Move the IModelUnitTestRpcImpl into the testbed and out of the public API and marked nativeDb as hidden
  • Remove loadNativeAsset and formatElements RPC calls from the IModelReadRpcInterface
  • debugging aid
  • Removed IModelConnection.connectionId, added IModelApp.sessionId
  • Tile requests can optionally specify a retryInterval.
  • Improve tile request logging and make timeout configurable.
  • Prevent tile generation from interfering with other asynchronous requests.
  • Handled error with fetching host information on deployed machines.
  • Quick fix to ULAS failures.
  • WIP fixes to Usage Logging.
  • upgrade to TypeScript 3.2.2

0.188.0

Wed Jan 16 2019

Updates

  • Changed Elements Db class for backend processing

0.187.0

Tue Jan 15 2019

Version update only

0.186.0

Mon Jan 14 2019

Updates

  • More logging of HTTP requests, and enabled use of fiddler for backend diagnostics.
  • Removed IModelDb's cache of accessToken. For long running operations like AutoPush, the user must explicitly supply an IAccessTokenManager to keep the token current.
  • Renamed RequestProxy->RequestHost. Allowed applications to configure proxy server with HTTPS_PROXY env.
  • Add backend TextureAPI and accompanying test

0.185.0

Fri Jan 11 2019

Version update only

0.184.0

Thu Jan 10 2019

Updates

  • Generalize create method for display styles
  • Property Changeset.Author in IModelChange ECSchema was renamed UserCreated. It holds the user ID instead of the user e-mail.

0.183.0

Mon Jan 07 2019

Updates

  • Moved electron utilities into a separate "@bentley/electron-manager" package.

0.182.0

Mon Jan 07 2019

Updates

  • Implement the typescript side for new Geocoordinate services in the native iModel.js addon
  • upgrade to Node 10. There is no longer separate packages for Node and Electron.

0.181.0

Fri Jan 04 2019

Updates

  • upgrade to Node 10. There is no longer separate packages for Node and Electron.

0.180.0

Wed Jan 02 2019

Version update only

0.179.0

Wed Dec 19 2018

Updates

  • Fix CodeSpecs.load
  • Add CodeSpecs.hasId, CodeSpecs.hasName

0.178.0

Thu Dec 13 2018

Updates

  • temporarily disable TxnManager events.

0.177.0

Wed Dec 12 2018

Version update only

0.176.0

Mon Dec 10 2018

Updates

  • fix for timing problem in TxnManager test
  • Add IModelDb.Elements.updateAspect

0.175.0

Mon Dec 10 2018

Version update only

0.174.0

Mon Dec 10 2018

Updates

  • Add static create methods for certain Element classes

0.173.0

Thu Dec 06 2018

Updates

  • Use IOSAzureFileHandler when on mobile
  • added IModelConnection.findClassFor
  • Custom imodelJs noDirectImport lint rule implemented, noDuplicateImport lint rule turned on.

0.172.0

Tue Dec 04 2018

Updates

  • don't register testing domain multiple times

0.171.0

Mon Dec 03 2018

Updates

  • More information logged from BriefcaseManager.\nFixed deletion/cleanup of invalid briefcases.\nAdded OIDC support for simpleviewtest application.
  • Add ElementRefersToElements.insert
  • Fixed front end integration tests.
  • Document the intended purpose of IModelJsExpressServer within a deployment environment.
  • Fixed integration tests.
  • added tests for ElementDrivesElement handlers
  • Fixes to integration tests.
  • Add OrthographicViewDefinition.setRange
  • Cleaned up use of mocks in core tests.
  • Enable test now that addon was updated.
  • Fix Subject.insert to set parent

0.170.0

Mon Nov 26 2018

Updates

  • Add DrawingViewDefinition.insert
  • Fix GeometryParams constructor. Added test to ensure subcategory id set correctly.
  • rename LinkTableRelationship to just Relationship. Work on adding callbacks for dependency propagation.

0.169.0

Tue Nov 20 2018

Version update only

0.168.0

Sat Nov 17 2018

Version update only

0.167.0

Fri Nov 16 2018

Updates

  • Add IModelDb.CodeSpecs.insert overload
  • Add SubCategory.insert
  • Add missing createCode methods
  • Changes to debug utilities.
  • Added IModelHubClient.IModel, removed IModelQuery.primary(), use IModelHubClient.IModel.Get instead
  • Add IModelDb.Views.setDefaultViewId
  • Add OrthographicViewDefinition.insert

0.166.0

Mon Nov 12 2018

Updates

  • Hydrated briefcases for ReadOnly cases from the latest checkpoint, rather than the seed files. This significantly improves performance of IModelDb/IModelConnection.open() for typical cases.

0.165.0

Mon Nov 12 2018

Updates

  • clean up IModelImporter
  • Add static insert methods to many classes to simplify iModel creation.
  • Add more TypeScript wrapper classes for BisCore relationships
  • Add Subject.createCode and Subject.insert methods
  • Add FunctionalModel.insert method

0.164.0

Thu Nov 08 2018

Updates

  • Fix JSON representation of DisplayStyle.
  • Add IModelImporter as a base class for utility methods needed by all importers
  • Removed assertion when deleting a memoized open call.
  • Add more methods to IModelImporter
  • Fix snapping test
  • OIDC related enhancments (WIP).
  • Re-enabled several backend integration tests.
  • Refactor analysis-importer to use IModelImporter
  • Updated to TypeScript 3.1

0.163.0

Wed Oct 31 2018

Updates

  • Guids can now be bound as strings to ECSQL. BLOBs in ECSQL and SQLite are now mapped to UInt8Array instead of ArrayBuffer (as only the former can be marshaled between backend and frontend).
  • Fully support mixed binary and JSON content in both directions in RPC la
  • remove obsolete script

0.162.0

Wed Oct 24 2018

Updates

  • Removed uncessary comments
  • Breaking changes to optimize usage of 64-bit IDs.
  • Ids and date times can now be directly bound as hex strings or date time ISO strings respectively in ECSQL statements.
  • Remove unused createAndInsert methods from IModelWriteRpcInterface
  • Added classes to reduce electron and express boilerplate in sample apps.

0.161.0

Fri Oct 19 2018

Updates

  • Update native-platform version to 0.64.2, which now includes a new package to handle electron for linux.
  • Update iModel.js native platform to version 0.64.3

0.160.0

Wed Oct 17 2018

Updates

  • Fix for incorrect conversion in ConcurrencyControl

0.159.0

Tue Oct 16 2018

Updates

  • move up to new version of addon (updated electron dependency to 2.0.8)
  • Removed KnownRegions Enum

0.158.0

Mon Oct 15 2018

Version update only

0.157.0

Sun Oct 14 2018

Updates

  • Fixing scripts for linux

0.156.0

Fri Oct 12 2018

Updates

  • Initial release

Last Updated: 05 December, 2019