Changelog / ANGULARJS

This changelog is filtered to show only changes for ANGULARJS. Go back to full changelog.

Jun 7, 2017

AngularJS Circular Dependency Fix

We have changed the structure of the Angular SDK to break cyclic dependencies. Due to this, the following changes have been made:

  • Model deserialization logic has moved out from model files.
  • We have added new files ObjectMapper.js and ModelFactory.js to the SDK.
  • BaseModel is now being used to assign values to model properties (when model class is directly instantiated)
  • BaseController has been added to the SDK.

Please generate your SDK again to get the improved code.


May 8, 2017

Code Compliance Implemented In Angular

Since we’re always working on improving our generated SDK’s, today we’re announcing some major work done on the Angular.js SDK.

  • Angular.js generated code is now standard compliant.
  • The standard we’re using is John Papa’s Angular1 Style Guide.
  • The linter can be run from the command-line by using the command jshint <folder-name-to-lint>.
  • The configuration file for the linter will be included with the SDK from now.

Please generated your SDK again to get the standard compliant code.


Mar 6, 2017

Array Serialization Formats

Multiple formats are now supported for Array serialisation in form and query parameters. Formats supported include UnIndexed, Indexed, Plain, CSV, PSV, TSV.

This settings can be set using our API Blueprint CodeGen setting extension named ARRAYSERIALIZATION.


Feb 21, 2017

Module File in Angular SDKs

A new file, Module.js has been added to the angular sdks. It defines the module of the sdk alongwith its dependencies. This is not a breaking change. Everything should work as before, this is just to make it easier to specify the modules that the sdk depends upon.

Feb 21, 2017

Multiple Datetime Formats in Angular

We have now added support for multiple datetime formats in our Angular SDKs. The following formats are supported:

  • RFC1123 Datetime (Mon, 15 Jun 2009 20:45:30 GMT)
  • RFC3339 Datetime (2016-03-13T12:52:32.123Z)
  • Unix Timestamp (1480809600)

Jan 3, 2017

Multiple Base URLs Now Supported

You can now use multiple base URLs in your API description using the new Server Configuration. This feature allows you to

  • Vary the Base URL between endpoints.
  • Create multiple Environments and define different Base URLs for them.
  • Templatize Base URL to allow for configuration using parameters in the client.

Jan 3, 2017

AngularJS SDKs Revamped

Today, we are announcing a major revamp of our AngularJS SDK Code Generation, which includes

  • Improvement in JS code styling.
  • Enforce usage of AngularJS’s own dependency injection system and avoid creating globals.
  • Wrapping all code in IIFE to avoid polluting global namespace.
  • All code is now minification safe.