New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@atomist/rug

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atomist/rug - npm Package Versions

1
6

0.14.0

Diff

Changelog

Source

[0.14.0] - 2017-03-15

Ides of March release

Changed

  • TypeDoc, ScalaDoc, and scoverage reports are now published automatically
  • Xml extension can now derive itself from a file
  • RugContext now exposes a contextRoot to allow handlers to execute arbitrary path expressions
  • Generators should now be under .atomist/generators but are still found under .atomist/editors

Added

  • Command and event handler testing
  • TypeScript "it should fail" test step via @justinedelson #429
  • Xml addNodeIfNotPresent via @justinedelson #423

Fixed

  • TypeScript interface and class generation #427
atomist
published 0.13.0 •

Changelog

Source

[0.13.0] - 2017-03-10

Unlucky release

Added

  • Annotations and helper class for implementing RugFunctions
  • New BDD test framework for Rug archives, based on Gherkin and TypeScript/JavaScript
  • Support for replacing tokens with secrets in RugFunction parameters
  • Support for resolving secrets during Plan execution
  • Support for MappedParameters to pull config from other systems
  • Support for Secrets in RugCommands
  • Support for Command, Event and Response Handlers. All return Plans
  • Support for RugFunctions - parameterized JVM functions for Handlers
  • Directory extension now public #409

Fixed

  • Referencing of editors in other archives in JS archives
  • Bug in LinkedJsonTreeDeserializer where it threw NPE on empty result set from neo4j-ingester e.g. where the PE didn't match. Now returns EmptyLinkableContainerTreeNode

Changed

  • Upgraded TypeScript to 2.2.1 via rug-typescript-compiler 0.12.0
  • BREAKING Removed Rug DSL-based BDD support. Use new Gherkin-based support.
  • BREAKING Removed rug namespace support in preference to common approach of group:artifact:name This means that DSL based rugs no longer contain their namepsace in their name
  • BREAKING Only require context when running handlers
  • BREAKING Removed CommandRegistry and related usages
  • BREAKING Renamed old RugFunction to RugDslFunction
  • New text node structure. See docs/treenodes.md.
  • BREAKING Removed ProjectOperationArguments. Use ParameterizedRug instead
  • BREAKING Refactored loading of Rugs from archives. Now returns Rugs
  • BREAKING Removed Executor and old Handlers completely
atomist
published 0.12.2 •

atomist
published 0.12.1 •

atomist
published 0.12.0 •

Changelog

Source

[0.12.0] - 2017-02-14

Valentine release

Added

  • Added YamlType and YamlFileType classes to replace YmlType and YmlFileType respectively. Deprecated the latter classes.
  • Support PathExpressions that start with a NodesWithTag
  • Support for contains and starts-with path expression functions
  • Beginning of a TypeScript class library to simplify working with tree nodes and transparently decorate tree nodes if a decoration strategy is provided in TypeScript.
  • Add new minimal TS interfaces for use with class decorators. e.g. EditProject
  • Added support for @Editor, @Generator, @Reviewer and @Tags class decorators in TS.
  • Added ScalaFileType backed by ScalaMeta

