Skip to main content

15 posts tagged with "client-sdk"

View All Tags

· One min read

Description:

  • The runIrradiance method now returns useful values even when the irradiance maps are not visible.
  • Reason: Previously, the runIrradiance method would return null when the irradiance maps were not visible. This was not ideal behavior, as it required a work-around to toggle the visibility on and off in order to get the desired values, or required developers to use Aurora REST API's design summary to get the necessary data. This update fixes that behavior, allowing you to get the correct values from the SDK regardless of the visibility of the maps.
  • No changes to the public API were made, so no code changes should be necessary unless you are relying on the work-around.

· One min read

Description:

  • Internal updates were made to the runIrradiance method as well as the on method used to subscribe to events.
  • These updates should not change the interface or behavior of the SDK, but may improve performance in some cases.
  • Reason: These updates were made to improve the maintainability and performance of the SDK. No changes to the public API were made, so no code changes should be necessary on your end.

· One min read

Description:

  • The Client SDK and related assets are now available on the domains sdk-cdn.aurorasolar.com and cad-cdn.aurorasolar.com.
  • Please update your Content Security Policy to include the new domains, and update your application to use sdk-cdn.aurorasolar.com when importing the SDK (see the Installation page of the documentation for an example).
  • For the time being, the deprecated domain aurora-sdk.s3.amazonaws.com will continue to be available, but we recommend updating your application to use the new domains by 12/1/2024.
  • Reason: This allows for more flexibility when it comes to creating a Content Security Policy that allows only the necessary domains, and allows Aurora to make changes to our hosting without requiring our users to update their applications each time.

· One min read

V2 Release Version: [optional]

Description:

  • Visible property lines can be toggled on and off using the toggleView method with the parcel view option. This allows developers to show or hide property lines on the design as needed.

· One min read

V2 Release Version: 0.8196.0

Description:

  • Added "AI won't work for this site" error message to the runAutoRoof action.
    • Now in the case of an error, clients can distinguish between random system failures ("Unknown error occurred") and repeatable AI failures. AI will not work in 100% of cases, and now users can have confidence that they should switch to an alternative workflow instead of retrying AI and having it fail again.
    • Over time we hope to improve both the false positive rate of sites where we could produce a model but returned an error, and the false negative rate of when the algorithm fails but we return an unhelpful error.
    • As of launch time, we expect this error will impact 2-3% of requests. The number of unknown errors will decrease such that the overall error rate stays the same.
  • Added "skipOodLidar" option to the runAutoRoof action. Clients can now choose whether to ignore errors related to out of date LIDAR and continue producing roof models in cases where this error would have occurred previously.