Skip to content

Commit

Permalink
release: 0.1.62
Browse files Browse the repository at this point in the history
  • Loading branch information
ingydotnet committed Jun 15, 2024
1 parent 2e8894a commit 5e2628d
Show file tree
Hide file tree
Showing 46 changed files with 84 additions and 53 deletions.
2 changes: 1 addition & 1 deletion .profile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ys-local() {
YS() (
set -e
base=$YAMLSCRIPT_ROOT/ys
libyamlscript_version=0.1.61
libyamlscript_version=0.1.62
jar=yamlscript.cli-$libyamlscript_version-SNAPSHOT-standalone.jar
make --no-print-directory -C "$base" jar
java -jar "$base/target/uberjar/$jar" "$@"
Expand Down
2 changes: 1 addition & 1 deletion .version.ys
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

!yamlscript/v0

v-api =: '0.1.61'
v-api =: '0.1.62'

v-perl =: v-api
v-python =: v-api
Expand Down
15 changes: 15 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,4 +1,19 @@

- version: 0.1.62
date: Sat 15 Jun 2024 01:47:13 PM EDT
changes:
- doc: Move doc files from www/src/doc/ to doc/
- doc: New pages /yaml and /gotcha
- core: Fix bug when $ alone in interpolated string
- core: Support + escaping like . escaping
- release: Bug fix in .version.sh
- ys: When file name is first, args go to file
- std: Add `in` and `has` functions
- sample: Add ollama.ys local LLM query utility
- core: Support ||= .= += -= *= /= operators
- core: Allow loop with no bindings (implies [])
- core: Support 'catch:_…' and 'catch e:_…'

- version: 0.1.61
date: Wed 12 Jun 2024 11:54:55 AM EDT
changes:
Expand Down
2 changes: 1 addition & 1 deletion Meta
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
=meta: 0.0.2

name: YAMLScript
version: 0.1.61
version: 0.1.62
abstract: Program in YAML
homepage: https://yamlscript.org
license: mit
Expand Down
2 changes: 1 addition & 1 deletion ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ Make sure `~/.local/bin` is in your `PATH` environment variable.
You can use the following environment variables to control the installation:

* `PREFIX=...` - The directory to install to. Default: `~/.local`
* `VERSION=...` - The YAMLScript version to install. Default: `0.1.61`
* `VERSION=...` - The YAMLScript version to install. Default: `0.1.62`
* `BIN=1` - Only install the `PREFIX/bin/ys` command line tool.
* `LIB=1` - Only install the `PREFIX/lib/libyamlscript` shared library.
* `DEBUG=1` - Print the Bash commands that are being run.
Expand Down
2 changes: 1 addition & 1 deletion clojure/deps.edn
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
org.clojure/data.json {:mvn/version "2.4.0"},
org.json/json {:mvn/version "20240205"},
net.java.dev.jna/jna {:mvn/version "5.14.0"},
org.yamlscript/yamlscript {:mvn/version "0.1.61"}}}
org.yamlscript/yamlscript {:mvn/version "0.1.62"}}}
4 changes: 2 additions & 2 deletions clojure/project.clj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
;; This code is licensed under MIT license (See License for details)
;; Copyright 2023-2024 Ingy dot Net

(defproject org.yamlscript/clj-yamlscript "0.1.61"
(defproject org.yamlscript/clj-yamlscript "0.1.62"
:description
"YAMLScript is a functional programming language whose syntax is encoded in
YAML."
Expand All @@ -23,7 +23,7 @@
[org.clojure/data.json "2.4.0"]
[org.json/json "20240205"]
[net.java.dev.jna/jna "5.14.0"]
[org.yamlscript/yamlscript "0.1.61"]]
[org.yamlscript/yamlscript "0.1.62"]]

