mirror of https://github.com/docusealco/docuseal
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1.5 KiB
1.5 KiB
0.0.10
-
Defaults.merge!will now deprecate non-wrappedArrayvalues. The following code is no longer valid (but still works).defaults.merge!( list: [1,2] )Instead, you need to wrap it in a command like
Variables::Append.defaults.merge!( list: Declarative::Variables::Append( [1,2] ) )The reason for this change is to allow all kinds of operations with defaults variables, such as merges, overrides, append, prepend, and so on.
-
Introduce
Declarative::Variables.mergeto merge two sets of variables. -
Defaultsnow usesVariablesfor merge/overide operations.
0.0.9
- Removing
uberdependency.
0.0.8
- When calling
Schema#defaults(orDefaults#merge!) multiple times, same-named arrays will be joined instead of overridden. This fixes a common problem when merging different default settings. - Remove
Defaults#[]andDefaults#[]=. This now happens via#merge!.
0.0.7
- Simplify
Defaultsand remove a warning in Ruby 2.2.3.
0.0.6
Heritage#callnow accepts a block that allows processing the arguments for every recorded statement before replaying them. This provides a hook to inject or change parameters, e.g. to mark a replay as an inheritance.
0.0.5
- Introduce
Schema::build_definitionas a central entry point for buildingDefinitionwithout any heritage involved.
0.0.4
- Restructured modules, there's always a public
DSLmodule now, etc.
0.0.3
- Internals, only.
0.0.2
- First usable version with
Declarative::Schemaand friends.
TODO: default_nested_class RM