Skip to content

Releases: rackspace/php-opencloud

v1.11.0

24 Oct 13:51
Compare
Choose a tag to compare

Compute

  • Servers can now be suspended and resumed (#425 — added by @asusk7m550)
  • Added extended status server properties (#386 — added by @cs278)
  • Servers can now be booted up from a volume (#407)
  • Added sample code for creating a server and retrieving its IP address (#416)

Database

  • Added support for datastores and configurations (#409)

DNS

  • Added methods for asynchronous job retrieval (#372)
  • Bug fix: Fixed broken path in user guide (#392 — bug reported by @jsbodine)
  • Bug fix: Made cross-links in documentation use relative paths (#394 — bug reported by @jsbodine)

Load Balancer

  • Added httpsRedirect as an updatable attribute (#367)
  • Bug fix: Nodes are added only if they are new (#400)
  • Bug fix: Removed call to non-existent list with details HTTP API (#426 — bug reported by @jjtroberts)

Monitoring

  • Bug fix: PaginatedIterator from fetchDataPoints now returns MetricDataPoints instead of Metrics (#387 — bug fixed by @Ben-Speakman)
  • Bug fix: Memory agent host info is now treated consistently (#385 — bug reported by @Ben-Speakman)

🆕 Orchestration

Object Store

  • More code samples (#413, #420)
  • Bug fix: CORS header are no longer prefixed with X-*-Meta-* (#403 — bug reported and fixed by @killswitch)

Queues

  • Bug fix: Fixed regex to not assume presence of claim_id (#382)

Common

  • Released responsibility for logging onto PSR interfaces (#368)
  • Bug fix: Fixed to how iterator traverses collection with next url (#370 — bug reported by @mastef)

Packaging

  • Let composer automatically decide what version constraint to use (#423 — added by @GrahamCampbell)
  • Fixed license (#399)
  • Started a Conventions section for contributors (#411, #414)
  • Added automatic lint-checking at build time (#433)
  • Added automatic PSR-2 compliance checking at build time (#434)

v1.10.0

16 Jun 13:33
Compare
Choose a tag to compare
  • Rackspace Cloud Images / OpenStack Glance now supported
  • Sample scripts added for Compute and Object Storage services
  • Fixes to various pieces of documentation
  • Fix to how PTR records are deleted in DNS service
  • Adding Load Balancer access lists is now easier
  • Adding multiple scaling policies is now easier
  • Convenience methods added to Queues, allowing for easy deletion of members for a queue
  • More specific and clear dependency versioning in composer file
  • Fix to DNS import method which now adds the appropriate HTTP headers
  • Enabling Compute v1.1 to work, which beforehand wasn't supported due to an overly strict wildcard
  • Fixes to how the catalog handles region-specific UK DNS
  • Servers can now be provisioned using flavor/image IDs instead of fully instantiated objects

v1.9.2

06 Feb 20:57
Compare
Choose a tag to compare
  • New container migration strategy. With the deprecation of default regions, a use case arose where people might want to migrate the contents of a Swift container to another geographic region. The copy method only supports cross-container migrations in one region. For more information about how to implement this, please consult the documentation.
  • Cloud init now supported for VM creation (see #288)
  • CDN enabled check fixed for containers (fixes #292)
  • Paths are now added as strings. This arose because integers paths were being ignored, which was fixed with a PR to Guzzle (see here).
  • More sympathetic errors when object not found (see 70e807)
  • Setting tenant now accounts for numerical strings, rather than just integers (fixes #290)
  • New doc for caching credentials
  • More documentation for load balancers
  • Updated docs for setting metadata when uploading object

v1.9.1

13 Jan 10:12
Compare
Choose a tag to compare
  • Fix to server keypairs in how the JSON schema was generated for server creation (fixes #272)
  • Removal of abstract method in AbstractService, since the method was already defined in ServiceInterface - this caused problems with versions of 5.3
  • Bug fix with Data Objects, allowing 0 content size to be returned (fixes #273)
  • Bug fix with Paginated Collections. Previously, the "should append" rule was incorrect - meaning that subsequent requests were not being executed (fixes #274)
  • Bug fix with LoadBalancer access resources which prohibited them from being created
  • More graceful error handling with Container deletion. If a 409 Conflict response is returned, a more meaningful error will be sent to the end-user (fixes #252)
  • Adding OpenCloud\Version class for greater clarity
  • Updated Guzzle dependency version to v2.8
  • Copyright notices updated to 2014
  • New "Getting Started" guide for OpenStack
  • Updated documentation for spawning Cloud Servers with keypair authentication
  • Adding --prefer-source flag to Travis builds to get around Github API rate-limits

v1.9.0

07 Jan 13:57
Compare
Choose a tag to compare
  • Removal of default regions. We want to ensure that the user retains control over where their data is stored, rather than making that decision on their behalf.
  • Identity/Keystone support. We now have full support for Rackspace Cloud Identity, and also support for OpenStack Keystone. The resources that you can interact with are Users, Roles, Tokens and Tenants
  • Coveralls integration. We have externalized our test coverage with Coveralls and are currently in the process of bumping it to 100%. This allows for greater transparency and holds the project to a far higher standard.
  • New iterator for DNS collections that fixes #258
  • Changes to Swift object metadata, making it easier and more efficient to update
  • Removal of callable type hint in OpenCloud\Common\Collection\ResourceIterator that was causing errors (fixes #249)
  • Fix to OpenStack\Rackspace so it references the correct CredentialError class (fixes #253)
  • Updating various Orchestration models to reference the correct PersistentObject class path
  • Addition of Keystone docs
  • Addition and improvement of Nova docs
  • Fix to Swift object doc so that the mode is included in fopen() (fixes #262)
  • Fix to sprintf in code sample in Getting Started guide (fixes #254, #259)

Full changelog can be found here

v1.8.2

13 Dec 15:43
Compare
Choose a tag to compare
  • Load Balancer nodes can now be updated (to change condition, weight or type).
  • Better garbage collection for Directory syncing -- streams are now explicitly closed after use (#246).
  • Static website methods are now available for Containers; if used on CDNContainers, a deprecation warning is thrown.
  • Claim IDs can now be extracted from Messages that have been claimed (#247).
  • New getter method for Messages (#247).

v1.8.1

11 Dec 17:55
Compare
Choose a tag to compare
  • Directory syncing with Cloud Files. Now you can synchonize local directories with remote containers, allowing for easy deployment for static sites, etc. Documentation here.
  • New method allowing for partial downloads of Swift objects (i.e. just metadata). Addresses #243.
  • Fix to an issue with iterators where the first element was not populating its resource object correctly (#237)
  • Documentation fixes (#240)
  • Fix to OpenStack client which allows for the default X-Auth-Token header to be set when importing credentials (#236)
  • Fix to recurring issue with Content-Type header (#198)
  • Fix ObjectStore being incompatible with CDN-less/OpenStack setups (#238)

v1.8.0

29 Nov 20:02
Compare
Choose a tag to compare
  • New and improved Iterators. Users always had problems traversing paginated collections, sometimes having to construct nested loops. Now, everything is offered in an easy-to-use manner that harnesses the power of PHP's native interfaces. For more information, please consult the documentation for this new feature.
  • Tenant names and tenant IDs added to OpenStack authentication. Users can now authenticate more specifically. Also fixes an issue one customer had regarding empty Service Catalogs.
  • Greater use of Symfony's EventDispatcher. The decision was made to rely more on event dispatching, rather than inheritance, to provide additional features. One of the immediate benefits of this is that there is less repetition in the Request and Response classes.
  • Uploading single objects to CloudFiles uses less bandwidth. Previously, when a single object was uploaded, another request was executed afterwards to populate the new object. This was relatively expensive operation - especially for large files. Now we populate the new object using information provided in the response for the PUT operation.
  • Fix to BulkExtract content-type uploads. Now the API is allowed to type guess the archived files in a tarball. Previously, they were manually set to application/json.
  • Better documentation for authentication, cloud monitoring, queues and iterators.
  • More consistent use of mock objects in unit tests. We are now using the MockPlugin for Guzzle to create FIFO request queues.

v1.7.3

15 Nov 11:31
Compare
Choose a tag to compare
  • CDN Container logging can now be enabled and disabled (#223 and #225)
  • Content-Type is now set to application/json by default for all entity-enclosing request (#221 and #222)
  • File handles for multiple file uploads are now closed after the request is executed. On some OSs files are locked during stream handling (#219)
  • Changes to "Getting Started" guide
  • Fixing typos for ObjectStorage guide

v1.7.2

08 Nov 10:21
Compare
Choose a tag to compare
  • Better documentation for Swift
  • Fix to content-type handling with DataObjects (#198)
  • When using Swift with ServiceNet, you can now access its CDN container information over public URL (#56)
  • Added more methods to DataObject to allow access to more state (#211, #216). See docs for a list of supported methods.
  • Updated quick reference (#152)
  • Better API docs