8000 release version 0.9.6 (#1422) · sharp-bits/localstack@214d75a · GitHub
[go: up one dir, main page]

Skip to content

Commit 214d75a

Browse files
authored
release version 0.9.6 (localstack#1422)
1 parent 1c5ce3b commit 214d75a

File tree

6 files changed

+8
-7
lines changed

6 files changed

+8
-7
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ LABEL authors="Waldemar Hummer (waldemar.hummer@gmail.com), Gianluca Bortoli (gi
55

66
# install basic tools
77
RUN pip install awscli awscli-local requests --upgrade
8+
RUN apk add iputils
89

910
# add files required to run "make install"
1011
ADD Makefile requirements.txt ./

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -500,6 +500,7 @@ localstack web
500500

501501
## Change Log
502502

503+
* v0.9.6: Add API Gateway SQS proxy; fix command to push Docker image; fix Docker bridge IP configuration; fix SSL issue in dashboard infra; updates to README
503504
* v0.9.5: Reduce Docker image size by squashing; fix response body for presigned URL S3 PUT requests; fix CreateDate returned by IAM; fix account IDs for CF and SNS; fix topic checks for SMS using SNS; improve documentation around `@LocalstackDockerProperties`; add basic EC2 support; upgrade to ElasticSearch 6.7; set Last-Modified header in S3; preserve logic with uppercase event keys in Java; add support for nodejs 10.x Lambdas
504505
* v0.9.4: Fix ARNs in CloudFormation deployments; write stderr to file in supervisord; fix Lambda invocation times; fix canonicalization of service names when running in Docker; add support for `@Nested` in Junit5; add support for batch/transaction in DynamoDB; fix output buffering for subprocesses; assign unique ports under docker-reuse; check if topic ARN exists before publish
505506
* v0.9.3: Fix output buffering of child processes; new release of Java libs; add imageTag attribute for Java annotation

bin/Dockerfile.base

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ LABEL authors="Waldemar Hummer (waldemar.hummer@gmail.com)"
55

66
# install some common libs
77
RUN apk add --no-cache autoconf automake build-base ca-certificates curl g++ gcc git groff \
8-
libffi-dev libtool linux-headers make openssl openssl-dev python3 python3-dev \
8+
iputils libffi-dev libtool linux-headers make openssl openssl-dev python3 python3-dev \
99
py3-pip tar xz zip && \
1010
update-ca-certificates
1111

localstack/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def is_linux():
9595
# Make sure to keep this in sync with the above!
9696
# Note: do *not* include DATA_DIR in this list, as it is treated separately
9797
CONFIG_ENV_VARS = ['SERVICES', 'HOSTNAME', 'HOSTNAME_EXTERNAL', 'LOCALSTACK_HOSTNAME', 'LAMBDA_FALLBACK_URL',
98-
'LAMBDA_EXECUTOR', 'LAMBDA_REMOTE_DOCKER', 'LAMBDA_DOCKER_NETWORK', 'USE_SSL', 'LICENSE_KEY', 'DEBUG',
98+
'LAMBDA_EXECUTOR', 'LAMBDA_REMOTE_DOCKER', 'LAMBDA_DOCKER_NETWORK', 'USE_SSL', 'LOCALSTACK_API_KEY', 'DEBUG',
9999
'KINESIS_ERROR_PROBABILITY', 'DYNAMODB_ERROR_PROBABILITY', 'PORT_WEB_UI', 'START_WEB', 'DOCKER_BRIDGE_IP']
100100

101101
for key, value in six.iteritems(DEFAULT_SERVICE_PORTS):

localstack/constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import localstack_client.config
33

44
# LocalStack version
5-
VERSION = '0.9.5'
5+
VERSION = '0.9.6'
66

77
# default AWS region
88
if 'DEFAULT_REGION' not in os.environ:

localstack/utils/analytics/event_publisher.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
from localstack.utils.common import (JsonObject, to_str,
88
timestamp, short_uid, save_file, FuncThread, load_file)
99
from localstack.utils.common import safe_requests as requests
10-
from localstack_ext.bootstrap.licensing import read_license_key
1110

1211
PROCESS_ID = short_uid()
1312
MACHINE_ID = None
@@ -62,8 +61,8 @@ def api_key(self):
6261

6362
def read_api_key_safe():
6463
try:
65-
# TODO: rename to read_api_key
66-
return read_license_key()
64+
from localstack_ext.bootstrap.licensing import read_api_key
65+
return read_api_key()
6766
except Exception:
6867
return None
6968

@@ -129,7 +128,7 @@ def poll_and_send_messages(params):
129128
try:
130129
event = EVENT_QUEUE.get(block=True, timeout=None)
131130
event = event.to_dict()
132-
endpoint = '%s/events' % API_ENDPOINT
131+
endpoint = '%s/events' % API_ENDPOINT.rstrip('/')
133132
requests.post(endpoint, json=event)
134133
except Exception:
135134
# silently fail, make collection of usage data as non-intrusive as possible

0 commit comments

Comments
 (0)
0