:deploy-repositories
[["releases"
Expand Down
2 changes: 1 addition & 1 deletion common/install.mk
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ SHELL := bash
ROOT := $(shell \
cd '$(abspath $(dir $(lastword $(MAKEFILE_LIST))))' && pwd -P)

YAMLSCRIPT_VERSION := 0.1.61
YAMLSCRIPT_VERSION := 0.1.62

YS := $(wildcard ys)
LIBYAMLSCRIPT := $(firstword $(wildcard libyamlscript.*))
Expand Down
2 changes: 1 addition & 1 deletion common/project.clj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
;; This code is licensed under MIT license (See License for details)
;; Copyright 2023-2024 Ingy dot Net

(defproject yamlscript/docker "0.1.61"
(defproject yamlscript/docker "0.1.62"
:description "Program in YAML"
:dependencies
[#__
Expand Down
2 changes: 1 addition & 1 deletion common/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ $ curl https://yamlscript.org/install | bash
See [Installing YAMLScript](https://github.com/yaml/yamlscript/wiki/Installing-YAMLScript) for more detailed information.


## Changes in YAMLScript version 0.1.61
## Changes in YAMLScript version 0.1.62

2 changes: 1 addition & 1 deletion core/project.clj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
;; This code is licensed under MIT license (See License for details)
;; Copyright 2023-2024 Ingy dot Net

(defproject yamlscript/core "0.1.61"
(defproject yamlscript/core "0.1.62"
:description "Program in YAML"

:url "https://github.com/yaml/yamlscript"
Expand Down
2 changes: 1 addition & 1 deletion core/src/yamlscript/runtime.clj
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
:refer [abspath
get-yspath]]))

(def ys-version "0.1.61")
(def ys-version "0.1.62")

(def ARGS (sci/new-dynamic-var 'ARGS))
(def ARGV (sci/new-dynamic-var 'ARGV))
Expand Down
2 changes: 1 addition & 1 deletion doc/ys.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ as JSON.
```text
$ ys --help
ys - The YAMLScript (YS) Command Line Tool - v0.1.61
ys - The YAMLScript (YS) Command Line Tool - v0.1.62
Usage: ys [<option...>] [<file>]
Expand Down
2 changes: 1 addition & 1 deletion java/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ include ../common/base.mk
include $(COMMON)/binding.mk
include $(COMMON)/java.mk

YAMLSCRIPT_JAVA_JAR := target/yamlscript-0.1.61.jar
YAMLSCRIPT_JAVA_JAR := target/yamlscript-0.1.62.jar

#------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<artifactId>yamlscript</artifactId>

<version>0.1.61</version>
<version>0.1.62</version>

<name>yamlscript</name>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
*/
public class YAMLScript
{
public static String YAMLSCRIPT_VERSION = "0.1.61";
public static String YAMLSCRIPT_VERSION = "0.1.62";

public static Object load(String ysCode)
{
Expand Down
2 changes: 1 addition & 1 deletion libyamlscript/deps.edn
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{org.clojure/clojure {:mvn/version "1.11.1"},
org.babashka/sci {:mvn/version "0.8.40"},
org.clojure/data.json {:mvn/version "2.4.0"},
yamlscript/compiler {:mvn/version "0.1.61"}},
yamlscript/compiler {:mvn/version "0.1.62"}},
:aliases
{:lein2deps
{:deps
Expand Down
4 changes: 2 additions & 2 deletions libyamlscript/project.clj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
;; This code is licensed under MIT license (See License for details)
;; Copyright 2023-2024 Ingy dot Net

(defproject yamlscript/libyamlscript "0.1.61"
(defproject yamlscript/libyamlscript "0.1.62"
:description "Shared Library for YAMLScript"

:url "https://yamlscript.org"
Expand All @@ -20,7 +20,7 @@
[[org.clojure/clojure "1.11.1"]
[org.babashka/sci "0.8.41"]
[org.clojure/data.json "2.4.0"]
[yamlscript/core "0.1.61"]]
[yamlscript/core "0.1.62"]]

:plugins
[[lein-exec "0.3.7"]
Expand Down
2 changes: 1 addition & 1 deletion nodejs/lib/yamlscript/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const yamlscriptVersion = '0.1.61';
const yamlscriptVersion = '0.1.62';

const ffi = require('ffi-napi');
const ref = require('ref-napi');
Expand Down
2 changes: 1 addition & 1 deletion nodejs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@yaml/yamlscript",
"version": "0.1.61",
"version": "0.1.62",
"description": "Program in YAML",
"main": "lib/yamlscript/index.js",
"author": "Ingy döt Net",
Expand Down
6 changes: 6 additions & 0 deletions perl-alien/Changes
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@

---
version: 0.1.62
date: Sat 15 Jun 2024 01:47:13 PM EDT
changes:
- libyamlscript 0.1.62

---
version: 0.1.61
date: Wed 12 Jun 2024 11:54:55 AM EDT
Expand Down
2 changes: 1 addition & 1 deletion perl-alien/Meta
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
base: ../Meta

name: Alien-YAMLScript
version: 0.1.61
version: 0.1.62

language: perl

Expand Down
2 changes: 1 addition & 1 deletion perl-alien/alienfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use alienfile;

my $libyamlscript_version = '0.1.61';
my $libyamlscript_version = '0.1.62';

# Always use a share install
# We cannot use a system install, because we need to know exactly
Expand Down
4 changes: 2 additions & 2 deletions perl-alien/lib/Alien/YAMLScript.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ use warnings;

package Alien::YAMLScript;

our $VERSION = '0.1.61';
our $VERSION = '0.1.62';

use parent 'Alien::Base';

our $libyamlscript_version = '0.1.61';
our $libyamlscript_version = '0.1.62';

die "Alien::YAMLScript $VERSION requires libyamlscript $libyamlscript_version" .
"but you have " . __PACKAGE__->version
Expand Down
6 changes: 6 additions & 0 deletions perl/Changes
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@

---
version: 0.1.62
date: Sat 15 Jun 2024 01:47:13 PM EDT
changes:
- libyamlscript 0.1.62

---
version: 0.1.61
date: Wed 12 Jun 2024 11:54:55 AM EDT
Expand Down
4 changes: 2 additions & 2 deletions perl/Meta
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
base: ../Meta

name: YAMLScript
version: 0.1.61
version: 0.1.62

language: perl

Expand All @@ -12,7 +12,7 @@ author:

requires:
perl: 5.16.0
Alien::YAMLScript: 0.1.61
Alien::YAMLScript: 0.1.62
FFI::CheckLib: 0.31
FFI::Platypus: 2.08
Cpanel::JSON::XS: 4.37
Expand Down
4 changes: 2 additions & 2 deletions perl/lib/YAMLScript.pm
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ use FFI::CheckLib ();
use FFI::Platypus;
use Cpanel::JSON::XS ();

our $VERSION = '0.1.61';
our $VERSION = '0.1.62';

our $libyamlscript_version = '0.1.61';
our $libyamlscript_version = '0.1.62';


#------------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion python/lib/yamlscript/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# This value is automatically updated by 'make bump'.
# The version number is used to find the correct shared library file.
# We currently only support binding to an exact version of libyamlscript.
yamlscript_version = '0.1.61'
yamlscript_version = '0.1.62'

import os, sys
import ctypes
Expand Down
2 changes: 1 addition & 1 deletion python/setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = '0.1.61'
version = '0.1.62'

from setuptools import setup
import pathlib
Expand Down
2 changes: 1 addition & 1 deletion raku/META6.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ "api": 0
, "name": "YAMLScript"
, "version": "0.1.61"
, "version": "0.1.62"
, "description": "Program in YAML"
, "auth": "zef:ingy"
, "provides":
Expand Down
2 changes: 1 addition & 1 deletion raku/lib/YAMLScript.rakumod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ unit class YAMLScript;
use LibraryMake;
use NativeCall;

constant YAMLSCRIPT_VERSION = v0.1.61;
constant YAMLSCRIPT_VERSION = v0.1.62;

sub resolve-lib {
state $ = do {
Expand Down
4 changes: 4 additions & 0 deletions ruby/ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## [0.1.62] - 2024-06-15

- libyamlscript 0.1.62

## [0.1.61] - 2024-06-12

- libyamlscript 0.1.61
Expand Down
2 changes: 1 addition & 1 deletion ruby/lib/yamlscript.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class YAMLScript
# This value is automatically updated by 'make bump'.
# The version number is used to find the correct shared library file.
# We currently only support binding to an exact version of libyamlscript.
YAMLSCRIPT_VERSION = '0.1.61'
YAMLSCRIPT_VERSION = '0.1.62'

# A low-level interface to the native library
module LibYAMLScript
Expand Down
2 changes: 1 addition & 1 deletion ruby/lib/yamlscript/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

class YAMLScript
VERSION = "0.1.61"
VERSION = "0.1.62"
end
2 changes: 1 addition & 1 deletion rust/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion rust/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "yamlscript"
version = "0.1.61"
version = "0.1.62"
edition = "2021"
description = "Program in YAML"
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion rust/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ use crate::error::LibYAMLScriptError;
const LIBYAMLSCRIPT_BASENAME: &str = "libyamlscript";

/// The version of the yamlscript library this bindings works with.
const LIBYAMLSCRIPT_VERSION: &str = "0.1.61";
const LIBYAMLSCRIPT_VERSION: &str = "0.1.62";

/// The extension of the YAMLScript library. On Linux, it's a `.so` file.
#[cfg(target_os = "linux")]
Expand Down
10 changes: 5 additions & 5 deletions www/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ Test your new `ys` installation by running:
```text
$ ys --help
ys - The YAMLScript (YS) Command Line Tool - v0.1.61
ys - The YAMLScript (YS) Command Line Tool - v0.1.62
Usage: ys [<option...>] [<file>]
Expand Down Expand Up @@ -310,7 +310,7 @@ or:

```text
$ ys --version
YAMLScript 0.1.61
YAMLScript 0.1.62
```


Expand Down Expand Up @@ -339,9 +339,9 @@ For Python you would do:

```bash
$ pip install yamlscript
Successfully installed yamlscript-0.1.61
$ curl https://yamlscript.org/install | VERSION=0.1.61 install
Installed ~/.local/lib/libyamlscript.so - version 0.1.61
Successfully installed yamlscript-0.1.62
$ curl https://yamlscript.org/install | VERSION=0.1.62 install
Installed ~/.local/lib/libyamlscript.so - version 0.1.62
```

For some other language, use that language's library installer.
Expand Down
Loading

0 comments on commit 5e2628d

Please sign in to comment.