AeroGear 是 JBoss 的一个新成员,是一个用于生成手机Web应用模板的脚手架。

经过六周的忙碌,我们终于发布了 AeroGear.js 1.2.0,这是一个主要的版本更新,相关介绍:
- SimplePush
- UnifiedPush
- Integration Testing and CI
- Documentation Updates
- Change log / JIRA Resolutions
Changelog
- Fixed typo in README
- Build: Add missing integration test dev dependencies
- Build: Add back missing qunit task
- Build: Add integration tests for SimplePush
- Add @status to all components for feature stability reporting
- README: Add SimplePush and UnifiedPush documentation as well as feature stability definitions
- Build: Remove hyphens from folder names and update build for consistency
- updating JS doc to reflect the SimplePush specific ‘simplePushEndpoint’ URL attribute
- Build: Remove failOnError causing false failures and remove quotes around stop parameter as they don’t help
- Build: Add failOnError to grunt-shell commands
- Build: Pass stop parameter as a string
- Build: Don’t run integration on default build and don’t mix single and double quotes
- Build: Remove test config and uncomment
- Build: Break up integration tests by server type and control their execution from here
- Build: Try reversing the server start order
- Notifier Tests: Capitalization
- Build: Fix shell task to kill java processes after the servers are no longer needed to allow grunt to continue processing
- Build: Add dev dependency on grunt-contrib-connect for running integration tests
- Notifier Tests: Add initial SimplePush tests
- SimplePush: JSDoc tweaks
- Notifier:SimplePush – Don’t store the pushEndpoint for security
- SimplePush – Minor API changes for better polyfill behavior
- SimplePush: Add documentation
- Build: Remove old integration tests
- Notifier:SimplePush – Add comments and updated JSDoc
- Merge branch ‘master’ into Notifier
- Pipeline: Add getAuthenticator method to retrieve the associated authenticator for a pipe. Fixes AGJS-63
- SimplePush – Move navigator object modification into the connect callback to prevent accidental early use
- SimplePush – Use options object instead of individual parameters and add a reconnect method for use when a connection is lost
- Notifier:SimplePush – Add onClose callback to handle disconnection from SimplePush server and add a timeout to the triggering of registration success messages on previously registered channels
- UnifiedPush: Use metadata object as argument in registerWithPushServer, more error checking and add JSDoc
- adding http basic to the unregister()
- SimplePush: Refactor to use a connect callback to simplify API and elliminate race conditions
- SimplePush: Clean up hello channel registration and duplicate eventing
- Fixes irc notifications
- Build: Add condition to integration test folder removal
- Build: Add command to remove the aerogear-js-integration folder to get a fresh clone on each run
- Add the aerogear-js-integration folder to gitignore
- Build: Add IRC notifications back to Travis config
- Build: Update shell config to checkout aerogear/aerogear-js-integration master branch
- Inclusion of missing tasks for travis
- Initial task to trigger integration tests on Travis
- Build: Remove integration test option as it will no longer work with the new Travis config for integration tests
- SimplePush: Always send channelIDs on hello even if empty
- make travis only build master branch
- SimplePush: Change channels to channelIDs in hello message
- Merge remote-tracking branch ‘abstractj/info’
- Update outdated reference to JIRAs
- Merge branch ‘master’ into Notifier
- SimplePush: Refactor to properly handle reregistered channels
- Build: Config push builds
- Re-add external UUID lib
- typo fix
- Merge branch master into Notifier
- Add external UUID library for ID generation in SimplePush
- SimplePush – Remove unnecessary IIFE
- Build: Fix failed rebase for simplePush concat
- Build: Add btoa polyfill, base64.js
- Add Notifier and SimplePush tasks to build
- Notifier: Remove individual IIFEs which were causing errors by referencing libs that may not necessarily be needed or used at that time. Fixes AGJS-48
- Remove unnecessary UUID library. Fixes AGJS-49
- Build: Add Notifier vert.x integration tests
- Notifier:vertx – Add send method. Fixes AGJS-50
- Build: Add Notifier STOMPWS adapter integration tests to build and update custom tasks
- Notifier:StompWS – Add protocol option to be able to specify a STOMP protocol
- Build: Put integration tests behind a flag to prevent constant CI failures
- SimplePush: Remove dependency on Unified Push as these should be independent. Fixes AGJS-44
- Merge master into Notifier
- Build: Add btoa polyfill, base64.js
- Adding http_basic to device/channel registration
- The alias key is no longer named ‘clientIdentifier’, the server is looking for the ‘alias’ key now
- Removing unneeded check for ‘registered’; We now just perform straight POST, against common URL
- Build: Add Notifier, SimplePush and Unified Push to Gruntfile
- Notifier:SimplePush – Fix channel unregistration handling
- Relax .jshintrc to allow callback creation in a loop
- Notifier:SimplePush – Throw register and unregister errors
- Add Notifier and SimplePush tasks to build
- Merge branch ‘master’ into ‘Notifier’
- UnifiedPush: Change registration error to a string
- SimplePush: Add another todo about using native implementation
- UnifiedPush: Add alias to device registration and require it for non-broadcast message types
- UnifiedPush: Only use POST when registering or updating device registration
- SimplePush: Rename pushNetworkURL to simplePushServerURL and add unifiedPushServerURL
- SimplePush: Use http instead of ws for SockJS
- Notifier:SimplePush – Convert to use SockJS instead of vanilla WebSockets to work across browsers
- Adding the new header name for the ag-mobile-variant
- Move unified push registration/unregistration to separate module. Fixes AGPUSH-8
- Notifier:SimplePush – Add notification acknowledgments
- SimplePush: Add ability to re-register endpoints with the unified push server. Fixes AGPUSH-5
- SimplePush – Cleanup and use re-registration updates made in Notifier
- Notifier:SimplePush – First pass at uaid reuse and channel re-registration
- SimplePush: Move config off of AeroGear object to avoid reset and some other minor cleanup
- Notifier:SimplePush – Build channel from message contents
- SimplePush: Add unified push server registration
- SimplePush: Update to use new SimplePush adapter for Notifier
- Notifier: Add SimplePush adapter
- SimplePush: Rework and add missing items to further match the SimplePush spec
- SimplePush: Refactor to follow Mozilla’s API placing SimplePush on the navigator object to act as a proper pollyfill
- SimplePush – Only store session ID and provide channel prefix
- SimplePush – Add first draft of SimplePush API
JIRA Resolutions
- AGJS-40 - Add new body based paging test to integration tests
- AGJS-44 - registerWithPushServer should not be part of the request returned by navigator.push.register()
- AGJS-53 - JSDoc for SimplePush and UnifiedPush
- AGJS-54 - SimplePush QuickStart
- AGJS-55 - UnifiedPush: registerWithPushServer expects object containing channelID
- AGJS-56 - UnifiedPush: registerWithPushServer takes only limited amount of metadata
- AGJS-58 - AGJS-53 / Add documentation to JS Unified Push client
- AGJS-59 - AGJS-53 / Add documentation to SimplePush client
- AGJS-60 - [SimplePush] Convert JS client to use SockJS once supported by server
- AGJS-61 - [SimplePush] Add connection closed/lost handling in JS client
- AGJS-63 - Pipeline has no way to access associated authenticator
AeroGear 的详细介绍:请点这里
AeroGear 的下载地址:请点这里