Fixed

  • Elm parser failed on files with two multiline comments [#268][268]
  • Raise an InvalidRugTestScenarioName when a Rug test scenario is missing a name #71
  • Implicit DLS parameters (from uses) are no longer duplicate if multiple editors declare the same parameter. The first one is chosen [#258][258]
  • Ensure TS parameters are required by default, and ensure defaults are applied before validation [#224][224]
  • Changed how descendants were found and processed in tree expressions which fixed two pendingUntilFixed tests

Changed

  • Upgrade TS compiler to 2.1.5
  • scalar method on TypeScript PathExpressionEngine taking string is now called scalarStr. This change was necessary to avoid conflicts with method overloading in TypeScript/JavaScript.
  • TreeNodeUtils.toShorterString now optionally takes a function to customize the display of each node.
  • BREAKING value, update and formatInfo functions from TypeScript TreeNode moved to new TextTreeNode sub-interface.
  • BREAKING The interface for Rug extensions, formerly Rug types, was simplified. resolvesFromNodeTypes was eliminated and the signature for findAllIn was simplified. They should also directly extend ChildResolver instead of some sort of ViewFinder.
atomist
published 0.11.0 •

Changelog

Source

[0.11.0] - 2017-02-01

Added

  • Implement JsonBackedContainerTreeNode, allows a ContainerTreeNode to maintain the Json is was generated from
  • Add correlationId to Message, allows handler to define how Messages are correlated
  • Support for @parameter TS class field decorators as per [#229][229]
  • Support for a new TS (JS) Handler programming model as per [#105][105]
  • Support for Type extensions/TreeNode written in TypeScript as per [#214][214]
  • Generators are now declared with the generator keyword
  • Optional predicates in tree expressions

Fixed

  • LinkedJsonTreeDeserializer now properly returns string values
  • LinkedJsonTreeDeserializer now works when an already linked object is updated
  • TS generators are now passed project name as second argument as per TS contract
  • Retain all changes from an editor [#199][199]
  • Yml type can now be instantiated from ProjectMutableView, DirectoryMutableView, and FileMutableView [#250][250]
  • Handle YAML files with multiple documents, but only first is parsed and addressable.

Changed

  • BREAKING TreeNode.nodeType renamed to TreeNode.nodeTags
  • We now create a new JS rug for each thread for safety [#78][78]
  • BREAKING all JS based Rugs must export (a la Common-JS) vars implementing the associated interfaces. Previously we scanned for all top level vars.
  • BREAKING Remove Executor support from Rug DSL as per [#206][206]
  • TypeScript editors now return void. Use the new ProjectMutableView describeChange method to add any comments about the working of your editor.
  • BREAKING CustomizingProjectGenerator was removed from ProjectGenerator.ts as it's no longer required, and it's thought that it's not being used at all yet.
  • BREAKING signature of TypeScript ProjectGenerator.populate() changed: parameter projectName got removed. Name of the generated project can be obtained via project.name().
  • Core.ts is generated and compiled on-the-fly during unit-testing so that the build is not dependent on network or later maven phases until deployment
  • Scala compiler warnings are now fatal by default, use -P allow-warnings profile to have the old behavior. The Travis CI build uses the allow-warnings profile.

Deprecated

  • The @generator has been deprecated in favor of the generator keyword
atomist
published 0.10.0 •

Changelog

Source

[0.10.0] - 2017-01-18

Added

  • Parameter validation regex @version_range
  • ScriptExceptions during initial eval of JavaScript now include filename
  • EveryPom type curtesy of @justinedelson

Changed

  • TypeScript/JavaScript should now "export" instances of Rugs inline with CommonJS standard. Hopefully not a breaking change as there is limited support for automatically exporting legacy ones.

Fixed

  • Comments are removed from JS files as they are 'required', and relative imports now work correctly when 'export' is used from TS or vars are added to the global exports var [#156][156]
  • Generation of Rug types documentation
  • minLength and maxLength now default to -1 as per Rug DSL [#169][169]
  • Allow Java annotations with properties [#164][164]
  • Default parameter values are now validated [#168][168]
  • Output parameter name when pattern fails to validate [#58][58]

Removed

  • In the DSL, parameters no longer accept an array of allowed values for validation.
atomist
published 0.9.0 •

Changelog

Source

[0.9.0] - 2017-01-09

TypeScripting release

Added

  • TypeScript Reviewers

Fixed

  • TS parameter tags were not being extracted [#151][151]
  • Parameters for TS editors/generators were defaulting to displayable=false. They now default to displayable=true. [#148][148]
atomist
published 0.8.0 •

Changelog

Source

[0.8.0] - 2017-01-04

Breaking release

Added

  • NavigationAxis: New AxisSpecifier that allows navigating via a property in path expression language
  • Path expression predicates can contain path expressions

Changed

  • BREAKING Naming convention for Rug types now UpperCamelCase, basically the same as the Scala class/type without the trailing Type, MutableView, or TreeNode
  • BREAKING Rug tree expression syntax has been changed to more closely resemble XPath where possible
  • BREAKING Rug DSL: A Rug can no longer specify its action in JavaScript: In this case, use TypeScript or JavaScript.
  • BREAKING FileArtifactMutableView is now named FileMutableView

Fixed

  • @any parameter validation regex now works in both Java and Javascript
  • Double-quoted strings in Rug DSL are now interpreted similarly to Java double-quoted strings
  • LABEL section in files parsed by Dockerfile type did not handle multi-line strings correctly as per [#140][140]
atomist
published 0.7.1 •

Changelog

Source

[0.7.1] - 2016-12-19

Added

  • Assertions can use 'not'
  • Improve javadoc

Changed

  • Various microgrammar improvements
  • Update to latest rug-typescript-compiler
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc